~gnuoy/charms/trusty/neutron-openvswitch/local-metadata

« back to all changes in this revision

Viewing changes to hooks/neutron_ovs_utils.py

  • Committer: Liam Young
  • Date: 2015-09-12 09:03:56 UTC
  • Revision ID: liam.young@canonical.com-20150912090356-aexu2458ewqyl2w3
Fix enable_nova_metadata() after mp feedback

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
 
257
257
 
258
258
def enable_nova_metadata():
259
 
    return use_dvr() or config('enable-local-dhcp-and-metadata')
 
259
    return use_dvr() or enable_local_dhcp()
260
260
 
261
261
 
262
262
def enable_local_dhcp():