----- Original message -----
From: Russell Bryant <russ...@ovn.org>
To: Hui Kang/Watson/IBM@IBMUS
Cc: "discuss@openvswitch.org" <discuss@openvswitch.org>
Subject: Re: [ovs-discuss] [OVN] different ways to bind lports
Date: Sun, Jun 19, 2016 9:13 AM
 


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
 
 
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. 
Thanks for your explanation. Does it mean in real deployment (i.e., no fake chassis), I should use "ovs-vsctl add-port br-int" on the hypervisor to bind lport?
 
- Hui
 
 
 
Russell 


--
Russell Bryant
 

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to