On Mon, Jan 15, 2018 at 09:50:52AM -0800, Fred Licht wrote:
>    Is it possible to have an OVS port ‘name’ differ from the interface name?
> 
>     Bridge ovs-ha-sw
>         Port ovs-ha-sw
>             Interface ovs-ha-sw
>                 type: internal
>         Port "bond1"
>             Interface "bond1"
> 
> To have the effect of:
> 
>     Bridge ovs-ha-sw
>         Port ovs-ha-sw
>             Interface ovs-ha-sw
>                 type: internal
>         Port “east-west"
>             Interface "bond1"

You can do it, but since port names are immutable it has to happen at
the time you add the port.  For example:

blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl add-br br0
blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl add-port br0 p0 -- set port p0 
name=asdf
blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl show
8b75cccb-f1eb-4e75-ac67-57ebac4e8432
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port asdf
            Interface "p0"
blp@sigabrt:~/nicira/ovs/tutorial(0)$ 
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to