-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added molecule test for recirc interface and fixed documentation
- Loading branch information
1 parent
dbee146
commit c9d09e7
Showing
5 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
...ista/avd/molecule/eos_cli_config_gen/documentation/devices/recirc-interfaces.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,65 @@ | ||
# recirc-interfaces | ||
|
||
## Table of Contents | ||
|
||
- [Management](#management) | ||
- [Management Interfaces](#management-interfaces) | ||
- [Interfaces](#interfaces) | ||
- [Recirculation Interfaces](#recirculation-interfaces) | ||
|
||
## 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 | ||
|
||
### Recirculation Interfaces | ||
|
||
#### Recirculation Interfaces Summary | ||
|
||
| Interface | Description | Shutdown | Recirc Features | | ||
| --------- | ----------- | -------- | --------------- | | ||
| Recirc-Channel1 | Test recirc interface | - | cpu-mirror | | ||
| Recirc-Channel2 | Test recirc interface with shutdown | True | vxlan | | ||
|
||
#### Recirculation Interfaces Device Configuration | ||
|
||
```eos | ||
! | ||
interface Recirc-Channel1 | ||
description Test recirc interface | ||
switchport recirculation features cpu-mirror | ||
comment | ||
Comment created from eos_cli under recirc_interfaces.Recirc-Channel1 | ||
EOF | ||
! | ||
interface Recirc-Channel2 | ||
description Test recirc interface with shutdown | ||
shutdown | ||
switchport recirculation features vxlan | ||
``` |
18 changes: 18 additions & 0 deletions
18
...collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/recirc-interfaces.cfg
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,18 @@ | ||
! | ||
interface Recirc-Channel1 | ||
description Test recirc interface | ||
switchport recirculation features cpu-mirror | ||
comment | ||
Comment created from eos_cli under recirc_interfaces.Recirc-Channel1 | ||
EOF | ||
|
||
! | ||
interface Recirc-Channel2 | ||
description Test recirc interface with shutdown | ||
shutdown | ||
switchport recirculation features vxlan | ||
! | ||
interface Management1 | ||
description OOB_MANAGEMENT | ||
vrf MGMT | ||
ip address 10.73.255.122/24 |
15 changes: 15 additions & 0 deletions
15
...lections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/recirc-interfaces.yml
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,15 @@ | ||
--- | ||
### Recirculation Interfaces ### | ||
recirc_interfaces: | ||
- name: Recirc-Channel1 | ||
description: Test recirc interface | ||
recirculation_features: cpu-mirror | ||
eos_cli: | | ||
comment | ||
Comment created from eos_cli under recirc_interfaces.Recirc-Channel1 | ||
EOF | ||
- name: Recirc-Channel2 | ||
description: Test recirc interface with shutdown | ||
shutdown: true | ||
recirculation_features: vxlan |
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
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