Revision d676dbea tools/move-instance
b/tools/move-instance | ||
---|---|---|
503 | 503 |
constants.INIC_MAC: mac, |
504 | 504 |
constants.INIC_MODE: mode, |
505 | 505 |
constants.INIC_LINK: link, |
506 |
constants.INIC_NAME: vlan, |
|
506 | 507 |
constants.INIC_NETWORK: network, |
507 | 508 |
constants.INIC_NAME: nic_name |
508 |
} for nic_name, _, ip, mac, mode, link, network, _ in instance["nics"]] |
|
509 |
} for nic_name, _, ip, mac, mode, link, vlan, network, _ |
|
510 |
in instance["nics"]] |
|
509 | 511 |
|
510 | 512 |
if len(override_nics) > len(nics): |
511 | 513 |
raise Error("Can not create new NICs") |
Also available in: Unified diff