<font size=2 face="sans-serif">Hi John,</font><br><br><font size=2 face="sans-serif">Since the current ovsdb schema is designed
for bump-in-the-wire VSF, and the current networking-sfc ovs driver steering
packet by port-pair egress port, what do you think we develope based on
current ovsdb schema and extend it after the networking-sfc adding SF type
to port-pair-group?</font><br><font size=2 face="sans-serif"><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: nazhu@cn.ibm.com<br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Cathy Zhang <Cathy.H.Zhang@huawei.com></font><br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">John McDowall <jmcdowall@paloaltonetworks.com>,
Na Zhu/China/IBM@IBMCN</font><br><font size=1 color=#5f5f5f face="sans-serif">Cc:      
 </font><font size=1 face="sans-serif">Srilatha Tangirala
<srilatta@us.ibm.com>, "OpenStack Development Mailing List (not
for usage questions)" <openstack-dev@lists.openstack.org>, discuss
<discuss@openvswitch.org></font><br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">2016/06/18 06:21</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">RE: [ovs-discuss]
[openstack-dev] [OVN] [networking-ovn] [networking-sfc] SFC andOVN</font><br><hr noshade><br><br><br><font size=2 color=#004080 face="Calibri">Hi John,</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Please see Inline.</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Thanks,</font><br><font size=2 color=#004080 face="Calibri">Cathy</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 face="Tahoma"><b>From:</b> discuss [</font><a href="mailto:discuss-bounces@openvswitch.org"><font size=2 color=blue face="Tahoma"><u>mailto:discuss-bounces@openvswitch.org</u></font></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>John McDowall<b><br>Sent:</b> Wednesday, June 15, 2016 3:51 PM<b><br>To:</b> Na Zhu<b><br>Cc:</b> Srilatha Tangirala; OpenStack Development Mailing List (not for
usage questions); discuss<b><br>Subject:</b> Re: [ovs-discuss] [openstack-dev] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><br><font size=3 face="Times New Roman"> </font><br><font size=2 face="Calibri">Juno,</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">Apologies 每 I see your issue now, also
I have got nothing done today 每 got sucked into an all day meeting. I
was thinking very much from a  ovs/ovn perspective and also my first
prototype was very simple. </font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">So while in networking=sfc/ovn the port-cahin
does not have a switch I think port-chain needs a lswitch context as that
is where the port-chain table is created. Let me try and lay this out.
I am not sure if I am getting this right but it is a starting point for
discussion and comment by the community.</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">The first thing is that there could be
three different types of VNF*s, L3, L2, and Bump in the Wire (BITW).
I am not sure if it would be possible to mix and match these different
types in a series of port-pair-groups. </font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Cathy> A port-pair-group
is introduced to group one or more functional like VNFs for load balancing
purpose. So we should not mix and match different types of VNFs in a port-pair-group.</font><br><font size=2 face="Calibri"> </font><br><font size=2 color=#008000 face="Calibri">JED> Agreed </font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 face="Calibri">Also as a first phase I have been trying
to remove the need for the VNF to participate in the service chain (or
be aware of it). In addition I also wanted to remove the need for any ※proxy§
as documented in the NSH model, by moving a lot of the functionality to
the ovn-northd.</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Cathy> VNF should not
need to participate in the service chain stitching/forwarding operation.
>From service chain point of view, the VNFs are just a pair of Neutron ports
and the OVN control plane ( the OVN Driver, DB, and OVN local controller)
should take care of setting the hop-by-hop forwarding path of the chain,
similar to how OVS driver and OVS Agent do it. </font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">Mode 1: BITW</font><br><font size=2 face="sans-serif">1.        </font><font size=2 face="Calibri">Port-Pairs:
The logical ports need to be on the same logical switch</font><br><font size=2 face="sans-serif">2.        </font><font size=2 face="Calibri">Port-pair-groups:
They are made up of sets of port-pairs, until we see the load-balancing
proposal for ovs/ovn not sure if port-pairs can be on different logical
switches or not. This translates to a set of rules in the port-chain table
that chains output ports of one VNF to the input port of the next VNF,
until the last VNF when the traffic is forwarded to the final destination
of the packet. If the port-chain is bi-directional then the rule set has
to be implemented in reverse (many VNF*s Firewalls, Load Balancers etc
need to see both legs of the traffic).</font><br><font size=2 face="sans-serif">3.        </font><font size=2 face="Calibri">Flow-classifier:
Is a set of rules that are set as an ACL rule with first logical port of
the first pair in the first port-pair-group. </font><br><font size=2 color=#004080 face="Calibri">Cathy> Not sure what you
mean by ※with first logical port of the first pair§. The classification
attributes/rules for the flow classifier has nothing to do with the first
logical port of the first pair in the first port-pair-group. The specification
of flow classifier is separated from the specification of the port pair,
port pair group, port chain. A port chain can be dynamically associated
with zero, one, or more flow classifier. Note that the source Neutron port
defined in the flow classifier refers to the Neutron port of the source
VM, not the Neutron port of the port-pair/VNF. Maybe I misunderstand what
you mean?</font><br><font size=2 face="Calibri"> </font><br><font size=3 color=#008000 face="Calibri">JED> Yes, I got it wrong
the flow-classifier steers the traffic to the first port of the first port-pair-group.
 We are in agreement.</font><br><font size=3 face="Times New Roman"> </font><br><font size=2 face="Calibri">Likewise if the port-chain is bi-directional
then the rules have to be symmetric to steer the traffic in both directions.</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Cathy> we are adding symmetric
support in the API.</font><br><font size=2 face="Calibri"> </font><br><font size=2 color=#008000 face="Calibri">JED> Thought so - great</font><br><font size=2 face="sans-serif">4.        </font><font size=2 face="Calibri">Port-chain:
defined on the same logical switch as the first logical-source-port of
the flow-classifier, as this is where the port-chain table is created and
the rules for traffic steering are inserted.</font><br><font size=2 face="Calibri">Mode 2: L2</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">I think this would be similar to the BITH
case but instead of steering by logical ports the steering would be done
by VLAN tags. This would also mean that the VNFs would have to be aware
of the steering rules and be able to manipulate VLAN tags.</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Cathy> OVN should program
the OVS with a proper next hop port and vlan tag so as to steer the packet
to the next hop VNF properly.</font><br><font size=3 face="Times New Roman"> </font><br><font size=3 color=#008000 face="Times New Roman">JED> For both
L2  and L3 mode I see the problem from the VNF POV. When the VNF is
supporting L2/L3 mode it is acting on the packets as if it is a switch
or a router. It is deciding which output interface to send the packet to
and how to modify the packet. If we decide that the VNF will always act
as a BITW then there is not an issue. Does this make sense?</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#603181 face="Calibri">Cathy> I think we can
not assume that all VNFs will act as a BITW. Also from a generic service
chain design point of view, we need to accommodate different types of VNFs
(such as L2, L3, BITW) and maybe different flavors of VNF implementations.
Since we can not control the behavior of a VNF, what we can do is to design
the control plane to program the OVS*s flow table, properly modify the
packet*s source and destination header so that the packet will be properly
forwarded to the next hop. Need some good thought on the approach that
works for all situations</font><font size=2 color=#603181 face="Wingdings">J</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 face="Calibri">Mode 3: L3</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">This would require the VNF*s to be aware
of the routing rules and set static routes/net hop rules for each step
in the service chain. </font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Cathy>Same thing. I think
we should try to see what the OVN driver, Controller can do to set up the
hop rules instead of requiring VNF to set the rules.</font><br><font size=3 color=#008000 face="Times New Roman">JED> But would
need to set the next hop rules on the VNF too, if it is acting as routing
aware.</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">Modes 2 & 3 would require a much more
sophisticated control plane to program both OVN and the VNFs.</font><br><font size=2 color=#004080 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">Cathy> Yes, agree that
it needs quite some thought on how the control plane should program the
data forwarding path. </font><br><font size=2 face="Calibri"> </font><br><font size=3 color=#008000 face="Times New Roman">JED> Agreed</font><br><font size=3 face="Times New Roman"> </font><br><font size=2 face="Calibri">Thoughts?</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">John</font><br><font size=2 face="Calibri"><b>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Tuesday, June 14, 2016 at 9:41 PM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>discuss <</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Arial">John,</font><font size=2 face="Calibri"><br></font><font size=2 face="Arial"><br>I am not taking about your script.<br>I am talking about the SFC configuration in neutron, the steps are <br>1, create flow-classifer<br>2, create port-pairs<br>3, create port-pair-group with port-pairs<br>4, create port-chain with flow-classifer and port-pair-groups</font><font size=2 face="Calibri"><br></font><font size=2 face="Arial"><br>So when create port-chain in neutron, the networking-sfc ovn driver call
networking-ovn idl APIs to write port-chain parameters to northbound db,<br>you can see that the port-chain is not related with network, so how to
get the lswitch in ovn driver and then write port-chain to lswitch table?<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=2 face="Calibri"><br><br><br></font><font size=1 color=#5f5f5f face="Arial"><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">discuss
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"Srilatha Tangirala" <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/15
11:53</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br></font><font size=3 face="Calibri"><br>Juno,</font><font size=2 face="Calibri"><br></font><font size=3 face="Calibri"><br>Little different - the script I sent:</font><font size=2 face="Calibri"><br></font><font size=3 face="Calibri"><br>Create port-chain attached to a switch<br>Create a port-pair in a switch<br>Create a port-pair-chain attached to port-chain<br>Add a port-pair to port-pair-group<br>Create a flow-classifier added to a port-chain <br>Should have a fully functional port-chain</font><font size=2 face="Calibri"><br></font><font size=3 face="Calibri"><br>I will add the code to steer traffic tomorrow </font><font size=2 face="Calibri"><br></font><font size=3 face="Calibri"><br>Regards</font><font size=2 face="Calibri"><br></font><font size=3 face="Calibri"><br>John</font><font size=2 face="Calibri"><br><br></font><font size=3 face="Calibri"><br><br>Sent from my iPhone<br><br>On Jun 14, 2016, at 8:41 PM, Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=3 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=3 face="Calibri">>
wrote:</font><font size=2 face="Calibri"><br></font><font size=2 face="Arial"><br>John,<br><br>Here is the steps to configure sfc,<br>1, create flow-classifer<br>2, create port-pairs<br>3, create port-pair-group with port-pairs<br>4, create port-chain with flow-classifer and port-pair-groups<br><br>You can see that the port-chain is not related to network, my question
is how to get the lswitch for networking-sfc and write it to database?
<br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=3 face="Calibri"><br><br></font><font size=1 color=#5f5f5f face="Arial"><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">discuss
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"Srilatha Tangirala" <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/15
11:31</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=3 face="Calibri"><br><br><br>Juno,<br><br>It is a container for port-pair-groups and flow-classifier. I imagine there
could be more the than one port-chain per switch. Also we may want to extend
the model beyond a single lswitch <br><br>Regards<br><br>John<br><br>Sent from my iPhone<br><br>On Jun 14, 2016, at 8:09 PM, Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=3 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=3 face="Calibri">>
wrote:</font><font size=2 face="Arial"><br><br>Hi John,<br><br>Another question, I think port-chain is irrelevant with lswitch, one port-chain
includes multiple port-pair-groups and one flow-classifier, how to get
the lswitch by port-chain?<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=3 face="Calibri"><br></font><font size=1 color=#5f5f5f face="Arial"><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">discuss
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"Srilatha Tangirala" <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/15
11:04</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=3 face="Calibri"><br><br><br>The reason I did that was to be able to create reusable VNF's<br><br>Regards<br><br>John<br><br>Sent from my iPhone<br><br>On Jun 14, 2016, at 7:15 PM, Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=3 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=3 face="Calibri">>
wrote:</font><font size=2 face="Arial"><br><br>John,<br><br>Since you have port-chain as child of lswitch, do you need port-pairs as
child of lswitch any more?<br><br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">Na Zhu/China/IBM</font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">John McDowall
<</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">discuss
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"Srilatha Tangirala" <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/15
09:11</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Arial"><br><br>John,<br><br>OK, I will change networking-ovn IDL to align with the new schema.<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=3 face="Calibri"><br></font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">discuss
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"Srilatha Tangirala" <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/15
08:30</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Juno,<br><br>I worked on ovs/ovn today and re-structured the schema. I could not figure
out how to make this work without have lport-chains as a child of lswitch.
So I have got the basics working 每 attached a simple shell script that
creates and shows the port-chains. I tried to merge with the upstream master
but there are a bunch of changes that while minor would have taken sometime
to merge in, so I skipped it for now.<br><br>The new schema will break the networking-ovn IDL, apologies.  The
areas I can think of are:<br><br>Port-chain is now a child of lswitch so needs that as a parameter.<br>Flow-classifier is now a child of port-chain only so need to change from
lswitch to lport-chain<br><br>If you can work on the changes to networking-ovn great (I promise not to
change the schema again until we have had a wider review). If not I will
get to it tomorrow. <br><br>Regards<br><br>John<b><br><br>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Monday, June 13, 2016 at 9:57 PM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>discuss <</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><font size=2 face="Arial"><br><br>Hi John,<br><br>OK, I also find the column "port_pairs" and "flow_classifiers"
can not be wrote by idl APIs, I will try to fix it.<br>If any update, i will send you email.<br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">"OpenStack
Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
discuss <</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/14
12:17</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=3 face="Calibri"><br><br><br>Juno,<br><br>Trying to implement this today showed that this will not work for OVN.
I am going back to RussellB 's original model with port-chain as a child
of lswitch. <br><br>I can make this work and then we can evolve from there. It will require
some re-write of the idl code - hopefully I will get it done tomorrow.<br><br>Regards<br><br>John<br><br>Sent from my iPhone<br><br>On Jun 13, 2016, at 8:41 PM, Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=3 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=3 face="Calibri">>
wrote:</font><font size=2 face="Arial"><br><br>Hi John,<br><br>I see you add column "port_pairs" and "flow_classifiers"
to table Logical_Switch, I am not clear about it, the port-pair ingress
port and egress port can be the same, they also can be different and in
same/different network, and the flow classifier is not per network neither,
can you explain why you do that?<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">John McDowall
<</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">Srilatha
Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List \(not for usage questions\)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
discuss <</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/14
10:44</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Arial"><br><br><br>Hi John,<br><br>My github account is JunoZhu, pls add me as member of your private repo.<br>If you submit WIP patch today, then i can update your WIP patch, no need
to update your private repo.<br>If not, i will update your private repo.<br><br>Thanks.<br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">discuss
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/13
23:55</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Juno,<br><br>What ever is easiest for you 每 I can submit WIP patches today for networking-ovn
and networking-ovs. If you send me your github login I will add you as
a collaborator to my private repo. <br><br>I am currently working on getting the changes into ovs/ovn ovn-northd.c
to support the new schema 每 hopefully today or tomorrow. Most of the IDL
is in and I can get info from networking-sfc to ovs/ovn northd.<br><br>Regards<br><br>John<b><br>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Monday, June 13, 2016 at 6:25 AM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>discuss <</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><font size=2 face="Arial"><br><br>Hi John,<br><br>I know you are busy recently, sorry to disturb you. I want to ask you whether
I can submit patch to your private repo, I test your code changes and find
some minor errors, I think we can work together to make the debug work
done faster, then you can submit the WIP patch.<br><br>What do you think? <br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">John McDowall
<</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">Srilatha
Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List \(not for usage questions\)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
discuss <</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/09
16:18</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Arial"><br><br><br>Hi John,<br><br>I know most of the OVN driver codes are copied from OVS driver, OVN driver
is different from OVS driver. For OVS driver, it should build the sfc flows
and send to ovs agent, while OVN controller does not need to do it, OVN
controller only need send the sfc parameters to OVN northbound DB, then
ovn-controller can build the sfc flow.<br><br>networking-sfc defines some common APIs for each driver, see networking_sfc/services/sfc/drivers/base.py,
I think for OVN, we only need write the methods about port-chain create/update/delete,
and leave other method empty, What do you think? <br>If you agree with me, you have to refactor the OVN sfc driver, do you want
me to do it?<br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Amitabha
Biswas <</font><a href=mailto:azbiswas@gmail.com><font size=1 color=blue face="Arial"><u>azbiswas@gmail.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
discuss <</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/09
00:53</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[ovs-discuss] [openstack-dev] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Amitabha,<br><br>Thanks for looking at it . I took the suggestion from Juno and implemented
it. I think it is a good solution as it minimizes impact on both networking-ovn
and networking-sfc. I have updated my repos, if you have suggestions for
improvements let me know.<br><br>I agree that there needs to be some refactoring of the networking-sfc driver
code. I think the team did a good job with it as it was easy for me to
create the OVN driver ( copy and paste). As more drivers are created I
think the model will get polished and refactored.<br><br>Regards<br><br>John<b><br><br>From: </b>Amitabha Biswas <</font><a href=mailto:azbiswas@gmail.com><font size=2 color=blue face="Calibri"><u>azbiswas@gmail.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Tuesday, June 7, 2016 at 11:36 PM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
discuss <</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [ovs-discuss] [openstack-dev] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN<br><br>Hi John, <br><br>Looking at the code with Srilatha, it seems like the </font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_networking&d=CwMF-g&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=HkxBkhm69SxTBQTw2-s5MvEDiFsrOjXero1F3DeFO88&s=0qATypbGGShogPxjkRq8oKnjHMUvVwiWLAY17gBr6iM&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking</u></font></a><font size=2 color=blue face="Calibri"><u>-ovn</u></font><font size=2 face="Calibri">repo
has gone down the path of having a sfc_ovn.py file in the networking-ovn/ovsdb
directory. This file deals with the SFC specific OVSDB transactions in
OVN. So to answer your question of invoking OVS-IDL, we can import the
src_ovn.py file from networking_sfc/services/src/drivers/ovn/driver.py
and invoke calls into IDL.<br><br>Another aspect from a networking-sfc point of view is the duplication of
code between networking_sfc/services/src/drivers/ovn/driver.py and networking_sfc/services/src/drivers/ovs/driver.py
in the </font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_networking-2Dsfc&d=CwMF-g&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=HkxBkhm69SxTBQTw2-s5MvEDiFsrOjXero1F3DeFO88&s=8ftwwsdvSwYTc3WSmDDad9L9dwV6CwaIuOwtoN5FwqA&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking-sfc</u></font></a><font size=2 face="Calibri">repo.
There should be a mechanism to coalesce the common code and invoke the
OVS and OVN specific parts separately.<br><br>Regards<br>Amitabha<br><br>On Jun 7, 2016, at 9:54 PM, John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">>
wrote:<br><br>Juno, Srilatha,<br><br>I need some help 每 I have fixed most of the obvious typo*s in the three
repos and merged them with mainline. There is still a problem with the
build I think in mech_driver.py but I will fix it asap in the am.<br><br>However I am not sure of the best way to interface between sfc and ovn.<br><br>In networking_sfc/services/src/drivers/ovn/driver.py there is a function
that creates a deep copy of the port-chain dict, create_port_chain(self,contact,port_chain).
<br><br>Looking at networking-ovn I think it should use mech_driver.py so we can
call the OVS-IDL to send the parameters to ovn. However I am not sure of
the best way to do it. Could you make some suggestions or send me some
sample code showing the best approach?<br><br>I will get the ovs/ovn cleaned up and ready. Also Louis from the networking-sfc
has posted a draft blueprint.<br><br>Regards<br><br>John<b><br><br>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Monday, June 6, 2016 at 7:54 PM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><font size=2 face="Arial"><br><br>Hi John,<br><br>I do not know any better approach, I think it is good to write all the
parameters in the creation of a port chain, this can avoid saving many
data in northbound db which are not used. We can do it in that way currently,
if the community has opposite ideas, we can change, what do you think?<br><br>Hi Ryan,<br><br>Do you agree with that?<br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/06
23:36</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC
andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Juno,<br><br>Let me check 每 my intention was that the networking-sfc OVNB driver would
configure all aspects of the port-chain and add the parameters to the networking-sfc
db. Once all the parameters were in the creation of a port-chain would
call networking-ovn (passing a deep copy of the port-chain dict). Here
I see networking-ovn acting only as a bridge into ovs/ovn (I did not add
anything in the ovn plugin 每 not sure if that is the right approach).
Networking-ovn calls into ovs/ovn and inserts the entire port-chain.<br><br>Thoughts?<br><br>j<b><br><br>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Monday, June 6, 2016 at 5:49 AM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">>,
"OpenStack Development Mailing List (not for usage questions)"
<</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><font size=2 face="Arial"><br><br>Hi John,<br><br>One question need confirm with you, I think the ovn flow classifier driver
and ovn port chain driver should call the APIs which you add to networking-ovn
to configure the northbound db sfc tables, right? I see your networking-sfc
ovn drivers, they does not call the APIs you add to networking-ovn, do
you miss that?<br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">John McDowall
<</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">Srilatha
Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/06
14:28</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[openstack-dev] [ovs-discuss] [OVN] [networking-ovn]      
 [networking-sfc] SFC andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Arial"><br><br><br>John,<br><br>Thanks your working overtime in last weekend, now we have the following
