Skip to content

Commit

Permalink
Fix for bug 894431
Browse files Browse the repository at this point in the history
Make sure we set the correct interface id

Change-Id: I427284182cc0a5a456b43b777faba0a74f3816e7
  • Loading branch information
Brad Hall committed Nov 24, 2011
1 parent 1670bcc commit 94ed3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/network/linux_net.py
Expand Up @@ -1022,7 +1022,7 @@ def plug(self, network, mac_address, gateway=True):
'--', '--may-exist', 'add-port', bridge, dev,
'--', 'set', 'Interface', dev, "type=internal",
'--', 'set', 'Interface', dev,
"external-ids:iface-id=nova-%s" % dev,
"external-ids:iface-id=%s" % dev,
'--', 'set', 'Interface', dev,
"external-ids:iface-status=active",
'--', 'set', 'Interface', dev,
Expand Down

0 comments on commit 94ed3e7

Please sign in to comment.