<font size=2 face="sans-serif">Hi John,</font><br><br><font size=2 face="sans-serif">Thanks your reply.</font><br><br><font size=2 face="sans-serif">Seems you have covered everything :)</font><br><font size=2 face="sans-serif">The development work can be broken down
in 3 parts:</font><br><font size=2 face="sans-serif">1, add ovn driver to networking-sfc</font><br><font size=2 face="sans-serif">2, provide APIs in networking-ovn for
networking-sfc </font><br><font size=2 face="sans-serif">3, implement the sfc in ovn</font><br><br><font size=2 face="sans-serif">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:)</font><br><font size=2 face="sans-serif"><br><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">John McDowall <jmcdowall@paloaltonetworks.com></font><br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">Na Zhu/China/IBM@IBMCN</font><br><font size=1 color=#5f5f5f face="sans-serif">Cc:      
 </font><font size=1 face="sans-serif">Ryan Moats <rmoats@us.ibm.com>,
OpenStack Development Mailing List <openstack-dev@lists.openstack.org>,
"discuss@openvswitch.org" <discuss@openvswitch.org>, Srilatha
Tangirala <srilatta@us.ibm.com></font><br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">2016/06/01 23:26</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [ovs-discuss]
[OVN] [networking-ovn] [networking-sfc] SFC andOVN</font><br><hr noshade><br><br><br><font size=2 face="Calibri">Na/Srilatha,</font><br><br><font size=2 face="Calibri">Great, I am working from three repos:</font><br><br><a href="https://github.com/doonhammer/networking-sfc"><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking-sfc</u></font></a><br><a href="https://github.com/doonhammer/networking-ovn"><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/networking-ovn</u></font></a><br><a href=https://github.com/doonhammer/ovs><font size=2 color=blue face="Calibri"><u>https://github.com/doonhammer/ovs</u></font></a><br><br><font size=3>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><br><br><font size=2 face="Calibri">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.</font><br><br><font size=2 face="Calibri">Not sure where you guys want to jump in
每 but I can help in any way you need.</font><br><br><font size=2 face="Calibri">Regards</font><br><br><font size=2 face="Calibri">John</font><br><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, 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><br><br><font size=2 face="sans-serif">+ Add Srilatha.</font><font size=2 face="Calibri"><br><br></font><font size=2 face="sans-serif"><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="sans-serif"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="sans-serif"><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="sans-serif"><br>From:        </font><font size=1 face="sans-serif">Na
Zhu/China/IBM</font><font size=1 color=#5f5f5f face="sans-serif"><br>To:        </font><font size=1 face="sans-serif">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="sans-serif"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="sans-serif">></font><font size=1 color=#5f5f5f face="sans-serif"><br>Cc:        </font><font size=1 face="sans-serif">Ryan
Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="sans-serif"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="sans-serif">>,
OpenStack Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="sans-serif"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="sans-serif">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="sans-serif"><u>discuss@openvswitch.org</u></font></a><font size=1 face="sans-serif">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="sans-serif"><u>discuss@openvswitch.org</u></font></a><font size=1 face="sans-serif">></font><font size=1 color=#5f5f5f face="sans-serif"><br>Date:        </font><font size=1 face="sans-serif">2016/06/01
12:01</font><font size=1 color=#5f5f5f face="sans-serif"><br>Subject:        </font><font size=1 face="sans-serif">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC and    
   OVN</font><font size=2 face="Calibri"><br></font><hr noshade><font size=2 face="Calibri"><br></font><font size=2 face="sans-serif"><br>John,</font><font size=2 face="Calibri"><br></font><font size=2 face="sans-serif"><br>Thanks.</font><font size=2 face="Calibri"><br></font><font size=2 face="sans-serif"><br>Me and Srilatha (</font><a href=mailto:srilatta@us.ibm.com><font size=2 color=blue face="sans-serif"><u>srilatta@us.ibm.com</u></font></a><font size=2 face="sans-serif">)
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="sans-serif"><u>nazhu@cn.ibm.com</u></font></a><font size=2 face="sans-serif"><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><br></font><font size=1 color=#5f5f5f face="sans-serif"><br>From:        </font><font size=1 face="sans-serif">John
McDowall <</font><a href=mailto:jmcdowall@paloaltonetworks.com><font size=1 color=blue face="sans-serif"><u>jmcdowall@paloaltonetworks.com</u></font></a><font size=1 face="sans-serif">></font><font size=1 color=#5f5f5f face="sans-serif"><br>To:        </font><font size=1 face="sans-serif">Ryan
Moats <</font><a href=mailto:rmoats@us.ibm.com><font size=1 color=blue face="sans-serif"><u>rmoats@us.ibm.com</u></font></a><font size=1 face="sans-serif">></font><font size=1 color=#5f5f5f face="sans-serif"><br>Cc:        </font><font size=1 face="sans-serif">OpenStack
Development Mailing List <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size=1 color=blue face="sans-serif"><u>openstack-dev@lists.openstack.org</u></font></a><font size=1 face="sans-serif">>,
"</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="sans-serif"><u>discuss@openvswitch.org</u></font></a><font size=1 face="sans-serif">"
<</font><a href=mailto:discuss@openvswitch.org><font size=1 color=blue face="sans-serif"><u>discuss@openvswitch.org</u></font></a><font size=1 face="sans-serif">></font><font size=1 color=#5f5f5f face="sans-serif"><br>Date:        </font><font size=1 face="sans-serif">2016/06/01
08:58</font><font size=1 color=#5f5f5f face="sans-serif"><br>Subject:        </font><font size=1 face="sans-serif">Re:
[ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC and    
   OVN</font><font size=1 color=#5f5f5f face="sans-serif"><br>Sent by:        </font><font size=1 face="sans-serif">"discuss"
<</font><a href="mailto:discuss-bounces@openvswitch.org"><font size=1 color=blue face="sans-serif"><u>discuss-bounces@openvswitch.org</u></font></a><font size=1 face="sans-serif">></font><font size=2 face="Calibri"><br></font><hr noshade><font size=2 face="Calibri"><br><br></font><font size=2 face="Calibri"><br>Ryan,</font><font size=2 face="Calibri"><br></font><font size=2 face="Calibri"><br>More help is always great :-). As far as who to collaborate, what ever
Is easiest for everyone 每 I am pretty flexible.</font><font size=2 face="Calibri"><br></font><font size=2 face="Calibri"><br>Regards</font><font size=2 face="Calibri"><br></font><font size=2 face="Calibri"><br>John</font><font size=2 face="Calibri"><br></font><font size=2 face="Calibri"><b><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="sans-serif">[attachment "ovn-nb.ovsschema.sfc"
deleted by Na Zhu/China/IBM] [attachment "sfc_dict.py" deleted
by Na Zhu/China/IBM] </font><p><BR>