Skip to content

Commit

Permalink
Removing feature_header_legth from switchport.tap.encapsulation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Jul 2, 2024
1 parent 9cc2279 commit 2302af9
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ interface Ethernet1
switchport tap mac-address dest 01:00:00:00:00:00 src 01:23:45:67:89:ab
switchport tap encapsulation vxlan strip
switchport tap encapsulation gre strip
switchport tap encapsulation gre destination 1.1.1.1 source 1.1.1.2 protocol 0x0000 feature header length 10 strip
switchport tap encapsulation gre destination 1.1.1.1 source 1.1.1.2 protocol 0x0000 strip
switchport tool mpls pop all
switchport tool encapsulation vn-tag strip
switchport tool encapsulation dot1br strip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface Ethernet1
switchport tap mac-address dest 01:00:00:00:00:00 src 01:23:45:67:89:ab
switchport tap encapsulation vxlan strip
switchport tap encapsulation gre strip
switchport tap encapsulation gre destination 1.1.1.1 source 1.1.1.2 protocol 0x0000 feature header length 10 strip
switchport tap encapsulation gre destination 1.1.1.1 source 1.1.1.2 protocol 0x0000 strip
switchport tool mpls pop all
switchport tool encapsulation vn-tag strip
switchport tool encapsulation dot1br strip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ ethernet_interfaces:
destination: 1.1.1.1
source: 1.1.1.2
protocol: "0x0000"
feature_header_length: 10
tool:
mpls_pop_all: true
encapsulation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;destination</samp>](## "ethernet_interfaces.[].switchport.tap.encapsulation.gre.destination") | String | | | | Destination IP address of tunnel packets. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;source</samp>](## "ethernet_interfaces.[].switchport.tap.encapsulation.gre.source") | String | | | | Source IP address of tunnel packets. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protocol</samp>](## "ethernet_interfaces.[].switchport.tap.encapsulation.gre.protocol") | String | | | | Protocol type in GRE header.<br>Protocol range: 0x0000-0xFFFF |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feature_header_length</samp>](## "ethernet_interfaces.[].switchport.tap.encapsulation.gre.feature_header_length") | Integer | | | Min: 1<br>Max: 16 | Feature header length in bytes. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tool</samp>](## "ethernet_interfaces.[].switchport.tool") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mpls_pop_all</samp>](## "ethernet_interfaces.[].switchport.tool.mpls_pop_all") | Boolean | | | | Pop all MPLS labels. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;encapsulation</samp>](## "ethernet_interfaces.[].switchport.tool.encapsulation") | Dictionary | | | | |
Expand Down Expand Up @@ -1260,9 +1259,6 @@
# Protocol type in GRE header.
# Protocol range: 0x0000-0xFFFF
protocol: <str>

# Feature header length in bytes.
feature_header_length: <int; 1-16>
tool:

# Pop all MPLS labels.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,6 @@ interface {{ ethernet_interface.name }}
{% endif %}
{% if ethernet_interface.switchport.tap.encapsulation.gre.protocol is arista.avd.defined %}
{% set tap_encapsulation_cli = tap_encapsulation_cli ~ " protocol " ~ ethernet_interface.switchport.tap.encapsulation.gre.protocol %}
{% if ethernet_interface.switchport.tap.encapsulation.gre.feature_header_length is arista.avd.defined %}
{% set tap_encapsulation_cli = tap_encapsulation_cli ~ " feature header length " ~ ethernet_interface.switchport.tap.encapsulation.gre.feature_header_length %}
{% endif %}
{% endif %}
{{ tap_encapsulation_cli }} strip
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ interface {{ port_channel_interface.name }}
{% endif %}
{% if port_channel_interface.switchport.tap.encapsulation.gre.protocol is arista.avd.defined %}
{% set tap_encapsulation_cli = tap_encapsulation_cli ~ " protocol " ~ port_channel_interface.switchport.tap.encapsulation.gre.protocol %}
{% if port_channel_interface.switchport.tap.encapsulation.gre.feature_header_length is arista.avd.defined %}
{% set tap_encapsulation_cli = tap_encapsulation_cli ~ " feature header length " ~ port_channel_interface.switchport.tap.encapsulation.gre.feature_header_length %}
{% endif %}
{% endif %}
{{ tap_encapsulation_cli }} strip
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5879,13 +5879,6 @@
"type": "string",
"description": "Protocol type in GRE header.\nProtocol range: 0x0000-0xFFFF",
"title": "Protocol"
},
"feature_header_length": {
"description": "Feature header length in bytes.",
"type": "integer",
"minimum": 1,
"maximum": 16,
"title": "Feature Header Length"
}
},
"additionalProperties": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3540,13 +3540,6 @@ keys:
description: 'Protocol type in GRE header.

Protocol range: 0x0000-0xFFFF'
feature_header_length:
description: Feature header length in bytes.
type: int
convert_types:
- str
min: 1
max: 16
tool:
type: dict
keys:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1525,13 +1525,6 @@ keys:
description: |-
Protocol type in GRE header.
Protocol range: 0x0000-0xFFFF
feature_header_length:
description: Feature header length in bytes.
type: int
convert_types:
- str
min: 1
max: 16
tool:
type: dict
keys:
Expand Down
28 changes: 0 additions & 28 deletions python-avd/pyavd/_eos_designs/schema/eos_designs.jsonschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11410,13 +11410,6 @@
"type": "string",
"description": "Protocol type in GRE header.\nProtocol range: 0x0000-0xFFFF",
"title": "Protocol"
},
"feature_header_length": {
"description": "Feature header length in bytes.",
"type": "integer",
"minimum": 1,
"maximum": 16,
"title": "Feature Header Length"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -17815,13 +17808,6 @@
"type": "string",
"description": "Protocol type in GRE header.\nProtocol range: 0x0000-0xFFFF",
"title": "Protocol"
},
"feature_header_length": {
"description": "Feature header length in bytes.",
"type": "integer",
"minimum": 1,
"maximum": 16,
"title": "Feature Header Length"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -24665,13 +24651,6 @@
"type": "string",
"description": "Protocol type in GRE header.\nProtocol range: 0x0000-0xFFFF",
"title": "Protocol"
},
"feature_header_length": {
"description": "Feature header length in bytes.",
"type": "integer",
"minimum": 1,
"maximum": 16,
"title": "Feature Header Length"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -57209,13 +57188,6 @@
"type": "string",
"description": "Protocol type in GRE header.\nProtocol range: 0x0000-0xFFFF",
"title": "Protocol"
},
"feature_header_length": {
"description": "Feature header length in bytes.",
"type": "integer",
"minimum": 1,
"maximum": 16,
"title": "Feature Header Length"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 2302af9

Please sign in to comment.