vpnservice.git
8 years agoInitial commit for NeutronVpn 71/32271/2
Abhinav Gupta [Fri, 8 Jan 2016 11:54:42 +0000 (17:24 +0530)]
Initial commit for NeutronVpn

ELAN integration to be done once ELAN is in.
VLAN transparency integration to be done iff trunkport extensions are in.

Change-Id: I6db2f9b654c3146f4514c994e4f8654b1a6c7d18
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
8 years agoMerge "Fixing issues with ARP integration of VpnService - Table 0 and Table 80...
Vivek Srivastava [Fri, 8 Jan 2016 08:43:12 +0000 (08:43 +0000)]
Merge "Fixing issues with ARP integration of VpnService   - Table 0 and Table 80 metadata were not matching   - co relating interfaceName to nodeConnector was using the wrong datastore"

8 years agoItm:change in namespace, new RPCs, vpnmanager integration 17/32217/1
esravik [Thu, 7 Jan 2016 09:25:46 +0000 (14:55 +0530)]
Itm:change in namespace, new RPCs, vpnmanager integration

Change-Id: I5a67983b7192fc4a374e822f377627f15a38d286
Signed-off-by: esravik <vivek.v.srivastava@ericsson.com>
8 years agoFixing issues with ARP integration of VpnService 83/32183/3
Faseela K [Wed, 6 Jan 2016 11:55:18 +0000 (17:25 +0530)]
Fixing issues with ARP integration of VpnService
  - Table 0 and Table 80 metadata were not matching
  - co relating interfaceName to nodeConnector was using the wrong datastore

Signed-off-by: Faseela K <faseela.k@ericsson.com>
mit.

Change-Id: I8115c7a5db02cc26b3612efd2395127ee702a442
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoUnit Test Cases for Interface Manager Bind Service 77/32177/1
Suraj Ranjan [Wed, 6 Jan 2016 11:15:33 +0000 (16:45 +0530)]
Unit Test Cases for Interface Manager Bind Service

Change-Id: I1f2854b366ff16b8bf0b35bee8c81912b48354ef
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoMerge "Vpnmanager and fibmanager changes 1. Merge fib and nexthop manager 2. Integrat...
Vivek Srivastava [Tue, 5 Jan 2016 08:20:49 +0000 (08:20 +0000)]
Merge "Vpnmanager and fibmanager changes 1. Merge fib and nexthop manager 2. Integrate with interface manager, itm and arpmanager"

8 years agoFixing issue with ovsdb datapath id conversion 72/31972/2
Faseela K [Thu, 31 Dec 2015 13:08:17 +0000 (18:38 +0530)]
Fixing issue with ovsdb datapath id conversion

Change-Id: If1f45a46aead6f2369873bdea1ece6ff287a0686
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoFixing issues with batching transactions during bind service 50/31950/2
Faseela K [Wed, 30 Dec 2015 12:24:58 +0000 (17:54 +0530)]
Fixing issues with batching transactions during bind service

- whenever a service with higher priority is bound to an interface, there
  is a sequence of flow installation and deletion which were batched into
  the same transaction. This transaction batching is not working as they
  are all on the same subtree and hence
  moving them to separate transactions.

- Some minor code optimisations and cleanups

Change-Id: I9ec1dddc2d9a48f149adb204914e9593eceebc5b
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoVpnmanager and fibmanager changes 48/31948/1
Deepthi V V [Wed, 30 Dec 2015 10:13:50 +0000 (15:43 +0530)]
Vpnmanager and fibmanager changes
1. Merge fib and nexthop manager
2. Integrate with interface manager, itm and arpmanager

Change-Id: I734355456a0d75df443e679763f6b4ab7f783f7f
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
8 years agoMerge "unbind service not removing lport dispatcher flow"
Vivek Srivastava [Wed, 30 Dec 2015 05:56:45 +0000 (05:56 +0000)]
Merge "unbind service not removing lport dispatcher flow"

8 years agounbind service not removing lport dispatcher flow 32/31932/1
Faseela K [Tue, 29 Dec 2015 13:13:50 +0000 (18:43 +0530)]
unbind service not removing lport dispatcher flow

Change-Id: I76e797c1307a34b4c0519c06bbf5cd0eb03c446f
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoUnit test case for Topology State Updates 27/31927/1
Suraj Ranjan [Tue, 29 Dec 2015 11:21:36 +0000 (16:51 +0530)]
Unit test case for Topology State Updates

