ovs and oc aio lab fixes

Change-Id: I07bb37b17e049eb7cccf5900b64d70524ac3ab51
diff --git a/classes/cluster/os_aio_contrail/openstack/control.yml b/classes/cluster/os_aio_contrail/openstack/control.yml
index 0f23675..84bb3c4 100755
--- a/classes/cluster/os_aio_contrail/openstack/control.yml
+++ b/classes/cluster/os_aio_contrail/openstack/control.yml
@@ -1,52 +1,36 @@
 classes:
 - system.linux.system.lowmem
-- system.linux.system.repo.glusterfs
 - system.linux.system.repo.mcp.contrail
 - system.linux.system.repo.mcp.openstack
 - system.linux.system.repo.mcp.extra
 - system.linux.system.repo.saltstack.xenial
 - system.memcached.server.single
-- system.rabbitmq.server.cluster
+- system.rabbitmq.server.single
 - system.rabbitmq.server.vhost.openstack
 - system.keystone.server.wsgi
-- system.keystone.server.cluster
-- system.glusterfs.server.volume.glance
-- system.glusterfs.server.volume.keystone
-- system.glusterfs.server.cluster
-- system.glusterfs.client.cluster
-- system.glusterfs.client.volume.glance
-- system.glusterfs.client.volume.keystone
-- system.glance.control.cluster
-- system.nova.control.cluster
-- system.neutron.control.opencontrail.cluster
-- system.cinder.control.cluster
-- system.heat.server.cluster
-- system.designate.server.cluster
-- system.designate.server.backend.bind
-- system.ceilometer.server.cluster
-- system.aodh.server.cluster
-- system.galera.server.cluster
-- system.galera.server.database.aodh
-- system.galera.server.database.ceilometer
-- system.galera.server.database.cinder
-- system.galera.server.database.glance
-- system.galera.server.database.heat
-- system.galera.server.database.keystone
-- system.galera.server.database.nova
-- system.galera.server.database.designate
+- system.keystone.server.single
+- system.glance.control.single
+- system.nova.control.single
+- system.neutron.control.opencontrail.single
+- system.cinder.control.single
+- system.heat.server.single
+- system.ceilometer.server.single
+- system.aodh.server.single
+- system.mysql.client.database.keystone
+- system.mysql.client.database.glance
+- system.mysql.client.database.nova
+- system.mysql.client.database.nova_api
+- system.mysql.client.database.cinder
+- system.mysql.client.database.heat
+- service.mysql.server.single
+- system.mysql.client
+- cluster.os_aio_contrail.openstack.dashboard
 - cluster.os_aio_contrail
 parameters:
-  _param:
-    keepalived_vip_interface: ens4
-    cluster_vip_address: ${_param:openstack_control_address}
-    cluster_local_address: ${_param:single_address}
-    cluster_node01_hostname: ctl01
-    cluster_node01_address: ${_param:openstack_control_node01_address}
-    cluster_node02_hostname: ctl02
-    cluster_node02_address: ${_param:openstack_control_node02_address}
-    cluster_node03_hostname: ctl03
-    cluster_node03_address: ${_param:openstack_control_node03_address}
-    keepalived_openstack_telemetry_vip_interface: ens4
+  mysql:
+    server:
+      version: '5.6'
+      max_connections: 20000
   linux:
     system:
       package:
@@ -60,59 +44,54 @@
           proto: static
           address: ${_param:single_address}
           netmask: 255.255.255.0
-  keepalived:
-    cluster:
-      instance:
-        VIP:
-          virtual_router_id: 150
-  bind:
-    server:
-      control:
-        mgmt:
-          enabled: true
-          bind:
-            address: ${_param:single_address}
-            port: 953
-          allow:
-            - ${_param:openstack_control_node01_address}
-            - ${_param:openstack_control_node02_address}
-            - ${_param:openstack_control_node03_address}
-          keys:
-            - designate
+  # bind:
+  #   server:
+  #     control:
+  #       mgmt:
+  #         enabled: true
+  #         bind:
+  #           address: ${_param:single_address}
+  #           port: 953
+  #         allow:
+  #           - ${_param:openstack_control_node01_address}
+  #           - ${_param:openstack_control_node02_address}
+  #           - ${_param:openstack_control_node03_address}
+  #         keys:
+  #           - designate
   keystone:
     server:
       admin_email: ${_param:admin_email}
       notification:
         driver: messagingv2
         topics: "notifications"
-  designate:
-    server:
-      pools:
-        default:
-          description: 'test pool'
-          targets:
-            default:
-              description: 'test target1'
-            default1:
-              type: ${_param:designate_pool_target_type}
-              description: 'test target2'
-              masters: ${_param:designate_pool_target_masters}
-              options:
-                host: ${_param:openstack_control_node02_address}
-                port: 53
-                rndc_host: ${_param:openstack_control_node02_address}
-                rndc_port: 953
-                rndc_key_file: /etc/designate/rndc.key
-            default2:
-              type: ${_param:designate_pool_target_type}
-              description: 'test target3'
-              masters: ${_param:designate_pool_target_masters}
-              options:
-                host: ${_param:openstack_control_node03_address}
-                port: 53
-                rndc_host: ${_param:openstack_control_node03_address}
-                rndc_port: 953
-                rndc_key_file: /etc/designate/rndc.key
+  # designate:
+  #   server:
+  #     pools:
+  #       default:
+  #         description: 'test pool'
+  #         targets:
+  #           default:
+  #             description: 'test target1'
+  #           default1:
+  #             type: ${_param:designate_pool_target_type}
+  #             description: 'test target2'
+  #             masters: ${_param:designate_pool_target_masters}
+  #             options:
+  #               host: ${_param:openstack_control_node02_address}
+  #               port: 53
+  #               rndc_host: ${_param:openstack_control_node02_address}
+  #               rndc_port: 953
+  #               rndc_key_file: /etc/designate/rndc.key
+  #           default2:
+  #             type: ${_param:designate_pool_target_type}
+  #             description: 'test target3'
+  #             masters: ${_param:designate_pool_target_masters}
+  #             options:
+  #               host: ${_param:openstack_control_node03_address}
+  #               port: 53
+  #               rndc_host: ${_param:openstack_control_node03_address}
+  #               rndc_port: 953
+  #               rndc_key_file: /etc/designate/rndc.key
   glance:
     server:
       storage:
@@ -133,9 +112,9 @@
       cpu_allocation: 54
       bind:
         private_address: ${_param:cluster_local_address}
-        public_address: ${_param:cluster_vip_address}
+        public_address: ${_param:openstack_control_node01_address}
         novncproxy_port: 6080
-      vncproxy_url: http://${_param:cluster_vip_address}:6080
+      vncproxy_url: http://${_param:openstack_control_node01_address}:6080
       cache:
         engine: memcached
         prefix: CACHE_NOVA