Hi Juno, Each flow-classifier has a mandatory logical-source port (mandatory for OVS driver).If it is mandatory for OVN driver also, you should be able to get the lswitch fromthe logical source port in the flow classifier. Farhad.
From: "Na Zhu" <[email protected]> To: John McDowall <[email protected]> Cc: Srilatha Tangirala <[email protected]>, "OpenStack Development Mailing List \(not for usage questions\)" <[email protected]>, discuss <[email protected]> Subject: Re: [ovs-discuss] [openstack-dev] [OVN] [networking-ovn] [networking-sfc] SFC andOVN Message-ID: <of23aa4b4e.07384a4a-on48257fd3.0013ca0a-48257fd3.00143...@notes.na.collabserv.com> Content-Type: text/plain; charset="gb2312" John, Here is the steps to configure sfc, 1, create flow-classifer 2, create port-pairs 3, create port-pair-group with port-pairs 4, create port-chain with flow-classifer and port-pair-groups 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? Regards, Juno Zhu IBM China Development Labs (CDL) Cloud IaaS Lab Email: [email protected] 5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District, Shanghai, China (201203) From: John McDowall <[email protected]> To: Na Zhu/China/IBM@IBMCN Cc: discuss <[email protected]>, "OpenStack Development Mailing List (not for usage questions)" <[email protected]>, "Srilatha Tangirala" <[email protected]> Date: 2016/06/15 11:31 Subject: Re: [openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC andOVN Juno, 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 Regards John Sent from my iPhone On Jun 14, 2016, at 8:09 PM, Na Zhu <[email protected]> wrote: Hi John, 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? Regards, Juno Zhu IBM China Development Labs (CDL) Cloud IaaS Lab Email: [email protected] 5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District, Shanghai, China (201203) From: John McDowall <[email protected]> To: Na Zhu/China/IBM@IBMCN Cc: discuss <[email protected]>, "OpenStack Development Mailing List (not for usage questions)" <[email protected] >, "Srilatha Tangirala" <[email protected]> Date: 2016/06/15 11:04 Subject: Re: [openstack-dev] [ovs-discuss] [OVN] [networking-ovn] [networking-sfc] SFC andOVN The reason I did that was to be able to create reusable VNF's Regards John
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