Change-Id: I367566825153a811600a11097b3afa5ec26f9689
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoMerge "creation of tunnel ingress flow and lfib table entries moved to interface...
Vishal Thapar [Thu, 24 Dec 2015 13:40:25 +0000 (13:40 +0000)]
Merge "creation of tunnel ingress flow and lfib table entries moved to interface manager"

8 years agoMerge "Adding ITM internal/external tunnel build logic"
Vishal Thapar [Thu, 24 Dec 2015 10:57:17 +0000 (10:57 +0000)]
Merge "Adding ITM internal/external tunnel build logic"

8 years agoAdding ITM internal/external tunnel build logic 22/31822/2
HemaTG [Wed, 23 Dec 2015 12:16:45 +0000 (17:46 +0530)]
Adding ITM internal/external tunnel build logic

Change-Id: I190052ce3a5d5da8f315f9e7787a95c96d12ad62
Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
8 years agocreation of tunnel ingress flow and lfib table entries moved to interface 19/31819/3
Faseela K [Wed, 23 Dec 2015 12:19:24 +0000 (17:49 +0530)]
creation of tunnel ingress flow and lfib table entries moved to interface
manager

Change-Id: I921d2af650f78f15c13077fb12c2cecf20d85045
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoUnitTests for StateInterface Helpers 16/31816/1
Suraj Ranjan [Wed, 23 Dec 2015 11:44:25 +0000 (17:14 +0530)]
UnitTests for StateInterface Helpers

Change-Id: Ib5fd5f14436c905038a328f967b90ea3c78c6140
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoUnbind Service not removing the ingress flow entry 60/31760/1
Faseela K [Tue, 22 Dec 2015 07:48:25 +0000 (13:18 +0530)]
Unbind Service not removing the ingress flow entry

Change-Id: I8d600c6c85d4f436e2878d0db4488e27a846559e
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoFixing NPE found out during bindService Testing 01/31601/1
Faseela K [Fri, 18 Dec 2015 13:02:09 +0000 (18:32 +0530)]
Fixing NPE found out during bindService Testing

Change-Id: I713a03e5ca91c2b7464cb79b76cb45ff75fee7d1
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agosupport for create/remove terminatingserviceActions 29/31529/3
Faseela K [Thu, 17 Dec 2015 17:29:35 +0000 (22:59 +0530)]
support for create/remove terminatingserviceActions

Change-Id: I11ad9df3fef64cfeb2fc1687e77f4134deea9b00
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoMerge "Add pkt handling to DHCPService"
Vivek Srivastava [Thu, 17 Dec 2015 06:49:38 +0000 (06:49 +0000)]
Merge "Add pkt handling to DHCPService"

8 years agoFixing NPE during bind/unbind service 18/31418/1
Faseela K [Wed, 16 Dec 2015 11:03:32 +0000 (16:33 +0530)]
Fixing NPE during bind/unbind service

Change-Id: I051ebd27982cf9b542a3d583988a3d855a628ca3
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoMerge "UnitTests for UpdateTunnelinterface"
Vivek Srivastava [Wed, 16 Dec 2015 06:59:20 +0000 (06:59 +0000)]
Merge "UnitTests for UpdateTunnelinterface"

8 years agoUnitTests for UpdateTunnelinterface 61/31261/2
Suraj Ranjan [Mon, 14 Dec 2015 10:16:21 +0000 (15:46 +0530)]
UnitTests for UpdateTunnelinterface

Change-Id: Ic6f42c38588ed67e96a822dba7ca352c72d383a9
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoAdd pkt handling to DHCPService 01/31201/4
Vishal Thapar [Fri, 11 Dec 2015 12:01:25 +0000 (17:31 +0530)]
Add pkt handling to DHCPService

Add flow to send DHCP pkts to controller
Parse DHCP Pkt and respond based on NeutronPort and Subnet associated with
the port.
Add Neutron bundle
Fix Javadoc style errors

Change-Id: Iebbc279fc105e67b481c911e196a710409711ca8
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoRemoving unnecessary if-index update figured out during unit-testing 50/31250/2
Faseela K [Mon, 14 Dec 2015 07:27:33 +0000 (12:57 +0530)]
Removing unnecessary if-index update figured out during unit-testing

