Install or Upgrade NetOps Modules

Perform NetOps Installation from an Online Repository

  1. In the Menu Pane, select NetOps > NetOps Installation.
    The NETOPS INSTALLATION page displays with the ONLINE tab selected.

  2. Enter the Repository address for the container registry that hosts NetOps modules.

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

Note: If you are performing these steps to upgrade a NetOps module, ensure that you also complete the steps in Upgrade NetOps Modules.

  1. In the Menu Pane, select NetOps > NetOps Installation.
    The NETOPS INSTALLATION page displays with the ONLINE tab selected.

  2. Select the OFFLINE tab.

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

    Note:  Supported files: .tar.gz

  4. Click Upload to start the process.

Perform NetOps Installation from an Offline Repository via CLI

Note: If you are performing these steps to upgrade a NetOps module, ensure that you also complete the steps in Upgrade NetOps Modules.

  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

Install Modules from the CLI

Note: If you are performing these steps to upgrade a NetOps module, ensure that you also complete the steps in Upgrade NetOps Modules.

  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"

Upgrade NetOps Modules

  1. Complete the appropriate steps for installation as described in the previous sections.

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

  3. In the Menu Pane, select NetOps > Manage NetOps Modules.
    The MANAGE NETOPS MODULES page displays.

  4. For each updated module, confirm the module version and lick Redeploy on the primary and each secondary instance.

    Notes:
    • Redeploy is available on:
      • the primary instance when installation is complete.
      • a secondary instance when the background installation sync is complete.
    • Only one module can be redeployed at a time.

    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