~openstack-charmers-archive/charms/precise/neutron-openvswitch/old-1501

« back to all changes in this revision

Viewing changes to hooks/neutron_ovs_utils.py

  • Committer: Liam Young
  • Date: 2014-06-23 12:50:23 UTC
  • Revision ID: liam.young@canonical.com-20140623125023-g1fm5lvis3nefsqv
Tidy up and fix bug causing sec group settings to not be updated by api service

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
 
31
31
def determine_packages():
32
 
    return set(neutron_plugin_attribute('ovs', 'packages', 'neutron'))
 
32
    ovs_pkgs = []
 
33
    pkgs = neutron_plugin_attribute('ovs', 'packages',
 
34
                                    'neutron')
 
35
    for pkg in pkgs:
 
36
        ovs_pkgs.extend(pkg)
 
37
    return set(ovs_pkgs)
33
38
 
34
39
 
35
40
def register_configs(release=None):