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.
|
func (v *VSwitchService) AddPort(bridge string, port string) error { |
|
_, err := v.exec("--may-exist", "add-port", bridge, string(port)) |
|
return err |
|
} |
Thanks.
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.
go-openvswitch/ovs/vswitch.go
Lines 54 to 57 in 813765f
Thanks.