Skip to content

Commit 1539742

Browse files
committed
Feat(eos_designs): Added the support of mgmt_interface_settings
1 parent 6824785 commit 1539742

31 files changed

Lines changed: 486 additions & 37 deletions
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
!
2+
no enable password
3+
no aaa root
4+
!
5+
vlan internal order ascending range 1006 1199
6+
!
7+
transceiver qsfp default-mode 4x10G
8+
!
9+
service routing protocols model multi-agent
10+
!
11+
hostname mgmt-interface-settings-1
12+
!
13+
vrf instance vrf_from_mgmt_interface_settings
14+
!
15+
interface Management0
16+
description description from mgmt_interface_settings
17+
no shutdown
18+
vrf vrf_from_mgmt_interface_settings
19+
ip address 192.168.0.2/24
20+
no lldp transmit
21+
no lldp receive
22+
lldp tlv transmit ztp vlan 111
23+
ip routing vrf vrf_from_mgmt_interface_settings
24+
!
25+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
aaa_root:
2+
disabled: true
3+
config_end: true
4+
enable_password:
5+
disabled: true
6+
hostname: mgmt-interface-settings-1
7+
ip_igmp_snooping:
8+
globally_enabled: true
9+
management_interfaces:
10+
- name: Management0
11+
description: description from mgmt_interface_settings
12+
shutdown: false
13+
vrf: vrf_from_mgmt_interface_settings
14+
ip_address: 192.168.0.2/24
15+
type: oob
16+
lldp:
17+
transmit: false
18+
receive: false
19+
ztp_vlan: 111
20+
metadata:
21+
is_deployed: true
22+
fabric_name: EOS_DESIGNS_UNIT_TESTS
23+
service_routing_protocols_model: multi-agent
24+
transceiver_qsfp_default_mode_4x10: true
25+
vlan_internal_order:
26+
allocation: ascending
27+
range:
28+
beginning: 1006
29+
ending: 1199
30+
vrfs:
31+
- name: vrf_from_mgmt_interface_settings
32+
ip_routing: true

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Minimum config to only test the specific feature.
2-
mgmt_interface_vrf: MGMT
2+
mgmt_interface_settings:
3+
vrf: MGMT
34
mgmt_gateway: 1.1.1.1
45
l2leaf:
56
nodes:

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-description.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Minimum config to only test the specific feature.
22
type: l2leaf
3-
mgmt_interface_vrf: MGMT
4-
mgmt_interface_description: "Custom Management Interface Description"
3+
mgmt_interface_settings:
4+
vrf: MGMT
5+
description: "Custom Management Interface Description"
56
mgmt_gateway: 1.1.1.1
67
l2leaf:
78
defaults:

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-dhcp-with-accept-default-route-false.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Minimum config to test mgmt_ip: dhcp feature.
22
type: l2leaf
3-
mgmt_interface_vrf: MGMT
4-
mgmt_interface_description: "Management Interface - DHCP"
3+
mgmt_interface_settings:
4+
vrf: MGMT
5+
description: "Management Interface - DHCP"
56
avd_design_future:
67
accept_dhcp_default_route_for_mgmt_ip_dhcp: false
78
l2leaf:

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-dhcp.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Minimum config to test mgmt_ip: dhcp feature.
22
type: l2leaf
3-
mgmt_interface_vrf: MGMT
4-
mgmt_interface_description: "Management Interface - DHCP"
3+
mgmt_interface_settings:
4+
vrf: MGMT
5+
description: "Management Interface - DHCP"
56
avd_design_future:
67
accept_dhcp_default_route_for_mgmt_ip_dhcp: true
78
l2leaf:

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-dualstack.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Minimum config to only test the specific feature.
2-
mgmt_interface_vrf: MGMT
2+
mgmt_interface_settings:
3+
vrf: MGMT
34
type: l2leaf
45
ipv6_mgmt_gateway: 0200::1
56
mgmt_gateway: 192.168.200.5

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-fabric.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Minimum config to only test the specific feature.
2-
mgmt_interface: MY_INTERFACE_FABRIC
3-
mgmt_interface_vrf: MGMT
2+
mgmt_interface_settings:
3+
interface: MY_INTERFACE_FABRIC
4+
vrf: MGMT
45
mgmt_gateway: 1.1.1.1
56
l2leaf:
67
nodes:

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-host.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Minimum config to only test the specific feature.
2-
mgmt_interface_vrf: MGMT
2+
mgmt_interface_settings:
3+
vrf: MGMT
34
mgmt_gateway: 1.1.1.1
45
l2leaf:
56
nodes:

ansible_collections/arista/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/mgmt-interface-ipv6.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Minimum config to only test the specific feature.
2-
mgmt_interface_vrf: MGMT
2+
mgmt_interface_settings:
3+
vrf: MGMT
34
type: l2leaf
45
ipv6_mgmt_gateway: 0200::1
56
l2leaf:

0 commit comments

Comments
 (0)