NetOps Module Installation

Perform NetOps Installation from an Online Repository

  1. Select NetOps > NetOps Installation.

  2. The NETOPS INSTALLATION page displays defaulted to the ONLINE tab.

  3. Enter the Repository address the container registry that hosts NetOps modules

  4. Click Start Online Sync to start the process.

  5. A progress message displays:

    NetOps online sync in progress

  6. 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.

  1. Select NetOps > NetOps Installation.

  2. The NETOPS INSTALLATION page displays.

  3. Select the OFFLINE tab.

  4. Drag and drop or select a file directly to upload.

    Note: Supported files: .tar.gz

  5. Click Upload to start the process.

Perform NetOps Installation from an Offline Repository via CLI

  1. Copy the offline installer to Lighthouse using scp, WinScp or similar, into the /mnt/nvram directory.

  2. 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

  3. Deploy the upgrade to nodes:

    1. Log in to the Lighthouse web UI as a Lighthouse Administrator or the root user.

    2. Select NetOps > Manage NetOps Modules.

    3. The MANAGE NETOPS MODULES page displays.

    4. Confirm the module version.

    5. Click Redeploy.

    6. A progress message displays:

      Module activation is in progress
      Module activation may take several minutes

    7. The deployment completes and the following message displays:

      Success
      Module synchronization complete

Install Modules from the CLI

  1. Log in to the Lighthouse CLI as root.

    Note: Optionally, log in as a Lighthouse Administrator and become root with: sudo -i

  2. 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"