-if [[ $PLATFORM == ub16 ]]; then
- # install the RIFT platform code:
- # remove these packages since some files moved from one to the other, and one was obsoleted
- # ignore failures
-
- PACKAGES="rw.toolchain-rwbase rw.toolchain-rwtoolchain rw.core.mgmt-mgmt rw.core.util-util \
- rw.core.rwvx-rwvx rw.core.rwvx-rwdts rw.automation.core-RWAUTO"
- # this package is obsolete.
- OLD_PACKAGES="rw.core.rwvx-rwha-1.0"
- for package in $PACKAGES $OLD_PACKAGES; do
- apt remove -y $package || true
- done
-
- packages=""
- for package in $PACKAGES; do
- packages="$packages $package=${PLATFORM_VERSION}"
- done
- sudo apt-get install -y --allow-downgrades $packages
-
- sudo apt-get install python-cinderclient
-
- sudo chmod 777 /usr/rift /usr/rift/usr/share
-
- if $installSO; then
- sudo apt-get install -y \
- rw.core.mano-rwcal_yang_ylib-1.0 \
- rw.core.mano-rwconfig_agent_yang_ylib-1.0 \
- rw.core.mano-rwlaunchpad_yang_ylib-1.0 \
- rw.core.mano-mano_yang_ylib-1.0 \
- rw.core.mano-common-1.0 \
- rw.core.mano-rwsdn_yang_ylib-1.0 \
- rw.core.mano-mano-types_yang_ylib-1.0 \
- rw.core.mano-rwcal-cloudsim-1.0 \
- rw.core.mano-rwcal-1.0 \
- rw.core.mano-rw_conman_yang_ylib-1.0 \
- rw.core.mano-rwcalproxytasklet-1.0 \
- rw.core.mano-rwlaunchpad-1.0 \
- rw.core.mano-rwcal-openmano-vimconnector-1.0 \
- rw.core.mano-rwcal-propcloud1-1.0 \
- rw.core.mano-lpmocklet_yang_ylib-1.0 \
- rw.core.mano-rwmon-1.0 \
- rw.core.mano-rwcloud_yang_ylib-1.0 \
- rw.core.mano-rwcal-openstack-1.0 \
- rw.core.mano-rw.core.mano_foss \
- rw.core.mano-rwmon_yang_ylib-1.0 \
- rw.core.mano-rwcm-1.0 \
- rw.core.mano-rwcal-mock-1.0 \
- rw.core.mano-rwmano_examples-1.0 \
- rw.core.mano-rwcal-cloudsimproxy-1.0 \
- rw.core.mano-models-1.0 \
- rw.core.mano-rwcal-aws-1.0
- fi