Revision e0e44476 lib/cmdlib/network.py
b/lib/cmdlib/network.py | ||
---|---|---|
717 | 717 |
_NetworkConflictCheck( |
718 | 718 |
self, lambda nic: nic.network == self.network_uuid, "disconnect from", |
719 | 719 |
[instance_info for (_, instance_info) in |
720 |
self.cfg.GetMultiInstanceInfoByName(owned_instances)]) |
|
720 |
self.cfg.GetMultiInstanceInfoByName(owned_instances)])
|
|
721 | 721 |
|
722 | 722 |
def Exec(self, feedback_fn): |
723 | 723 |
# Disconnect the network and update the group only if network is connected |
Also available in: Unified diff