Renamed relation from 'cache' to 'memcache'
This commit is contained in:
parent
cab1b88a39
commit
96f53714f8
@ -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']})
|
||||
|
@ -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)
|
||||
|
@ -40,7 +40,7 @@ requires:
|
||||
nova-vmware:
|
||||
interface: nova-vmware
|
||||
scope: container
|
||||
cache:
|
||||
memcache:
|
||||
interface: memcache
|
||||
peers:
|
||||
cluster:
|
||||
|
Loading…
Reference in New Issue
Block a user