ASAc Upgrade

ASAc app can be upgraded through CLI or through the DNAC.

Upgrade With CLI

Follow the below steps for upgrading the ASAc through CLI.

        app-hosting upgrade appid <appid name> <path of the new package to be upgraded>
        e.g: Device# app-hosting upgrade appid asac_app usbflash1:ASAc-9.18.2.150-app-SPA.tar
  • While upgrading app goes through the following states and finally comes to the "RUNNING" state. "RUNNING" -> "STOPPED" -> "DEPLOYED" -> Uninstalled & removed -> "DEPLOYED" -> "ACTIVATED" -> "RUNNING"

  • The ASAc app configuration is retained after the upgrade.

Upgrade With DNAC

Follow the below steps for upgrading the ASAc through DNAC.

  • Upload the new package file to be upgraded.

image

  • Select "Upgrade option" in the DNAC to upgrade to the new package.

    Note: The upgrade package version should be higher than the running ASAc package version.

image

  • While upgrading app goes through the following states and finally comes to the "RUNNING" state.

          "RUNNING" -> "STOPPED" -> "DEPLOYED" -> Uninstalled & removed -> "DEPLOYED" -> "ACTIVATED" -> "RUNNING"
    

image