~thedac/charms/trusty/neutron-api/lp1524448

« back to all changes in this revision

Viewing changes to hooks/neutron_api_hooks.py

  • Committer: james.page at ubuntu
  • Date: 2015-09-03 16:26:15 UTC
  • mfrom: (135.1.1 neutron-api)
  • Revision ID: james.page@ubuntu.com-20150903162615-80qer78h5tctebfn
[trivial] Switch default package to -common to enable liberty support

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
 
100
100
def conditional_neutron_migration():
101
 
    if os_release('neutron-server') < 'kilo':
 
101
    if os_release('neutron-common') < 'kilo':
102
102
        log('Not running neutron database migration as migrations are handled '
103
103
            'by the neutron-server process or nova-cloud-controller charm.')
104
104
        return
180
180
        if config_value_changed('openstack-origin-git'):
181
181
            git_install(config('openstack-origin-git'))
182
182
    else:
183
 
        if openstack_upgrade_available('neutron-server'):
 
183
        if openstack_upgrade_available('neutron-common'):
184
184
            do_openstack_upgrade(CONFIGS)
185
185
 
186
186
    apt_install(filter_installed_packages(