Renamed relation from 'cache' to 'memcache'

This commit is contained in:
Felipe Reyes 2014-11-20 13:51:44 -03:00
parent b4e6cf2f5b
commit 3482bf647a
7 changed files with 6 additions and 6 deletions

View File

@ -290,7 +290,7 @@ class InstanceConsoleContext(context.OSContextGenerator):
ctxt = {}
servers = []
try:
for rid in relation_ids('cache'):
for rid in relation_ids('memcache'):
for rel in relations_for_id(rid):
servers.append({'private-address': rel['private-address'],
'port': rel['port']})

View File

@ -852,10 +852,10 @@ def neutron_api_relation_broken():
quantum_joined(rid=rid)
@hooks.hook('cache-relation-joined',
'cache-relation-departed',
'cache-relation-changed',
'cache-relation-broken')
@hooks.hook('memcache-relation-joined',
'memcache-relation-departed',
'memcache-relation-changed',
'memcache-relation-broken')
@restart_on_change(restart_map())
def memcached_joined():
CONFIGS.write(NOVA_CONF)

View File

@ -40,7 +40,7 @@ requires:
nova-vmware:
interface: nova-vmware
scope: container
cache:
memcache:
interface: memcache
peers:
cluster: