Add memcached to contrail labs

Change-Id: Id6307bf14bb92aa4791f5c7af5a552d2f5fa5103
diff --git a/classes/cluster/os-ha-contrail-40/opencontrail/control.yml b/classes/cluster/os-ha-contrail-40/opencontrail/control.yml
index 4a4fab2..1286459 100644
--- a/classes/cluster/os-ha-contrail-40/opencontrail/control.yml
+++ b/classes/cluster/os-ha-contrail-40/opencontrail/control.yml
@@ -17,6 +17,7 @@
 - system.opencontrail.client.resource.global_vrouter_config
 - system.haproxy.proxy.listen.opencontrail.analytics
 - system.docker.client.compose
+- system.memcached.server.single
 - cluster.os-ha-contrail-40
 parameters:
   _param:
@@ -52,3 +53,13 @@
       pkgs:
         - docker-engine
         - python-docker
+  opencontrail:
+    config:
+      cache:
+        members:
+          - host: ${_param:opencontrail_control_node01_address}
+            port: 11211
+          - host: ${_param:opencontrail_control_node02_address}
+            port: 11211
+          - host: ${_param:opencontrail_control_node03_address}
+            port: 11211
diff --git a/classes/cluster/os-ha-contrail/opencontrail/control.yml b/classes/cluster/os-ha-contrail/opencontrail/control.yml
index 239ecf9..11d8dfe 100644
--- a/classes/cluster/os-ha-contrail/opencontrail/control.yml
+++ b/classes/cluster/os-ha-contrail/opencontrail/control.yml
@@ -16,6 +16,7 @@
 - system.opencontrail.client.resource.openstack_metadata
 - system.opencontrail.client.resource.global_vrouter_config
 - system.haproxy.proxy.listen.opencontrail.analytics
+- system.memcached.server.single
 - cluster.os-ha-contrail
 parameters:
   _param:
@@ -67,6 +68,15 @@
         engine: rabbitmq
         host: ${_param:openstack_control_address}
         port: 5672
+    config:
+      cache:
+        members:
+          - host: ${_param:opencontrail_control_node01_address}
+            port: 11211
+          - host: ${_param:opencontrail_control_node02_address}
+            port: 11211
+          - host: ${_param:opencontrail_control_node03_address}
+            port: 11211
     client:
       virtual_networks:
           network01: