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

Test(eos_cli_config_gen): Improve test coverage part 1 #4781

Merged
merged 33 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8c5ce11
Refactor(eos_cli_config_gen): Improve test coverage part 1
Dec 3, 2024
58df755
Minor fix in doc template for daemon terminattr
Dec 4, 2024
15a209d
Add tests for logging, mcs-client,lldp,priority-flow-control,queue-mo…
Dec 9, 2024
d15701a
Improve coverage for router-msdp, logging, monitor-layer1,ptp,routerl…
Dec 9, 2024
c3b772c
Fix PTP doc
Dec 9, 2024
8f83224
TeMP
Dec 12, 2024
deb3ffe
Temp
Dec 13, 2024
fd9bad1
Add more doc tests
Dec 13, 2024
a56f6ad
router-bgp converage part1
Jan 7, 2025
99e903c
router-bgp coverage part2
Jan 7, 2025
62c1f50
router-bgp coverage part 3
Jan 9, 2025
d943b2f
Address comments for tap-aggregation tests, ptp, sflow, daemon-termin…
Jan 9, 2025
db3a2ef
Remove quotes for all inputs in current newly added tests
Jan 10, 2025
d2208cb
Port channel interfaces coverage
Jan 11, 2025
c44d805
Merge branch 'devel' into coverage-part-1
Jan 16, 2025
4c1928f
Merge branch 'devel' into coverage-part-1
laxmikantchintakindi Jan 17, 2025
9eea1c6
delete this
Jan 17, 2025
387ba21
Fix coverage of cvx doc
Jan 20, 2025
19a1661
Improve coverage for lldp
Jan 20, 2025
ff7b04e
Merge branch 'devel' into coverage-part-1
gmuloc Jan 20, 2025
d6bf9d6
Address latest comments on lldp,cvx,logging,tap-agg,int-defaults etc
Jan 21, 2025
dee72e4
Merge branch 'devel' into coverage-part-1
laxmikantchintakindi Jan 21, 2025
345451e
Update python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/l…
laxmikantchintakindi Jan 22, 2025
87cb717
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 22, 2025
eaca5bd
Refactor(plugins): Add support for default_value to natural_sort (#4901)
ClausHolbechArista Jan 21, 2025
606ebdb
Feat(eos_designs): Add platform match criteria for network_ports (#4798)
kpbush30 Jan 22, 2025
12926d6
Refactor(eos_cli_config_gen): Updated `hash_algorithm ` and `authenti…
MaheshGSLAB Jan 22, 2025
a30740d
Fix(eos_designs)!: Correct Loopback prefixes in PL-LOOPBACKS-EVPN-OVE…
ClausHolbechArista Jan 22, 2025
097e047
Feat(eos_cli_config_gen): Add support for Next Hop Self Source Interf…
ccsnw Jan 23, 2025
6f9f623
Merge branch 'devel' into coverage-part-1
Jan 23, 2025
a07833d
Fix ruff check
Jan 23, 2025
ba6eb9a
Merge branch 'devel' into coverage-part-1
gmuloc Jan 23, 2025
f7cab1a
Merge branch 'devel' into coverage-part-1
gmuloc Jan 23, 2025
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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,66 @@ interface Management1
ip address 10.73.255.122/24
```

### Management SSH

#### SSH Timeout and Management

| Idle Timeout | SSH Management |
| ------------ | -------------- |
| default | Enabled |

#### Max number of SSH sessions limit and per-host limit

| Connection Limit | Max from a single Host |
| ---------------- | ---------------------- |
| - | - |

#### Ciphers and Algorithms

| Ciphers | Key-exchange methods | MAC algorithms | Hostkey server algorithms |
|---------|----------------------|----------------|---------------------------|
| default | default | default | default |

#### VRFs

| VRF | Status |
| --- | ------ |
| mgt | Disabled |

#### Management SSH Device Configuration

```eos
!
management ssh
!
vrf mgt
```

## CVX

CVX is enabled

### CVX Services

| Service | Enabled | Settings |
| ------- | ------- | -------- |
| MCS | - | Redis Password Set |
| VXLAN | - | VTEP MAC learning: control-plane |

### CVX Device Configuration

```eos
!
cvx
no shutdown
!
service mcs
redis password 7 <removed>
!
service vxlan
vtep mac-learning control-plane
```

## Monitoring

### TerminAttr Daemon
Expand All @@ -47,6 +107,47 @@ daemon TerminAttr
no shutdown
```

### Logging

#### Logging Servers and Features Summary

| Type | Level |
| -----| ----- |
| Synchronous | critical |

| Format Type | Setting |
| ----------- | ------- |
| Timestamp | traditional year timezone |
| Hostname | hostname |
| Sequence-numbers | false |
| RFC5424 | False |

#### Logging Servers and Features Device Configuration

```eos
!
logging synchronous level critical
logging format timestamp traditional year timezone
```

### MCS Client Summary

MCS client is shutdown

| Secondary CVX cluster | Server Hosts | Enabled |
| --------------------- | ------------ | ------- |
| default | - | - |

#### MCS Client Device Configuration

```eos
!
mcs client
shutdown
!
cvx secondary default
```

## Spanning Tree

### Spanning Tree Summary
Expand Down Expand Up @@ -141,6 +242,17 @@ ASN Notation: asplain
| graceful-restart-helper long-lived |
| bgp additional-paths send limit 5 |

#### Router BGP EVPN Address Family

#### Router BGP IPv4 Labeled Unicast

##### General Settings

| Settings | Value |
| -------- | ----- |

#### Router BGP Path-Selection Address Family

#### Router BGP Device Configuration

```eos
Expand All @@ -157,6 +269,15 @@ router bgp 65101.0001
redistribute ospf include leaked route-map RM-OSPF-TO-BGP
redistribute static
!
address-family evpn
bgp additional-paths send ecmp limit 10
!
address-family ipv4
bgp additional-paths send limit 10
!
address-family ipv4 labeled-unicast
no bgp additional-paths send
!
address-family ipv4 multicast
redistribute attached-host
redistribute connected
Expand All @@ -169,8 +290,12 @@ router bgp 65101.0001
redistribute ospf match nssa-external 2
!
address-family ipv6
no bgp additional-paths send
redistribute ospfv3 include leaked route-map RM-REDISTRIBUTE-OSPFV3
redistribute ospfv3 match external include leaked route-map RM-REDISTRIBUTE-OSPFV3-EXTERNAL
!
address-family path-selection
bgp additional-paths send limit 20
```

## MPLS
Expand Down Expand Up @@ -207,6 +332,23 @@ mpls ldp
mpls rsvp
```

## Multicast

### Router Multicast

#### IP Router Multicast Summary

- Multipathing via ECMP.

#### Router Multicast Device Configuration

```eos
!
router multicast
ipv4
multipath deterministic
```

### Traffic Policies information

#### Traffic Policies Device Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
- [TerminAttr Daemon](#terminattr-daemon)
- [Routing](#routing)
- [Router ISIS](#router-isis)
- [Router BGP](#router-bgp)
- [Multicast](#multicast)
- [Router Multicast](#router-multicast)

## Management

Expand Down Expand Up @@ -79,3 +82,61 @@ router isis EVPN_UNDERLAY
authentication mode sha key-id 4 rx-disabled
!
```

### Router BGP

ASN Notation: asplain

#### Router BGP Summary

| BGP AS | Router ID |
| ------ | --------- |
| 65001 | 192.168.255.3 |

| BGP Tuning |
| ---------- |
| graceful-restart-helper long-lived |
| bgp additional-paths send ecmp |

#### Router BGP IPv4 Labeled Unicast

##### General Settings

| Settings | Value |
| -------- | ----- |

#### Router BGP Device Configuration

```eos
!
router bgp 65001
router-id 192.168.255.3
graceful-restart-helper long-lived
bgp additional-paths send ecmp
!
address-family ipv4
bgp additional-paths send ecmp
!
address-family ipv4 labeled-unicast
bgp additional-paths send limit 10
!
address-family ipv6
bgp additional-paths send limit 20
```

## Multicast

### Router Multicast

#### IP Router Multicast Summary

- Multipathing disabled.

#### Router Multicast Device Configuration

```eos
!
router multicast
ipv4
multipath none
```
Loading
Loading