[ovs-discuss] [OVN] different ways to bind lports

Russell Bryant russell at ovn.org
Sun Jun 19 13:13:09 UTC 2016


On Saturday, June 18, 2016, Hui Kang <kangh at us.ibm.com> wrote:

> Hi,
> I saw there are two commands binding logical ports to hypervisor in OVN
> tutorial scripts
>
> ovs-vsctl add-port br-int lport1 -- set Interface lport1
> external_ids:iface-id=sw0-port1    [1]
>
> ovn-sbctl lport-bind sw0-port3 fakechassis   [2]
>
> Is there any difference between them? Thanks.
>
> - Hui
>
> [1]
> https://github.com/openvswitch/ovs/blob/master/tutorial/ovn/env3/setup.sh#L36
> [2]
> https://github.com/openvswitch/ovs/blob/master/tutorial/ovn/env3/setup.sh#L43
>
>
Yes, ovn-controller normally does this automatically. The case where
ovn-sbctl does it is because we are simulating a fake other hypervisor and
manually do a step that ovn-controller on that hypervisor would have done.

Russell


-- 
Russell Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160619/a2d3ea81/attachment-0002.html>


More information about the discuss mailing list