netvirt.git
7 years agoMerge "Remove elanUtils instance from ElanInstanceManager"
Sam Hague [Wed, 17 Aug 2016 21:59:40 +0000 (21:59 +0000)]
Merge "Remove elanUtils instance from ElanInstanceManager"

7 years agoMerge "Fixing external network group table lifecycle"
Sam Hague [Wed, 17 Aug 2016 20:17:34 +0000 (20:17 +0000)]
Merge "Fixing external network group table lifecycle"

7 years agoMerge "Neutronvpn caches require update upon Router/Network changes"
Sam Hague [Wed, 17 Aug 2016 20:15:13 +0000 (20:15 +0000)]
Merge "Neutronvpn caches require update upon Router/Network changes"

7 years agoMerge "Rename JMX MBean's ObjectName from com.ericsson to org.opendaylight"
Sam Hague [Wed, 17 Aug 2016 19:11:57 +0000 (19:11 +0000)]
Merge "Rename JMX MBean's ObjectName from com.ericsson to org.opendaylight"

7 years agoMerge "Fix completely broken ElanStatusMonitor JMX MBean"
Sam Hague [Wed, 17 Aug 2016 19:11:26 +0000 (19:11 +0000)]
Merge "Fix completely broken ElanStatusMonitor JMX MBean"

7 years agoNeutronvpn caches require update upon Router/Network changes 81/44181/1
Tali [Wed, 17 Aug 2016 16:50:14 +0000 (19:50 +0300)]
Neutronvpn caches require update upon Router/Network changes

Change-Id: I1381bc8def2124a57b0daa29faa11341ecdd99f9
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoRename JMX MBean's ObjectName from com.ericsson to org.opendaylight 73/44173/1
Michael Vorburger [Wed, 17 Aug 2016 16:06:02 +0000 (18:06 +0200)]
Rename JMX MBean's ObjectName from com.ericsson to org.opendaylight

From com.ericsson.sdncp.services.status:type=SvcElanService to
org.opendaylight.netvirt.elan:type=SvcElanService

Change-Id: I598004f3272f267cdd1331aef0e96cac5ac82ef7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFix completely broken ElanStatusMonitor JMX MBean 72/44172/1
Michael Vorburger [Wed, 17 Aug 2016 15:52:59 +0000 (17:52 +0200)]
Fix completely broken ElanStatusMonitor JMX MBean

including a test for future non-regression of this problem:

javax.management.NotCompliantMBeanException: MBean class
org.opendaylight.netvirt.elan.statusanddiag.ElanStatusMonitorJMX does
not implement DynamicMBean, and neither follows the Standard MBean
conventions (javax.management.NotCompliantMBeanException: Class
org.opendaylight.netvirt.elan.statusanddiag.ElanStatusMonitorJMX is not
a JMX compliant Standard MBean) nor the MXBean conventions
(javax.management.NotCompliantMBeanException:
org.opendaylight.netvirt.elan.statusanddiag.ElanStatusMonitorJMX: Class
org.opendaylight.netvirt.elan.statusanddiag.ElanStatusMonitorJMX is not
a JMX compliant MXBean)
at
com.sun.jmx.mbeanserver.Introspector.checkCompliance(Introspector.java:176)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:317)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
at
org.opendaylight.netvirt.elan.statusanddiag.ElanStatusMonitorJMX.registerMbean(ElanStatusMonitorJMX.java:30)
at
org.opendaylight.netvirt.elan.statusanddiag.ElanStatusMonitorJMX.init(ElanStatusMonitorJMX.java:24)

Change-Id: Ic269921840effd7ffae1c3c51dba88afd78999d5
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Create VLAN trunk once for multiple VLAN networks"
Sam Hague [Wed, 17 Aug 2016 12:21:39 +0000 (12:21 +0000)]
Merge "Create VLAN trunk once for multiple VLAN networks"

7 years agoMerge "allow all should be verified by null protocol"
Sam Hague [Wed, 17 Aug 2016 12:11:59 +0000 (12:11 +0000)]
Merge "allow all should be verified by null protocol"

7 years agoFixing external network group table lifecycle 25/43925/5
yair [Sun, 14 Aug 2016 13:41:14 +0000 (16:41 +0300)]
Fixing external network group table lifecycle

Subnet changes will create and remove group tables

Change-Id: I000a295f93af5f1217cc54d5ad2cbf3b3aa3ed9a
Signed-off-by: yair <yair.zinger@hpe.com>
7 years agoRemove elanUtils instance from ElanInstanceManager 63/43863/2
Stephen Kitt [Fri, 12 Aug 2016 14:28:45 +0000 (16:28 +0200)]
Remove elanUtils instance from ElanInstanceManager

With a couple of clean-ups in ElanUtils, ElanInstanceManager can run
with only static method calls.

Change-Id: Idf73692c0109d0e38c8233653c34bbe7425fde25
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoCreate VLAN trunk once for multiple VLAN networks 21/44121/1
Tali [Wed, 17 Aug 2016 03:58:12 +0000 (06:58 +0300)]
Create VLAN trunk once for multiple VLAN networks

Change-Id: I1d4134ddcebffaf6ded35abce41c840d28ea2a77
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoMerge "Refactoring to make ElanStatusMonitor more pluggable for tests"
Sam Hague [Wed, 17 Aug 2016 01:33:36 +0000 (01:33 +0000)]
Merge "Refactoring to make ElanStatusMonitor more pluggable for tests"

7 years agoallow all should be verified by null protocol 12/44112/1
Shlomi [Tue, 16 Aug 2016 23:06:09 +0000 (02:06 +0300)]
allow all should be verified by null protocol

Change-Id: I94720d90cba5822a75a5ca3454927303d9eaf66c
Signed-off-by: Shlomi <shlomi.alfasi@hpe.com>
7 years agoMerge "wrong goto table in stateless default flows"
Sam Hague [Tue, 16 Aug 2016 22:57:05 +0000 (22:57 +0000)]
Merge "wrong goto table in stateless default flows"

7 years agoRefactoring to make ElanStatusMonitor more pluggable for tests 91/43991/3
Michael Vorburger [Mon, 15 Aug 2016 14:41:58 +0000 (16:41 +0200)]
Refactoring to make ElanStatusMonitor more pluggable for tests

Change-Id: I541f60b55af7bcf3b3a861e872931eba3707d8a8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "elanmanager Checkstyle clean-up (94%) "
Sam Hague [Tue, 16 Aug 2016 21:41:45 +0000 (21:41 +0000)]
Merge "elanmanager Checkstyle clean-up (94%) "

7 years agowrong goto table in stateless default flows 05/44105/1
Shlomi [Tue, 16 Aug 2016 20:22:06 +0000 (23:22 +0300)]
wrong goto table in stateless default flows

Change-Id: Ieebb317073dbd4511e35a084d5f79a6caabd2aad
Signed-off-by: Shlomi <shlomi.alfasi@hpe.com>
7 years agoMerge "Listen to changes on subnet GW mac addresses"
Sam Hague [Tue, 16 Aug 2016 19:58:31 +0000 (19:58 +0000)]
Merge "Listen to changes on subnet GW mac addresses"

7 years agoMerge "Check network type before adding vtep to TZ"
Sam Hague [Tue, 16 Aug 2016 19:49:45 +0000 (19:49 +0000)]
Merge "Check network type before adding vtep to TZ"

7 years agoMerge "add nextHopPointerPool poolId"
Sam Hague [Tue, 16 Aug 2016 19:48:21 +0000 (19:48 +0000)]
Merge "add nextHopPointerPool poolId"

7 years agoListen to changes on subnet GW mac addresses 17/43917/14
Tali [Fri, 12 Aug 2016 05:18:14 +0000 (08:18 +0300)]
Listen to changes on subnet GW mac addresses

- Update ext-net flow based on MAC changes

Change-Id: Id107872a3c04d5d1a218ad87e020c1216adb6265
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoCheck network type before adding vtep to TZ 76/44076/3
Slava [Tue, 16 Aug 2016 13:04:12 +0000 (16:04 +0300)]
Check network type before adding vtep to TZ

Change-Id: Iba7f71812e3ab9eaa69c1a8a38157fb77c1783c2
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agoadd nextHopPointerPool poolId 64/44064/2
Sam Hague [Tue, 16 Aug 2016 12:57:49 +0000 (08:57 -0400)]
add nextHopPointerPool poolId

Change-Id: I026df62363b2a15ad94ea806cc64bac197034479
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoelanmanager Checkstyle clean-up (94%) 60/43960/5
Michael Vorburger [Mon, 15 Aug 2016 11:08:24 +0000 (13:08 +0200)]
elanmanager Checkstyle clean-up (94%)

Enforcement on for api, but not yet for impl (coming later; let's at
least merge this already ASAP to save re-re-basing)

Change-Id: Ic727c9a9fdc8b0a10b61bfbe6a886b9f1d24ea7c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFixes Bug6423 30/44030/1
Aswin Suryanarayanan [Tue, 16 Aug 2016 06:34:42 +0000 (12:04 +0530)]
Fixes Bug6423

1)The dhcp port should not have SG associated. DHCP will be created with
portsecurityenabled=true and later it will be updated. The update even
was getting ignored.
2)Updated few priority values

Change-Id: Ieb65ed02cf469aad0372fbd3e370c9043ef81682
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoMerge "Fix bug wherein console commands would not work with Karaf ssh session"
Sam Hague [Mon, 15 Aug 2016 21:30:34 +0000 (21:30 +0000)]
Merge "Fix bug wherein console commands would not work with Karaf ssh session"

7 years agoMerge "netvirt-it Checkstyle clean-up (100%) and enforcement"
Sam Hague [Mon, 15 Aug 2016 21:29:00 +0000 (21:29 +0000)]
Merge "netvirt-it Checkstyle clean-up (100%) and enforcement"

7 years agoMerge "Fix (minor) usage of MacNotFoundException"
Sam Hague [Mon, 15 Aug 2016 21:26:28 +0000 (21:26 +0000)]
Merge "Fix (minor) usage of MacNotFoundException"

7 years agoMerge "pom cleanup, odlparent-lite"
Sam Hague [Mon, 15 Aug 2016 21:24:40 +0000 (21:24 +0000)]
Merge "pom cleanup, odlparent-lite"

7 years agoMerge "bug 5618 - fix creation of default rules in stateless security group mode"
Sam Hague [Mon, 15 Aug 2016 20:03:59 +0000 (20:03 +0000)]
Merge "bug 5618 - fix creation of default rules in stateless security group mode"

7 years agopom cleanup, odlparent-lite 09/44009/1
Sam Hague [Mon, 15 Aug 2016 19:47:54 +0000 (15:47 -0400)]
pom cleanup, odlparent-lite

Change-Id: Ib277506b43241f035d1da52852c9a8f76abf40a1
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "blueprint cleanup"
Sam Hague [Mon, 15 Aug 2016 19:25:16 +0000 (19:25 +0000)]
Merge "blueprint cleanup"

7 years agoMerge "MAC resolution of external GWs"
Sam Hague [Mon, 15 Aug 2016 18:02:47 +0000 (18:02 +0000)]
Merge "MAC resolution of external GWs"

7 years agoblueprint cleanup 01/44001/1
Sam Hague [Mon, 15 Aug 2016 17:57:19 +0000 (13:57 -0400)]
blueprint cleanup

Change-Id: I16e01a06b43c1325f4b4b0fad6e9117a73e9e0e2
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMAC resolution of external GWs 46/43746/13
Tali [Thu, 11 Aug 2016 15:34:52 +0000 (18:34 +0300)]
MAC resolution of external GWs

- NeutronSubnetGwMacResolver will send ARP requests periodically to GW ips
- ARP requests would also be triggered by neutron router changes

ARP responses are already handled and saved to the ARP cache by ArpNotificationHandler

Change-Id: Ib56ec1711aa8c5dd4be13c013dd64b7a59291ca6
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agobug 5618 - fix creation of default rules in stateless security group mode 95/43995/1
Shlomi [Mon, 15 Aug 2016 15:12:09 +0000 (18:12 +0300)]
bug 5618 - fix creation of default rules in stateless security group mode

Change-Id: I7bc8e2c52c9b783e722136840b5478e612e638f6
Signed-off-by: Shlomi <shlomi.alfasi@hpe.com>
7 years agoFix (minor) usage of MacNotFoundException 84/43984/1
Michael Vorburger [Mon, 15 Aug 2016 13:37:27 +0000 (15:37 +0200)]
Fix (minor) usage of MacNotFoundException

Change-Id: I0f25d30bca67d97145be3e00b719d9d71f5c8661
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFix bug wherein console commands would not work with Karaf ssh session 73/43973/1
Michael Vorburger [Mon, 15 Aug 2016 13:02:25 +0000 (15:02 +0200)]
Fix bug wherein console commands would not work with Karaf ssh session

Thank You to Checkstyle for pointing these out.  Please see
https://wiki.opendaylight.org/view/BestPractices/Coding_Guidelines#System.out
for background & details.

Change-Id: I042e2679a4463fc509a5d8d9cc9065454b55e2c3
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agonetvirt-it Checkstyle clean-up (100%) and enforcement 57/43757/3
Michael Vorburger [Thu, 11 Aug 2016 21:15:45 +0000 (23:15 +0200)]
netvirt-it Checkstyle clean-up (100%) and enforcement

Change-Id: I5e40ef24063c33dd106618f75c43ab0706426271
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFix vrf metadata not to override the SH bit 37/43937/1
Tali [Mon, 15 Aug 2016 06:59:30 +0000 (09:59 +0300)]
Fix vrf metadata not to override the SH bit

The original fix for this issue was deleted as part of
https://git.opendaylight.org/gerrit/#/c/43306/ (performance improvements)

Change-Id: I23ab430e7f7a7ed289c2619a88261e11259e1fef
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoMerge "Add config for aclservice to set security-group-mode"
Sam Hague [Mon, 15 Aug 2016 03:08:47 +0000 (03:08 +0000)]
Merge "Add config for aclservice to set security-group-mode"

7 years agoMerge "change log debug level of elanutils lock print"
Sam Hague [Mon, 15 Aug 2016 02:23:15 +0000 (02:23 +0000)]
Merge "change log debug level of elanutils lock print"

7 years agoMerge "Fix IT default flows validation"
Sam Hague [Mon, 15 Aug 2016 02:17:55 +0000 (02:17 +0000)]
Merge "Fix IT default flows validation"

7 years agoAdd config for aclservice to set security-group-mode 33/43933/5
Shlomi [Sun, 14 Aug 2016 21:29:38 +0000 (00:29 +0300)]
Add config for aclservice to set security-group-mode

1) add transparent security group
2) load default value from blueprint

To set the default for security-group-mode:
1. Change the value in aclservice/.../aclservice-config_aclservice-config.xml
2. Copy the file into the unzipped distribution before starting karaf:
cd netvirt/vpnservice
mkdir -p ./distribution/karaf/target/assembly/etc/opendaylight/datastore/initial/config; cp aclservice/impl/src/main/resources/aclservice-config_aclservice-config.xml ./distribution/karaf/target/assembly/etc/opendaylight/datastore/initial/config

Change-Id: Ic57c438499f6b529e462b57fbfcbc669c591bfc4
Signed-off-by: Shlomi <shlomi.alfasi@hpe.com>
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agochange log debug level of elanutils lock print 31/43931/1
Alon Kochba [Sun, 14 Aug 2016 19:12:45 +0000 (22:12 +0300)]
change log debug level of elanutils lock print

Change-Id: I14de4e470f9fc48e12ad868934217b5a124a29ea
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoFix ipv6service main pom.xml version. 30/43930/2
Alon Kochba [Sun, 14 Aug 2016 18:53:42 +0000 (21:53 +0300)]
Fix ipv6service main pom.xml version.

Change-Id: I5c03fc57af0487d299512cfb6289ab5148dcc464
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoAdd missing init-methods 24/43924/1
Tali [Sun, 14 Aug 2016 13:45:50 +0000 (16:45 +0300)]
Add missing init-methods

Change-Id: I6de3c5ace68b83e1861433583ae596ea798b2a0e
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoFix IT default flows validation 21/43921/2
Oded Shvartz [Sun, 14 Aug 2016 11:37:09 +0000 (14:37 +0300)]
Fix IT default flows validation

1)Changed the list of default flows due to some
changes in the pipeline.
2)Changed the max time for flow validation method,
because 1 minute was not enough.

Change-Id: Icc7c2ac03fce75a14cb04f185b1350936d39f67b
Signed-off-by: Oded Shvartz <oshvartz@redhat.com>
7 years agoAdd missing init-method to FIB+ELAN services 20/43920/2
Tali [Sun, 14 Aug 2016 08:07:04 +0000 (11:07 +0300)]
Add missing init-method to FIB+ELAN services

Change-Id: Ia46f50edc71c8ec57d7bb31466b27e91c855d581
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoMerge "cleanup elanmanager blueprint 2"
Sam Hague [Sat, 13 Aug 2016 01:26:27 +0000 (01:26 +0000)]
Merge "cleanup elanmanager blueprint 2"

7 years agoMerge "Bug 6089: Fix to drop Tcp Syn packets after default SG removed."
Sam Hague [Fri, 12 Aug 2016 23:15:16 +0000 (23:15 +0000)]
Merge "Bug 6089: Fix to drop Tcp Syn packets after default SG removed."

7 years agocleanup elanmanager blueprint 2 96/43896/1
Sam Hague [Fri, 12 Aug 2016 20:09:37 +0000 (16:09 -0400)]
cleanup elanmanager blueprint 2

Change-Id: I8a85f5ccdcdb6007bf04717cd00073cf1f54bf6d
Signed-off-by: Sam Hague <shague@redhat.com>
(cherry picked from commit 4a7e3ef25d48e2fb598f7ab44c0f01e3621d34b3)

7 years agoMerge "Fix exception in IPv6Service for non-neutron ports"
Sam Hague [Fri, 12 Aug 2016 20:13:25 +0000 (20:13 +0000)]
Merge "Fix exception in IPv6Service for non-neutron ports"

7 years agoMerge "Optimize iface search in transmitRouterAdvertisement"
Sam Hague [Fri, 12 Aug 2016 20:13:06 +0000 (20:13 +0000)]
Merge "Optimize iface search in transmitRouterAdvertisement"

7 years agoMerge "Change controller-dhcp-enabled default value"
Sam Hague [Fri, 12 Aug 2016 20:11:50 +0000 (20:11 +0000)]
Merge "Change controller-dhcp-enabled default value"

7 years agoMerge "ACL: Using non-deprecated ACL constants"
Sam Hague [Fri, 12 Aug 2016 13:56:40 +0000 (13:56 +0000)]
Merge "ACL: Using non-deprecated ACL constants"

7 years agoMerge "BUG 6387: Traffic drop in 17 in serviceChain"
Sam Hague [Fri, 12 Aug 2016 13:08:08 +0000 (13:08 +0000)]
Merge "BUG 6387: Traffic drop in 17 in serviceChain"

7 years agoMerge "cleanup elanmanager blueprint"
Sam Hague [Fri, 12 Aug 2016 13:04:46 +0000 (13:04 +0000)]
Merge "cleanup elanmanager blueprint"

7 years agoBug 6089: Fix to drop Tcp Syn packets after default SG removed. 28/43228/7
bharathi.m [Sat, 6 Aug 2016 01:06:27 +0000 (21:06 -0400)]
Bug 6089: Fix to drop Tcp Syn packets after default SG removed.

 * Removed rule to check legitimate ip/mac pair during
   VM creation because incoming Tcp packets matches this
   rule and it passing packets to next pipeline.
   "cookie=0x0, duration=45.414s, table=40, n_packets=0, n_bytes=0,
   priority=36001,ip,in_port=12,dl_src=fa:16:3e:49:06:f1,nw_src=10.0.0.2
   actions=goto_table:50"
 * Support added for Tcp Syn drop rule in Egress table.

Change-Id: Ifa0e8cb122c16dd12f5d94c98a187dc604bd8c87
Signed-off-by: bharathi.m <bharathi.m@hcl.com>
7 years agoFix exception in IPv6Service for non-neutron ports 47/43847/1
Sridhar Gaddam [Fri, 12 Aug 2016 12:56:35 +0000 (18:26 +0530)]
Fix exception in IPv6Service for non-neutron ports

This patch fixes the IllegalArgumentException for notifications
related to non-neutron ports.

Change-Id: I0824cafd5f7aa9edd8d8208b729cc1cf3e7416a3
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoOptimize iface search in transmitRouterAdvertisement 65/42965/3
Sridhar Gaddam [Tue, 2 Aug 2016 11:48:12 +0000 (17:18 +0530)]
Optimize iface search in transmitRouterAdvertisement

Currently the periodic router advt timer is iterating over
all the virtual ports to figure out the ports on the network
where the RA has to be sent out. This patch optimizes the
search by using the local cache of (dpnIds <--> List[ofPorts])
maintained per network.

Change-Id: I6e64064c72b0586aa8f4b42b66ef49d2fc7ed46f
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agocleanup elanmanager blueprint 50/43750/4
Sam Hague [Thu, 11 Aug 2016 18:22:49 +0000 (14:22 -0400)]
cleanup elanmanager blueprint

Change-Id: I40049c85a8ec8740983a0382d7240cbc79edab71
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoFix ipv6 version for rc0 65/43765/2
Sam Hague [Thu, 11 Aug 2016 21:33:04 +0000 (17:33 -0400)]
Fix ipv6 version for rc0

Change-Id: I8ec4f623a08c1239d0602c7f0c53f09fb741c289
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoChange controller-dhcp-enabled default value 01/43701/1
Oded Shvartz [Thu, 11 Aug 2016 10:21:13 +0000 (13:21 +0300)]
Change controller-dhcp-enabled default value

Changed the default value to false in order to use the
neutron dhcp agent.

Change-Id: I8be03bde202759964b85f89c125218e2fcd5e8fb
Signed-off-by: Oded Shvartz <oshvartz@redhat.com>
7 years agoSupport new actions in new ovs nsh patches 42/40942/9
Yi Yang [Thu, 21 Apr 2016 03:04:01 +0000 (11:04 +0800)]
Support new actions in new ovs nsh patches

- rebase
- Added pop_nsh to classifier bypass flow

Change-Id: Id12e9c0bea42aa5c20adf34769b366d9b5c0231b
Signed-off-by: Yi Yang <yi.y.yang@intel.com>
7 years agoBUG 6387: Traffic drop in 17 in serviceChain 80/43680/3
Suraj Ranjan [Thu, 11 Aug 2016 06:19:40 +0000 (11:49 +0530)]
BUG 6387: Traffic drop in 17 in serviceChain

 Analysis:
    In a non servicechain scenario, packets get to LFIB and are sent over
    the corresponding port.
    In ServiceChain scenario, there are new Flows in LFIB, with higher priority,
    that sends the packet to 17 which, in turn, is redirecting it to SCF Pipeline.
    However, no SC matches and packets are submitted back to 17. Since packets
    have not changed, they get in a loop between 17 and 70.

 Solution:
    Table-miss in 70-75 tables must change the SI to L3VPN, so that when
    the packet gets back to 17, they are redirected to FIB table.
    Also, entries in 17 that handle packets that match no SC must be
    programmed in all CSS where the VPN has footprint, not just in the
    CSS where the last vSF in the chain is located.

Change-Id: I1cfc2973049746019a310ef3b106a5e416f24f04
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agoACL: Using non-deprecated ACL constants 40/43640/2
Somashekar Byrappa [Wed, 10 Aug 2016 15:09:41 +0000 (20:39 +0530)]
ACL: Using non-deprecated ACL constants

+ Replaced usage of deprecated constants with non-deprecated constants.

Change-Id: Ibe3b516665f51fb4358bf9eb432c651810717017
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoMerge "Changing the conntrack default drop and allow flows from per port to per switch."
Sam Hague [Wed, 10 Aug 2016 19:04:53 +0000 (19:04 +0000)]
Merge "Changing the conntrack default drop and allow flows from per port to per switch."

7 years agoMerge "Exception in SubnetRoute Feature"
Sam Hague [Wed, 10 Aug 2016 19:04:03 +0000 (19:04 +0000)]
Merge "Exception in SubnetRoute Feature"

7 years agoChanging the conntrack default drop and allow flows from per port to per 35/43635/2
Aswin Suryanarayanan [Wed, 10 Aug 2016 14:34:42 +0000 (20:04 +0530)]
Changing the conntrack default drop and allow flows from per port to per
switch.

Change-Id: I9ddf734cebb66d2b6a778cc9671312adf0c980b5
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoMerge "blueprint cleanup"
Sam Hague [Wed, 10 Aug 2016 17:22:33 +0000 (17:22 +0000)]
Merge "blueprint cleanup"

7 years agoMerge "Add blueprint wiring for elanmanager"
Sam Hague [Wed, 10 Aug 2016 17:01:36 +0000 (17:01 +0000)]
Merge "Add blueprint wiring for elanmanager"

7 years agoblueprint cleanup 50/43650/1
Sam Hague [Wed, 10 Aug 2016 15:58:00 +0000 (11:58 -0400)]
blueprint cleanup

Change-Id: I9e16225162ff59e9d8d9122f104da220be72180c
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "ACL: Enabling ACL service in the pipeline"
Sam Hague [Wed, 10 Aug 2016 14:29:09 +0000 (14:29 +0000)]
Merge "ACL: Enabling ACL service in the pipeline"

7 years agoAdd blueprint wiring for elanmanager 79/38979/21
Alexis de Talhouët [Tue, 17 May 2016 14:49:21 +0000 (10:49 -0400)]
Add blueprint wiring for elanmanager

