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