This scripts automates registration of devices to CSSM On-prem.
File smart_license_config.txt shoould contain your specific configuration for Smart License registration to CSSM On-Prem. Instead of {{ CSSM_On_Prem_IP_Address }}
put IP address of your server.
To use the script - run main.py and open your browser at http://127.0.0.1:5000/
Script does the following:
- Connect to device -> continue if connection is successful.
- Check device's licensing status and DLC status.
- If device is not registered to CSSM On-Prem -> check reachability from device to CSSM On-Prem
- If CSSM On-Prem is not reachable -> try reachability from diffrenet interfaces in GRT
- Configure device with smart_license_config.txt
- Wait for registration (120 seconds)
- if device supports DLC and DLC not performed -> run DLC
Tested on Catalyst 3650, 3850, 9000