// Plug will connect this NIC to a VMSwitch
Plug will connect this NIC to a VMSwitch
// Plug will connect this NIC to a VMSwitch
func (v *Vnic) Plug(vmSwitchID string) error {
	plugged, err := v.isPlugged()
	if err != nil {
		return errors.Wrap(err, "isPlugged")
	}
	if plugged {
		return fmt.Errorf("NIC already plugged into a VM switch")
	}
	return nil
}
func ( v * Vnic ) Plug ( vmSwitchID string ) error { plugged , err := v . isPlugged ( ) if err != nil { return errors . Wrap ( err , " " ) } if plugged { return fmt . Errorf ( " " ) } return nil }
Plug will connect this NIC to a VMSwitch
Plug will connect this NIC to a VMSwitch