Add A Cabinet To SLS using CANI

  1. (ncn#|external#) Begin by initializing a session, which will import data from SLS and create metadata in SLS’ ExtraProperties field allowing the process to continue.

    cani alpha session init csm \
      --csm-keycloak-username username \
      --csm-keycloak-password password \
      --csm-api-host api-gw-service-nmn.local # initialize a session by importing SLS data to cani
    

    Note: SLS data may be unstable if cani has never been run against it, in which case cani will not continue. Resolve any of the data integrity errors before running the above command again. Known issues and solutions can be found here.

  2. (ncn#|external#) View available cabinet types and add one using suggested values.

    cani alpha add cabinet -L # see supported cabinet types
    cani alpha add cabinet <cabinet type> --auto # add a cabinet using recommended values
    

    Note: A newly-added cabinet will be empty. Blades can be added in a manner similiar to the cabinet.

  3. (ncn#|external#) Apply the changes, writing the new data directly to SLS.

    cani alpha session apply # push changes to SLS
    

    NOTE: No hardware in these new cabinets will be discovered until the management network has been reconfigured to support the new cabinets, and routes have been added to the management NCNs in the system.