netvirt.git
8 years agoFixing external network group table lifecycle 07/44207/1
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>
8 years agoMerge "Bug 6449 - Issues in Service Function Forwarder translation" into stable/boron
Anil Vishnoi [Wed, 17 Aug 2016 19:12:27 +0000 (19:12 +0000)]
Merge "Bug 6449 - Issues in Service Function Forwarder translation" into stable/boron

8 years agoMerge "Rename JMX MBean's ObjectName from com.ericsson to org.opendaylight" into...
Sam Hague [Wed, 17 Aug 2016 19:12:03 +0000 (19:12 +0000)]
Merge "Rename JMX MBean's ObjectName from com.ericsson to org.opendaylight" into stable/boron

8 years agoRename JMX MBean's ObjectName from com.ericsson to org.opendaylight 78/44178/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>
8 years agoFix completely broken ElanStatusMonitor JMX MBean 77/44177/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>
8 years agoBug 6449 - Issues in Service Function Forwarder translation 33/44133/1
Anil Vishnoi [Wed, 17 Aug 2016 09:43:52 +0000 (02:43 -0700)]
Bug 6449 - Issues in Service Function Forwarder translation

Change-Id: I7ca466ae65aa36c732d74a26def73bd64981b133
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
8 years agoallow all should be verified by null protocol 15/44115/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>
8 years agoRefactoring to make ElanStatusMonitor more pluggable for tests 11/44111/1
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>
8 years agowrong goto table in stateless default flows 06/44106/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>
8 years agoMerge "Listen to changes on subnet GW mac addresses" into stable/boron
Sam Hague [Tue, 16 Aug 2016 21:42:04 +0000 (21:42 +0000)]
Merge "Listen to changes on subnet GW mac addresses" into stable/boron

8 years agoMerge "Check network type before adding vtep to TZ" into stable/boron
Sam Hague [Tue, 16 Aug 2016 21:41:56 +0000 (21:41 +0000)]
Merge "Check network type before adding vtep to TZ" into stable/boron

8 years agoMerge "elanmanager Checkstyle clean-up (94%) " into stable/boron
Sam Hague [Tue, 16 Aug 2016 21:41:49 +0000 (21:41 +0000)]
Merge "elanmanager Checkstyle clean-up (94%) " into stable/boron

8 years agoMerge "Fixes Bug6423" into stable/boron
Sam Hague [Tue, 16 Aug 2016 20:55:49 +0000 (20:55 +0000)]
Merge "Fixes Bug6423" into stable/boron

8 years agoListen to changes on subnet GW mac addresses 03/44103/1
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>
8 years agoCheck network type before adding vtep to TZ 02/44102/1
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>
8 years agoelanmanager Checkstyle clean-up (94%) 01/44101/1
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>
8 years agoFixes Bug6423 00/44100/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>
8 years agoadd nextHopPointerPool poolId 74/44074/1
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>
8 years agoMerge "pom cleanup, odlparent-lite" into stable/boron
Sam Hague [Mon, 15 Aug 2016 23:20:08 +0000 (23:20 +0000)]
Merge "pom cleanup, odlparent-lite" into stable/boron

8 years agoMerge "netvirt-it Checkstyle clean-up (100%) and enforcement" into stable/boron
Sam Hague [Mon, 15 Aug 2016 23:19:22 +0000 (23:19 +0000)]
Merge "netvirt-it Checkstyle clean-up (100%) and enforcement" into stable/boron

8 years agoMerge "Fix bug wherein console commands would not work with Karaf ssh session" into...
Sam Hague [Mon, 15 Aug 2016 23:19:16 +0000 (23:19 +0000)]
Merge "Fix bug wherein console commands would not work with Karaf ssh session" into stable/boron

8 years agoFix bug wherein console commands would not work with Karaf ssh session 21/44021/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>
(cherry picked from commit 5bb48da58acdf35b4786409b87ec9f222d2bf483)

8 years agonetvirt-it Checkstyle clean-up (100%) and enforcement 20/44020/1
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>
(cherry picked from commit 8c8192a4b7e72db634a81b094ca2436727a55dd2)

8 years agoFix (minor) usage of MacNotFoundException 19/44019/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>
8 years agoMerge "blueprint cleanup" into stable/boron
Sam Hague [Mon, 15 Aug 2016 20:03:53 +0000 (20:03 +0000)]
Merge "blueprint cleanup" into stable/boron

8 years agoMerge "bug 5618 - fix creation of default rules in stateless security group mode...
Sam Hague [Mon, 15 Aug 2016 20:03:48 +0000 (20:03 +0000)]
Merge "bug 5618 - fix creation of default rules in stateless security group mode" into stable/boron

8 years agopom cleanup, odlparent-lite 13/44013/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>
8 years agoMerge "MAC resolution of external GWs" into stable/boron
Sam Hague [Mon, 15 Aug 2016 19:25:25 +0000 (19:25 +0000)]
Merge "MAC resolution of external GWs" into stable/boron

8 years agobug 5618 - fix creation of default rules in stateless security group mode 07/44007/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>
8 years agoblueprint cleanup 06/44006/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>
8 years agoMAC resolution of external GWs 02/44002/1
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>
8 years agoFix vrf metadata not to override the SH bit 85/43985/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>
8 years agoMerge "change log debug level of elanutils lock print" into stable/boron
Sam Hague [Mon, 15 Aug 2016 03:56:00 +0000 (03:56 +0000)]
Merge "change log debug level of elanutils lock print" into stable/boron

8 years agoMerge "Fix IT default flows validation" into stable/boron
Sam Hague [Mon, 15 Aug 2016 03:54:56 +0000 (03:54 +0000)]
Merge "Fix IT default flows validation" into stable/boron

8 years agochange log debug level of elanutils lock print 36/43936/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>
8 years agoFix IT default flows validation 23/43923/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>
8 years agoAdd config for aclservice to set security-group-mode 35/43935/1
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>
8 years agoFix ipv6service main pom.xml version 29/43929/1
Alon Kochba [Sun, 14 Aug 2016 18:51:32 +0000 (21:51 +0300)]
Fix ipv6service main pom.xml version

Change-Id: I229e0bad7c2fa79a06a30336f26314aeb4f5d9c0
Signed-off-by: Alon Kochba <alonko@hpe.com>
8 years agoAdd missing init-methods 26/43926/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>
(cherry picked from commit b3431d2248f077523fe63aa9d3ebb95ac6a9b5e2)

8 years agoAdd missing init-method to FIB+ELAN services 22/43922/1
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>
8 years agoMerge "Bug 6089: Fix to drop Tcp Syn packets after default SG removed." into stable...
Sam Hague [Fri, 12 Aug 2016 23:15:35 +0000 (23:15 +0000)]
Merge "Bug 6089: Fix to drop Tcp Syn packets after default SG removed." into stable/boron

8 years agocleanup elanmanager blueprint 2 81/43881/2
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>
8 years agoMerge "Fix exception in IPv6Service for non-neutron ports" into stable/boron
Sam Hague [Fri, 12 Aug 2016 20:13:21 +0000 (20:13 +0000)]
Merge "Fix exception in IPv6Service for non-neutron ports" into stable/boron

8 years agoMerge "Optimize iface search in transmitRouterAdvertisement" into stable/boron
Sam Hague [Fri, 12 Aug 2016 20:13:10 +0000 (20:13 +0000)]
Merge "Optimize iface search in transmitRouterAdvertisement" into stable/boron

8 years agoMerge "Change controller-dhcp-enabled default value" into stable/boron
Sam Hague [Fri, 12 Aug 2016 20:11:46 +0000 (20:11 +0000)]
Merge "Change controller-dhcp-enabled default value" into stable/boron

8 years agoBug 6089: Fix to drop Tcp Syn packets after default SG removed. 75/43875/1
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>
8 years agoMerge "ACL: Using non-deprecated ACL constants" into stable/boron
Sam Hague [Fri, 12 Aug 2016 13:56:31 +0000 (13:56 +0000)]
Merge "ACL: Using non-deprecated ACL constants" into stable/boron

8 years agoFix exception in IPv6Service for non-neutron ports 54/43854/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>
8 years agoOptimize iface search in transmitRouterAdvertisement 53/43853/1
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>
8 years agoMerge "BUG 6387: Traffic drop in 17 in serviceChain" into stable/boron
Sam Hague [Fri, 12 Aug 2016 13:08:00 +0000 (13:08 +0000)]
Merge "BUG 6387: Traffic drop in 17 in serviceChain" into stable/boron

8 years agoChange controller-dhcp-enabled default value 48/43848/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>
8 years agoFix ipv6 version for rc0 58/43758/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>
8 years agoACL: Using non-deprecated ACL constants 51/43651/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>
8 years agocleanup elanmanager blueprint 60/43760/3
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>
8 years agoSupport new actions in new ovs nsh patches 99/43699/3
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>
8 years agoBUG 6387: Traffic drop in 17 in serviceChain 86/43686/2
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>
8 years agoMerge "Exception in SubnetRoute Feature" into stable/boron
Sam Hague [Wed, 10 Aug 2016 19:23:03 +0000 (19:23 +0000)]
Merge "Exception in SubnetRoute Feature" into stable/boron

