Deploying switch configuration
Prerequisites
Ensure that you are logged in to the NPS toolkit VM.
Ensure that the following environment variables are updated:
export API_IP=<Customer_IP_assigned _to_NPS_VM> export NPSADMIN=<user name of admin mentioned in the nps_secret.yaml file> export NPSPASSWD=<password of admin user mentioned in the nps_secret.yaml file> export TOPOLOGY_NAME=<the deployment name mentioned in the TICG tool while creating the input.json file> export VIM_TYPE=<VIM platform type like RHOSP/RHOCP/VMWARE>
- Ensure that ODIM RA and CFM are up and running. Use the following commands to verify the ODIM RA and CFM installations:
nps show --data odim nps show --data cfm
Ensure that the initial switch configurations are done on all the switches. See Initial configuration for Aruba switches.
Ensure that the switches are reachable from the NPS VM.
Ensure that all switches are using the same version of the switch software.
- Ensure that the
switch_config
docker image is present using the following command:docker images | grep -i switch_config
Procedure