~moon127/charms/trusty/ceilometer/add-execd-preinstall

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/neutron.py

  • Committer: James Page
  • Date: 2013-10-18 13:38:01 UTC
  • Revision ID: james.page@canonical.com-20131018133801-hfj9nj0hr55knly6
Switch to using openstack context templating

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        _plugin = plugins[plugin]
86
86
    except KeyError:
87
87
        log('Unrecognised plugin for %s: %s' % (manager, plugin), level=ERROR)
88
 
        raise
 
88
        raise Exception
89
89
 
90
90
    try:
91
91
        return _plugin[attr]
108
108
    if release in ['essex']:
109
109
        # E does not support neutron
110
110
        log('Neutron networking not supported in Essex.', level=ERROR)
111
 
        raise
 
111
        raise Exception
112
112
    elif release in ['folsom', 'grizzly']:
113
113
        # neutron is named quantum in F and G
114
114
        return 'quantum'