netvirt.git
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 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"

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

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

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

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

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

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

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

7 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>
7 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>
7 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>
7 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>
7 years agoOpenStack Port Chain to Service Function Chain translator 05/43305/2
Anil Vishnoi [Thu, 4 Aug 2016 23:20:15 +0000 (16:20 -0700)]
OpenStack Port Chain to Service Function Chain translator

Change-Id: I40ab18ae038da8eba4422d515877889382e22fa8
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoBug 6278: Switch to use odlparent's karaf-parent 84/43284/1
Ryan Goulding [Sun, 7 Aug 2016 21:15:54 +0000 (17:15 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: I867e6718b3f250dab0d88a5428602cb0fd1690e1
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoAdd blueprint wiring for fibmanager 91/38991/30
Sam Hague [Sun, 7 Aug 2016 04:37:33 +0000 (00:37 -0400)]
Add blueprint wiring for fibmanager

(cherry-picked from commit ebd077e94cac73f88fcb07d882c18ad150a4b79b)

Change-Id: I3487b2db833a8183d8fb05af37de716a6482b9f2
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Fix blueprint cosntructors for AclService"
Sam Hague [Sat, 6 Aug 2016 10:57:30 +0000 (10:57 +0000)]
Merge "Fix blueprint cosntructors for AclService"

7 years agoFix blueprint cosntructors for AclService 68/43268/1
Sam Hague [Sat, 6 Aug 2016 01:40:38 +0000 (21:40 -0400)]
Fix blueprint cosntructors for AclService

Change-Id: Ic9728e32aae2a479856bbbc566bad8dc7a62d7ea
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd blueprint wiring for neutronvpn 01/39001/16
Sam Hague [Fri, 5 Aug 2016 22:03:24 +0000 (18:03 -0400)]
Add blueprint wiring for neutronvpn

(cherry-picked from commit 0f5f9c3ddf31a77beaf9409f9b199ee15ffef2c3)

Change-Id: Iae7df2847fa53a998eca062c87286f22c44fe82b
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Populating future object used by DataStoreJobCoordinator"
Sam Hague [Sat, 6 Aug 2016 00:21:28 +0000 (00:21 +0000)]
Merge "Populating future object used by DataStoreJobCoordinator"

7 years agoMerge "Add blueprint wiring for aclservice"
Sam Hague [Fri, 5 Aug 2016 17:13:36 +0000 (17:13 +0000)]
Merge "Add blueprint wiring for aclservice"

7 years agoMerge "fix dhcp to use interfacemanager rather than interfacemgr"
Sam Hague [Fri, 5 Aug 2016 17:10:24 +0000 (17:10 +0000)]
Merge "fix dhcp to use interfacemanager rather than interfacemgr"

7 years agoMerge "Netvirt changs for multiple egress service bindings"
Sam Hague [Fri, 5 Aug 2016 15:11:32 +0000 (15:11 +0000)]
Merge "Netvirt changs for multiple egress service bindings"

7 years agoPopulating future object used by DataStoreJobCoordinator 37/43237/1
eceghkl [Fri, 5 Aug 2016 14:27:33 +0000 (19:57 +0530)]
Populating future object used by DataStoreJobCoordinator

* populating future object so that it can be used by DSJC
* DSJC uses te future fall retrying failed transactions
* Retry count increased.

Change-Id: Iab61a3ccbb02e6970f1d88d3251ba63b1bc0e10a
Signed-off-by: eceghkl <manu.b@ericsson.com>
7 years agoAdd blueprint wiring for aclservice 08/41208/9
Stephen Kitt [Thu, 4 Aug 2016 12:15:06 +0000 (14:15 +0200)]
Add blueprint wiring for aclservice

Change-Id: Id3f6dd3c3e0152554ccf75c4779384d4a5b0a75e
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 agoNetvirt changs for multiple egress service bindings 16/42816/6
Vishal Thapar [Sat, 30 Jul 2016 05:15:03 +0000 (10:45 +0530)]
Netvirt changs for multiple egress service bindings

These are couterpart to Change 41712
https://git.opendaylight.org/gerrit/#/c/41712/

Change-Id: I2eff8e5b4ecf190ededa49ee9aa76ee2c0ab5fc5
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
7 years agofix dhcp to use interfacemanager rather than interfacemgr 30/43230/2
Sam Hague [Fri, 5 Aug 2016 12:38:01 +0000 (08:38 -0400)]
fix dhcp to use interfacemanager rather than interfacemgr

Change-Id: I2c450889b030a0f380b6c5fb33a9a4f233dc61ba
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoFixed the NAT issue SNAT flows not getting configured 32/43232/1
Satish Dutt [Fri, 5 Aug 2016 12:47:27 +0000 (18:17 +0530)]
Fixed the NAT issue SNAT flows not getting configured

The model NeutronRouterDpns, which is one of the main models used
by SNAT, is not getting populated because of the dependent model
RouterInterfaces being empty. RouterInterfaces model is empty because
of the race condition b/n the RouterInterfacesListner thread
which is trying to read interface state before the thread which
updates the IetfInterfaces model. Hence in RouterInterfacesListener, we
have removed the check of operational state of Interfaces before populating the
RouterInterfaces model. Eventually InterfacesStateChangeListener will
read RouterInterfaces only when ietf-interface is updated and populates
the NeutronRouterDpns model

Change-Id: I2ffaa9d686d213bcd8187ac9e41c5ad2ae5945d8
Signed-off-by: Satish Dutt <satish.dutt@ericsson.com>
7 years agoFix IndexOutOfBoundsException in NetvirtIt 13/43213/1
Josh [Fri, 5 Aug 2016 07:30:43 +0000 (09:30 +0200)]
Fix IndexOutOfBoundsException in NetvirtIt

Change-Id: I754935d07f62498f1c13d67d70937b497a789281
Signed-off-by: Josh <jhershbe@redhat.com>
7 years agoMerge "Add service names for priority configuration"
Sam Hague [Fri, 5 Aug 2016 03:58:41 +0000 (03:58 +0000)]
Merge "Add service names for priority configuration"

7 years agoMerge "Send garp on floating ip"
Sam Hague [Fri, 5 Aug 2016 03:23:03 +0000 (03:23 +0000)]
Merge "Send garp on floating ip"

7 years agoMerge "Add blueprint wiring for ipv6service"
Sam Hague [Fri, 5 Aug 2016 01:14:48 +0000 (01:14 +0000)]
Merge "Add blueprint wiring for ipv6service"

7 years agoMerge "Bug 6278: Switch to use odlparent's karaf-parent"
Sam Hague [Fri, 5 Aug 2016 01:14:38 +0000 (01:14 +0000)]
Merge "Bug 6278: Switch to use odlparent's karaf-parent"

7 years agoMerge "reduced the lock scope in neutron vpn utils"
Sam Hague [Fri, 5 Aug 2016 01:14:29 +0000 (01:14 +0000)]
Merge "reduced the lock scope in neutron vpn utils"

7 years agoMerge "Corrections on DHCP caches"
Sam Hague [Fri, 5 Aug 2016 01:13:54 +0000 (01:13 +0000)]
Merge "Corrections on DHCP caches"

7 years agoMerge "Add unit tests to AclEventListener"
Sam Hague [Fri, 5 Aug 2016 01:13:38 +0000 (01:13 +0000)]
Merge "Add unit tests to AclEventListener"

7 years agoMerge "elan local cache for ElanInstance/ElanInterface"
Sam Hague [Fri, 5 Aug 2016 01:12:43 +0000 (01:12 +0000)]
Merge "elan local cache for ElanInstance/ElanInterface"

7 years agoSend garp on floating ip 18/43118/5
David Goldberg [Thu, 4 Aug 2016 14:02:36 +0000 (17:02 +0300)]
Send garp on floating ip

When a new floating IP is created or an existing one updated, we want to send a GARP on the external network.

Change-Id: If5715558cdbaec0943a6d6baf30c6f2fb7848ef4
Signed-off-by: David Goldberg <gdavid@hpe.com>
7 years agoMerge "Floating IP entries in SNAT table will be routed to ext-net"
Sam Hague [Fri, 5 Aug 2016 01:09:34 +0000 (01:09 +0000)]
Merge "Floating IP entries in SNAT table will be routed to ext-net"

7 years agoMerge "Respond to ARP requests on floating IPs"
Sam Hague [Fri, 5 Aug 2016 01:08:44 +0000 (01:08 +0000)]
Merge "Respond to ARP requests on floating IPs"

7 years agoMerge "Adding Etree:Remove CLI Command"
Sam Hague [Fri, 5 Aug 2016 01:08:30 +0000 (01:08 +0000)]
Merge "Adding Etree:Remove CLI Command"

7 years agoMerge "Automatic tunnel configuration"
Sam Hague [Fri, 5 Aug 2016 01:08:23 +0000 (01:08 +0000)]
Merge "Automatic tunnel configuration"

7 years agoAdd blueprint wiring for ipv6service 75/41275/4
Sam Hague [Thu, 4 Aug 2016 20:33:14 +0000 (16:33 -0400)]
Add blueprint wiring for ipv6service

(cherry-picked from commit 943aa071e9b03931d8f3316cba116bddfcb59962)

Change-Id: I541c286a5f61f167774fedbb9dc4825907fcda66
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBug 6278: Switch to use odlparent's karaf-parent 67/43067/3
Ryan Goulding [Wed, 3 Aug 2016 16:38:54 +0000 (12:38 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: I7d30a2b3f8386993a5fbbd2c68a2dbda3ffd1729
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoMerge "Port Pair to Service Function translation"
Anil Vishnoi [Thu, 4 Aug 2016 23:18:38 +0000 (23:18 +0000)]
Merge "Port Pair to Service Function translation"

7 years agoreduced the lock scope in neutron vpn utils 92/42992/2
K.V Suneelu Verma [Tue, 2 Aug 2016 16:44:33 +0000 (22:14 +0530)]
reduced the lock scope in neutron vpn utils

instead of taking lock on the class level on whole method
lock is taken for add and remove blocks

Change-Id: I58d81242c7f3accadd7e1db773a93d9ef139ad36
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
7 years agoMerge "Bug 6278: Switch to use odlparent's karaf-parent"
Sam Hague [Thu, 4 Aug 2016 22:50:27 +0000 (22:50 +0000)]
Merge "Bug 6278: Switch to use odlparent's karaf-parent"

7 years agoMerge "Bug 6278: Switch to use odlparent's karaf-parent"
Sam Hague [Thu, 4 Aug 2016 22:50:09 +0000 (22:50 +0000)]
Merge "Bug 6278: Switch to use odlparent's karaf-parent"

7 years agoPort Pair to Service Function translation 55/43155/1
Anil Vishnoi [Wed, 3 Aug 2016 16:32:03 +0000 (09:32 -0700)]
Port Pair to Service Function translation

Change-Id: I0f990ac6a6947d60e9f77793320c6fc62345b84e
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoMerge "updated to support RemoteSecurityGroup"
Sam Hague [Thu, 4 Aug 2016 22:00:22 +0000 (22:00 +0000)]
Merge "updated to support RemoteSecurityGroup"

7 years agoMerge "ACL: Updated match criterias for ARP flows"
Sam Hague [Thu, 4 Aug 2016 22:00:17 +0000 (22:00 +0000)]
Merge "ACL: Updated match criterias for ARP flows"

7 years agoCorrections on DHCP caches 45/43145/2
Kency Kurian [Thu, 4 Aug 2016 19:32:13 +0000 (01:02 +0530)]
Corrections on DHCP caches

- While handling the DHCP packets the DPNID and mac address of the
  interface was being fetched from a cache which was not updated using a
  clustered data change listener. Instead of this the interface object is
  retrieved from an API exposed by interface manager.
- There were few ConcurrentModificationException observed on the
  tunnelIpElanNameToVmCache in L2GW use case. Fixed that by using
  CopyOnWriteArraySet.

Change-Id: I79014a860800ffeef0643f9fd65715608f529cb4
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
7 years agoAdd service names for priority configuration 28/43128/3
Konsta Pozdeev [Thu, 4 Aug 2016 15:38:44 +0000 (18:38 +0300)]
Add service names for priority configuration

Depends on https://git.opendaylight.org/gerrit/#/c/43126/

Change-Id: I78cff20b6be693686b7eb37889c970749f98a882
Signed-off-by: Konsta Pozdeev <konsta.pozdeev@hpe.com>
7 years agoAdd unit tests to AclEventListener 64/42964/3
Tomer [Tue, 2 Aug 2016 11:46:29 +0000 (14:46 +0300)]
Add unit tests to AclEventListener

Change-Id: I4fda31acd13ffd268f3daee0652c9b4fc3297b60
Signed-off-by: Tomer <tomer.pearl@hpe.com>
7 years agoMerge "Fix for bug in elanmactable:show cli"
Sam Hague [Thu, 4 Aug 2016 19:21:25 +0000 (19:21 +0000)]
Merge "Fix for bug in elanmactable:show cli"

7 years agoAutomatic tunnel configuration 47/42447/7
Slava [Mon, 25 Jul 2016 06:58:50 +0000 (09:58 +0300)]
Automatic tunnel configuration

Change-Id: I63897ad086bb40344c98f73ee710cef57f26f68c
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agoFloating IP entries in SNAT table will be routed to ext-net 30/43130/5
Tali [Thu, 4 Aug 2016 13:12:51 +0000 (16:12 +0300)]
Floating IP entries in SNAT table will be routed to ext-net

- Create group entry to route egress traffic to the external port
- SNAT flow will forward matched floating IP packets to the new group entry
- The src mac will be set to the neutron port of the floating IP
- dst mac of the external GW will be set in the group table

Change-Id: I5c8eff789741f0aef52c3dddc3dc149c8c688c78
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoRespond to ARP requests on floating IPs 02/43102/4
Tali [Wed, 3 Aug 2016 10:52:33 +0000 (13:52 +0300)]
Respond to ARP requests on floating IPs

Change-Id: I022a5af4e0f69b1760cdae4ec1e3015801332794
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoAdding Etree:Remove CLI Command 11/43111/1
Guy Sela [Thu, 4 Aug 2016 11:23:22 +0000 (14:23 +0300)]
Adding Etree:Remove CLI Command

Change-Id: I7ff8401590ca544813bcfd7b15b97a5145993938
Signed-off-by: Guy Sela <guy.sela@hpe.com>
7 years agoelan local cache for ElanInstance/ElanInterface 03/43103/1
Gobinath [Thu, 4 Aug 2016 08:56:42 +0000 (14:26 +0530)]
elan local cache for ElanInstance/ElanInterface

A local cache has been created for ElanInstance/ElanInterface to reduce
the time taken for the Datastore read operations as a part of performance
improvement changes.

Change-Id: I69ab53f5d4197d26c0efcbbd307293fe6ce6f55a
Signed-off-by: Gobinath <gobinath@ericsson.com>
7 years agoACL: Updated match criterias for ARP flows 46/43046/3
Somashekar Byrappa [Wed, 3 Aug 2016 14:02:19 +0000 (19:32 +0530)]
ACL: Updated match criterias for ARP flows

+ Switch ingress matches on arp+arp_sha+lport_tag
+ Switch egress matches on arp+lport_tag

Change-Id: I60cc01ddec5c4a284fc4fb937d80a8b7bff59915
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoRefactor moving tunnelinfstatechglistener subclass 98/43098/2
Abhinav Gupta [Thu, 4 Aug 2016 06:36:04 +0000 (12:06 +0530)]
Refactor moving tunnelinfstatechglistener subclass

1. Refactored moving tunnelinterfacestatechangelistener subclass out of
VPNInterfaceManager class.
2. Added itmRpcService and FibManager dependency for the above class.
3. Renamed a few misleading functions

Change-Id: I7c8467bdbf69e54b7a3242e6c563e0adf1319f2f
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoFix for bug in elanmactable:show cli 99/43099/1
Gobinath [Thu, 4 Aug 2016 06:41:04 +0000 (12:11 +0530)]
Fix for bug in elanmactable:show cli

The timestamp in the cli "elanmactable:show" was strange. The timestamp
displayed in the format day,hours,minutes and milliseonds.Now the format
displayed is day,hours,minutes and seconds.

Change-Id: I9d8ea009cff7f3fb9cc255b35af980b50a59e757
Signed-off-by: Gobinath <gobinath@ericsson.com>
7 years agoupdated to support RemoteSecurityGroup 51/43051/4
gujele [Wed, 3 Aug 2016 14:56:56 +0000 (20:26 +0530)]
updated to support RemoteSecurityGroup

handled remote security group for interface add/delete, interface update
(SG add/delete and AllowedAddressPair add/delete) and SG update (SR
add/delete)

Change-Id: I20d9dc46dcc0279b7198339f0e1064faf5f082a4
Signed-off-by: gujele <imanilyadav@gmail.com>
7 years agoMerge "Multiple fixes related to VPN concurrency"
Sam Hague [Thu, 4 Aug 2016 02:15:52 +0000 (02:15 +0000)]
Merge "Multiple fixes related to VPN concurrency"

7 years agoMerge "Complete ETree implementation in netvirt. Extended ElanService to support...
Sam Hague [Thu, 4 Aug 2016 02:10:13 +0000 (02:10 +0000)]
Merge "Complete ETree implementation in netvirt. Extended ElanService to support Etree model."

7 years agoMerge "Fix exception in IPv6 ifacelistener for a tunnel add notification"
Sam Hague [Thu, 4 Aug 2016 00:12:19 +0000 (00:12 +0000)]
Merge "Fix exception in IPv6 ifacelistener for a tunnel add notification"

7 years agoMerge "Commented out frequently replayed BGPMIP errorlogs"
Sam Hague [Thu, 4 Aug 2016 00:09:50 +0000 (00:09 +0000)]
Merge "Commented out frequently replayed BGPMIP errorlogs"

7 years agoMerge "Fixes related to anit-spoofing rule to allow DHCP traffic."
Sam Hague [Thu, 4 Aug 2016 00:08:51 +0000 (00:08 +0000)]
Merge "Fixes related to anit-spoofing rule to allow DHCP traffic."

7 years agoBug 6278: Switch to use odlparent's karaf-parent 68/43068/2
Ryan Goulding [Wed, 3 Aug 2016 16:38:58 +0000 (12:38 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: I07b017f97aacfa99390b6da28be6ed1a0c2c24e0
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoBug 6278: Switch to use odlparent's karaf-parent 66/43066/2
Ryan Goulding [Wed, 3 Aug 2016 16:38:44 +0000 (12:38 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: I0e1ccbdde5af41eb2bc0dc4e2b2ba5978bdfc05f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoComplete ETree implementation in netvirt. Extended ElanService to support Etree model. 37/40737/28
Guy Sela [Sun, 19 Jun 2016 10:26:59 +0000 (13:26 +0300)]
Complete ETree implementation in netvirt. Extended ElanService to support Etree model.

Etree network adds another attribute for interfaces: Root or Leaf.
In the same Etree network:
Root interfaces can communicate with all interfaces.
Leaf interfaces can communicate only with Root interfaces.

Change-Id: I7855015db9c34757249a7461ebf37924969d398c
Signed-off-by: Guy Sela <guy.sela@hpe.com>
7 years agoMerge "ACL: Updated to cache interface/interface state details"
Sam Hague [Thu, 4 Aug 2016 00:00:24 +0000 (00:00 +0000)]
Merge "ACL: Updated to cache interface/interface state details"

7 years agoMerge "Add IT to netvirt-vpnservice"
Sam Hague [Wed, 3 Aug 2016 18:15:04 +0000 (18:15 +0000)]
Merge "Add IT to netvirt-vpnservice"

7 years agoFix exception in IPv6 ifacelistener for a tunnel add notification 61/43061/2
Sridhar Gaddam [Wed, 3 Aug 2016 16:11:33 +0000 (21:41 +0530)]
Fix exception in IPv6 ifacelistener for a tunnel add notification

This patch fixes the IllegalArgumentException in Ipv6ServiceInterfaceEventListener
when a tunnel is created.

Change-Id: I9ca9045bac191863ff265ceea418d34458102f81
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoMerge changes from topic 'openstack-sfc-translator'
Anil Vishnoi [Wed, 3 Aug 2016 16:30:54 +0000 (16:30 +0000)]
Merge changes from topic 'openstack-sfc-translator'

* changes:
  Port Pair/Group & Chain Listener registration and translator hookup
  OpenStack Networking SFC Flow classifier translator
  OpenStack Networking SFC Neutron Northbound Yang Model translator

7 years agoMultiple fixes related to VPN concurrency 50/43050/2
HANAMANTAGOUD V Kandagal [Wed, 3 Aug 2016 14:42:31 +0000 (20:12 +0530)]
Multiple fixes related to VPN concurrency

1. Handle dpnToVpn list maintained by vpn engine correctly.
2. Make sure that SNAT flows appear when Internet VPN is created.
3. Print batches and batchsize for batchable resources as an INFO.
4. Fix the issue when VM holding the invisible IP is removed, the
invisible IP is removed along with the original VM IP.
5. Fixes extra-route add logic so that Extra-Routes configured via neutron
router now appear in FIB for further realization into flows.
6. Avoid using LabelRouteInfo for InternalVPN. This saves Operation DS
namespace.

Change-Id: Ia9d8f422b1254cf153b6725c2fa8ea0bd68a0ed4
Signed-off-by: HANAMANTAGOUD V Kandagal <hanamantagoud.v.kandagal@ericsson.com>