projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc3afd
)
Pass VLAN parameter correctly in moves
author
Thomas Thrainer
<thomasth@google.com>
Wed, 6 Nov 2013 09:09:07 +0000
(10:09 +0100)
committer
Thomas Thrainer
<thomasth@google.com>
Thu, 14 Nov 2013 14:30:46 +0000
(15:30 +0100)
Fix the assignment of a wrong value to the VLAN and name parameters of
NICs during instance moves.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
tools/move-instance
patch
|
blob
|
history
diff --git
a/tools/move-instance
b/tools/move-instance
index
30208ac
..
621495a
100755
(executable)
--- a/
tools/move-instance
+++ b/
tools/move-instance
@@
-518,7
+518,7
@@
class MoveDestExecutor(object):
constants.INIC_MAC: mac,
constants.INIC_MODE: mode,
constants.INIC_LINK: link,
- constants.INIC_NAME: vlan,
+ constants.INIC_VLAN: vlan,
constants.INIC_NETWORK: network,
constants.INIC_NAME: nic_name
} for nic_name, _, ip, mac, mode, link, vlan, network, _