Change-Id: I4ca001e5b1e07a1a34085a1694da5c7a6cab42fc
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoFix build issue in alivenessmonitor 93/31193/1
Vishal Thapar [Fri, 11 Dec 2015 12:03:17 +0000 (17:33 +0530)]
Fix build issue in alivenessmonitor

Alivenessmonitor pom has wrong groupid, so tries to push
artifacts to wrong location.

Change-Id: Iaaf000dba471df62e4965a4e4efae248b3228cdd
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoMerge "Initial commit for DHCPService"
Vivek Srivastava [Fri, 11 Dec 2015 10:19:15 +0000 (10:19 +0000)]
Merge "Initial commit for DHCPService"

8 years agoMerge "Yang changes for l3vpn"
Vivek Srivastava [Thu, 10 Dec 2015 11:51:53 +0000 (11:51 +0000)]
Merge "Yang changes for l3vpn"

8 years agoInitial Alivenessmonitor code 76/30976/4
Sasidharan Sambasivam [Tue, 8 Dec 2015 12:36:34 +0000 (18:06 +0530)]
Initial Alivenessmonitor code

Change-Id: Ib13c3b1eac04a9e6eac0c32c9ef14d9b7275ae1c
Signed-off-by: Sasidharan Sambasivam <sasidharan.s.sambasivam@ericsson.com>
8 years agoInitial commit for DHCPService 01/30701/5
Vishal Thapar [Fri, 4 Dec 2015 09:13:38 +0000 (14:43 +0530)]
Initial commit for DHCPService

This adds basic skeletal code for DHCP Service to be used
by VPNService modules.

Change-Id: I988d87d1d4cc3b6345ca7b47d2a7f38f1a4e7c5a
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoYang changes for l3vpn 43/31043/3
Deepthi V V [Wed, 9 Dec 2015 04:50:44 +0000 (10:20 +0530)]
Yang changes for l3vpn

Change-Id: I0e5432d8fdff26afc94cc6347d9f74e03db70ffd
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
8 years agoMerge "Distinguish internal vs external tunnels"
Vivek Srivastava [Wed, 9 Dec 2015 05:29:48 +0000 (05:29 +0000)]
Merge "Distinguish internal vs external tunnels"

8 years agoMerge "Fixing issues with idmanager Adding if-index support for interfacemanager"
Vishal Thapar [Wed, 9 Dec 2015 05:23:29 +0000 (05:23 +0000)]
Merge "Fixing issues with idmanager Adding if-index support for interfacemanager"

8 years agoMigrate lockmanager-api yang-binding to mdsal 28/31028/1
Thanh Ha [Tue, 8 Dec 2015 23:51:08 +0000 (18:51 -0500)]
Migrate lockmanager-api yang-binding to mdsal

Change-Id: I9cb7a60591b5913798dd461701ee802718e07ea8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoDistinguish internal vs external tunnels 03/31003/1
Faseela K [Tue, 8 Dec 2015 18:01:52 +0000 (23:31 +0530)]
Distinguish internal vs external tunnels

Change-Id: I79fda67bd63fbb4c5214291743520d5c7e70dcc8
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoFixing issues with idmanager 21/30921/2
Faseela K [Mon, 7 Dec 2015 17:49:07 +0000 (23:19 +0530)]
Fixing issues with idmanager
Adding if-index support for interfacemanager

Change-Id: If607bb91f14d729478065b7c5af29f26ffbd8e28
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoadded arputil module 39/30539/12
suneel verma [Thu, 3 Dec 2015 10:05:07 +0000 (15:35 +0530)]
added arputil module

utility rpcs are added for sending arp request
arp response and finding mac address of ip

Change-Id: I08416fb2a4273bcb8c5e82f4ea6ffb6f4d6e47d8
Signed-off-by: suneel verma <k.v.suneelu.verma@ericsson.com>
8 years agoUse odlparent-lite as artifacts parent 63/30363/2
Thanh Ha [Sun, 29 Nov 2015 22:51:13 +0000 (17:51 -0500)]
Use odlparent-lite as artifacts parent

We created odlparent-lite to provide a minimal pom which allows projects
to publish to the correct server. Without this ${project}-artifacts may
fail to deploy to Nexus.

Change-Id: Ib49a27bcf7baac7da276bac133a5b54305755b48
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Adding IdManager/LockManager and related Changes"
Vishal Thapar [Mon, 7 Dec 2015 06:27:21 +0000 (06:27 +0000)]
Merge "Adding IdManager/LockManager and related Changes"

