diff --git a/templates/questions/service/serviceExpert.yaml b/templates/questions/service/serviceExpert.yaml index b0551a1321d..9fec40a79ed 100644 --- a/templates/questions/service/serviceExpert.yaml +++ b/templates/questions/service/serviceExpert.yaml @@ -39,38 +39,38 @@ description: Use DHCP - value: static description: Use Static IP - - variable: staticIPConfigurations - label: Static IP Addresses - schema: - type: list - show_if: [["ipam", "=", {"type": "static"}]] - items: - - variable: staticIP - label: Static IP + - variable: staticIPConfigurations + label: Static IP Addresses schema: - type: ipaddr - cidr: true - - variable: staticRoutes - label: Static Routes - schema: - type: list - show_if: [["ipam", "=", {"type": "static"}]] - items: - - variable: staticRouteConfiguration - label: Static Route Configuration - schema: - additional_attrs: true - type: dict - attrs: - - variable: destination - label: Destination + type: list + show_if: [["type", "=", "static"]] + items: + - variable: staticIP + label: Static IP schema: type: ipaddr cidr: true - required: true - - variable: gateway - label: Gateway + - variable: staticRoutes + label: Static Routes + schema: + type: list + show_if: [["type", "=", "static"]] + items: + - variable: staticRouteConfiguration + label: Static Route Configuration schema: - type: ipaddr - cidr: false - required: true + additional_attrs: true + type: dict + attrs: + - variable: destination + label: Destination + schema: + type: ipaddr + cidr: true + required: true + - variable: gateway + label: Gateway + schema: + type: ipaddr + cidr: false + required: true