8 years agoMerge "Changing the conntrack default drop and allow flows from per port to per switc...
Sam Hague [Wed, 10 Aug 2016 17:38:43 +0000 (17:38 +0000)]
Merge "Changing the conntrack default drop and allow flows from per port to per switch." into stable/boron

8 years agoMerge "blueprint cleanup" into stable/boron
Sam Hague [Wed, 10 Aug 2016 17:22:39 +0000 (17:22 +0000)]
Merge "blueprint cleanup" into stable/boron

8 years agoChanging the conntrack default drop and allow flows from per port to per 53/43653/1
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>
8 years agoblueprint cleanup 52/43652/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>
8 years agoAdd blueprint wiring for elanmanager 34/43634/2
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>
8 years agoMerge "Fix IT setup" into stable/boron
Sam Hague [Wed, 10 Aug 2016 14:30:46 +0000 (14:30 +0000)]
Merge "Fix IT setup" into stable/boron

8 years agoException in SubnetRoute Feature 15/43615/1
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>
8 years agoFix IT setup 12/43612/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>
8 years agoACL: Enabling ACL service in the pipeline 11/43611/1
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>
8 years agoMerge "ACL: Adding tracked flows for each of allowed address pair" into stable/boron
Sam Hague [Wed, 10 Aug 2016 00:44:39 +0000 (00:44 +0000)]
Merge "ACL: Adding tracked flows for each of allowed address pair" into stable/boron

8 years agoMerge "fix blue print to init InterfaceStateToTansportZoneListener" into stable/boron
Sam Hague [Tue, 9 Aug 2016 22:04:42 +0000 (22:04 +0000)]
Merge "fix blue print to init InterfaceStateToTansportZoneListener" into stable/boron

8 years agoMerge "IPv6Service Binding using elanTag" into stable/boron
Sam Hague [Tue, 9 Aug 2016 22:04:36 +0000 (22:04 +0000)]
Merge "IPv6Service Binding using elanTag" into stable/boron

8 years agoMerge "Using DataStoreJobCoordinator" into stable/boron
Sam Hague [Tue, 9 Aug 2016 21:56:58 +0000 (21:56 +0000)]
Merge "Using DataStoreJobCoordinator" into stable/boron

8 years agoMerge "stateless security groups" into stable/boron
Sam Hague [Tue, 9 Aug 2016 21:35:41 +0000 (21:35 +0000)]
Merge "stateless security groups" into stable/boron

8 years agoMerge "BUG 6363: Further performance improvements for VPN Engine" into stable/boron
Sam Hague [Tue, 9 Aug 2016 21:07:25 +0000 (21:07 +0000)]
Merge "BUG 6363: Further performance improvements for VPN Engine" into stable/boron

8 years agoIPv6Service Binding using elanTag 66/43566/1
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>
8 years agoUsing DataStoreJobCoordinator 64/43564/1
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>
8 years agostateless security groups 57/43557/3
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>
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoACL: Adding tracked flows for each of allowed address pair 53/43553/1
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>
8 years agoBUG 6363: Further performance improvements for VPN Engine 52/43552/1
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>
8 years agofix blue print to init InterfaceStateToTansportZoneListener 83/43483/3
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>
8 years agoAdd blueprint wiring to natservice 49/43549/1
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>
8 years agoMerge "Ignore VpnSubnetRouteHandlerTests" into stable/boron
Sam Hague [Tue, 9 Aug 2016 18:36:05 +0000 (18:36 +0000)]
Merge "Ignore VpnSubnetRouteHandlerTests" into stable/boron

8 years agoIgnore VpnSubnetRouteHandlerTests 44/43544/1
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>
(cherry picked from commit 528fecc384ac71cb2a0e4b384119cece52ff67ca)

8 years agoRemove dependency on RpcProviderRegistry 76/43476/1
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>
8 years agoUpdate .gitreview for stable/boron 75/43375/1
Thanh Ha [Mon, 8 Aug 2016 21:40:31 +0000 (17:40 -0400)]
Update .gitreview for stable/boron

Change-Id: I0910a4fbea443f75792f370379953bd4c770596f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 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."

8 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"

8 years agoMerge "Add blueprint wiring for bgpmanager"
Sam Hague [Mon, 8 Aug 2016 18:21:40 +0000 (18:21 +0000)]
Merge "Add blueprint wiring for bgpmanager"

8 years agoMerge "Add blueprint wiring for vpnmanager"
Sam Hague [Mon, 8 Aug 2016 18:21:25 +0000 (18:21 +0000)]
Merge "Add blueprint wiring for vpnmanager"