8 years agoMerge "Initial checkin for ITM module"
Vishal Thapar [Fri, 4 Dec 2015 14:09:17 +0000 (14:09 +0000)]
Merge "Initial checkin for ITM module"

8 years agoAdding IdManager/LockManager and related Changes 93/30693/3
Manohar SL [Thu, 3 Dec 2015 09:53:03 +0000 (15:23 +0530)]
Adding IdManager/LockManager and related Changes

Change-Id: I5910c4537a5825667c04a6ca71312c83775e2a99
Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
8 years agoInitial checkin for ITM module 94/30694/1
HemaTG [Fri, 4 Dec 2015 08:59:38 +0000 (14:29 +0530)]
Initial checkin for ITM module

Change-Id: Ib79a940816091af1eee927c5f2c5b26f934278f9
Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
8 years agoJUnits for Interface Manager 27/30527/1
Faseela K [Thu, 3 Dec 2015 07:31:00 +0000 (13:01 +0530)]
JUnits for Interface Manager
   - Adding junits for vlan and tunnel interface configuration
   - Fixing some NPEs found during unit testing
   - Adding some more logs for debugging a random issue found during topology update
   - Cleaning up unused code

Change-Id: Ib5fd2668ff14fe8583ac11c717c4cb23fc787755
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years ago- Adding tunnel-type-mpls-over-gre for distinguishing internal vs external tunnels 75/30375/1
Faseela K [Mon, 30 Nov 2015 11:15:30 +0000 (16:45 +0530)]
- Adding tunnel-type-mpls-over-gre for distinguishing internal vs external tunnels
- Fixing NPE during pre-provisioning of ovs tunnel ports
- Adding two new RPCs in interface manager needed by vpnservice

Change-Id: Ied0cf95c7bf5aa1963cb5c5778e4af8edf27753c
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoFixing "inconsistency will tunnel-port creation" issue 95/30195/2
Faseela K [Wed, 25 Nov 2015 12:32:51 +0000 (18:02 +0530)]
Fixing "inconsistency will tunnel-port creation" issue
    - parallel tunnel port creations were giving inconsistent results due
      to issues in transaction commit timeouts
    - Adding more debug logs

Change-Id: Ib108cb9e23327fcd2a2533f1eb4338dccaa4ef6a
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoWorking with OVS 61/29461/3
Faseela K [Fri, 20 Nov 2015 10:35:08 +0000 (16:05 +0530)]
Working with OVS
    - Config and Topology listeners and helpers
- Yang updations
- Datastore job co-ordinator prototype
- Incorporating previous review comments

Change-Id: I81be9516578172497d3a45fbfcda0c01bffe9613
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoInitial Code commit for OVS Support for vpnservice 76/29176/2
Faseela K [Tue, 3 Nov 2015 09:03:53 +0000 (14:33 +0530)]
Initial Code commit for OVS Support for vpnservice

Change-Id: I5435f9f4717a750d151f3f5562d7994bcd9d6cdc
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoAdded odl-vpnservice-openstack feature 68/28368/1
Vishal Thapar [Wed, 14 Oct 2015 08:31:02 +0000 (14:01 +0530)]
Added odl-vpnservice-openstack feature

Basic feature added for M3. More bundles will be added later.

Change-Id: Ie9e99cd5c1fa8937236335c6f25f27624f65e624
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoUse features-restconf from netconf project repository 44/27344/4
Vratko Polak [Wed, 23 Sep 2015 12:22:16 +0000 (14:22 +0200)]
Use features-restconf from netconf project repository

This edit was omitted from Change 26456.

The previous controller feature repository is still present in Nexus,
but it should not be used, and it is not defined as dependency.

Since Change 26348, this omission is causing failures
in merge and distribution jobs across all ODL projects,
because SingleFeatureTest tries and fails to see the controller repository.

Change-Id: I23a4e326eaa280c659226a0a2b20c13c72d67e0b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoMigration to use MD-SAL Project 48/26348/5
Tony Tkacik [Wed, 2 Sep 2015 14:13:29 +0000 (16:13 +0200)]
Migration to use MD-SAL Project

Change-Id: Ic7185f1fe85b53fe00b29c1023762d704cd3e51a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoUse odlparent configuration for JaCoCo UT 06/26306/2
Thanh Ha [Wed, 2 Sep 2015 05:11:08 +0000 (01:11 -0400)]
Use odlparent configuration for JaCoCo UT

Change-Id: I3c6d71eb95e44fb774544f5e4d5ad6b23dd3169c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMigrate netconf/restconf dependencies 56/26456/1
Tomas Cere [Thu, 3 Sep 2015 12:48:49 +0000 (14:48 +0200)]
Migrate netconf/restconf dependencies

Change-Id: If2ce94f15e77a4af45bc2e96639f5727897386aa
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoFix license header violations in interfacemgr 02/24902/1
Thanh Ha [Fri, 7 Aug 2015 04:26:29 +0000 (00:26 -0400)]
Fix license header violations in interfacemgr

Change-Id: Ib29a1d93f27521fefe288fe5944e3b06e0bba60a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in bgpmanager 01/24901/1
Thanh Ha [Fri, 7 Aug 2015 04:22:18 +0000 (00:22 -0400)]
Fix license header violations in bgpmanager

Change-Id: Ic18e079e767a705b1e59d37b09cfa9fcd1ae45a4
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in vpnmanager 00/24900/1
Thanh Ha [Fri, 7 Aug 2015 04:21:01 +0000 (00:21 -0400)]
Fix license header violations in vpnmanager

Change-Id: I08646d90096226c3a791dd1795320170cb8d255f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in fibmanager 99/24899/1
Thanh Ha [Fri, 7 Aug 2015 04:19:33 +0000 (00:19 -0400)]
Fix license header violations in fibmanager

Change-Id: I07f1a31f83cfb5b0758135e4cf1d8f7f8ba06850
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoExplicitly set git-review branch to master 33/24433/1
Thanh Ha [Wed, 22 Jul 2015 19:31:01 +0000 (15:31 -0400)]
Explicitly set git-review branch to master

Change-Id: Ib97f4a7570803a8fe085140037fb3b3d328a66a6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix for Bug 3428 - table0 tunnel entry not deleted 74/23274/2
Abhinav Gupta [Thu, 25 Jun 2015 13:04:01 +0000 (18:34 +0530)]
Fix for Bug 3428 - table0 tunnel entry not deleted

Change-Id: I14cf648026a1a66e1e7014e7c97511d395a76dec
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
8 years agoCherry Pick to Master - Fix for Bug3644 67/22567/1
Abhinav Gupta [Thu, 11 Jun 2015 12:30:09 +0000 (18:00 +0530)]
Cherry Pick to Master - Fix for Bug3644

Fix for Bug3644 - Same labels for route in diff vpns

Overlapping IPs in separate VPNs were assigned same label based on
nexthopip. Fix modifies the way label is created using key as rd+nexthopip
info

Change-Id: I4a0717c0c3f69975284294be7af445b380f409bc
Signed-off-by: Abhinav Gupta <abhi3123@gmail.com>
(cherry picked from commit 7ece688c41702efe0c4e4c5b8be0785f4622848c)

8 years agoMerge "Fix for BUG 3623"
Vivek Srivastava [Thu, 11 Jun 2015 09:29:55 +0000 (09:29 +0000)]
Merge "Fix for BUG 3623"

8 years agoMerge "Handling port up down event for Bug 3558"
Prem Sankar [Wed, 10 Jun 2015 18:41:32 +0000 (18:41 +0000)]
Merge "Handling port up down event for Bug 3558"

8 years agoFix for BUG 3623 52/22252/1
Vishal Thapar [Tue, 9 Jun 2015 10:58:35 +0000 (16:28 +0530)]
Fix for BUG 3623

Remove entry in dpn-endpoint map when tunnel interface is deleted

Change-Id: If7747ce9f9d1a2465d62e1f563ec1fdd4e39d422
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
(cherry picked from commit 3bdb8284ba3a5b811ea19e6aa1f905b02a139605)

8 years agoBug 3615: Fib should be in operational datastore 38/21938/11
Anuradha Raju [Fri, 5 Jun 2015 10:17:25 +0000 (15:47 +0530)]
Bug 3615: Fib should be in operational datastore

1.Changes made for listen to ,read from and write to operational ds.
2.made config-false and attributes mandatory.

Change-Id: I154fb76523a40adbdecca5a51d34c887b3bd9ed9
Signed-off-by: Anuradha Raju <anuradha.raju@ericsson.com>
(cherry picked from commit fe698d22879f0282bdd1fa68ccc9200bcc3fff53)

