Skip to content

Commit

Permalink
Added molecule test for recirc interface and fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanmusser committed Oct 4, 2024
1 parent dbee146 commit c9d09e7
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 0 deletions.
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
```
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
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
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ queue-monitor-length-notifying
queue-monitor-streaming
radius-server
radius-server-2
recirc-interfaces
redundancy
roles
route-maps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
or interface_defaults is arista.avd.defined
or interface_profiles is arista.avd.defined
or dps_interfaces is arista.avd.defined
or recirc_interfaces is arista.avd.defined
or ethernet_interfaces is arista.avd.defined
or port_channel_interfaces is arista.avd.defined
or loopback_interfaces is arista.avd.defined
Expand Down

0 comments on commit c9d09e7

Please sign in to comment.