-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(eos_cli_config_gen): Add schema for ipv6_static_routes (#2182)
Co-authored-by: Claus Holbech <[email protected]> Co-authored-by: Carl Buchmann <[email protected]>
- Loading branch information
1 parent
2498516
commit 48852e4
Showing
4 changed files
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...rista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/ipv6_static_routes.schema.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |