BUG 8193 - Fix Netvirt classifier egress service port binding 82/54582/8
authorBrady Johnson <brady.allen.johnson@ericsson.com>
Mon, 10 Apr 2017 09:27:10 +0000 (11:27 +0200)
committerSam Hague <shague@redhat.com>
Wed, 12 Apr 2017 23:15:18 +0000 (23:15 +0000)
commit7d9241826a54c27063269efce6919e24f3a1ff3b
treeea329d60ff37065486a77d3d09d56d55fc3245b0
parent80b1706c436ab8c2626d372b24fd304356ffc8dc
BUG 8193 - Fix Netvirt classifier egress service port binding

- The Netvirt classifier egress service should bind on egress
  ports, not ingress ports like it does now.
- Since its not possible to know all the possible egress ports
  to bind on before-hand, the egress classifier service will
  bind on all switch ports. It will only process NSH packets
  and return all others to the egress dispatcher.
- Also in this patch, when the SFF is on the same bridge as
  the classifier, the egress classifier will resubmit the
  packets directly to the SFF instead of going through the
  ingress dispatcher, since we dont know the correct ingress
  port to use for the SFF.
- Updated OpenFlow13ProviderTest to reflect the change to the
  egress classifier resubmit.
- Changes from code review comments
- Final changes to make sure the egress binding is working.
  Now using getDpnInterfaceList RPC to get the switch ports
  to bind to.

Change-Id: I97bc38722064738ee22b8ddbc7163bc5dc3dd276
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
vpnservice/sfc/classifier/impl/src/main/java/org/opendaylight/netvirt/sfc/classifier/providers/GeniusProvider.java
vpnservice/sfc/classifier/impl/src/main/java/org/opendaylight/netvirt/sfc/classifier/providers/OpenFlow13Provider.java
vpnservice/sfc/classifier/impl/src/main/java/org/opendaylight/netvirt/sfc/classifier/service/domain/impl/ConfigurationClassifierImpl.java
vpnservice/sfc/classifier/impl/src/test/java/org/opendaylight/netvirt/sfc/classifier/providers/OpenFlow13ProviderTest.java