-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(eos_cli_config_gen)!: Avoid generating invalid configuration for …
…traffic policies (#4266)
- Loading branch information
1 parent
a98e6bc
commit b61dc52
Showing
16 changed files
with
715 additions
and
273 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
76 changes: 76 additions & 0 deletions
76
...sta/avd/molecule/eos_cli_config_gen/documentation/devices/traffic-policies-2.md
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,76 @@ | ||
# traffic-policies-2 | ||
|
||
## Table of Contents | ||
|
||
- [Management](#management) | ||
- [Management Interfaces](#management-interfaces) | ||
- [Interfaces](#interfaces) | ||
- [Port-Channel Interfaces](#port-channel-interfaces) | ||
- [Traffic Policies information](#traffic-policies-information) | ||
|
||
## Management | ||
|
||
### Management Interfaces | ||
|
||
#### Management Interfaces Summary | ||
|
||
##### IPv4 | ||
|
||
| Management Interface | Description | Type | VRF | IP Address | Gateway | | ||
| -------------------- | ----------- | ---- | --- | ---------- | ------- | | ||
| Management1 | OOB_MANAGEMENT | oob | MGMT | 10.73.255.122/24 | 10.73.255.2 | | ||
|
||
##### IPv6 | ||
|
||
| Management Interface | Description | Type | VRF | IPv6 Address | IPv6 Gateway | | ||
| -------------------- | ----------- | ---- | --- | ------------ | ------------ | | ||
| Management1 | OOB_MANAGEMENT | oob | MGMT | - | - | | ||
|
||
#### Management Interfaces Device Configuration | ||
|
||
```eos | ||
! | ||
interface Management1 | ||
description OOB_MANAGEMENT | ||
vrf MGMT | ||
ip address 10.73.255.122/24 | ||
``` | ||
|
||
## Interfaces | ||
|
||
### Port-Channel Interfaces | ||
|
||
#### Port-Channel Interfaces Summary | ||
|
||
##### L2 | ||
|
||
| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | LACP Fallback Timeout | LACP Fallback Mode | MLAG ID | EVPN ESI | | ||
| --------- | ----------- | ---- | ----- | ----------- | ------------| --------------------- | ------------------ | ------- | -------- | | ||
|
||
#### Port-Channel Interfaces Device Configuration | ||
|
||
```eos | ||
! | ||
interface Port-Channel2 | ||
no switchport | ||
``` | ||
|
||
### Traffic Policies information | ||
|
||
#### IPv6 Field Sets | ||
|
||
| Field Set Name | IPv6 Prefixes | | ||
| -------------- | ------------- | | ||
| IPv6-DEMO-1 | 11:22:33:44:55:66:77:88 | | ||
| IPv6-DEMO-2 | - | | ||
|
||
#### Traffic Policies Device Configuration | ||
|
||
```eos | ||
! | ||
traffic-policies | ||
field-set ipv6 prefix IPv6-DEMO-1 | ||
11:22:33:44:55:66:77:88 | ||
! | ||
field-set ipv6 prefix IPv6-DEMO-2 | ||
``` |
67 changes: 67 additions & 0 deletions
67
...sta/avd/molecule/eos_cli_config_gen/documentation/devices/traffic-policies-3.md
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,67 @@ | ||
# traffic-policies-3 | ||
|
||
## Table of Contents | ||
|
||
- [Management](#management) | ||
- [Management Interfaces](#management-interfaces) | ||
- [Interfaces](#interfaces) | ||
- [Ethernet Interfaces](#ethernet-interfaces) | ||
- [Traffic Policies information](#traffic-policies-information) | ||
|
||
## Management | ||
|
||
### Management Interfaces | ||
|
||
#### Management Interfaces Summary | ||
|
||
##### IPv4 | ||
|
||
| Management Interface | Description | Type | VRF | IP Address | Gateway | | ||
| -------------------- | ----------- | ---- | --- | ---------- | ------- | | ||
| Management1 | OOB_MANAGEMENT | oob | MGMT | 10.73.255.122/24 | 10.73.255.2 | | ||
|
||
##### IPv6 | ||
|
||
| Management Interface | Description | Type | VRF | IPv6 Address | IPv6 Gateway | | ||
| -------------------- | ----------- | ---- | --- | ------------ | ------------ | | ||
| Management1 | OOB_MANAGEMENT | oob | MGMT | - | - | | ||
|
||
#### Management Interfaces Device Configuration | ||
|
||
```eos | ||
! | ||
interface Management1 | ||
description OOB_MANAGEMENT | ||
vrf MGMT | ||
ip address 10.73.255.122/24 | ||
``` | ||
|
||
## Interfaces | ||
|
||
### Ethernet Interfaces | ||
|
||
#### Ethernet Interfaces Summary | ||
|
||
##### L2 | ||
|
||
| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | | ||
| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | | ||
|
||
*Inherited from Port-Channel Interface | ||
|
||
#### Ethernet Interfaces Device Configuration | ||
|
||
```eos | ||
! | ||
interface Ethernet1 | ||
no switchport | ||
``` | ||
|
||
### Traffic Policies information | ||
|
||
#### Traffic Policies Device Configuration | ||
|
||
```eos | ||
! | ||
traffic-policies | ||
``` |
Oops, something went wrong.