summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2017-09-15 08:35:18 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-15 08:35:18 +0000
commit8d0fd7d9733ab8c1072aa728d46f08674f7194d5 (patch)
treeb585aae557ad7175a83648b15f33f33beee09d70 /ocata
parentf646fec97f712cdd5473cc7bf75510f11d68b859 (diff)
parentfb376919325e3d9f82ad937cad2a810bcb6982bb (diff)
Merge "setup function test framework"
Diffstat (limited to 'ocata')
-rw-r--r--ocata/vagrant/compute.conf3
-rw-r--r--ocata/vagrant/control.conf17
-rw-r--r--ocata/vagrant/create_vm.sh5
3 files changed, 20 insertions, 5 deletions
diff --git a/ocata/vagrant/compute.conf b/ocata/vagrant/compute.conf
index f6c19eaa..25019407 100644
--- a/ocata/vagrant/compute.conf
+++ b/ocata/vagrant/compute.conf
@@ -13,7 +13,8 @@ SERVICE_PASSWORD=admin
DATABASE_PASSWORD=mysql
RABBIT_PASSWORD=rabbit
-ENABLED_SERVICES=rabbit,n-cpu,n-novnc,placement-client,q-agt
+disable_all_services
+enable_service rabbit,n-cpu,n-novnc,placement-client,q-agt
LIBVIRT_TYPE=qemu
OVS_BRIDGE_MAPPINGS=public:br-ex
diff --git a/ocata/vagrant/control.conf b/ocata/vagrant/control.conf
index 5b551211..c82a1573 100644
--- a/ocata/vagrant/control.conf
+++ b/ocata/vagrant/control.conf
@@ -14,10 +14,19 @@ DATABASE_PASSWORD=mysql
RABBIT_PASSWORD=rabbit
enable_plugin heat https://git.openstack.org/openstack/heat stable/ocata
-disable_service n-net
-disable_service tempest
-ENABLED_SERVICES+=,placement-api,q-svc,q-dhcp,q-meta,q-l3
-ENABLED_SERVICES+=,h-eng,h-api,h-api-cfn,h-api-cw
+enable_plugin designate https://git.openstack.org/openstack/designate stable/ocata
+
+disable_all_services
+enable_service key,rabbit,mysql
+enable_service n-api,n-cond,n-sch,n-novnc,n-crt,n-cauth,placement-api
+enable_service q-svc,q-dhcp,q-meta,q-l3
+enable_service c-sch,c-api,c-vol
+enable_service g-api,g-reg
+enable_service h-eng,h-api,h-api-cfn,h-api-cw
+enable_service horizon
+enable_service designate,designate-central,designate-api,designate-pool-manager,designate-zone-manager,designate-mdns
+
+DESIGNATE_BACKEND_DRIVER=bind9
## Neutron options
FLOATING_RANGE="192.168.1.0/24"
diff --git a/ocata/vagrant/create_vm.sh b/ocata/vagrant/create_vm.sh
new file mode 100644
index 00000000..6597ae45
--- /dev/null
+++ b/ocata/vagrant/create_vm.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+source ~/devstack/openrc admin admin
+netid=$(openstack network list --name private -f value | cut -f1 -d' ')
+openstack server create --flavor 1 --image=cirros-0.3.4-x86_64-uec --nic net-id=$netid vm1