summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer/common/set_fenix.sh
diff options
context:
space:
mode:
authorTomi Juvonen <tomi.juvonen@nokia.com>2019-12-19 13:12:32 +0200
committerTomi Juvonen <tomi.juvonen@nokia.com>2020-02-03 11:57:44 +0200
commit34b4083b4d2d579f6dbd334df06fe9394453680a (patch)
tree3a8e5c8fa447dee8fa4abfdf82f40a3d48e4f112 /doctor_tests/installer/common/set_fenix.sh
parentd8eb12f4200c21f569df5bc01d378a846b4c0db0 (diff)
New VNFM supporting ETSI changes
JIRA: DOCTOR-137 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com> Change-Id: I6e632b24efb6728c171dd93979e3b1de5333251b
Diffstat (limited to 'doctor_tests/installer/common/set_fenix.sh')
-rw-r--r--doctor_tests/installer/common/set_fenix.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/doctor_tests/installer/common/set_fenix.sh b/doctor_tests/installer/common/set_fenix.sh
index aac376cd..68bb4a6c 100644
--- a/doctor_tests/installer/common/set_fenix.sh
+++ b/doctor_tests/installer/common/set_fenix.sh
@@ -75,6 +75,11 @@ echo "password = $OS_PASSWORD" >> fenix-api.conf
echo "username = $OS_USERNAME" >> fenix-api.conf
echo "cafile = /opt/stack/data/ca-bundle.pem" >> fenix-api.conf
+openstack service list | grep maintenance | {
+openstack service create --name fenix --enable maintenance
+openstack endpoint create --region $OS_REGION_NAME --enable fenix public http://localhost:12347/v1
+}
+
# Mysql pw
# MYSQLPW=`cat /var/lib/config-data/mysql/etc/puppet/hieradata/service_configs.json | grep mysql | grep root_password | awk -F": " '{print $2}' | awk -F"\"" '{print $2}'`
MYSQLPW=root