Add metadata for memcached listeners

Set defaults for memcached server
Add ability to manage tcp/udp listeners

Change-Id: I7e4c712d6984f2b181cf8b1ebce7e2200b11d660
Related-Prod: PROD-23524
diff --git a/defaults/openstack/init.yml b/defaults/openstack/init.yml
index be04d5a..cc580b8 100644
--- a/defaults/openstack/init.yml
+++ b/defaults/openstack/init.yml
@@ -33,3 +33,6 @@
     # Barbican
     barbican_memcache_security_enabled: ${_param:openstack_memcache_security_enabled}
     barbican_memcache_secret_key: ''
+    # Openstack memcached server protocols
+    openstack_memcached_proto_tcp_enabled: True
+    openstack_memcached_proto_udp_enabled: False
diff --git a/memcached/server/single.yml b/memcached/server/single.yml
index 7577e89..8e7d25b 100644
--- a/memcached/server/single.yml
+++ b/memcached/server/single.yml
@@ -1,2 +1,10 @@
 classes:
 - service.memcached.server.single
+parameters:
+  memcached:
+    server:
+      proto:
+        tcp:
+          enabled: ${_param:openstack_memcached_proto_tcp_enabled}
+        udp:
+          enabled: ${_param:openstack_memcached_proto_udp_enabled}