projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
093d1fc
)
xenserver: Choose correct management PIF even with --force.
author
Ben Pfaff
<blp@nicira.com>
Mon, 18 May 2009 20:15:28 +0000
(13:15 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 18 May 2009 20:15:28 +0000
(13:15 -0700)
The --force option was failing to choose the management PIF based on
the "management" PIF field. This commit fixes the problem.
This is a partial fix for bug #1327.
xenserver/opt_xensource_libexec_interface-reconfigure
patch
|
blob
|
history
diff --git
a/xenserver/opt_xensource_libexec_interface-reconfigure
b/xenserver/opt_xensource_libexec_interface-reconfigure
index f6458405290657b82c4931400b52a29051a3019a..00f345565ab86be940fb3719c789ca35418763e9 100755
(executable)
--- a/
xenserver/opt_xensource_libexec_interface-reconfigure
+++ b/
xenserver/opt_xensource_libexec_interface-reconfigure
@@
-1042,6
+1042,7
@@
def main(argv=None):
db = DatabaseCache(cache_file=dbcache_file)
host = db.extras['host']
pif = db.get_pif_by_bridge(host, force_interface)
+ management_pif = db.get_management_pif(host)
if action == "up":
action_up(pif)