8 years agoHandling port up down event for Bug 3558 71/22171/1
Sasidharan Sambasivam [Thu, 4 Jun 2015 10:15:34 +0000 (15:45 +0530)]
Handling port up down event for Bug 3558

Change-Id: Ic76ec245aca3d0557a62ec88b6ae17585b3e81fb
Signed-off-by: Sasidharan Sambasivam <sasidharan.s.sambasivam@ericsson.com>
(cherry picked from commit 6284a153d3f187e71892b4bd472a654051b0df5f)

8 years agoPartial Fix for Bug 3428 46/21846/1
Vishal Thapar [Wed, 3 Jun 2015 19:24:18 +0000 (00:54 +0530)]
Partial Fix for Bug 3428

This fixes flow delete for tunnel interfaces
When interface is deleted we can't read Config DS to get NodeConnector
as it is already deleted.
This fix adds a new API.

Pending:
Group entries still not deleted, needs fix in MDSAL Util.

Change-Id: Ib82c68518f312b2c169455d85c5afacc82f38cbe
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
(cherry picked from commit dba7df67fcbe1c7aae2b2503b1811c07c24ad42f)

8 years agoMerge "Fix for Bug 3387 - Delete VPN should clear corresponding VrfTable in FIB DS"
Vivek Srivastava [Tue, 2 Jun 2015 14:32:49 +0000 (14:32 +0000)]
Merge "Fix for Bug 3387 - Delete VPN should clear corresponding VrfTable in FIB DS"

8 years agoBUG 3510: Disable Node events in fibmanager 43/21643/1
Vishal Thapar [Tue, 2 Jun 2015 08:35:06 +0000 (14:05 +0530)]
BUG 3510: Disable Node events in fibmanager

Shouldn't add table miss entries for fibmanager.
Retaining the code but disabling handling of
Node change notifications

Change-Id: I3f28605a3ccd684c77f6843a1d7d71963fab508a
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
(cherry picked from commit 6440cff32f2ad102cdc8c3bf9c569466f960682b)

8 years agoVersion bump for vpnservice on master 95/21195/1
Vishal Thapar [Wed, 27 May 2015 11:40:14 +0000 (17:10 +0530)]
Version bump for vpnservice on master

Change-Id: Id53c6e885fc29c5530d2beb1e11124b31ad8490a
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoFix for Bug 3387 - Delete VPN should clear corresponding VrfTable in FIB 87/21187/1
Manisha Malla [Wed, 27 May 2015 10:04:03 +0000 (15:34 +0530)]
Fix for Bug 3387 - Delete VPN should clear corresponding VrfTable in FIB
DS

Change-Id: Icd21e2a428f077bb52ef3548c3b875067e98d472
Signed-off-by: Manisha Malla <manisha.malla@ericsson.com>
8 years agoMerge "Fix for bug 3357, handled update on vpn interface"
Vivek Srivastava [Wed, 27 May 2015 07:14:37 +0000 (07:14 +0000)]
Merge "Fix for bug 3357, handled update on vpn interface"

8 years agonexthopip null check for single dpn case - Bug3383 13/21113/2
Abhinav Gupta [Tue, 26 May 2015 10:21:04 +0000 (15:51 +0530)]
nexthopip null check for single dpn case - Bug3383

Change-Id: I1de77db6612dd56740aa00603fdc9b66d4cf24a0
Signed-off-by: Abhinav Gupta <abhi3123@gmail.com>
8 years agoFix for bug 3357, handled update on vpn interface 88/21088/3
Sasidharan Sambasivam [Tue, 26 May 2015 08:04:15 +0000 (13:34 +0530)]
Fix for bug 3357, handled update on vpn interface

Change-Id: I656d0fc51c32c4c7135b05452412604fd2af9566
Signed-off-by: Sasidharan Sambasivam <sasidharan.s.sambasivam@ericsson.com>
8 years agoBUG 3292: Fix in MatchType for in_port 38/20938/1
Vishal Thapar [Fri, 22 May 2015 07:34:57 +0000 (13:04 +0530)]
BUG 3292: Fix in MatchType for in_port

1. Replace getMatchValues with getBigMatchValues
2. Log stacktrace, not just exception for NPE in install/remove flow/group

Change-Id: I9ee4093b028bda864fd554e95306df032a494038
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoBug 3292: Invalid Range exception in setDpnId 81/20881/1
Vishal Thapar [Thu, 21 May 2015 10:10:13 +0000 (15:40 +0530)]
Bug 3292: Invalid Range exception in setDpnId

