Network Automation for a Hardware Refresh