Adding a new software catalog
- a new version the SR Linux operating system is introduced for use with fabrics
- after restoring a Digital Sandbox fabric
- after a software upgrade
Note: Do not delete existing catalogs as they may be in use by
existing operational fabrics. Deleting a catalog that is in use causes ZTP process
failure. If you must delete an existing catalog, ensure that no fabrics are using
it.
-
On the master node, dump and back up the existing configmap of the software
catalog.
Enter the following commands:
kubectl get configmaps prod-fss-catalog-data -o yaml > original-fss-catalog.yaml cp original-fss-catalog.yaml fss-catalog.yaml
-
Edit the temporary catalog configmap file.
Enter the following command:
vi fss-catalog.yaml
UndersoftwareCatalog
, add the following entries. Update the software version value to the required version and note thatlatest
must be set tofalse
.- softwareVersion: 21.11.3-70 operatingSystem: SRLinux vendor: Nokia latest: false capability: supportedTemplates: - BACKBONE - LEAFSPINE - MANUAL
-
Recreate the configmap with the new value.
Enter the following commands:
kubectl delete configmaps prod-fss-catalog-data kubectl apply -f fss-catalog.yaml
-
Restart the catalog micro service for the new addition to take effect.
kubectl delete pod `kubectl get pods | awk '{print $1}' | grep -e "fss-catalog"`
When the catalog microservice is back up, the new catalog should now be available.