Extend lab with Core, Campus fabric, and clean device naming #41
Reference in New Issue
Block a user
Delete Branch "feat/extend-campus-core"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
<area>-<role>scheme (dc-spine,dc-leaf,dc-border-leaf,dc-access,dc-server,campus-border-leaf), leaving campus/core unchanged where already correctTest plan
clab deploy -t evpn-lab.clab.ymlbrings up all 34 nodes with the new namesMake hosts/campus-host{1,2}_interfaces the source of truth for the campus host IP and default route, and have clab simply invoke 'ifup eth1' at container start to apply it. Previously the bound interfaces file was unused and the real config lived in the YAML exec block, which was misleading. BusyBox ifup in the network-multitool image needs 'address' plus 'netmask' rather than a CIDR, so split the address accordingly. Also add 'post-up ip route replace default via <fabric-gw>' so the fabric default overrides the management DHCP default even when one is already installed.