works to do:<br>1, submit design spec to networking-sfc<br>2, submit the RFC to ovs community<br>3, debug end-to-end about your code changes.<br>4, submit the initial patch to networking-sfc<br>5, submit the initial patch to ovs community<br>6, submit the initial patch to networking-ovn <br><br>Do you have plan to start #1 and #2 now? I think it can be done in parallel
with the other tasks.<br>Srilatha and I can start #4 and #6, we need to look at your code changes
and write the unit test scripts for your code changes and then submit to
community, what do you think?<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/06
11:35</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Juno and team,<br><br>I have written and compiled (but not tested ) the ovs/ovn interface to
networking-ovn and similarly I have written but not tested the IDL interfaces
on the networking-ovn side. I will put it all together tomorrow and start
debugging end to end. I know I am going to find a lot of issues as it is
a major rewrite from my original interface to networking-sfc 每 it is the
right path (IMHO) just a little more work than I expected.<br><br>I have merged my repos with the upstream masters and I will keep them sync*ed
so if you want to take a look and start thinking where you can help it
would be really appreciated.<br><br>Regards<br><br>John<b><br><br>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Saturday, June 4, 2016 at 6:30 AM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><font size=2 face="Arial"><br><br>Hi John,<br><br>OK, please keep me posted once you done, thanks very much.<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/03
13:15</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC andOVN</font><div align=center><hr noshade></div><br><font size=3 face="Calibri"><br><br><br>Juno <br><br>Whatever gets it done faster- let me get the three repos aligned. I need
to get the ovs/ovn work done so networking-ovn can call it, and the networking-sfc
can call networking-ovn.<br><br>Hopefully I will have it done tomorrow or over the weekend - let's touch
base Monday or Sunday night.<br><br>Regards <br><br>John<br><br>Sent from my iPhone<br><br>On Jun 2, 2016, at 6:30 PM, Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=3 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=3 face="Calibri">>
wrote:</font><font size=2 face="Arial"><br><br>Hi John,<br><br>I agree with submitting WIP patches to community, because you already did
many works on networking-sfc and networking-ovn, it is better that you
submit the initial patches about networking-sfc and networking-ovn, then
me and Srilatha take over the patches. Do you have time to do it? if not,
me and Srilatha can help to do it and you are always the co-author.<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
"OpenStack Development Mailing List" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/03
00:08</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Juno,<br><br>Sure make sense. I will have ovs/ovn in rough shape by end of week (hopefully)
that will allow you to call the interfaces from networking-ovn. Ryan has
asked that we submit WIP patches etc so hopefully that will kickstart the
review process.<br>Also, hopefully some of the networking-sfc team will also be able to help
每 I will let them speak for themselves.<br><br>Regards<br><br>John<b><br><br>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Wednesday, June 1, 2016 at 7:02 PM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><font size=2 face="Arial"><br><br>Hi John,<br><br>Thanks your reply.<br><br>Seems you have covered everything :)<br>The development work can be broken down in 3 parts:<br>1, add ovn driver to networking-sfc<br>2, provide APIs in networking-ovn for networking-sfc <br>3, implement the sfc in ovn<br><br>So what about we take part 1 and part 2, and you take part 3? because we
are familiar with networking-sfc and networking-ovn and we can do it faster:)<br><br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Na Zhu/China/IBM@IBMCN</font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">Ryan Moats
<</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=1 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/01
23:26</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC andOVN</font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Na/Srilatha,<br><br>Great, I am working from three repos:</font><font size=3 color=blue face="Calibri"><u><br></u></font><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_networking-2Dsfc&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=lb7sZo6o-vFSQLHy4n1Z15SjFlZHXBjYRDDXk9di20M&s=-ddZLbnKqv3LwRqTTveuebbVLL9e2A1xRCQBQO--nc0&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking-sfc</u></font></a><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_networking-2Dovn&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=lb7sZo6o-vFSQLHy4n1Z15SjFlZHXBjYRDDXk9di20M&s=4XnntcfVxo4fQdni-WOsfqIeRA0x8jagW77y_XgPyUQ&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking-ovn</u></font></a><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_ovs&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=lb7sZo6o-vFSQLHy4n1Z15SjFlZHXBjYRDDXk9di20M&s=vPrUbDdQZ1mIswNv5U8VorIkCU_J5Aze8xGz5DLn_s8&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/ovs</u></font></a><font size=3 face="Calibri"><br><br>I had an original prototype working that used an API I created. Since then,
based on feedback from everyone I have been moving the API to the networking-sfc
model and then supporting that API in networking-ovn and ovs/ovn. I have
created a new driver in networking-sfc for ovn.</font><font size=2 face="Calibri"><br><br>I am in the process of moving networking-ovn and ovs to support the sfc
model. Basically I am intending to pass a deep copy of the port-chain (sample
attached, sfc_dict.py) from the ovn driver in networking-sfc to networking-ovn.
 This , as Ryan pointed out will minimize the dependancies between
networking-sfc and networking-ovn. I have created additional schema for
ovs/ovn (attached) that will provide the linkage between networking-ovn
and ovs/ovn. I have the schema in ovs/ovn and I am in the process of  updating
my code to support it.<br><br>Not sure where you guys want to jump in 每 but I can help in any way you
need.<br><br>Regards<br><br>John<b><br><br>From: </b>Na Zhu <</font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Calibri"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Tuesday, May 31, 2016 at 9:02 PM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Srilatha Tangirala <</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Calibri"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [ovs-discuss] [OVN] [networking-ovn] [networking-sfc]
SFC andOVN</font><font size=2 face="Arial"><br><br>+ Add Srilatha.<br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br>From:        </font><font size=1 face="Arial">Na Zhu/China/IBM</font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">John McDowall
<</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">Ryan Moats
<</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/01
12:01</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC and    
   OVN</font><div align=center><hr noshade></div><br><font size=2 face="Arial"><br><br>John,<br><br>Thanks.<br><br>Me and Srilatha (</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="Arial"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="Arial">)
want to working together with you, I know you already did some development
works.<br>Can you tell me what you have done and put the latest code in your private
repo?<br>Can we work out a plan and the remaining work?<br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: </font><a href=mailto:nazhu@cn.ibm.com><font size=2 color=blue face="Arial"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="Arial"><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><font size=1 color=#5f5f5f face="Arial"><br><br><br><br><br>From:        </font><font size=1 face="Arial">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="Arial"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">Ryan Moats
<</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="Arial"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Cc:        </font><font size=1 face="Arial">OpenStack
Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="Arial">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="Arial"><u>discuss@openvswitch.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">2016/06/01
08:58</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC and    
   OVN</font><font size=1 color=#5f5f5f face="Arial"><br>Sent by:        </font><font size=1 face="Arial">"discuss"
