From 3e14cbf2c4a53c7d859fa3933580d6ddd8a4b161 Mon Sep 17 00:00:00 2001 From: Laxmikant Chintakindi Date: Wed, 27 Nov 2024 17:57:46 +0530 Subject: [PATCH] add default:default --- .../docs/tables/ip-name-server-groups.md | 4 ++-- .../schema/eos_cli_config_gen.schema.yml | 21 ++++++++++++++++++- .../ip_name_server_groups.schema.yml | 21 ++++++++++++++++++- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/ip-name-server-groups.md b/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/ip-name-server-groups.md index 58c65bd3f09..dc111cdca5f 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/ip-name-server-groups.md +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/ip-name-server-groups.md @@ -11,7 +11,7 @@ | [  - name](## "ip_name_server_groups.[].name") | String | Required, Unique | | | | | [    name_servers](## "ip_name_server_groups.[].name_servers") | List, items: Dictionary | | | | | | [      - ip_address](## "ip_name_server_groups.[].name_servers.[].ip_address") | String | Required | | | IPv4 or IPv6 address for DNS server. | - | [        vrf](## "ip_name_server_groups.[].name_servers.[].vrf") | String | | | | VRF Name. | + | [        vrf](## "ip_name_server_groups.[].name_servers.[].vrf") | String | | `default` | | VRF Name. | | [        priority](## "ip_name_server_groups.[].name_servers.[].priority") | Integer | | | Min: 0
Max: 4 | Priority value (lower is first). | | [    dns_domain](## "ip_name_server_groups.[].dns_domain") | String | | | | | | [    ip_domain_list](## "ip_name_server_groups.[].ip_domain_list") | String | | | | Set domain names to complete unqualified host names. | @@ -27,7 +27,7 @@ - ip_address: # VRF Name. - vrf: + vrf: # Priority value (lower is first). priority: diff --git a/python-avd/pyavd/_eos_cli_config_gen/schema/eos_cli_config_gen.schema.yml b/python-avd/pyavd/_eos_cli_config_gen/schema/eos_cli_config_gen.schema.yml index e8092de63e2..68f321282ed 100644 --- a/python-avd/pyavd/_eos_cli_config_gen/schema/eos_cli_config_gen.schema.yml +++ b/python-avd/pyavd/_eos_cli_config_gen/schema/eos_cli_config_gen.schema.yml @@ -5274,7 +5274,26 @@ keys: type: str name_servers: type: list - $ref: eos_cli_config_gen#/$defs/ip_name_servers + items: + type: dict + keys: + ip_address: + type: str + required: true + description: IPv4 or IPv6 address for DNS server. + vrf: + description: VRF Name. + type: str + default: default + convert_types: + - int + priority: + description: Priority value (lower is first). + type: int + convert_types: + - str + min: 0 + max: 4 dns_domain: type: str ip_domain_list: diff --git a/python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/ip_name_server_groups.schema.yml b/python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/ip_name_server_groups.schema.yml index b5dfa6bdcb8..a3bd99fb86a 100644 --- a/python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/ip_name_server_groups.schema.yml +++ b/python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/ip_name_server_groups.schema.yml @@ -16,7 +16,26 @@ keys: type: str name_servers: type: list - $ref: "eos_cli_config_gen#/$defs/ip_name_servers" + items: + type: dict + keys: + ip_address: + type: str + required: true + description: IPv4 or IPv6 address for DNS server. + vrf: + description: VRF Name. + type: str + default: default + convert_types: + - int + priority: + description: Priority value (lower is first). + type: int + convert_types: + - str + min: 0 + max: 4 dns_domain: type: str ip_domain_list: