It has been decided that codfw rack A1 should be a "network" rack, containing core network devices like cr1-codfw and ssw1-a1-codfw, but not containing any servers. As such we do not need a 'leaf' switch in this rack, so the plan is to decom //lsw1-a1-codfw// and re-use this device for the upcoming codfw row c/d upgrade as //lsw1-d1-codfw//.
At a high level I believe we need to do the following:
[x] Downtime lsw1-a1-codfw
[x] Remove lsw1-a1-codfw from LibreNMS
[x] Remove lsw1-a1-codfw from route-reflector config in codfw
[x] Remove configuration from ssw1-a1-codfw and ssw1-a8-codfw ports connecting to lsw1-a1-codfw in Netbox
[x] Push updated config to ssw1-a1-codfw and ssw1-a8-codfw to remove BGP peerings, OSPF and interfaces
[x] Remove configuration of lsw1-a1-codfw interfaces (apart from em0 and loopbacks) in Netbox
[x] Push updated config to lsw1-a1-codfw to remove it's ssw uplink config, BGP peerings etc.
[x] Remove puppet references to lsw1-a1-codfw to remove from monitoring
[x] Remove all references to private1-a1-codfw vlan from puppet (including lvs sub-interfaces)
[x] Remove all references to private1-a1-codfw vlan and networks from netbox
[x] Rename lsw1-a1-codfw to lsw1-d1-codfw in netbox
[x] Update dns names on mgmt and loopback IPs to new hostname
[x] Manually change hostname on device
[x] Set lsw1-d1-codfw to 'planned' status in netbox
[x] Remove lsw1-a1-codfw from devices.yaml in homer public repo
[] Remove all physical cabling from lsw1-a1-codfw, and optics from both sides of any links
[] Move to rack d1 and reconnect to mgmt network
[] Update rack location in Netbox
At this point the device should be ready to have new configuration elements (interfaces, IPs etc.) added for its new life in the other rack.