Skip to content

ovs: ability to set VLAN tag on port #56

Open
@hwchiu

Description

@hwchiu

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions