setup function test framework 79/12679/2
authorGuo Ruijing <ruijing.guo@intel.com>
Fri, 15 Sep 2017 14:11:31 +0000 (07:11 -0700)
committerGuo Ruijing <ruijing.guo@intel.com>
Fri, 15 Sep 2017 15:23:47 +0000 (08:23 -0700)
this patch is to add designate features in openstack

Change-Id: Ifb0cd9b45476ef12df6dd767706d639bf64c0752
Issue-Id: MULTICLOUD-92
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
ocata/vagrant/compute.conf
ocata/vagrant/control.conf
ocata/vagrant/create_vm.sh [new file with mode: 0644]

index f6c19ea..2501940 100644 (file)
@@ -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
index 5b55121..c82a157 100644 (file)
@@ -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 (file)
index 0000000..6597ae4
--- /dev/null
@@ -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