-
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 monitor_connectivity
- Loading branch information
1 parent
06f94a0
commit 1308832
Showing
4 changed files
with
362 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
81 changes: 81 additions & 0 deletions
81
...sta/avd/roles/eos_cli_config_gen/schemas/schema_fragments/monitor_connectivity.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,81 @@ | ||
# 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: | ||
monitor_connectivity: | ||
type: dict | ||
keys: | ||
shutdown: | ||
type: bool | ||
interval: | ||
type: int | ||
convert_types: | ||
- str | ||
interface_sets: | ||
type: list | ||
items: | ||
type: dict | ||
keys: | ||
name: | ||
type: str | ||
interfaces: | ||
type: str | ||
description: | | ||
Interface range(s) should be of same type, Ethernet, Loopback, Management etc. | ||
Multiple interface ranges can be specified separated by "," | ||
local_interfaces: | ||
type: str | ||
hosts: | ||
type: list | ||
items: | ||
type: dict | ||
keys: | ||
name: | ||
display_name: Host Name | ||
type: str | ||
description: | ||
type: str | ||
ip: | ||
type: str | ||
local_interfaces: | ||
type: str | ||
url: | ||
type: str | ||
vrfs: | ||
type: list | ||
items: | ||
type: dict | ||
keys: | ||
name: | ||
display_name: VRF Name | ||
type: str | ||
description: | ||
type: str | ||
interface_sets: | ||
type: list | ||
items: | ||
type: dict | ||
keys: | ||
name: | ||
type: str | ||
interfaces: | ||
type: str | ||
local_interfaces: | ||
type: str | ||
hosts: | ||
type: list | ||
items: | ||
type: dict | ||
keys: | ||
name: | ||
display_name: Host name | ||
type: str | ||
description: | ||
type: str | ||
ip: | ||
type: str | ||
local_interfaces: | ||
type: str | ||
url: | ||
type: str |