Adding a new software catalog

Use this procedure to update the Fabric Services System software catalog. You may need to execute this procedure in the following scenarios:
  • 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.
Ensure that the new software version you are adding to the catalog is fully qualified by Nokia, otherwise the Fabric Services System may not work as expected.
  1. 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
  2. Edit the temporary catalog configmap file.
    Enter the following command:
    vi fss-catalog.yaml 
    Under softwareCatalog, add the following entries. Update the software version value to the required version and note that latest must be set to false.
    - softwareVersion: 21.11.3-70
            operatingSystem: SRLinux
            vendor: Nokia
            latest: false                                
            capability:
              supportedTemplates:
              - BACKBONE
              - LEAFSPINE
              - MANUAL
  3. Recreate the configmap with the new value.
    Enter the following commands:
    kubectl delete configmaps prod-fss-catalog-data
    kubectl apply -f fss-catalog.yaml
  4. 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.