Change-Id: I1274ef299469602cd8fa4722bc037e4e2785e1ea
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Signed-off-by: Alexis de Talhouët <alexis.de.t@gmail.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoACL: Enabling ACL service in the pipeline 05/43505/3
Somashekar Byrappa [Tue, 9 Aug 2016 12:36:36 +0000 (18:06 +0530)]
ACL: Enabling ACL service in the pipeline

Change-Id: Ieca5bbefa97f38703c79f592b383fb32bc745fd9
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoFix IT setup 91/43591/1
Oded Shvartz [Wed, 10 Aug 2016 09:04:06 +0000 (12:04 +0300)]
Fix IT setup

Remove deprecated methods after moving to blueprints.
The method were used when working with config and after
moving to blueprints we get "NOT FOUND Module" exception.

Change-Id: I16a417c58ee9c2b0720ef35675dc98ddc333b3cf
Signed-off-by: Oded Shvartz <oshvartz@redhat.com>
7 years agoException in SubnetRoute Feature 82/43582/2
Suraj Ranjan [Wed, 10 Aug 2016 07:25:09 +0000 (12:55 +0530)]
Exception in SubnetRoute Feature

1. Handle exception in subnetroute feature
specifically for the
SubnetRouteInterfaceStateChangeListener.

2. Handle removal of subnetroutes when
subnets are removed from the router (or)
when the router is disassociated from VPN.

3. Increase the retry count to 3 when trying
deletion of VPNs.

Change-Id: Iaf263c5596bd2b2b061e82597dcdc400dad42f17
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agoMerge "IPv6Service Binding using elanTag"
Sam Hague [Tue, 9 Aug 2016 22:04:55 +0000 (22:04 +0000)]
Merge "IPv6Service Binding using elanTag"

7 years agoMerge "Using DataStoreJobCoordinator"
Sam Hague [Tue, 9 Aug 2016 22:04:31 +0000 (22:04 +0000)]
Merge "Using DataStoreJobCoordinator"

7 years agoMerge "BUG 6363: Further performance improvements for VPN Engine"
Sam Hague [Tue, 9 Aug 2016 21:07:15 +0000 (21:07 +0000)]
Merge "BUG 6363: Further performance improvements for VPN Engine"

7 years agoUsing DataStoreJobCoordinator 42/43342/3
Kency Kurian [Mon, 8 Aug 2016 18:34:17 +0000 (00:04 +0530)]
Using DataStoreJobCoordinator

- Made changes such that the Interface Events make use of
  DataStoreJobCoordinator.
- Batching transactions.

Change-Id: Ieeb4da479bf9b4710edcc1294b2c03fb66dcba6e
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
7 years agoMerge "ACL: Adding tracked flows for each of allowed address pair"
Sam Hague [Tue, 9 Aug 2016 20:36:14 +0000 (20:36 +0000)]
Merge "ACL: Adding tracked flows for each of allowed address pair"

7 years agoMerge "fix blue print to init InterfaceStateToTansportZoneListener"
Sam Hague [Tue, 9 Aug 2016 20:21:45 +0000 (20:21 +0000)]
Merge "fix blue print to init InterfaceStateToTansportZoneListener"

7 years agoIPv6Service Binding using elanTag 77/43477/3
Sridhar Gaddam [Tue, 9 Aug 2016 07:44:12 +0000 (13:14 +0530)]
IPv6Service Binding using elanTag

This patch implements the following.
1. We do Service binding for a port only when a v6 address is
   configured on the port. IPv6Address could be part of the port
   when its initially created or later (i.e, port updated) after
   the VM is spawned. Both cases are handled and the port is
   unbinded when the v6Address-is-removed/port-deleted. Once
   Service Binding is done, packets would hit the IPV6_TABLE(45)
   for further processing.
2. Optimizes the IPv6 punt flows by matching on the elanTag.
   Previous patch implements punt flows based on the VM macaddress,
   this is not optimal as we have to add VM specific punt flows when
   a new VM is added. In this patch, we take into account the elanTag
   (i.e., network-id) and configure punt flows for
   - icmpv6 Router solicitation requests
   - icmpv6 Neighbor solicitation requests for router interface
3. Multiple IPv6 subnets can be added/deleted (even when existing VMs
   are present) on the network and those edge cases are handled in
   this patchset. IPv6Service maintains a cache of (dpnIds <--> List[ports])
   per network. We use this info, while programing flows when IPv6 subnets
   are added/deleted to handle the edge cases.

Change-Id: I84c98979e9f6f71feb934a96df68613dd6defc42
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoMerge "Add blueprint wiring to natservice"
Sam Hague [Tue, 9 Aug 2016 19:46:46 +0000 (19:46 +0000)]
Merge "Add blueprint wiring to natservice"

