On Saturday, June 18, 2016, Hui Kang <ka...@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
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to