diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/Input Variables.md b/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/Input Variables.md index d7205514fd5..6fff7f2a90f 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/Input Variables.md +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/Input Variables.md @@ -1340,6 +1340,36 @@ ipv6_standard_access_lists: action: ``` +## IPv6 Static Routes + +### Variables + +| Variable | Type | Required | Default | Value Restrictions | Description | +| -------- | ---- | -------- | ------- | ------------------ | ----------- | +| [ipv6_static_routes](## "ipv6_static_routes") | List, items: Dictionary | | | | IPv6 Static Routes | +| [  - vrf](## "ipv6_static_routes.[].vrf") | String | | | | VRF | +| [    destination_address_prefix](## "ipv6_static_routes.[].destination_address_prefix") | String | | | | IPv6 Network/Mask | +| [    interface](## "ipv6_static_routes.[].interface") | String | | | | | +| [    gateway](## "ipv6_static_routes.[].gateway") | String | | | | IPv6 Address | +| [    distance](## "ipv6_static_routes.[].distance") | Integer | | | Min: 1
Max: 255 | | +| [    tag](## "ipv6_static_routes.[].tag") | Integer | | | Min: 0
Max: 4294967295 | | +| [    name](## "ipv6_static_routes.[].name") | String | | | | Description | +| [    metric](## "ipv6_static_routes.[].metric") | Integer | | | Min: 0
Max: 4294967295 | | + +### YAML + +```yaml +ipv6_static_routes: + - vrf: + destination_address_prefix: + interface: + gateway: + distance: + tag: + name: + metric: +``` + ## LACP ### Description diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json index 368c0b031c9..f8599df45ca 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json @@ -1903,6 +1903,55 @@ "additionalProperties": false } }, + "ipv6_static_routes": { + "type": "array", + "title": "IPv6 Static Routes", + "items": { + "type": "object", + "properties": { + "vrf": { + "type": "string", + "title": "VRF" + }, + "destination_address_prefix": { + "type": "string", + "description": "IPv6 Network/Mask", + "title": "Destination Address Prefix" + }, + "interface": { + "type": "string", + "title": "Interface" + }, + "gateway": { + "type": "string", + "title": "IPv6 Address" + }, + "distance": { + "type": "integer", + "minimum": 1, + "maximum": 255, + "title": "Distance" + }, + "tag": { + "type": "integer", + "minimum": 0, + "maximum": 4294967295, + "title": "Tag" + }, + "name": { + "type": "string", + "title": "Description" + }, + "metric": { + "type": "integer", + "minimum": 0, + "maximum": 4294967295, + "title": "Metric" + } + }, + "additionalProperties": false + } + }, "lacp": { "type": "object", "title": "LACP", diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml index 738c577974b..1e8b0600e3c 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml @@ -1600,6 +1600,44 @@ keys: description: 'Action as string Example: "deny ipv6 any any"' + ipv6_static_routes: + type: list + display_name: IPv6 Static Routes + items: + type: dict + keys: + vrf: + type: str + display_name: VRF + destination_address_prefix: + type: str + description: IPv6 Network/Mask + interface: + type: str + gateway: + type: str + display_name: IPv6 Address + distance: + type: int + convert_types: + - str + min: 1 + max: 255 + tag: + type: int + convert_types: + - str + min: 0 + max: 4294967295 + name: + type: str + display_name: Description + metric: + type: int + convert_types: + - str + min: 0 + max: 4294967295 lacp: type: dict display_name: LACP diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/ipv6_static_routes.schema.yml b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/ipv6_static_routes.schema.yml new file mode 100644 index 00000000000..d9e28bd0d72 --- /dev/null +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/ipv6_static_routes.schema.yml @@ -0,0 +1,43 @@ +# yaml-language-server: $schema=../../../../plugins/plugin_utils/schema/avd_meta_schema.json +# Line above is used by RedHat's YAML Schema vscode extension +# Use Ctrl + Space to get suggestions for every field. Autocomplete will pop up after typing 2 letters. +type: dict +keys: + ipv6_static_routes: + type: list + display_name: IPv6 Static Routes + items: + type: dict + keys: + vrf: + type: str + display_name: VRF + destination_address_prefix: + type: str + description: IPv6 Network/Mask + interface: + type: str + gateway: + type: str + display_name: IPv6 Address + distance: + type: int + convert_types: + - str + min: 1 + max: 255 + tag: + type: int + convert_types: + - str + min: 0 + max: 4294967295 + name: + type: str + display_name: Description + metric: + type: int + convert_types: + - str + min: 0 + max: 4294967295