From 029cdb4ed97d29aa67b433d67e42e3000502995a Mon Sep 17 00:00:00 2001 From: Tanya Singh Date: Thu, 10 Apr 2025 17:13:03 +0800 Subject: [PATCH] OLS-644: Add Global DNS to switch.yml and use generate.sh to create the json files Signed-off-by: Tanya Singh --- capabilities/connect.capabilities.yml | 1 + schema/switch.yml | 5 +++++ ucentral.capabilities.pretty.json | 1 + ucentral.schema.full.json | 2 +- ucentral.schema.pretty.json | 2 +- 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/capabilities/connect.capabilities.yml b/capabilities/connect.capabilities.yml index 6fcbd9e..a8b0c08 100644 --- a/capabilities/connect.capabilities.yml +++ b/capabilities/connect.capabilities.yml @@ -300,6 +300,7 @@ properties: - Service-Online-Check - Service-CaptivePortal - Service-PublicIpCheck + - Service-Global-DNS # Tunneling - Tunneling-VxLAN - Tunneling-GRE diff --git a/schema/switch.yml b/schema/switch.yml index 3801d7d..73e9379 100644 --- a/schema/switch.yml +++ b/schema/switch.yml @@ -545,3 +545,8 @@ properties: $ref: "https://ucentral.io/schema/v1/switch/rtevent/" acl: $ref: "https://ucentral.io/schema/v1/switch/acl/" + dns: + description: Define a global list of dns servers. + type: array + items: + type: string diff --git a/ucentral.capabilities.pretty.json b/ucentral.capabilities.pretty.json index 3e424af..420295c 100644 --- a/ucentral.capabilities.pretty.json +++ b/ucentral.capabilities.pretty.json @@ -361,6 +361,7 @@ "Service-Online-Check", "Service-CaptivePortal", "Service-PublicIpCheck", + "Service-Global-DNS", "Tunneling-VxLAN", "Tunneling-GRE", "Tunneling-GRE6", diff --git a/ucentral.schema.full.json b/ucentral.schema.full.json index 58de3ef..2411d61 100644 --- a/ucentral.schema.full.json +++ b/ucentral.schema.full.json @@ -1805,7 +1805,7 @@ } }, "dns": { - "description": "Define a list of dns servers", + "description": "Define a global list of dns servers.", "type": "array", "items": { "type": "string" diff --git a/ucentral.schema.pretty.json b/ucentral.schema.pretty.json index a73bb84..4d61e7d 100644 --- a/ucentral.schema.pretty.json +++ b/ucentral.schema.pretty.json @@ -1850,7 +1850,7 @@ "$ref": "#/$defs/switch.acl" }, "dns": { - "description": "Define a list of dns servers", + "description": "Define a global list of dns servers.", "type": "array", "items": { "type": "string"