1. Change dpnId from long to BigInteger

Change-Id: I1235500337561784bdf836d2dd8f486b598c416d
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoBug 3313 - Fix <relativePath> to config-parent 65/20865/1
Thanh Ha [Wed, 20 May 2015 23:17:55 +0000 (19:17 -0400)]
Bug 3313 - Fix <relativePath> to config-parent

Incorrect relative paths makes this build unbuildable.

Change-Id: I9fc288e688c66c09e7f7456f67fe3e9e4b2dc015
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 3248: Fix for remoteNextHop 99/20699/2
Anuradha Raju [Tue, 19 May 2015 08:09:53 +0000 (13:39 +0530)]
Bug 3248: Fix for remoteNextHop

1. set OF portNo in makeRemoteFlow
2. Added JUnit tests for fib-manager

Change-Id: Ifb2f5336e32abb1660d0b41d27e655e7c980c564
Signed-off-by: Anuradha Raju <anuradha.raju@ericsson.com>
8 years agoBug 3248 84/20484/5
Deepthi V V [Fri, 15 May 2015 08:39:09 +0000 (14:09 +0530)]
Bug 3248

1. Fix remove flow entry for tunnel nexthop
2. Fib entry should be read from operational datastore.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: Ic113ef775ea0053a6db7929f3dc7c68c8409dd43

8 years agoPartial fix for remoteNextHop 52/20452/2
Vishal Thapar [Thu, 14 May 2015 23:10:51 +0000 (04:40 +0530)]
Partial fix for remoteNextHop

1. Adds flows at time of interface creation. No need to add tunnel
interface to any vpn instance.
2. Removes some superflous code
3. Adds retry mechanism: https://git.opendaylight.org/gerrit/20370

Change-Id: I17da5ade46d73abfa22878de2ccbad37803b2e8a
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoMerge "Fix for remoteNextHop"
Prem Sankar [Thu, 14 May 2015 20:19:53 +0000 (20:19 +0000)]
Merge "Fix for remoteNextHop"

8 years agoAdded unit tests for NextHopManager 26/20426/3
Abhinav Gupta [Thu, 14 May 2015 19:06:26 +0000 (00:36 +0530)]
Added unit tests for NextHopManager

Change-Id: Ia4cdd6cf1d938305f120129da0c8460b9681325b
Signed-off-by: Abhinav Gupta <abhi3123@gmail.com>
8 years agoFix for remoteNextHop 09/20409/1
Vishal Thapar [Thu, 14 May 2015 16:48:38 +0000 (22:18 +0530)]
Fix for remoteNextHop

1. Tunnel interfaces need goto:LFIB, not FIB table.
2. Changed asyncwrite to syncwrite in vpninterfacemanager
3. Added Copyright.

Change-Id: Ie0295bbe3e084416d330e5bce7af06adac9cf132
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agosupport to get fib service in vpn manager 61/20361/2
Sasidharan Sambasivam [Thu, 14 May 2015 11:08:08 +0000 (16:38 +0530)]
support to get fib service in vpn manager

Change-Id: I4198abf8edee93999a073e0364cdffa840662dba
Signed-off-by: Sasidharan Sambasivam <sasidharan.s.sambasivam@ericsson.com>
8 years agoFix OF pipeline for local nexthop 56/20356/2
Vishal Thapar [Thu, 14 May 2015 10:04:49 +0000 (15:34 +0530)]
Fix OF pipeline for local nexthop

Change-Id: I949051e5b53cf287307fd4005b1a54bc614e9a78
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoChanges to NextHopManager 44/20344/2
Abhinav Gupta [Thu, 14 May 2015 08:42:49 +0000 (14:12 +0530)]
Changes to NextHopManager

1. Changed VpnInterfaceChangeListener DS type to Operational.
2. Added logging statements.

Change-Id: Ia212ebe2e342eefe7cb570963fab327bdd207280
Signed-off-by: Abhinav Gupta <abhi3123@gmail.com>
8 years agoHandle first iand last prefix for vrf on a dpn. 84/20284/4
Deepthi V V [Wed, 13 May 2015 18:32:05 +0000 (00:02 +0530)]
Handle first iand last prefix for vrf on a dpn.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: Ibd44c679995c1633a77a0eb190f95adf455634d8

