Update with RPM

To update Web component, you use the following commands:

yum install dnlv6_webbackend (for the api )

yum install dnlv6_webui (for the web ui)

To update Switch backend component, you use the following commands:

yum install dnlv6_softswitch

If some cases, you may not be able to start up dnl_api_core, then you will need to run the following commands to reinstall the API server.

rm -rf /usr/lib/python3.6/site-packages/api_dnl*
yum remove  dnlv6-webbackend
yum install  dnlv6-webbackend

After RPM packages are installed then run the following command:

cd /opt/denovo_v6/api_dnl

alembic -c alembic.ini upgrade head

It is recommended that you backup your Class4 DB before you update your installation. here is the Postgres command you can use to backup the entire database:

pg_dump -U postgres class4_dnl > class4_dnl_dump.sql

Last updated