<</font><a href="mailto:discuss-bounces@openvswitch.org"><font size=1 color=blue face="Arial"><u>discuss-bounces@openvswitch.org</u></font></a><font size=1 face="Arial">></font><div align=center><hr noshade></div><br><font size=2 face="Calibri"><br><br><br>Ryan,<br><br>More help is always great :-). As far as who to collaborate, what ever
Is easiest for everyone 每 I am pretty flexible.<br><br>Regards<br><br>John<b><br><br>From: </b>Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">><b><br>Date: </b>Tuesday, May 31, 2016 at 1:59 PM<b><br>To: </b>John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><b><br>Cc: </b>Ben Pfaff <</font><a href=mailto:blp@ovn.org><font size=2 color=blue face="Calibri"><u>blp@ovn.org</u></font></a><font size=2 face="Calibri">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Justin Pettit <</font><a href=mailto:jpettit@ovn.org><font size=2 color=blue face="Calibri"><u>jpettit@ovn.org</u></font></a><font size=2 face="Calibri">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Russell Bryant <</font><a href=mailto:russell@ovn.org><font size=2 color=blue face="Calibri"><u>russell@ovn.org</u></font></a><font size=2 face="Calibri">><b><br>Subject: </b>Re: [OVN] [networking-ovn] [networking-sfc] SFC and OVN</font><p><font size=2 face="Calibri">John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">>
wrote on 05/31/2016 03:21:30 PM:<br><br>> From: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> To: Ryan Moats/Omaha/IBM@IBMUS<br>> Cc: Ben Pfaff <</font><a href=mailto:blp@ovn.org><font size=2 color=blue face="Calibri"><u>blp@ovn.org</u></font></a><font size=2 face="Calibri">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<br>> <</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Justin Pettit <</font><a href=mailto:jpettit@ovn.org><font size=2 color=blue face="Calibri"><u>jpettit@ovn.org</u></font></a><font size=2 face="Calibri">>,
<br>> "OpenStack Development Mailing List" <openstack-<br>> </font><a href=mailto:dev@lists.openstack.org><font size=2 color=blue face="Calibri"><u>dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Russell Bryant <</font><a href=mailto:russell@ovn.org><font size=2 color=blue face="Calibri"><u>russell@ovn.org</u></font></a><font size=2 face="Calibri">><br>> Date: 05/31/2016 03:22 PM<br>> Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and OVN<br>> <br>> Ryan,<br>> <br>> Let me add the tables to OVN for SFC. That will give us a working
<br>> system to prototype the flow classifier approach on. Hopefully I can<br>> get something done by end of week.<br>> <br>> Regards<br>> <br>> John<br><br>I've got some internal folks that are willing to help with writing code
(as<br>I will be once I clear my current firefights) so the question of how to<br>collaborate with code now arises...<br><br>Are you comfortable with putting the changes on r.o.o as WiP and patchworks<br>as RFC and work through the review process or would you rather work via<br>forks and pull requests in github?<br><br>Ryan<br><br>> From: Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">><br>> Date: Tuesday, May 31, 2016 at 10:17 AM<br>> To: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> Cc: Ben Pfaff <</font><a href=mailto:blp@ovn.org><font size=2 color=blue face="Calibri"><u>blp@ovn.org</u></font></a><font size=2 face="Calibri">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<<br>> </font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Justin Pettit <</font><a href=mailto:jpettit@ovn.org><font size=2 color=blue face="Calibri"><u>jpettit@ovn.org</u></font></a><font size=2 face="Calibri">>,
OpenStack<br>> Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Russell Bryant <<br>> </font><a href=mailto:russell@ovn.org><font size=2 color=blue face="Calibri"><u>russell@ovn.org</u></font></a><font size=2 face="Calibri">><br>> Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and OVN<br>> <br>> John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">>
wrote on 05/26/2016 <br>> 11:08:43 AM:<br>> <br>> > From: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> > To: Ryan Moats/Omaha/IBM@IBMUS<br>> > Cc: Ben Pfaff <</font><a href=mailto:blp@ovn.org><font size=2 color=blue face="Calibri"><u>blp@ovn.org</u></font></a><font size=2 face="Calibri">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<br>> > <</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Justin Pettit <</font><a href=mailto:jpettit@ovn.org><font size=2 color=blue face="Calibri"><u>jpettit@ovn.org</u></font></a><font size=2 face="Calibri">>,
<br>> > "OpenStack Development Mailing List" <openstack-<br>> > </font><a href=mailto:dev@lists.openstack.org><font size=2 color=blue face="Calibri"><u>dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Russell Bryant <</font><a href=mailto:russell@ovn.org><font size=2 color=blue face="Calibri"><u>russell@ovn.org</u></font></a><font size=2 face="Calibri">><br>> > Date: 05/26/2016 11:09 AM<br>> > Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and
OVN<br>> > <br>> > Ryan,<br>> > <br>> > My (incomplete) throughts about the flow-classifier are:<br>> > <br>> > 1)  ACL*s are more about denying access, while the flow
classifier <br>> > is more about steering selected traffic to a path, so we would
need <br>> > to deny-all except allowed flows.<br>> > 2)  The networking-sfc team has done a nice job with the
drivers so <br>> > ovn has its own flow-classifier driver which allows us to align
the <br>> > flow-classifier with the matches supported in ovs/ovn, which
could <br>> > be an advantage.<br>> <br>> The ACL table has a very simple flow-classifier structure and I'd<br>> like to see if that can be re-used for the purpose of the SFC classifier<br>> (read that I feel the Logical_Flow_Classifier table is too complex).<br>> My initial thoughts were to look at extending the action column and<br>> using the external-ids field to differentiate between legacy ACLs
and<br>> those that are used to intercept traffic and route it to an SFC.<br>> <br>> > <br>> > What were your thoughts on the schema it adds a lot of tables
and a <br>> > lot of commands 每 cannot think of anyway around it<br>> <br>> In this case, I think that the other tables are reasonable and I'm
<br>> uncomfortable trying to stretch the existing tables to cover that<br>> information...<br>> <br>> Ryan<br>> <br>> > <br>> > Regards<br>> > <br>> > John<br>> > <br>> > From: Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">><br>> > Date: Wednesday, May 25, 2016 at 9:12 PM<br>> > To: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> > Cc: Ben Pfaff <</font><a href=mailto:blp@ovn.org><font size=2 color=blue face="Calibri"><u>blp@ovn.org</u></font></a><font size=2 face="Calibri">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<<br>> > </font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
Justin Pettit <</font><a href=mailto:jpettit@ovn.org><font size=2 color=blue face="Calibri"><u>jpettit@ovn.org</u></font></a><font size=2 face="Calibri">>,
OpenStack<br>> > Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
<br>> Russell Bryant <<br>> > </font><a href=mailto:russell@ovn.org><font size=2 color=blue face="Calibri"><u>russell@ovn.org</u></font></a><font size=2 face="Calibri">><br>> > Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and
OVN<br>> > <br>> > John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">>
wrote on 05/25/2016 <br>> > 07:27:46 PM:<br>> > <br>> > > From: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> > > To: Ryan Moats/Omaha/IBM@IBMUS<br>> > > Cc: "</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
"OpenStack <br>> > > Development Mailing List" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Ben <br>> > > Pfaff <</font><a href=mailto:blp@ovn.org><font size=2 color=blue face="Calibri"><u>blp@ovn.org</u></font></a><font size=2 face="Calibri">>,
Justin Pettit <</font><a href=mailto:jpettit@ovn.org><font size=2 color=blue face="Calibri"><u>jpettit@ovn.org</u></font></a><font size=2 face="Calibri">>,
Russell Bryant<br>> > > <</font><a href=mailto:russell@ovn.org><font size=2 color=blue face="Calibri"><u>russell@ovn.org</u></font></a><font size=2 face="Calibri">><br>> > > Date: 05/25/2016 07:28 PM<br>> > > Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC
and OVN<br>> > > <br>> > > Ryan,<br>> > > <br>> > > Ok 每 I will let the experts weigh in on load balancing.<br>> > > <br>> > > In the meantime I have attached a couple of files to show
where I am<br>> > > going. The first is sfc_dict.py and is a representation
of the dict <br>> > > I am passing from SFC to OVN. This will then translate to
the <br>> > > attached ovn-nb schema file.<br>> > > <br>> > > One of my concerns is that SFC almost doubles the size of
the ovn-nb<br>> > > schema but I could not think of any other way of doing it.<br>> > > <br>> > > Thoughts?<br>> > > <br>> > > John<br>> > <br>> > The dictionary looks fine for a starting point, and the more
I look<br>> > at the classifier, the more I wonder if we can't do something
with<br>> > the current ACL table to avoid duplication in the NB database<br>> > definition...<br>> > <br>> > Ryan<br>> > <br>> > > From: Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">><br>> > > Date: Wednesday, May 25, 2016 at 7:27 AM<br>> > > To: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> > > Cc: "</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
OpenStack <br>> > > Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">>,
Ben Pfaff <<br>> > > </font><a href=mailto:blp@ovn.org><font size=2 color=blue face="Calibri"><u>blp@ovn.org</u></font></a><font size=2 face="Calibri">>,
Justin Pettit <</font><a href=mailto:jpettit@ovn.org><font size=2 color=blue face="Calibri"><u>jpettit@ovn.org</u></font></a><font size=2 face="Calibri">>,
Russell Bryant <<br>> > </font><a href=mailto:russell@ovn.org><font size=2 color=blue face="Calibri"><u>russell@ovn.org</u></font></a><font size=2 face="Calibri"><br>> > > ><br>> > > Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC
and OVN<br>> > > <br>> > > John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">>
wrote on 05/24/2016 <br>> > > 06:33:05 PM:<br>> > > <br>> > > > From: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> > > > To: Ryan Moats/Omaha/IBM@IBMUS<br>> > > > Cc: "</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
"OpenStack <br>> > > > Development Mailing List" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">><br>> > > > Date: 05/24/2016 06:33 PM<br>> > > > Subject: Re: [OVN] [networking-ovn] [networking-sfc]
SFC and OVN<br>> > > > <br>> > > > Ryan,<br>> > > > <br>> > > > Thanks for getting back to me and pointing me in a
more OVS like <br>> > > > direction. What you say makes sense, let me hack something
together.<br>> > > > I have been a little distracted getting some use cases
together. The<br>> > > > other area is how to better map the flow-classifier
I have been <br>> > > > thinking about it a little, but I will leave it till
after we get <br>> > > > the chains done.<br>> > > > <br>> > > > Your load-balancing comment was very interesting 每
I saw some <br>> > > > patches for load-balancing a few months ago but nothing
since. It <br>> > > > would be great if we could align with load-balancing
as that would <br>> > > > make a really powerful solution.<br>> > > > <br>> > > > Regards<br>> > > > <br>> > > > John<br>> > > <br>> > > John-<br>> > > <br>> > > For the load balancing, I believe that you'll want to look
at<br>> > > openvswitch's select group, as that should let you set up
multiple<br>> > > buckets for each egress port in the port pairs that make
up a port<br>> > > group.<br>> > > <br>> > > As I understand it, Table 0 identifies the logical port
and logical<br>> > > flow. I'm worried that this means we'll end up with separate
bucket<br>> > > rules for each ingress port of the port pairs that make
up a port<br>> > > group, leading to a cardinality product in the number of
rules.<br>> > > I'm trying to think of a way where Table 0 could identify
the packet<br>> > > as being part of a particular port group, and then I'd only
need one<br>> > > set of bucket rules to figure out the egress side.  However,
the<br>> > > amount of free metadata space is limited and so before we
go down<br>> > > this path, I'm going to pull Justin, Ben and Russell in
to see if<br>> > > they buy into this idea or if they can think of an alternative.<br>> > > <br>> > > Ryan<br>> > > <br>> > > > <br>> > > > From: Ryan Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=2 color=blue face="Calibri"><u>rmoats@us.ibm.com</u></font></a><font size=2 face="Calibri">><br>> > > > Date: Monday, May 23, 2016 at 9:06 PM<br>> > > > To: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> > > > Cc: "</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
OpenStack <br>> > > > Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">><br>> > > > Subject: Re: [OVN] [networking-ovn] [networking-sfc]
SFC and OVN<br>> > > > <br>> > > > John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">>
wrote on 05/18/2016 <br>> > > > 03:55:14 PM:<br>> > > > <br>> > > > > From: John McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=2 color=blue face="Calibri"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=2 face="Calibri">><br>> > > > > To: Ryan Moats/Omaha/IBM@IBMUS<br>> > > > > Cc: "</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">"
<</font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 face="Calibri">>,
"OpenStack <br>> > > > > Development Mailing List" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size=2 face="Calibri">><br>> > > > > Date: 05/18/2016 03:55 PM<br>> > > > > Subject: Re: [OVN] [networking-ovn] [networking-sfc]
SFC and OVN<br>> > > > > <br>> > > > > Ryan,<br>> > > > > <br>> > > > > OK all three repos and now aligned with their
masters. I have done <br>> > > > > some simple level system tests and I can steer
traffic to a single <br>> > > > > VNF.  Note: some additional changes to networking-sfc
to catch-up <br>> > > > > with their changes.<br>> > > > > <br>> > > > > </font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_networking-2Dsfc&d=CwMGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=mLaxHI6XiGcUfgsL5Egu3aC0QR-xI7L_QuffCoTwtz8&s=8QaDNJ9iUOwW-TDDioAlHYpO-WM2a7-bMuP7qJTezaw&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking-sfc</u></font></a><font size=2 face="Calibri"><br>> > > > > </font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_networking-2Dovn&d=CwMGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=mLaxHI6XiGcUfgsL5Egu3aC0QR-xI7L_QuffCoTwtz8&s=ITWWb5V3L60kdiwK5QIbo-YEcIvGkdKDW4xl6uNj_3g&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking-ovn</u></font></a><font size=2 face="Calibri"><br>> > > > > </font><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_doonhammer_ovs&d=CwMGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=mLaxHI6XiGcUfgsL5Egu3aC0QR-xI7L_QuffCoTwtz8&s=bBOpCVRnF1ntciYqKMTLupX4eagWaWVXoKRWAwAio2I&e="><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/ovs</u></font></a><font size=2 face="Calibri"><br>> > > > > <br>> > > > > The next tasks I see are:<br>> > > > > <br>> > > > > 1. Decouple networking-sfc and networking-ovn.
I am thinking that I <br>> > > > > will pass a nested port-chain dictionary holding
port-pairs/port-<br>> > > > > pair-groups/flow-classifiers from networking-sfc
to networking-ovn.<br>> > > > > 2. Align the interface between networking-ovn
and ovs/ovn to match <br>> > > > > the nested dictionary in 1.<br>> > > > > 3. Modify the ovn-nb schema and ovn-northd.c to
march the port-<br>> > > chain model.<br>> > > > > 4. Add ability to support chain of port-pairs<br>> > > > > 5. Think about flow-classifiers and how best to
map them, today I <br>> > > > > just map the logical-port and ignore everything
else.<br>> > > > > <br>> > > > > Any other suggestions/feedback?<br>> > > > > <br>> > > > > Regards<br>> > > > > <br>> > > > > John<br>> > > > <br>> > > > John-<br>> > > > <br>> > > > (Sorry for sending this twice, but I forgot that text/html
is not liked<br>> > > > by the mailing lists ...)<br>> > > >  <br>> > > > My apologies for not answering this sooner - I was
giving a two day<br>> > > > training on Tues/Wed last week and came back to my
son graduating<br>> > > > from HS the next day, so things have been a bit of
a whirlwind here.<br>> > > >  <br>> > > > Looking at the github repos, I like the idea of passing
a dictionary<br>> > > > from networking-sfc to networking-ovn. The flow classifiers
should<br>> > > > be relatively straightforward to map to ovs match rules
(famous last<br>> > > > words)...<br>> > > >  <br>> > > > I've probably missed an orbit here, but in the ovn-northd
<br>> implementation,<br>> > > > I was expecting to find service chains in the egress
and <br>> router pipelines<br>> > > > in addition to the ingress pipeline (see below for
why I thinka service<br>> > > > chain stage in the egress pipeline makes sense ...)<br>> > > >  <br>> > > > Also, in the ovn-northd implementation, I'm a little
disturbedto see the<br>> > > > ingress side of the service chain sending packets to
output ports - I<br>> > > > think that a more scalable (and more "ovs-like"
approach) would be to<br>> > > > match the egress side of a port pair in the chaining
stage of the<br>> > > > ingress pipeline, with an action that  set the
input port register.<br>> > > > Then the egress pipeline would have a chaining stage
where the output<br>> > > > port register would be set based on the ingress port
of the next port<br>> > > > pair in the chain and the packet being punted to the
proper output port<br>> > > > in the last table.  That should automagically
build your function chain<br>> > > > and provide the basis for bucketizing multiple ingress
ports for the<br>> > > > next port group to support hash based load balancing.<br>> > > >  <br>> > > > Does that make sense?<br>> > > >  <br>> > > > Ryan[attachment "ovn-nb.ovsschema.sfc" deleted
by Ryan Moats/<br>> > > Omaha/IBM] [attachment "sfc_dict.py" deleted by
Ryan Moats/Omaha/IBM] _______________________________________________<br>discuss mailing list</font><font size=2 color=blue face="Calibri"><u><br></u></font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mailman_listinfo_discuss&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=VCIo4C63txe7y9jwS2U5ebuYWzlLk4MF1mIa2Hx1A2s&s=9J7cT2z1rc3u2I2LIa-2Hk-qWyVf-Kwd8ge5ywYK-nE&e="><font size=2 color=blue face="Calibri"><u>http://openvswitch.org/mailman/listinfo/discuss</u></font></a><p><font size=1 face="Arial">[attachment "ovn-nb.ovsschema.sfc"
deleted by Na Zhu/China/IBM] [attachment "sfc_dict.py" deleted
by Na Zhu/China/IBM] </font><p><font size=2 face="Calibri">__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: </font><a href="mailto:OpenStack-dev-request@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>OpenStack-dev-request@lists.openstack.org</u></font></a><font size=2 face="Calibri">?subject:unsubscribe</font><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=c9Cv10tAvrDMW-7Gf0goix5DshTwU3BPzzcwvecG8Oo&s=vnjb0Z6Etx1g6q7qYqzwFtmSNU_sKxehcOuHDJ-UZFo&e="><font size=2 color=blue face="Calibri"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><p><font size=2 face="Calibri">_______________________________________________<br>discuss mailing list</font><font size=2 color=blue face="Calibri"><u><br></u></font><a href=mailto:discuss@openvswitch.org><font size=2 color=blue face="Calibri"><u>discuss@openvswitch.org</u></font></a><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mailman_listinfo_discuss&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=axawqU2ajYxB1vudJzbOV7YQn5r8UniY_5RBLEv9Bec&s=YMYcIRfSVaZZeSCWPOPYhBgGsrnbAwEjRFGeHXBWBco&e="><font size=2 color=blue face="Calibri"><u>http://openvswitch.org/mailman/listinfo/discuss</u></font></a><font size=2 face="Calibri"><br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: </font><a href="mailto:OpenStack-dev-request@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>OpenStack-dev-request@lists.openstack.org</u></font></a><font size=2 face="Calibri">?subject:unsubscribe</font><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=axawqU2ajYxB1vudJzbOV7YQn5r8UniY_5RBLEv9Bec&s=pqjt3RF2rxfnspXM_r7DDlAC5TFtOkqpJI7z5DZnEq8&e="><font size=2 color=blue face="Calibri"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><p><font size=2 face="Calibri">__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: </font><a href="mailto:OpenStack-dev-request@lists.openstack.org"><font size=2 color=blue face="Calibri"><u>OpenStack-dev-request@lists.openstack.org</u></font></a><font size=2 face="Calibri">?subject:unsubscribe</font><font size=2 color=blue face="Calibri"><u><br></u></font><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=CwMFoQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=rFBaJLldhh0JT8MeElH9SBYQG-Fiwv6oLzMm0tuXli4&s=PiWrStXp9Jb30ibXMi3tNnSVLO228NlmslKQCzRwkg4&e="><font size=2 color=blue face="Calibri"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><p><font size=1 face="Arial">[attachment "ovn_config.sh" deleted
by Na Zhu/China/IBM] </font><p><font size=2 face="Calibri"> </font><p><BR>