~mdragon/nova/system-usages

« back to all changes in this revision

Viewing changes to bin/nova-dhcpbridge

  • Committer: Monsyne Dragon
  • Date: 2011-06-28 10:23:00 UTC
  • mfrom: (1077.1.141 nova)
  • Revision ID: mdragon@rackspace.com-20110628102300-lnkdr13k8uuyp30i
remergedĀ trunkĀ 

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
    interface = os.environ.get('DNSMASQ_INTERFACE', FLAGS.dnsmasq_interface)
109
109
    if int(os.environ.get('TESTING', '0')):
110
110
        from nova.tests import fake_flags
 
111
 
 
112
    #if FLAGS.fake_rabbit:
 
113
    #    LOG.debug(_("leasing ip"))
 
114
    #    network_manager = utils.import_object(FLAGS.network_manager)
 
115
    ##    reload(fake_flags)
 
116
    #    from nova.tests import fake_flags
 
117
 
111
118
    action = argv[1]
112
119
    if action in ['add', 'del', 'old']:
113
120
        mac = argv[2]