raiseVMwareError("Attachment ({}) already configured on network adapter {}. "
ifnotself._use_any_adapter:
"Please remove it or allow GNS3 to use any adapter.".format(self._vmx_pairs[connection_type],
raiseVMwareError("Attachment '{attachment}' is already configured on network adapter {adapter_number}. "
adapter_number))
"Please remove it or allow VMware VM '{name}' to use any adapter.".format(attachment=self._vmx_pairs[connection_type],
adapter_number=adapter_number,
name=self.name))
elifself.is_running():
raiseVMwareError("Attachment '{attachment}' is configured on network adapter {adapter_number}. "
"Please stop VMware VM '{name}' to link to this adapter and allow GNS3 to change the attachment type.".format(attachment=self._vmx_pairs[connection_type],