NetOps Module Installation
Perform NetOps Installation from an Online Repository
-
Select
NetOps > NetOps Installation.
-
The NETOPS INSTALLATION page displays defaulted to the ONLINE tab.
-
Enter the Repository address the container registry that hosts NetOps modules
-
Click
Start Online Sync to start the process.
-
A progress message displays:
NetOps online sync in progress
-
The sync completes and the following message displays:
NetOps online sync completed
Perform NetOps Installation from an Offline Repository
If Lighthouse is deployed on a network where outbound access to the Docker Hub repository is not permitted or not available, use the NetOps offline installer. The offline installer file can be downloaded from this link: offline installer file.
-
Select
NetOps > NetOps Installation.
-
The NETOPS INSTALLATION page displays.
-
Select the OFFLINE tab.
-
Drag and drop or select a file directly to upload.
Note: Supported files:
.tar.gz
-
Click Upload to start the process.
Perform NetOps Installation from an Offline Repository via CLI
-
Copy the offline installer to Lighthouse using scp, WinScp or similar, into the /mnt/nvram directory.
-
Log in to Lighthouse shell CLI as a Lighthouse Administrator and run:
gzip -d </mnt/nvram/netops_modules_*.tar.gz | nom update && rm /mnt/nvram/netops_modules_*.tar.gz
-
Deploy the upgrade to nodes:
-
Log in to the Lighthouse web UI as a Lighthouse Administrator or the root user.
-
Select
NetOps > Manage NetOps Modules.
-
The MANAGE NETOPS MODULES page displays.
-
Confirm the module version.
-
Click
Redeploy.
-
A progress message displays:
Module activation is in progress
Module activation may take several minutes -
The deployment completes and the following message displays:
Success
Module synchronization complete
-
Install Modules from the CLI
-
Log in to the Lighthouse CLI as root.
Note: Optionally, log in as a Lighthouse Administrator and become root with: sudo -i
-
Run the following procedure replacing root and default with a Lighthouse Administrator or root credentials:
USERNAME=root
PASSWORD=default
/etc/scripts/netops_sync_handler
token=$(curl -k -L -d '{"username":"'$USERNAME'","password":"'$PASSWORD'"}' "https://127.0.0.1/api/v3.0/sessions/" | python -c 'import sys, json; print json.load(sys.stdin)["session"]')
curl -k -L -H "Content-Type: application/json" -H "Authorization: Token $token" "https://127.0.0.1/api/v3.0/netops/modules/dop/redeploy"