[openstack-dev] Removing required port-id from classifier

Cathy Zhang Cathy.H.Zhang at huawei.com
Wed Oct 5 18:23:44 UTC 2016


Hi Anil,

Could you check the /etc/neutron/neutron.conf to make sure you are not using flow classifiers drivers=ovs? You can also check your DB schema to make sure it is not old and does not have the check for source port. 
Another alternative is to use the latest code and also make sure your DB is migrated to the latest DB. If you still see the problem, could you send out the log?  

Thanks,
Cathy

-----Original Message-----
From: Anil Vishnoi [mailto:avishnoi at Brocade.com] 
Sent: Tuesday, October 04, 2016 3:08 PM
To: Cathy Zhang; Tim Rozet
Cc: OpenStack Development Mailing List (not for usage questions); Sridhar Ramaswamy; Sripriya Seetharam
Subject: Re: Removing required port-id from classifier

Hi Cathy,

I am using the networking-odl sfc driver in my setup and that does require the logical_port for the classifier, although i am using around one month old networking-sfc master branch code. Is this something recently changed ?

Thanks
Anil 
________________________________________
From: Cathy Zhang <Cathy.H.Zhang at huawei.com>
Sent: Tuesday, October 4, 2016 2:36 PM
To: Tim Rozet; Cathy Zhang
Cc: OpenStack Development Mailing List (not for usage questions); Sridhar Ramaswamy; Sripriya Seetharam; Anil Vishnoi
Subject: RE: Removing required port-id from classifier

Hi Tim,



Please see inline.



Cathy



-----Original Message-----

From: Tim Rozet [mailto:trozet at redhat.com]

Sent: Tuesday, October 04, 2016 1:29 PM

To: Cathy Zhang

Cc: OpenStack Development Mailing List (not for usage questions); Sridhar Ramaswamy; Sripriya Seetharam; Anil Vishnoi

Subject: Re: Removing required port-id from classifier



Responses inline.



Thanks,



Tim Rozet

Red Hat SDN Team



----- Original Message -----

From: "Cathy Zhang" <Cathy.H.Zhang at huawei.com>

To: "Tim Rozet" <trozet at redhat.com>, "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org>

Cc: "Sridhar Ramaswamy" <srics.r at gmail.com>, "Sripriya Seetharam" <sseetha at brocade.com>

Sent: Tuesday, October 4, 2016 1:54:04 PM

Subject: RE: Removing required port-id from classifier



Hi Tim,



Please see inline.



Thanks,

Cathy



-----Original Message-----

From: Tim Rozet [mailto:trozet at redhat.com]

Sent: Tuesday, October 04, 2016 10:07 AM

To: OpenStack Development Mailing List (not for usage questions); Cathy Zhang

Cc: Sridhar Ramaswamy; Sripriya Seetharam

Subject: [tacker] [networking-sfc] Removing required port-id from classifier



Hi Cathy,

I recall a while back discussing removing the required neutron port-id from the classifier.



Cathy> Do you mean logical source port here?

trozet> yeah the neutron_source_port seems required.



Cathy> This is only required if the backend is OVS SFC driver (not required if it is ODL SFC driver or other drivers). There are several reasons for this. For example, without neutron source port being specified, we have to install flow classification rules on every compute node to catch the traffic flow from the source and scalability will be a big issue if there are thousands of compute nodes. Another example is that if two tenants use a shared network and each has its flow originating from different source VMs and going through its own SFC in the shared network, OVS needs different logical source ports to distinguish different tenants' traffic flow. Is there any reason why you can not specify a neutron source port?





We just finished up implementing VNFFG in Tacker and are hitting this while testing.  What is the plan to remove this requirement?  Also, how are IETF SFC/NSH related API/plugin changes going?  Can we expect to have attributes like path-id, encap type soon?



Cathy> The API already provides a way for specifying "path-id" and encap type (currently only MPLS encap type is supported since OVS does not support NSH yet). As to NSH support, the code patch is being worked on, not completed yet. We are also tracking the NSH work in OVS and hope OVS will support NSH soon so that when networking-sfc integrates with that new version of OVS, NSH can be supported properly.

trozet> OK good. Anil is close (demoed at ODL summit) a networking-odl driver for networking-sfc that supports NSH.

Can you link the patches or point me to who is working on the NSH support for the API/plugin DB layer?



Cathy> Here is the patch link https://urldefense.proofpoint.com/v2/url?u=https-3A__review.openstack.org_-23_c_373465_&d=DQIGaQ&c=IL_XqQWOjubgfqINi2jTzg&r=nNx-ccom3k8BhfkcqdGNBnq-5rteGW1CENWnxJvQP1M&m=UQNNvtujvkLCQr8XWkfqD3vDLIHnXj6PNYlMzCPvL2o&s=hm29JgqSH_6ZsobVL9vy5m5jEt7Q8laFNP2FmtCdo6c&e=









Thanks,



Tim Rozet

Red Hat SDN Team




More information about the OpenStack-dev mailing list