Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Save any special interface configs: curl -ks -H "Authorization: Bearer $JWT_AUTH_TOKEN" ${CNAASURL}/api/v1.0/device/eosaccesscurrentswitch/interfaces > migrate-received.json
  2. Remove device from databaseNMS (use factory default if the switch is still online to clear the config)
  3. ZTP new switch (with same name)
  4. Re-apply any interface configs ( , download migrate-interfaces.py ( compatible with nms v1.x to convert output json to input json , then curl ks )
    1. python3 migrate-interfaces.py < migrate-received.json > migrate-send.json
    2. curl ks -H "Authorization: Bearer $JWT_AUTH_TOKEN" ${CNAASURL}/api/v1.0/device/
    eosaccess
    1. newswitch/interfaces -X PUT -d
    outputfile
    1. migrate-send.
    json 
    1. json -H "Content-Type: application/json"
    )
  5. Sync config to switch
  6. Update serial etc in NI?
  7. Update monitoring etc if management IP changed

...