-
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 qos (#2155)
Co-authored-by: Carl Buchmann <[email protected]>
- Loading branch information
1 parent
3d03545
commit 70e33f2
Showing
4 changed files
with
140 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
35 changes: 35 additions & 0 deletions
35
...e_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/qos.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,35 @@ | ||
# 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: | ||
qos: | ||
type: dict | ||
display_name: QOS | ||
keys: | ||
map: | ||
type: dict | ||
keys: | ||
cos: | ||
type: list | ||
display_name: COS | ||
items: | ||
type: str | ||
description: | | ||
Example: "0 1 to traffic-class 1" | ||
dscp: | ||
type: list | ||
display_name: DSCP | ||
items: | ||
type: str | ||
description: | | ||
Example: "8 9 10 to traffic-class 1" | ||
traffic_class: | ||
type: list | ||
items: | ||
type: str | ||
description: | | ||
Example: "1 to dscp 32" | ||
rewrite_dscp: | ||
display_name: Rewrite DSCP | ||
type: bool |