8 years agoMerge "Table Miss Entries for FIB"
Sikhivahan GUndu [Thu, 14 May 2015 08:32:13 +0000 (08:32 +0000)]
Merge "Table Miss Entries for FIB"

8 years agoMerge "interfacemgr: Add copyright wherever missing"
Sikhivahan GUndu [Thu, 14 May 2015 07:58:05 +0000 (07:58 +0000)]
Merge "interfacemgr: Add copyright wherever missing"

8 years agoTable Miss Entries for FIB 41/20341/1
Dimple Jain [Thu, 14 May 2015 07:41:30 +0000 (13:11 +0530)]
Table Miss Entries for FIB

Signed-off-by: Dimple Jain <dimple.jain@ericsson.com>
Change-Id: If48b44cc3c04c6ff5a5b4fccf7edf20817de528a

8 years agointerfacemgr: Add copyright wherever missing 37/20337/1
Vishal Thapar [Thu, 14 May 2015 07:21:34 +0000 (12:51 +0530)]
interfacemgr: Add copyright wherever missing

Change-Id: I84e20abed5fd3c6d730e141360248bfb53476b2d
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoAdded Action Key to support multiple actions 36/20336/1
HemaTG [Thu, 14 May 2015 07:00:59 +0000 (12:30 +0530)]
Added Action Key to support multiple actions

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
Change-Id: Ia72185d30571e22dd80bd8394690c401fe109592

8 years agoMisc fixes in vpnservice 70/20270/2
Vishal Thapar [Wed, 13 May 2015 16:19:18 +0000 (21:49 +0530)]
Misc fixes in vpnservice

1. Fixes some issues when adding vpnInterface
2. Fixes exception when adding interface
3. Cleans up some logging.

Change-Id: I97c277df16c02406951977578dd5e4568ed9e770
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoChanges to NextHopManager 64/20264/1
Abhinav Gupta [Wed, 13 May 2015 14:27:10 +0000 (19:57 +0530)]
Changes to NextHopManager

1. Added removelocalnexthop/removeremotenexthop code
2. Added rpc for removelocalnexthop
3. Pop MPLS action added in createlocalnexthop

Change-Id: I02bed960c01d25c96a4a19c2ae6cbb01201451c7
Signed-off-by: Abhinav Gupta <abhi3123@gmail.com>
8 years agoMerge "Added copyright and updated appropriate log levels"
Vivek Srivastava [Wed, 13 May 2015 13:32:36 +0000 (13:32 +0000)]
Merge "Added copyright and updated appropriate log levels"

8 years agoAdded copyright and updated appropriate log levels 57/20257/1
HemaTG [Wed, 13 May 2015 13:03:30 +0000 (18:33 +0530)]
Added copyright and updated appropriate log levels

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
Change-Id: I8a84498328cad5b66ca61b2446925c57dbde2ede

8 years agoMerge "JUnit for IdManager"
Vivek Srivastava [Wed, 13 May 2015 13:04:14 +0000 (13:04 +0000)]
Merge "JUnit for IdManager"

8 years agoFix for FibManager's vpnManager dependency issue 33/20233/1
Vishal Thapar [Wed, 13 May 2015 10:40:45 +0000 (16:10 +0530)]
Fix for FibManager's vpnManager dependency issue

1. Fixes the issue where fibmanager's dependencies are not set.
2. Cleans up some logging entries.
3. Adds a new log entry for better troubleshooting.

Change-Id: If2809e140c22905dddb827995dc25c6f8f0043e0
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoMerge "VpnManager: Log categorization"
Sikhivahan GUndu [Wed, 13 May 2015 08:55:37 +0000 (08:55 +0000)]
Merge "VpnManager: Log categorization"

8 years agoVpnManager: Log categorization 18/20218/2
Manisha Malla [Wed, 13 May 2015 06:54:35 +0000 (12:24 +0530)]
VpnManager: Log categorization

Change-Id: I600d6e390222538ec7f75a89f17faf25b447b7d7
Signed-off-by: Manisha Malla <manisha.malla@ericsson.com>
8 years agoJUnit for IdManager 14/20114/3
Dimple Jain [Tue, 12 May 2015 11:43:13 +0000 (17:13 +0530)]
JUnit for IdManager

Signed-off-by: Dimple Jain <dimple.jain@ericsson.com>
Change-Id: Iefd165f9a23359a443edfa4994687fe0dd3aab77