Skip to content

Commit

Permalink
Test(eos_cli_config_gen): Added the test for domain-list in molecule …
Browse files Browse the repository at this point in the history
…to improve the coverage (#4223)
  • Loading branch information
MaheshGSLAB committed Jul 22, 2024
1 parent 1b64d2e commit 3d1fbda
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
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
!
```
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Domain List ###
domain_list:
- domain1.local
- domain2.local
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ daemon_terminattr
daemons
dps-interfaces
dns-ntp
domain-list
dhcp-relay
dhcp-servers
dot1x
Expand Down

0 comments on commit 3d1fbda

Please sign in to comment.