aristanetworks / avd

Arista Validated Designs
https://avd.arista.com
Apache License 2.0
295 stars 211 forks source link

Disable configuring the Management0 interface and the management VRF on leafs with inband mgmt #3400

Open carlbuchmann opened 11 months ago

carlbuchmann commented 11 months ago

Discussed in https://github.com/aristanetworks/ansible-avd/discussions/3397

Originally posted by **kmueller68** December 1, 2023 Hello. In the AVD campus fabric example is exmplained how to disable generation of oob interfaces on leafs. In Campus Networks, having a dedicated out-of-band management network in each IDF is uncommon. Therefore, you can easily disable configuring the Management0 interface and the management VRF by adding these variables to the DC1_LEAFS.yml group_vars. ``` mgmt_gateway: null mgmt_interface: null mgmt_interface_vrf: default ``` Should this really work? I have tested it but the `interface Management1`is still created including an IP? ``` --- ### group_vars/DC1_LEAFS.yml type: leaf # Must be leaf mgmt_gateway: null mgmt_interface: null mgmt_interface_vrf: default ``` thank you Karlheinz
CyrielRct commented 10 months ago

Try to define your leaf by inband_mgmt_vlan instead of mgmt_interfaces :

mgmt_interface: Vlan100 << specify your inband mgmt interface mgmt_interface_vrf: default

leaf: defaults: platform: cEOSLab inband_mgmt_vlan: 100 inband_mgmt_gateway: 10.x.x.x

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 90 days with no activity. The issue will be reviewed by a maintainer and may be closed