8 years agoMerge "Fix NPE caused by ElanServiceProvider"
Sam Hague [Mon, 8 Aug 2016 18:19:00 +0000 (18:19 +0000)]
Merge "Fix NPE caused by ElanServiceProvider"

8 years agoMerge "OpenStack Port Chain to Service Function Chain translator"
Anil Vishnoi [Mon, 8 Aug 2016 18:13:17 +0000 (18:13 +0000)]
Merge "OpenStack Port Chain to Service Function Chain translator"

8 years agoAdd ovsdb/netvirt ui to vpnservice netvirt code. 04/42804/3
Andre Fredette [Fri, 29 Jul 2016 20:38:43 +0000 (16:38 -0400)]
Add ovsdb/netvirt ui to vpnservice netvirt code.

Use karaf feature odl-netvirt-ui to load.

Change-Id: Ibfda6264b58379d47c58af3f74d8a6651cb30a29
Signed-off-by: Andre Fredette <afredette@redhat.com>
8 years agoFix NPE caused by ElanServiceProvider 13/43313/2
Josh [Mon, 8 Aug 2016 14:29:42 +0000 (16:29 +0200)]
Fix NPE caused by ElanServiceProvider

A null value was being passed into genius ultimately
causing a npe.

Change-Id: I72f66555e07b63d143da843b02213df56e4427a2
Signed-off-by: Josh <jhershbe@redhat.com>
8 years agoAdd blueprint wiring for bgpmanager 45/38945/26
Sam Hague [Sun, 7 Aug 2016 13:41:00 +0000 (09:41 -0400)]
Add blueprint wiring for bgpmanager

(cherry-picked from commit e295724bb946593448669e4c7427aa087c5c5600)

Change-Id: I9626a840e52e5acdc8614acc6bd5b4978f797c01
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoAdd blueprint wiring for vpnmanager 12/39012/22
Sam Hague [Sun, 7 Aug 2016 23:33:01 +0000 (19:33 -0400)]
Add blueprint wiring for vpnmanager

(cherry-picked from commit 1650830536abf2c503d5448e3f7f3155aed5c6d6)

Change-Id: I935ea02c78e18787924d5dfb66c5805f1851f36d
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoMerge "Minor fixes for floating ip NAT flows - Use apply actions instead of write...
Sam Hague [Mon, 8 Aug 2016 16:02:20 +0000 (16:02 +0000)]
Merge "Minor fixes for floating ip NAT flows - Use apply actions instead of write actions for floating ip port MAC change - Sync install group to ext-net - Create FIB entry to PDNAT for floating ips"

8 years agoMerge "Add default flows validation to IT"
Sam Hague [Mon, 8 Aug 2016 15:50:33 +0000 (15:50 +0000)]
Merge "Add default flows validation to IT"

8 years agoMerge "Fixes an issue with security rule with only ether field "
Sam Hague [Mon, 8 Aug 2016 15:48:44 +0000 (15:48 +0000)]
Merge "Fixes an issue with security rule with only ether field "

8 years agoFixes an issue with security rule with only ether field 80/43280/3
Aswin Suryanarayanan [Sun, 7 Aug 2016 14:34:23 +0000 (20:04 +0530)]
Fixes an issue with security rule with only ether field

Change-Id: I8594d53ea321b16c974d5a80e5c7cbf5ada8a802
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
8 years agoAdd default flows validation to IT 12/43312/2
Oded Shvartz [Mon, 8 Aug 2016 12:40:03 +0000 (15:40 +0300)]
Add default flows validation to IT

The "validateDefaultFlows" method was added, so we can
remove the static sleep before running the ping test.

The method look for the following flows:
1) DHCP Table Miss Flow
2) IPv6 Table Miss Flow
3) ELAN sMac Table Miss Flow
4) ELAN dMac Table Miss Flow

Change-Id: I97217fc43203ae342411a35d38857c78358abc1a
Signed-off-by: Oded Shvartz <oshvartz@redhat.com>
8 years agoMinor fixes for floating ip NAT flows 03/43303/2
Tali [Mon, 8 Aug 2016 08:03:56 +0000 (11:03 +0300)]
Minor fixes for floating ip NAT flows
- Use apply actions instead of write actions for floating ip port MAC change
- Sync install group to ext-net
- Create FIB entry to PDNAT for floating ips

Change-Id: Ie3677859be10f438e4f216c2f374e9a8e6c16513
Signed-off-by: Tali <tali.ben-meir@hpe.com>
8 years agoAdd blueprint wiring for dhcpservice 70/38970/23
Alexis de Talhouët [Tue, 17 May 2016 13:28:29 +0000 (09:28 -0400)]
Add blueprint wiring for dhcpservice

Change-Id: I896f72477f6c4d86aac117bd6296e3c337e6133c
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>