...
- Save any special interface configs: curl -ks -H "Authorization: Bearer $JWT_AUTH_TOKEN" ${CNAASURL}/api/v1.0/device/eosaccess/interfaces
- Remove device from database
- ZTP new switch with same name
- Re-apply any interface configs ( migrate-interfaces.py compatible with nms v1.x to convert output json to input json , then curl ks -H "Authorization: Bearer $JWT_AUTH_TOKEN" ${CNAASURL}/api/v1.0/device/eosaccess/interfaces -X PUT -d outputfile.json -H "Content-Type: application/json" )
- Update serial etc in NI?
- Update monitoring etc if management IP changed