Flows are not inserted in OVS 2.6.2 with networking-sfc in Newton Openstack

asked 2016-12-01 03:35:15 -0600

Anirudh gravatar image

updated 2016-12-02 09:26:19 -0600

rbowen gravatar image


I am facing an issue described as below:

Setup: Newton Devstack, OVS 2.6.2, Networking-sfc(master branch).

-> I created Flows by following official networking guide: http://docs.openstack.org/newton/netw...

$ neutron port-create --name p1 net1
 $ neutron port-create --name p2 net1
 $ neutron port-create --name p3 net1
 $ neutron port-create --name p4 net1
 $ neutron port-create --name p5 net1
 $ neutron port-create --name p6 net1

neutron port-pair-create \
   --description "Firewall SF instance 1" \
   --ingress p1 \
   --egress p2 PP1

neutron port-pair-create \
   --description "Firewall SF instance 2" \
   --ingress p3 \
   --egress p4 PP2

neutron port-pair-create \
   --description "IDS SF instance" \
   --ingress p5 \
   --egress p6 PP3

neutron port-pair-group-create \
   --port-pair PP1 --port-pair PP2 PPG1
 neutron port-pair-group-create \
   --port-pair PP3 PPG2

neutron port-chain-create \
   --port-pair-group PPG1 --port-pair-group PPG2 \
   --flow-classifier FC1 PC1

neutron flow-classifier-create \
   --tenant-id 56884178ef35483f9758a56c4cea183e \
   --description "HTTP traffic from to" \
   --ethertype IPv4 \
   --source-ip-prefix \
   --destination-ip-prefix \
   --protocol tcp \
   --source-port 0:65400 \
   --destination-port 3300:3301 \
   --logical-source-port 90e00c15-570c-44b3-b820-92afb1e3d4e6 \

I have following queries:

  1. What should be "--logical-source-port" in this case? I presumed it should be "P1"
  2. I checked with "#ovs-ofctl dump-flows br-int", No new flows are seen in the output, Also traffic satisfyting flow classifier is not reaching to P1 as defined in SFC. It
  3. Is there any dependecies on OVS version, Networking-sfc branch to get sfc working?

Thanks. Any help would be highly appreciable.

Regards Anirudh Gupta

edit retag flag offensive close merge delete


Facing a communication issue between Driver and the Agent.Openstack Newton Kernel version 3.19.0-25-generic ovs version – 2.4.0. https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining (https://wiki.openstack.org/wiki/Neutr...) Driver is asking agent to update, but no logs in agent for the update. Can you please help

Anirudh gravatar imageAnirudh ( 2016-12-06 08:08:53 -0600 )edit

same issue with you, no update from agent. Do you have any solutions for it now ?

wangchenglong gravatar imagewangchenglong ( 2017-03-07 06:04:07 -0600 )edit

any solutions, i am facing the same issue

trellisSFC gravatar imagetrellisSFC ( 2018-03-20 04:54:47 -0600 )edit