Skip to content

Commit

Permalink
Feat(eos_cli_config_gen): Add schema for management_cvx (#2202)
Browse files Browse the repository at this point in the history
Co-authored-by: Claus Holbech <[email protected]>
  • Loading branch information
mayurgs34 and ClausHolbechArista authored Oct 20, 2022
1 parent 8cf8882 commit 91d5c63
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1509,6 +1509,26 @@ management_console:
idle_timeout: <int>
```

## Management CVX

### Variables

| Variable | Type | Required | Default | Value Restrictions | Description |
| -------- | ---- | -------- | ------- | ------------------ | ----------- |
| [<samp>management_cvx</samp>](## "management_cvx") | Dictionary | | | | Management CVX |
| [<samp>&nbsp;&nbsp;shutdown</samp>](## "management_cvx.shutdown") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;server_hosts</samp>](## "management_cvx.server_hosts") | List, items: String | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;- &lt;str&gt;</samp>](## "management_cvx.server_hosts.[].&lt;str&gt;") | String | | | | IP or hostname |

### YAML

```yaml
management_cvx:
shutdown: <bool>
server_hosts:
- <str>
```

## Management Defaults

### Variables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,25 @@
"additionalProperties": false,
"title": "Management Console"
},
"management_cvx": {
"type": "object",
"title": "Management CVX",
"properties": {
"shutdown": {
"type": "boolean",
"title": "Shutdown"
},
"server_hosts": {
"type": "array",
"items": {
"type": "string",
"description": "IP or hostname"
},
"title": "Server Hosts"
}
},
"additionalProperties": false
},
"management_defaults": {
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,17 @@ keys:
max: 86400
convert_types:
- str
management_cvx:
type: dict
display_name: Management CVX
keys:
shutdown:
type: bool
server_hosts:
type: list
items:
type: str
description: IP or hostname
management_defaults:
type: dict
keys:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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:
management_cvx:
type: dict
display_name: Management CVX
keys:
shutdown:
type: bool
server_hosts:
type: list
items:
type: str
description: IP or hostname

0 comments on commit 91d5c63

Please sign in to comment.