Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 27, 2024
1 parent 4341eee commit 64fff38
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mac_address_maximum</samp>](## "ethernet_interfaces.[].switchport.port_security.vlans.[].mac_address_maximum") | Integer | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;trunk</samp>](## "ethernet_interfaces.[].switchport.trunk") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;allowed_vlans</samp>](## "ethernet_interfaces.[].switchport.trunk.allowed_vlans") | String | | | | VLAN ID or range of VLAN IDs.<br>Warning: This should not be combined with `ethernet_interface.mode = trunk`. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;native_vlan</samp>](## "ethernet_interfaces.[].switchport.trunk.native_vlan") | Integer | | | Min: 1<br>Max: 4094 | Set native VLAN when interface is in trunking mode.<br>Warning: This should not be combined with `ethernet_interfacse[].native_vlan`. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;native_vlan_tag</samp>](## "ethernet_interfaces.[].switchport.trunk.native_vlan_tag") | Boolean | | | | If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.<br>Warning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;native_vlan</samp>](## "ethernet_interfaces.[].switchport.trunk.native_vlan") | Integer | | | Min: 1<br>Max: 4094 | Set native VLAN when interface is in trunking mode.<br>Warning: This should not be combined with `ethernet_interfaces[].native_vlan`. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;native_vlan_tag</samp>](## "ethernet_interfaces.[].switchport.trunk.native_vlan_tag") | Boolean | | | | If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.<br>Warning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private_vlan_secondary</samp>](## "ethernet_interfaces.[].switchport.trunk.private_vlan_secondary") | Boolean | | | | Enable secondary VLAN mapping for a private vlan.<br>Warning: This should not be combined with `ethernet_ineterfaces[].trunk_private_vlan_secondary`. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;groups</samp>](## "ethernet_interfaces.[].switchport.trunk.groups") | List, items: String | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&lt;str&gt;</samp>](## "ethernet_interfaces.[].switchport.trunk.groups.[]") | String | | | | Trunk group name.<br>Warning: This should not be combined with `ethernet_ineterfaces[].trunk_groups`. |
Expand Down Expand Up @@ -1191,11 +1191,11 @@
allowed_vlans: <str>

# Set native VLAN when interface is in trunking mode.
# Warning: This should not be combined with `ethernet_interfacse[].native_vlan`.
# Warning: This should not be combined with `ethernet_interfaces[].native_vlan`.
native_vlan: <int; 1-4094>

# If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.
# Warning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`.
# Warning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`.
native_vlan_tag: <bool>

# Enable secondary VLAN mapping for a private vlan.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5739,14 +5739,14 @@
},
"native_vlan": {
"type": "integer",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan`.",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan`.",
"minimum": 1,
"maximum": 4094,
"title": "Native VLAN"
},
"native_vlan_tag": {
"type": "boolean",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`.",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`.",
"title": "Native VLAN Tag"
},
"private_vlan_secondary": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3458,15 +3458,15 @@ keys:
- str
description: 'Set native VLAN when interface is in trunking mode.

Warning: This should not be combined with `ethernet_interfacse[].native_vlan`.'
Warning: This should not be combined with `ethernet_interfaces[].native_vlan`.'
min: 1
max: 4094
native_vlan_tag:
type: bool
description: 'If setting both native_vlan and native_vlan_tag, native_vlan_tag
takes precedence.

Warning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`.'
Warning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`.'
private_vlan_secondary:
type: bool
description: 'Enable secondary VLAN mapping for a private vlan.
Expand Down
16 changes: 8 additions & 8 deletions python-avd/pyavd/_eos_designs/schema/eos_designs.jsonschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11270,14 +11270,14 @@
},
"native_vlan": {
"type": "integer",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan`.",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan`.",
"minimum": 1,
"maximum": 4094,
"title": "Native VLAN"
},
"native_vlan_tag": {
"type": "boolean",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`.",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`.",
"title": "Native VLAN Tag"
},
"private_vlan_secondary": {
Expand Down Expand Up @@ -17535,14 +17535,14 @@
},
"native_vlan": {
"type": "integer",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan`.",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan`.",
"minimum": 1,
"maximum": 4094,
"title": "Native VLAN"
},
"native_vlan_tag": {
"type": "boolean",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`.",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`.",
"title": "Native VLAN Tag"
},
"private_vlan_secondary": {
Expand Down Expand Up @@ -24268,14 +24268,14 @@
},
"native_vlan": {
"type": "integer",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan`.",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan`.",
"minimum": 1,
"maximum": 4094,
"title": "Native VLAN"
},
"native_vlan_tag": {
"type": "boolean",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`.",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`.",
"title": "Native VLAN Tag"
},
"private_vlan_secondary": {
Expand Down Expand Up @@ -56649,14 +56649,14 @@
},
"native_vlan": {
"type": "integer",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan`.",
"description": "Set native VLAN when interface is in trunking mode.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan`.",
"minimum": 1,
"maximum": 4094,
"title": "Native VLAN"
},
"native_vlan_tag": {
"type": "boolean",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfacse[].native_vlan_tag`.",
"description": "If setting both native_vlan and native_vlan_tag, native_vlan_tag takes precedence.\nWarning: This should not be combined with `ethernet_interfaces[].native_vlan_tag`.",
"title": "Native VLAN Tag"
},
"private_vlan_secondary": {
Expand Down

0 comments on commit 64fff38

Please sign in to comment.