~james-page/charms/trusty/nova-compute/fixup-secgroups

« back to all changes in this revision

Viewing changes to hooks/nova_compute_utils.py

  • Committer: james.page at ubuntu
  • Date: 2014-10-02 12:57:11 UTC
  • Revision ID: james.page@ubuntu.com-20141002125711-r16gl7degvgeu2ja
InvertĀ relationĀ check

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
    # depending on the plugin used.
175
175
    # NOTE(james-page): only required for ovs plugin right now
176
176
    if net_manager in ['neutron', 'quantum']:
177
 
        if relation_ids('neutron-plugin') and plugin == 'ovs':
 
177
        if not relation_ids('neutron-plugin') and plugin == 'ovs':
178
178
            if net_manager == 'quantum':
179
179
                nm_rsc = QUANTUM_RESOURCES
180
180
            if net_manager == 'neutron':