~corey.bryant/charms/trusty/nova-compute/amulet-novacc

« back to all changes in this revision

Viewing changes to hooks/nova_compute_utils.py

  • Committer: Liam Young
  • Date: 2015-04-01 15:13:54 UTC
  • mfrom: (79.3.29 nova-compute)
  • Revision ID: liam.young@canonical.com-20150401151354-ygf2jf3a3qpl50ug
[james-page, r=gnuoy] Add 0mq support

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
                         service='nova',
102
102
                         config_file=NOVA_CONF),
103
103
                     InstanceConsoleContext(),
 
104
                     context.ZeroMQContext(),
 
105
                     context.NotificationDriverContext(),
104
106
                     MetadataServiceContext(),
105
107
                     HostIPContext()],
106
108
    },
496
498
    check_call(cmd)
497
499
 
498
500
 
 
501
def get_topics():
 
502
    return ['compute']
 
503
 
 
504
 
499
505
def assert_charm_supports_ipv6():
500
506
    """Check whether we are able to support charms ipv6."""
501
507
    if lsb_release()['DISTRIB_CODENAME'].lower() < "trusty":