7 years agoACL: Adding tracked flows for each of allowed address pair 19/43519/2
Somashekar Byrappa [Tue, 9 Aug 2016 14:28:39 +0000 (19:58 +0530)]
ACL: Adding tracked flows for each of allowed address pair

+ For tracked packets, now matching on IP + MAC instead of lport tag

Change-Id: I71373273d1ed9ce255c00e4c007f618ca7267fe5
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoBUG 6363: Further performance improvements for VPN Engine 06/43306/4
Suraj Ranjan [Mon, 8 Aug 2016 11:21:12 +0000 (16:51 +0530)]
BUG 6363: Further performance improvements for VPN Engine

This fix removes waits in some critical places for
MDSAL operation to complete:
a. InterfaceStateChangeListener
b. VpnInterfaceManager

Change-Id: Ife821982f458a16f02e6bcf28cab960ad0d94d51
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agofix blue print to init InterfaceStateToTansportZoneListener 51/43551/1
Slava [Tue, 9 Aug 2016 09:22:46 +0000 (12:22 +0300)]
fix blue print to init InterfaceStateToTansportZoneListener

Change-Id: Ie194ffcbcf1a5e82230a349e6254d1e1faec550b
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agoAdd blueprint wiring to natservice 97/38997/18
Sam Hague [Mon, 8 Aug 2016 21:10:11 +0000 (17:10 -0400)]
Add blueprint wiring to natservice

(cherry-picked from commit 954b3f14841bccd4a86bf668890124ce98c47707)

Change-Id: Ic618da760d9095a270d6605b6c0a1c5dd66b12c4
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agostateless security groups 24/42924/16
Shlomi [Mon, 1 Aug 2016 16:12:10 +0000 (19:12 +0300)]
stateless security groups

1. refactor Egress/Ingress security group to allow inheritance of Stateless implementation
2. adding MethodInvocationParamSaver to allow asserts on parameters on invoked mocks.
3. current implementation differ between stateless Vs statefull is by
   additional configuration in aclservice-config.yang.
4. blueprint adaptation to support inheritence in security group
4. some check-style fixes

Change-Id: I5a73d5087ada651162ee92a42beeea8d9aaf97ef
Signed-off-by: Shlomi <shlomi.alfasi@hpe.com>
7 years agoMerge "Bump ietf versions to ...10-SNAPSHOT"
Thanh Ha [Tue, 9 Aug 2016 14:53:00 +0000 (14:53 +0000)]
Merge "Bump ietf versions to ...10-SNAPSHOT"

7 years agoBump ietf versions to ...10-SNAPSHOT 21/43521/1
Thanh Ha [Tue, 9 Aug 2016 14:50:54 +0000 (10:50 -0400)]
Bump ietf versions to ...10-SNAPSHOT

Bump versions according to:
https://lists.opendaylight.org/pipermail/release/2016-August/007731.html

Change-Id: Iee62370c28d1fbf8c0dc18f12c5724c4f9c93088
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoIgnore VpnSubnetRouteHandlerTests 63/43463/2
Sam Hague [Mon, 8 Aug 2016 22:55:52 +0000 (18:55 -0400)]
Ignore VpnSubnetRouteHandlerTests

Change-Id: I5fa97eb10860293d386fd0bfafe5c0e9be84bd0a
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoRemove dependency on RpcProviderRegistry 62/43462/2
Sam Hague [Tue, 9 Aug 2016 00:37:27 +0000 (20:37 -0400)]
Remove dependency on RpcProviderRegistry

Change-Id: I18161a598985f7c07c1bbc6d6a226788ff929033
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBump versions by 0.1.0 for next dev cycle 29/43429/2
Thanh Ha [Mon, 8 Aug 2016 21:50:17 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I303958f93af6e678978b6d673df4f5488162b1b6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Add ovsdb/netvirt ui to vpnservice netvirt code."
Sam Hague [Mon, 8 Aug 2016 18:24:07 +0000 (18:24 +0000)]
Merge "Add ovsdb/netvirt ui to vpnservice netvirt code."

7 years agoMerge "Bug 6278: Switch to use odlparent's karaf-parent"
Sam Hague [Mon, 8 Aug 2016 18:22:20 +0000 (18:22 +0000)]
Merge "Bug 6278: Switch to use odlparent's karaf-parent"