~hudson-openstack/nova/trunk

« back to all changes in this revision

Viewing changes to nova/network/linux_net.py

  • Committer: Vishvananda Ishaya
  • Date: 2011-09-21 12:56:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1607.
  • Revision ID: vishvananda@gmail.com-20110921125648-itdjoo2pj0305sd2
pep8

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
    #             bridge for it to respond to reqests properly
475
475
    full_ip = '%s/%s' % (network_ref['dhcp_server'],
476
476
                         network_ref['cidr'].rpartition('/')[2])
477
 
    new_ip_params = [[ full_ip, 'brd', network_ref['broadcast'] ]]
 
477
    new_ip_params = [[full_ip, 'brd', network_ref['broadcast']]]
478
478
    old_ip_params = []
479
479
    out, err = _execute('ip', 'addr', 'show', 'dev', dev,
480
480
                        'scope', 'global', run_as_root=True)