-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test(eos_cli_config_gen): Added the test for domain-list in molecule …
…to improve the coverage (#4223)
- Loading branch information
1 parent
1b64d2e
commit 3d1fbda
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
...ons/arista/avd/molecule/eos_cli_config_gen/documentation/devices/domain-list.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,50 @@ | ||
# domain-list | ||
|
||
## Table of Contents | ||
|
||
- [Management](#management) | ||
- [Management Interfaces](#management-interfaces) | ||
- [IP Domain-list](#ip-domain-list) | ||
|
||
## 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 | ||
``` | ||
|
||
### IP Domain-list | ||
|
||
#### Domains List | ||
|
||
- domain1.local | ||
- domain2.local | ||
|
||
#### IP Domain-list Device Configuration | ||
|
||
```eos | ||
ip domain-list domain1.local | ||
ip domain-list domain2.local | ||
! | ||
``` |
17 changes: 17 additions & 0 deletions
17
ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/domain-list.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,17 @@ | ||
!RANCID-CONTENT-TYPE: arista | ||
! | ||
transceiver qsfp default-mode 4x10G | ||
! | ||
hostname domain-list | ||
ip domain-list domain1.local | ||
ip domain-list domain2.local | ||
! | ||
no enable password | ||
no aaa root | ||
! | ||
interface Management1 | ||
description oob_management | ||
vrf MGMT | ||
ip address 10.73.255.122/24 | ||
! | ||
end |
4 changes: 4 additions & 0 deletions
4
...le_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/domain-list.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,4 @@ | ||
### Domain List ### | ||
domain_list: | ||
- domain1.local | ||
- domain2.local |
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ daemon_terminattr | |
daemons | ||
dps-interfaces | ||
dns-ntp | ||
domain-list | ||
dhcp-relay | ||
dhcp-servers | ||
dot1x | ||
|