Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor(eos_cli_config_gen): Deprecate Upper case letter Vxlan1 to vxlan1 for vxlan_interface schema #4250

Merged
merged 7 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Test values that are set to false and generate configuration e.g -> "no vxlan qos ecn propagation"

vxlan_interface:
Vxlan1:
vxlan1:
vxlan:
qos:
dscp_propagation_encapsulation: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### VxLAN interface ###

vxlan_interface:
Vxlan1:
vxlan1:
description: DC1-LEAF2A_VTEP
vxlan:
source_interface: Loopback0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- [Spanning Tree](#spanning-tree)
- [Spanning Tree Summary](#spanning-tree-summary)
- [Spanning Tree Device Configuration](#spanning-tree-device-configuration)
- [Interfaces](#interfaces)
- [VXLAN Interface](#vxlan-interface)
- [Routing](#routing)
- [Router BGP](#router-bgp)

Expand Down Expand Up @@ -32,6 +34,29 @@ spanning-tree vlan-id 3 priority 8192
spanning-tree vlan-id 100-500 priority 16384
```

## Interfaces

### VXLAN Interface

#### VXLAN Interface Summary

| Setting | Value |
| ------- | ----- |
| UDP port | 4789 |
| Qos dscp propagation encapsulation | Disabled |
| Qos ECN propagation | Disabled |
| Qos map dscp to traffic-class decapsulation | Disabled |

#### VXLAN Interface Device Configuration

```eos
!
interface Vxlan1
no vxlan qos dscp propagation encapsulation
no vxlan qos ecn propagation
no vxlan qos map dscp to traffic-class decapsulation
```

## Routing

### Router BGP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ spanning-tree vlan-id 100-500 priority 16384
no enable password
no aaa root
!
interface Vxlan1
no vxlan qos dscp propagation encapsulation
no vxlan qos ecn propagation
no vxlan qos map dscp to traffic-class decapsulation
!
router bgp 65101
router-id 192.168.255.3
redistribute connected
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
### VxLAN interface ###

vxlan_interface:
# Testing Vxlan1 as key
# Vxlan1 key is deprecated in 4.10.0. To be removed in 5.0.0
Vxlan1:
vxlan:
# Testing vlans as dict of dict
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### VxLAN interface ###
## Test values that are set to false and generate configuration e.g -> "no vxlan qos ecn propagation"

vxlan_interface:
# Testing Vxlan1 as key
# Vxlan1 key is deprecated in 4.10.0. To be removed in 5.0.0
Vxlan1:
vxlan:
qos:
dscp_propagation_encapsulation: false
map_dscp_to_traffic_class_decapsulation: false
ecn_propagation: false

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading