-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Labels
Description
Hi.
I want to use the vSwitch client to add the port with the vlan tag.
I saw the original AddPort method only accept the interface name but no more options.
Lines 54 to 57 in 813765f
func (v *VSwitchService) AddPort(bridge string, port string) error { | |
_, err := v.exec("--may-exist", "add-port", bridge, string(port)) | |
return err | |
} |
Thanks.
John-Lin, chenyunchen and steveyiyo