Applying switch configuration for expansion kit

Prerequisites
  • Ensure that you are logged in to the NPS toolkit VM.

  • Ensure that the starter kit configuration is successful.

  • Ensure that the 2100_rhocp_rhosp_addon profile is available.

    nps show -p switch_profile

  • Ensure that you have created the addon switch JSON using TICG. To create a JSON using the TICG, see Generating an input JSON using the TICG for Addon Kits.

Procedure
  1. Copy the input JSON file to the NPS toolkit VM.
  2. Add the switches to the database by triggering the following command:

    nps add-infra -f <addon switch json file>

  3. Check whether the addon switches are present in the database.

    nps show --data switches

  4. Once switches are added to the database, trigger the switch configuration using the following command:

    nps deploy -s switch -l debug -p <switch_addon_profile> -nos cumulus -ip <comma separated switch ips>

    For example, nps deploy -s switch -l debug -p 2100_rhocp_rhosp_addon -nos cumulus -ip 10.xx.xx.xx,10.xx.xx.xx