vpnservice.git
7 years agoBump versions by 0.1.0 for next dev cycle 52/43452/3 master
Thanh Ha [Mon, 8 Aug 2016 21:50:22 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I57cbe9d258c95bf937468011a18a531037995902
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd missing license headers 62/42362/1
Thanh Ha [Sat, 23 Jul 2016 00:35:29 +0000 (20:35 -0400)]
Add missing license headers

Change-Id: Ic3d8419557a86eea5322294bbd2aea497827be7d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate openflowplugin feature names 93/41793/1
Colin Dixon [Wed, 13 Jul 2016 23:41:15 +0000 (19:41 -0400)]
Update openflowplugin feature names

Change-Id: I88ef5b2f158c70aed98ef0b0c5343893d19dd019
Signed-off-by: Colin Dixon <colin@colindixon.com>
7 years agoMerge "Upgrade ietf-{inet,yang}-types to 2013-07-15"
Thanh Ha [Wed, 13 Jul 2016 20:41:55 +0000 (20:41 +0000)]
Merge "Upgrade ietf-{inet,yang}-types to 2013-07-15"

7 years agoMerge "remove dependency on neutron dummy provider"
Vishal Thapar [Wed, 13 Jul 2016 12:38:16 +0000 (12:38 +0000)]
Merge "remove dependency on neutron dummy provider"

7 years agoMerge "Fixed ItmModuleTest & ItmModuleFactoryTest which were in wrong directory"
Prem Sankar [Tue, 12 Jul 2016 15:25:51 +0000 (15:25 +0000)]
Merge "Fixed ItmModuleTest & ItmModuleFactoryTest which were in wrong directory"

7 years agoMerge "Fixed IBgpManager by moving it, as it was in clearly wrong directory"
Prem Sankar [Tue, 12 Jul 2016 15:24:54 +0000 (15:24 +0000)]
Merge "Fixed IBgpManager by moving it, as it was in clearly wrong directory"

7 years agoremove dependency on neutron dummy provider 69/41369/1
Isaku Yamahata [Wed, 6 Jul 2016 03:30:35 +0000 (20:30 -0700)]
remove dependency on neutron dummy provider

Now neutron dummyprovider does nothing and about to be removed.
So this patch removes dependency on neutorn dummy provider.

Change-Id: I41ee734ecdd18a46d4ada6c632f6b8dfc655282f
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 71/41071/1
Lorand Jakab [Wed, 29 Jun 2016 21:41:29 +0000 (16:41 -0500)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: If6475a593e1d46e988be86a2be2db4437795126b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoneutron: unbreak of neutron northbound yang model revise 58/40258/1
Isaku Yamahata [Mon, 13 Jun 2016 22:02:59 +0000 (15:02 -0700)]
neutron: unbreak of neutron northbound yang model revise

The patch series[1] for ODL neutron northbound changes its yang model.
Which breaks neutron service. This patch unbreaks it.

[1] https://git.opendaylight.org/gerrit/#/q/status:open+project:neutron+branch:master+topic:yang-model-revise

Change-Id: I11b7694e24d2c6ff212503673d0bf19ece4a3f03
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Integration of fcaps applications"
Vivek Srivastava [Wed, 4 May 2016 12:18:57 +0000 (12:18 +0000)]
Merge "Integration of fcaps applications"

7 years agoMerge "IDManager fixes for restart scenario"
Vivek Srivastava [Wed, 4 May 2016 12:16:34 +0000 (12:16 +0000)]
Merge "IDManager fixes for restart scenario"

7 years agoIntegration of fcaps applications 34/38334/3
Viji J [Tue, 3 May 2016 13:48:48 +0000 (19:18 +0530)]
Integration of fcaps applications

Change-Id: If2fffa37ebed025b203b280ebf7b88a606c4823d
Signed-off-by: Viji J <viji.j@ericsson.com>
7 years agoMerge "Integration of Fcaps framework"
Vivek Srivastava [Wed, 4 May 2016 10:56:57 +0000 (10:56 +0000)]
Merge "Integration of Fcaps framework"

7 years agoUpdated L2Gw changes in "neutronvpn", "elanmanager" and "dhcpservice" modules 32/38332/2
Shashidhar R [Tue, 3 May 2016 12:59:19 +0000 (18:29 +0530)]
Updated L2Gw changes in "neutronvpn", "elanmanager" and "dhcpservice" modules

- Used entity ownership service to handle l2gw requests only in one cluster node.
- Registered for entity ownership for elan entity to process all the l2gw requests.
- Taken out the datastore jobcoordinator jobs into separate classes.
- Handled external tunnel state events.

Change-Id: I39a2a24c8927e48fc7d0299de008cfff9ca6d2b4
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
7 years agoIntegration of Fcaps framework 31/38331/5
Viji J [Tue, 3 May 2016 12:59:19 +0000 (18:29 +0530)]
Integration of Fcaps framework

Change-Id: I68429a51ba6cd8a7d49a426b78fad866efdf126e
Signed-off-by: Viji J <viji.j@ericsson.com>
7 years agoMerge "Natservice module bug fixes"
Vivek Srivastava [Tue, 3 May 2016 10:58:22 +0000 (10:58 +0000)]
Merge "Natservice module bug fixes"

7 years agoNatservice module bug fixes 66/38266/1
Sumanth MS [Mon, 2 May 2016 12:10:14 +0000 (17:40 +0530)]
Natservice module bug fixes

Change-Id: I8535d504b50d6b1a1a7fa8e14d51212596017b4c
Signed-off-by: Sumanth MS <sumanth.ms@ericsson.com>
7 years agoVxlan/Gre co-existence,Alarms,tunnelstate,TR fixes 56/38256/1
HemaTG [Mon, 2 May 2016 09:27:40 +0000 (14:57 +0530)]
Vxlan/Gre co-existence,Alarms,tunnelstate,TR fixes

Change-Id: Ia253c413dc198dce371b6f87c2c67af2bdb324b5
Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
7 years agoMerge "DHCP Handling for TOR VM"
Vishal Thapar [Sat, 30 Apr 2016 17:45:13 +0000 (17:45 +0000)]
Merge "DHCP Handling for TOR VM"

7 years agoFixes in interface manager and aliveness monitor 26/38226/1
Kiran N Upadhyaya [Fri, 29 Apr 2016 10:50:56 +0000 (16:20 +0530)]
Fixes in interface manager and aliveness monitor

Removing HwVTEP tunnel entries from topology configuration and operational
datastores
cli command to display internal tunnels is fixed to show the interface
name along with the datapath node identifier
A check has been add to update interface operational state only of it
exists in the datastore
Tunnel to DC gateway should not have key "flow" set
Tap interface not getting deleted from interface operational datastore is
fixed
Interface operational status has been handled to get updated based on port
up/down events
Repopulation of monitor configuration after re-enabling tunnel monitor has
been fixed
Optimizations in aliveness monitor error handling code

Change-Id: I19f0ec5fb0133575e6e08a741f3f0f9c4b805ba7
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
7 years agoDHCP Handling for TOR VM 09/38009/4
Kency Kurian [Fri, 22 Apr 2016 10:04:52 +0000 (15:34 +0530)]
DHCP Handling for TOR VM

- As the TOR floods the packets to the CSS mesh, some logic should be
  added such that only one CSS punts the DHCP packet to the controller and
  the other CSS drops the DHCP packet.
- The designated CSS is chosen for each TOR-ELAN pair and it is stored in
  the datastore.

Change-Id: I695f1a7600938c1e4f6411f9752de20bf44349cd
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
7 years agoBFD monitoring changes 51/37651/5
Kiran N Upadhyaya [Wed, 13 Apr 2016 14:06:19 +0000 (19:36 +0530)]
BFD monitoring changes

Enabling/Disabling BFD monitor was fixed. Updates to the  monitor
parameters were not being considered while writing to the data store.

Change-Id: Iaa9a71b353a78d8ac626a81dbe43e1587b8bbdf8
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
7 years agoMerge "BUG 5783: Ping test is FAILED from VM to Invisible IP which is hosted non...
Vishal Thapar [Wed, 27 Apr 2016 11:36:21 +0000 (11:36 +0000)]
Merge "BUG 5783: Ping test is FAILED from VM to Invisible IP which is hosted non-nexthop."

8 years agoTunnel monitoring changes 50/37650/5
Kiran N Upadhyaya [Mon, 4 Apr 2016 13:22:12 +0000 (18:52 +0530)]
Tunnel monitoring changes

Code revision in Aliveness Monitor files related to fetching mac address
from data store.
Monitor profile creation for both the tunnel endpoints was fixed.
Changes in JUNIT test cases related to tunnel monitoring.

Change-Id: I0843ee855f854a3fd98d212516292d8b34a8409c
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
8 years agoMerge "LLDP monitor interval update fixes"
Vishal Thapar [Tue, 26 Apr 2016 17:05:59 +0000 (17:05 +0000)]
Merge "LLDP monitor interval update fixes"

8 years agoBUG 5783: Ping test is FAILED from VM to Invisible IP which 96/38096/3
Suraj Ranjan [Tue, 26 Apr 2016 07:20:24 +0000 (12:50 +0530)]
BUG 5783: Ping test is FAILED from VM to Invisible IP which
is hosted non-nexthop.

a. Ensure that SubnetRoutePacketHandler can
work in deployments where DPNs (i.e., Computes)
are connected to different PLs of an ODL Cluster
(i.e., different ODL instances).  More specifically,
this leads to a deployment where the nexthop
reports to one PL but the invisible IP is in a DPN
that is reporting to a different PL in a clustered
environment.

b. Ensure that SubnetRoutePacketHandler can
work with apply_actions rule used in FIB Table
(i.e., Table 22).

c. Create Table 22 (SubnetRoute Table) rules
as default Table Miss Flows instead of dynamically
creating them on the fly in FibManager.

Change-Id: I86e0b3ff8761b054603bc9bb7853340078ad653d
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
Co-Authored-By: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
8 years agoFixed ItmModuleTest & ItmModuleFactoryTest which were in wrong directory 61/38061/1
Michael Vorburger [Mon, 25 Apr 2016 14:02:51 +0000 (16:02 +0200)]
Fixed ItmModuleTest & ItmModuleFactoryTest which were in wrong directory

Physical directory location and Java package declaration must match

Change-Id: Ie6e74d5c812a1d20f2ad7673c36446a310776dfa
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoFixed IBgpManager by moving it, as it was in clearly wrong directory 59/38059/1
Michael Vorburger [Mon, 25 Apr 2016 13:44:13 +0000 (15:44 +0200)]
Fixed IBgpManager by moving it, as it was in clearly wrong directory

In Eclipse this turns into a lot of red blood in the workspace.

For mvn CLI this is probably just ignored, but I'm pretty sure this
can't actually be working properly the way you intended it to being
where it currently is - look at the built
target/bgpmanager-api-0.3.0-SNAPSHOT.jar and note how the IBgpManager is
inside a single folder named, literally
"org.opendaylight.bgpmanager.api" (which is clearly wrong) instead of in
sub-folders org/opendaylight/bgpmanager/api. If it does work, then it's
a coincidence (it's clearly wrong in Java), and should be moved as
proposed here.

Change-Id: Iaeca062f3c029e7e1f07fc4503969b24617e44e7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoBug 5781: Ping test is FAILED from DC-GW to Invisible IP 97/37997/2
Suraj Ranjan [Fri, 22 Apr 2016 04:37:20 +0000 (10:07 +0530)]
Bug 5781: Ping test is FAILED from DC-GW to Invisible IP
Bug 5782: Subnet route is not getting programmed for a Network

For issue 5781:
The packets received by SubnetRouteHandler are all MPLS Label
wrapped if the packets are initiated by DC-GW.  As a result,
such packets are ignored by SubnetRoutePacketHandler.

This fix changes the SubnetRoute rule in Table 20 (LFIB Table)
to pop-off the mpls label before shipping packet to the
controller.

For issue 5782:
The race to fetch the RD by both VPNManager and SubnetRouteHandler
results in RD fetch failing in SubnetRouteHandler.  The fix is
for SubnetRouteHandler will now rely on VPNInstance config produced by
NeutronVpn rather than using vpn-instance-to-vpn-id config mapping
produced by VpnManager.

Change-Id: I73af156d0d55d7f79dca592c053f26398788b719
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoBug 5770: Ensuring proper cleanup of VPNControlpath. 52/37952/3
Suraj Ranjan [Thu, 21 Apr 2016 06:39:41 +0000 (12:09 +0530)]
Bug 5770: Ensuring proper cleanup of VPNControlpath.

1. Fix to ensure proper cleanup of Config and Oper DS
for VPN on removal of VPNs.

2. Fix for delayed release of VPN IDs by ensuring that
we release IDs for VPN and VPNInterfaces only when
the IDs are removed from respective OpDataStores.

Change-Id: Idda295e845af77355c2d7bdf0f60864782a9538c
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
Co-Authored-By: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
8 years agoTR: Local routes not appeared on deletion of VPN 59/37859/2
Suraj Ranjan [Wed, 20 Apr 2016 06:27:15 +0000 (11:57 +0530)]
TR: Local routes not appeared on deletion of VPN

-Datapath broken when router dissociated from VPN

-Enables tentative fixes to ensure clean up of datapath
on removal of an external VPN, when routers are present in it.

-Similarly enables a tentative fix to ensure clean up of datapath
on disassociation of routers from a VPN.

Change-Id: I224d39b33181d52c1332b1548a91eee167814a85
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
Co-Authored-By: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
8 years agoMerge "Clean up subnet routes when vpn is out of a dpn."
Vivek Srivastava [Wed, 20 Apr 2016 05:21:57 +0000 (05:21 +0000)]
Merge "Clean up subnet routes when vpn is out of a dpn."

8 years agoIDManager fixes for restart scenario 44/37244/2
unknown [Thu, 7 Apr 2016 09:03:19 +0000 (14:33 +0530)]
IDManager fixes for restart scenario

* ID Entry list is added to parent instead of child. During id
* allocation, check is added for existing id in parent pool.
* Without this fix, each node in cluster used to check only in the
* child pool. And when leader changes during restart, child pool
* didn't have the corresponding id-entry, resulting in a new
* different id.

Change-Id: I479da293eb557915c6a20eaaacc364b5e90c2bc1
Signed-off-by: Manu B <manu.b@ericsson.com>
8 years agoMerge "Support for SNAT and DNAT features in L3 forwarding services."
Vishal Thapar [Tue, 19 Apr 2016 07:39:10 +0000 (07:39 +0000)]
Merge "Support for SNAT and DNAT features in L3 forwarding services."

8 years agoSupport for SNAT and DNAT features in L3 forwarding services. 39/37539/4
Sumanth MS [Wed, 13 Apr 2016 11:50:29 +0000 (17:20 +0530)]
Support for SNAT and DNAT features in L3 forwarding services.

Change-Id: I86c62a4ed639fc8859960f281a8bce7f535ef6a6
Signed-off-by: Sumanth MS <sumanth.ms@ericsson.com>
8 years agoLLDP monitor interval update fixes 49/37649/2
Kiran N Upadhyaya [Fri, 1 Apr 2016 09:40:00 +0000 (15:10 +0530)]
LLDP monitor interval update fixes

Updating LLDP monitor interval by deleting the old monitor profile and
creating a new one based on existing monitor profiles

Change-Id: I42c105e40eecfab02cb8da78327cd2733720ec5a
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
8 years agoMerge "JUnit test cases for: 1> SubnetOpDpnManager.java 2> VpnSubnetRouteHandler...
Vishal Thapar [Fri, 15 Apr 2016 08:19:35 +0000 (08:19 +0000)]
Merge "JUnit test cases for: 1> SubnetOpDpnManager.java 2> VpnSubnetRouteHandler.java"

8 years agoClean up subnet routes when vpn is out of a dpn. 43/37643/1
Suraj Ranjan [Fri, 15 Apr 2016 07:22:30 +0000 (12:52 +0530)]
Clean up subnet routes when vpn is out of a dpn.

Fix to clean up subnet route flows on a dpn for a vpn
when the vpn is removed from that dpn.

Change-Id: I8fe43b3c80493f72fc08a1801d2a6cb81260f79a
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
Co-Authored-By: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
8 years agoJUnit test cases for: 32/37132/5
Suraj Ranjan [Tue, 5 Apr 2016 09:31:02 +0000 (15:01 +0530)]
JUnit test cases for:
1> SubnetOpDpnManager.java
2> VpnSubnetRouteHandler.java

Change-Id: I1932479338fdeef857ab18bc8725c909034b5295
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoFixing Braodcast stroms 65/37565/2
Nikolas Hermanns [Wed, 13 Apr 2016 17:26:23 +0000 (19:26 +0200)]
Fixing Braodcast stroms

When a broadcast package is received
through the internal tunnel it should
not be broadcasted to all internal
tunnels again. It shall only be
broadcasted in the ElanLocal
Broadcast group.

Change-Id: I9c96d6c5ed05203133e0d980a277613191ffde5a
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
8 years agoRemove features-ovsdb 64/37564/2
Vishal Thapar [Wed, 13 Apr 2016 16:50:55 +0000 (22:20 +0530)]
Remove features-ovsdb

VPNService only needs southbound features. Use southbound-features instead of features-ovsdb.

Change-Id: I152f70501e2052ec3fc98f5fccd5a86dcd4c987f
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoMerge "HwVTEP JUNITs, and fixing show:vxlan CLI"
Vishal Thapar [Tue, 12 Apr 2016 12:52:22 +0000 (12:52 +0000)]
Merge "HwVTEP JUNITs, and fixing show:vxlan CLI"

8 years agoMerge "L2 Gw connection support and Elan manager changes"
Vishal Thapar [Tue, 12 Apr 2016 12:20:29 +0000 (12:20 +0000)]
Merge "L2 Gw connection support and Elan manager changes"

8 years agoL2 Gw connection support and Elan manager changes 46/37246/3
Shashidhar R [Thu, 7 Apr 2016 10:07:17 +0000 (15:37 +0530)]
L2 Gw connection support and Elan manager changes

- Handled L2 Gw Connection CRUD related to Logical switch creation/Ucast/Mcast table updates in elanmanager module.
- Updated to use VXLAN provider segmentation id as the ELAN VNI for SR-IOV use cases.

Change-Id: If7bcc0a45a51773a75c7b7117a6a89e713e7eddc
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
8 years agoDo not deploy the karaf artifact 23/36323/2
Thanh Ha [Wed, 16 Mar 2016 20:44:13 +0000 (16:44 -0400)]
Do not deploy the karaf artifact

The karaf artifact is only used for testing. It does not need to be
released to the world.

Change-Id: I7f25d1310345c27417871fb94a79ef0348863dd5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoHwVTEP JUNITs, and fixing show:vxlan CLI 69/37169/4
Kiran N Upadhyaya [Wed, 30 Mar 2016 13:29:36 +0000 (18:59 +0530)]
HwVTEP JUNITs, and fixing show:vxlan CLI

JUNIT Test cases for HwVTEPInterface Helpers.
Fix for show:vxlan command output when switch is stopped.

Change-Id: Ic1a4d561a8e508bef1b896fcb2f77eb5caab4d3e
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
8 years agoSubnetRoute enhancements to VPN Service models 01/37001/5
Suraj Ranjan [Fri, 1 Apr 2016 12:18:39 +0000 (17:48 +0530)]
SubnetRoute enhancements to VPN Service models

This commit deals with changes required to construct
internal data structures to provide SubnetRoute
facility in VPN Service.  With SubnetRoute facility
all packets intended for a cloud coming from a
DC gateway will be punted to one DPN that will be
considered as designated DPN.

Change-Id: Ie33ad0c62bf686496460b94bd4de6f9e28e1ae5b
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
Co-Authored-By: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
Co-Authored-By: Karan Raj Singh <karan.raj.s.singh@ericsson.com>
Co-Authored-By: Achuth Maniyedath <achuth.maniyedath@ericsson.com>
8 years agoMerge "L2 Gw create changes related to ITM Tunnels creation in neutronvpn module"
Vishal Thapar [Mon, 4 Apr 2016 06:54:26 +0000 (06:54 +0000)]
Merge "L2 Gw create changes related to ITM Tunnels creation in neutronvpn module"

8 years agoHwVTEP support for interfacemanager 42/36942/6
Suraj Ranjan [Thu, 31 Mar 2016 09:46:43 +0000 (15:16 +0530)]
HwVTEP support for interfacemanager

Change-Id: Id1cc53124beb9995a401ecb6b4a0a8e2e12b8be6
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoL2 Gw create changes related to ITM Tunnels creation in neutronvpn module 88/36988/1
Shashidhar R [Fri, 1 Apr 2016 06:57:04 +0000 (12:27 +0530)]
L2 Gw create changes related to ITM Tunnels creation in neutronvpn module

Change-Id: Ib5508bab11a8528030d0752c9b8b189a6471da5a
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
8 years agoMerge "itm and mdsal porting"
Vishal Thapar [Thu, 31 Mar 2016 14:16:32 +0000 (14:16 +0000)]
Merge "itm and mdsal porting"

8 years agoitm and mdsal porting 17/36717/6
ANURADHA RAJU [Thu, 24 Mar 2016 07:12:13 +0000 (12:42 +0530)]
itm and mdsal porting

Change-Id: I9c2b3afa0d19608356e57704f0c85a3eaa3ed6d0
Signed-off-by: ANURADHA RAJU <anuradha.raju@ericsson.com>
8 years agoFixes for VLAN interfaces creation and DHCP for ELAN datapath 55/36855/1
Abhinav Gupta [Tue, 22 Mar 2016 07:30:15 +0000 (13:00 +0530)]
Fixes for VLAN interfaces creation and DHCP for ELAN datapath

1. VLAN interfaces created with portuuid
2. DHCP exception handling for tapinterfaces
3. Removes redundant code - mainly for trunkport extensions

Change-Id: I486a535b03a2ed05b4543a8522fcea731e3f28f3
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
8 years agoBasic Framework for HwVTEP Renderer in InterfaceManager 34/36434/4
Faseela K [Mon, 25 Jan 2016 13:21:49 +0000 (18:51 +0530)]
Basic Framework for HwVTEP Renderer in InterfaceManager

Change-Id: I7b59e5a233e12ba12db273475957441e7bd1b382
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoBug 5334 82/36382/1
Periyasamy Palanisamy [Wed, 24 Feb 2016 07:14:27 +0000 (12:44 +0530)]
Bug 5334

Added code to avoid NPE duirng resync

Change-Id: Iad151c2a5726408f76079b83cdc0fa770b181d51
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
(cherry picked from commit 35651c681489ca4c1fee31b72678a29d0eb45e88)

8 years agoBug 5334 : Delete ELANport , ELAN instance VLAN and re-create 14/36314/2
Faseela K [Fri, 4 Mar 2016 06:41:06 +0000 (12:11 +0530)]
Bug 5334 : Delete ELANport , ELAN instance VLAN and re-create
same does not program flows

Description : deleting trunk interfaces were programming the interface
operational status as down, and upon recreating the interface the state
was not updated back. Because of this none of the application flows were
programmed since they listen for interface operational state up event

Change-Id: Ib56277ef32a5f16c0db7246543791ab9a9fb7571
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoMerge "interface-manager yang change for supporting hwvtep node-id"
Vishal Thapar [Wed, 16 Mar 2016 07:05:40 +0000 (07:05 +0000)]
Merge "interface-manager yang change for supporting hwvtep node-id"

8 years agointerface-manager yang change for supporting hwvtep node-id 83/36183/2
Faseela K [Fri, 22 Jan 2016 11:54:55 +0000 (17:24 +0530)]
interface-manager yang change for supporting hwvtep node-id

Change-Id: I16da6ce89e5d7eb7bbe0eb1f5aa6039795e566eb
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoFix for gettunnelinterfacename RPC,removed whitesp 62/36162/1
HemaTG [Sat, 12 Mar 2016 15:33:48 +0000 (21:03 +0530)]
Fix for gettunnelinterfacename RPC,removed whitesp

Change-Id: Id379d373dab7274c2a72942b81cf12f04afeb628
Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
8 years agoif-index should not be released when port is removed on the switch 23/36123/1
Faseela K [Thu, 3 Mar 2016 08:02:01 +0000 (13:32 +0530)]
if-index should not be released when port is removed on the switch

Change-Id: I95956f34ae4f87c2b12eb155dda3a9b2883a4b28
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoDelete vlan-member should remove the interface parent info, if it is the 20/36120/1
Faseela K [Mon, 7 Mar 2016 17:31:56 +0000 (23:01 +0530)]
Delete vlan-member should remove the interface parent info, if it is the
last child of the parent

Change-Id: If6dfb7a35ae1d382e3540a49b2c85bdf492772fd
Signed-off-by: Faseela K <faseela.k@ericsson.com>
8 years agoExtra route fixes 30/36030/2
Manisha Malla [Thu, 10 Mar 2016 08:53:27 +0000 (14:23 +0530)]
Extra route fixes

Change-Id: I601c21ed50b3775efd1705992a2ee907b6b4ed5e
Signed-off-by: Manisha Malla <manisha.malla@ericsson.com>
8 years agoMerge "Added RPC for getFIxedIPsforNeutronPort + additional -ve validations for RPCs...
Vivek Srivastava [Thu, 10 Mar 2016 09:42:19 +0000 (09:42 +0000)]
Merge "Added RPC for getFIxedIPsforNeutronPort + additional -ve validations for RPCs via ECM"

8 years agoMerge "Bug 5268 - Handle l3vpn delete and recreate scenario -Handle switch restart...
Vivek Srivastava [Thu, 10 Mar 2016 09:38:19 +0000 (09:38 +0000)]
Merge "Bug 5268 - Handle l3vpn delete and recreate scenario -Handle switch restart and vm port down/up scenario -Handle inter dc route deletion -Remove usage of opstate in vpn-interfaces"

8 years agoAdded RPC for getFIxedIPsforNeutronPort + additional -ve validations for RPCs via ECM 33/36033/1
Abhinav Gupta [Thu, 10 Mar 2016 09:03:48 +0000 (14:33 +0530)]
Added RPC for getFIxedIPsforNeutronPort + additional -ve validations for RPCs via ECM

With other minor changes, removed a couple of unused functions.

Change-Id: I43dadbbc94d9b6cf5322e945922f25b201e37f69
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
8 years agoBug 5268 - Handle l3vpn delete and recreate scenario 47/35947/2
Deepthi V V [Wed, 9 Mar 2016 11:10:43 +0000 (16:40 +0530)]
Bug 5268 - Handle l3vpn delete and recreate scenario
-Handle switch restart and vm port down/up scenario
-Handle inter dc route deletion
-Remove usage of opstate in vpn-interfaces

Change-Id: Ia92cc62f0a68501e60591b5dd3712d9f7f866217
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
(cherry picked from commit da9cc6536c6f57f7b2c548961e7adfe85ee2cdcf)

8 years agoFixes/improvements containing the following six listed changes 72/35972/2
Abhinav Gupta [Tue, 8 Mar 2016 14:35:02 +0000 (20:05 +0530)]
Fixes/improvements containing the following six listed changes

1.Fix for vpninterfaces using portuuid as string as vpnInfName
2. displayFib Karaf CLI added
3. Change to proceed with nexthop null too in case of absence of any
tunnel
4. Calling removeGroup API instead of syncRemoveGroup to align with OVS
5. Additional check in getL3VPN
6. Retriving first fixed IP for port without looping over as per the
current support for single fixed IP per neutron port

Change-Id: Id13cfb1c84f57a039ca025076155745853cb0e7c
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
8 years agoUse {{VERSION}} in features and drop unneeded properties 13/35213/2
Stephen Kitt [Mon, 22 Feb 2016 17:13:00 +0000 (18:13 +0100)]
Use {{VERSION}} in features and drop unneeded properties

{{VERSION}} can replace many properties in features.xml (the versions
are then taken from the POM).

commons-net is provided in odlparent's dependency management, the
commons.net.version property can be safely dropped.

With the upgrade of Mockito in odlparent, PowerMock needs to be
upgraded to 1.6.4; we simply rely on odlparent to provide the correct
version.

Change-Id: Iddd2fcc429e95d7ffd81f314fe183d138dedeefd
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoBug 5308 62/35062/1
Periyasamy Palanisamy [Thu, 18 Feb 2016 08:58:39 +0000 (14:28 +0530)]
Bug 5308

Changes are made to remove the entries when VLAN interface is deleted.

Change-Id: I8095fdf7de426ddfa823552f9c80fbb03660d38d
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
(cherry picked from commit c6cba053f717ac46f42418a496c6f780f26b5cb1)

8 years agoMerge "Bug 5267 - Setting vlan id for termination end point not working"
Vishal Thapar [Fri, 19 Feb 2016 08:34:56 +0000 (08:34 +0000)]
Merge "Bug 5267 - Setting vlan id for termination end point not working"

8 years agoMerge "Bug 5199 : DHCP changes for handling OVS"
Vishal Thapar [Fri, 19 Feb 2016 08:34:34 +0000 (08:34 +0000)]
Merge "Bug 5199 : DHCP changes for handling OVS"

8 years agoMerge "Bug 5054:"
Vishal Thapar [Fri, 19 Feb 2016 08:31:55 +0000 (08:31 +0000)]
Merge "Bug 5054:"

8 years agoMerge "Bug 5092 : Flow incorrectly installed for LLDP mon"
Vishal Thapar [Fri, 19 Feb 2016 08:31:33 +0000 (08:31 +0000)]
Merge "Bug 5092 : Flow incorrectly installed for LLDP mon"

8 years agoMerge "Bug 5315 - NPE while creating Neutron Router w/o interface attached to it"
Vishal Thapar [Fri, 19 Feb 2016 08:30:56 +0000 (08:30 +0000)]
Merge "Bug 5315 - NPE while creating Neutron Router w/o interface attached to it"

8 years agoBug 5092 : Flow incorrectly installed for LLDP mon 51/34451/1
HemaTG [Tue, 26 Jan 2016 09:37:27 +0000 (15:07 +0530)]
Bug 5092 : Flow incorrectly installed for LLDP mon

Description :
  PUNT to controller flows are installed for DPNs in ITM mesh
  Release the correct ID recv from ID mgr to form the trunkInterfaceName

Change-Id: I0ee82b9c368933ee2867fb9430340d17a0ac830c
Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
(cherry picked from commit a6cd344f93f5bfb06b20d49268a4ae312d222fb2)

8 years agoBug 5264 : TEP delete does not clean up correctly 50/34450/1
HemaTG [Tue, 9 Feb 2016 00:28:55 +0000 (05:58 +0530)]
Bug 5264 : TEP delete does not clean up correctly

DESCRIPTION :
   While deleting the TEP the reverse tunnels were not
   deleted correctly.

Change-Id: I64be3c13214add3e5d920ade64d84686a95f8932
Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
(cherry picked from commit 53f0f6862f62d3862479492c56146ec4d371fa79)

8 years agoBug 5315 - NPE while creating Neutron Router w/o interface attached to it 47/34447/1
Abhinav Gupta [Thu, 11 Feb 2016 09:30:03 +0000 (15:00 +0530)]
Bug 5315 - NPE while creating Neutron Router w/o interface attached to it

Fixes NPE while creating Neutron Router without any interface
(subnet) attached to it.
Also removes a redundant null check

Change-Id: I9490d673c25771036ec93e19b9e9dee50bd53115
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
8 years agoBug 5054: 81/34381/1
Deepthi V V [Tue, 9 Feb 2016 14:27:32 +0000 (19:57 +0530)]
Bug 5054:

- Handle ITM tunnel deletion/switch restart triggering tunnel port up/down
  event in vpnservice application.

Change-Id: I3472881e9dd50d00d7585c3e3f13b2513faac69f
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
(cherry picked from commit 4fdc32e76106f1f012d99275b7aecf1a0cdd03ba)

8 years agoMerge "BUG:5179 ITM Tunnel Event for Multi-DPN Elan"
Vivek Srivastava [Wed, 10 Feb 2016 10:58:10 +0000 (10:58 +0000)]
Merge "BUG:5179 ITM Tunnel Event for Multi-DPN Elan"

8 years agoMerge "Bug 5179 : Fixing NPE in InterfaceManager"
Prem Sankar [Wed, 10 Feb 2016 07:36:27 +0000 (07:36 +0000)]
Merge "Bug 5179 : Fixing NPE in InterfaceManager"

8 years agoBug 5179 : Fixing NPE in InterfaceManager 47/34347/3
Faseela K [Tue, 9 Feb 2016 13:57:46 +0000 (19:27 +0530)]
Bug 5179 : Fixing NPE in InterfaceManager

Change-Id: I43a9792a1fa5066ad8116376c9b36a2be7854d57
Signed-off-by: Faseela K <faseela.k@ericsson.com>
(cherry picked from commit 6ea2beb7a1074c1cae20fac216bd14e2b3048cc2)

8 years agoBUG:5179 ITM Tunnel Event for Multi-DPN Elan 46/34346/2
epgoraj [Tue, 9 Feb 2016 17:04:39 +0000 (22:34 +0530)]
BUG:5179 ITM Tunnel Event for Multi-DPN Elan

Change-Id: Id1ec2005dc1635b148354844eb5e8c25df29e736
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
8 years agoBug 5199 : DHCP changes for handling OVS 42/34342/1
manubk2003 [Tue, 9 Feb 2016 15:05:12 +0000 (20:35 +0530)]
Bug 5199 : DHCP changes for handling OVS

Change-Id: I0fc88113efa8e65b1f879f9cc83ce8ac010fd764
Signed-off-by: manubk2003 <manu.b@ericsson.com>
8 years agoBug 5229 - SnIP attr add to SubnetMaps yang; handle neutron subnet deletion 23/34323/1
Abhinav Gupta [Thu, 4 Feb 2016 11:52:23 +0000 (17:22 +0530)]
Bug 5229 - SnIP attr add to SubnetMaps yang; handle neutron subnet deletion

1. Addition of subnetIP attr to SubnetMaps DS for SNAT use case
2. VPN interface update on internal/external VPN assc/dissc handling
3. Fixed issue with neutron subnet deletion
4. Logging changes to catch error exception completely
5. Refactoring in usage of locks
6. Additional null checks for NPEs

Change-Id: Iec01e8e4e8036ebff37408ecf59e6c8899889dd8
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
8 years agoMerge "Bug 5199 : Fixed unbind & other issues in intrface"
Vivek Srivastava [Tue, 9 Feb 2016 11:01:37 +0000 (11:01 +0000)]
Merge "Bug 5199 : Fixed unbind & other issues in intrface"

8 years agoBug 5229 : ElanInterfaceName should not follow the portName:vlanId format 06/34306/1
Faseela K [Tue, 9 Feb 2016 06:31:33 +0000 (12:01 +0530)]
Bug 5229 : ElanInterfaceName should not follow the portName:vlanId format

Change-Id: I552ba735ec005dda62c758e15c9be03bde217efc
Signed-off-by: Faseela K <faseela.k@ericsson.com>
(cherry picked from commit 3584b5a15888ff8ddf8d71ce893f3731dc05a42e)

8 years agoBug 5199 : Fixed unbind & other issues in intrface 04/34304/1
Kency [Mon, 8 Feb 2016 14:25:15 +0000 (19:55 +0530)]
Bug 5199 : Fixed unbind & other issues in intrface

Change-Id: I823d12bfd8f1d3a921acb054ac3e980f54d24ee7
Signed-off-by: Kency <kency.kurian@ericsson.com>
(cherry picked from commit b530354942c4f4e4d507ebf1ecc9be76ddd59852)

8 years agoBUG:5179 InterfaceStateChange Event handling for Elan 01/34301/1
epgoraj [Mon, 8 Feb 2016 13:52:25 +0000 (19:22 +0530)]
BUG:5179 InterfaceStateChange Event handling for Elan

Change-Id: Id18f14cbd5811bf6039c80524bc557092795f1d0
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
8 years agoBug 5267 - Setting vlan id for termination end point not working 00/34300/1
Faseela K [Mon, 8 Feb 2016 12:29:07 +0000 (17:59 +0530)]
Bug 5267 - Setting vlan id for termination end point not working

Description : Was previously doing a transaction.put() on existing tunnel
configuration, which was replacing all the tunnel endpoint details from
the datastore

Change-Id: I3f294bd45b5e4b48fe411b71cbde9ed199bc13d2
Signed-off-by: Faseela K <faseela.k@ericsson.com>
(cherry picked from commit cfd15ccc2e928048eded503b0b34754be53ab4e8)

8 years agoBUG:5179 Fixing the jenkins Merge 42/34242/1
epgoraj [Mon, 8 Feb 2016 09:15:27 +0000 (14:45 +0530)]
BUG:5179 Fixing the jenkins Merge

Change-Id: I929d4e1aeb1ddb3ec75f9e0f43ca0106bf0bdf1e
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
8 years agoBUG:5128 Elan Multi-DPN datapath fix 25/34225/1
epgoraj [Thu, 28 Jan 2016 12:17:50 +0000 (17:47 +0530)]
BUG:5128 Elan Multi-DPN datapath fix

Change-Id: I5f3e2d333634df3a7ba974fffd3698e9e0ebcc49
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
(cherry picked from commit ba3654d25ea72fc3d83a847243468dc95cdeb145)

8 years agoBug 5182 - Customized name support for VLAN trunk should be supported 08/34208/1
Faseela K [Fri, 5 Feb 2016 19:22:27 +0000 (00:52 +0530)]
Bug 5182 - Customized name support for VLAN trunk should be supported

Description : Code clean up , fixing NPEs and adding more debug logs
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Change-Id: Ia16602f7e88f7d1d39591247d1b4104dd82c4d34
Signed-off-by: Faseela K <faseela.k@ericsson.com>
(cherry picked from commit d27dda6e70f5fa31d518aced0010aa48fe5884a7)

8 years agoBug 5182 - Customized name support for VLAN trunk should be supported 69/34169/1
Faseela K [Fri, 5 Feb 2016 14:05:17 +0000 (19:35 +0530)]
Bug 5182 - Customized name support for VLAN trunk should be supported

Description : Changing the code, to accept any name as interface name.
              Also, fixing minor issues found in arp-utils when this
      change was done

Change-Id: I5685ffdbcc4b27ab76e6a4bcb06211d242c71f45
Signed-off-by: Faseela K <faseela.k@ericsson.com>
(cherry picked from commit e93a84dd08d096592729ad8807f6f74e7ba411a9)

8 years agoBug 5199 : DHCP and Transparent code changes 50/34150/1
Kency [Wed, 3 Feb 2016 06:52:43 +0000 (12:22 +0530)]
Bug 5199 : DHCP and Transparent code changes

Change-Id: I9c0864fd776cb091fca1682f062eaa249f86e680
Signed-off-by: Kency <kency.kurian@ericsson.com>
(cherry picked from commit da5201e942d7f74775d338891b5f69c27844ede5)

8 years agoBug 5054: Fix for switch restart 58/34058/2
Deepthi V V [Wed, 3 Feb 2016 13:35:03 +0000 (19:05 +0530)]
Bug 5054: Fix for switch restart

- Fix switch retsart issue
- Fix tunnel events issue

Change-Id: Idc2f7de66700b6d3584e1a68f9ded85be2bd0699
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
(cherry picked from commit 753c24f1160e84011934b94c4ea727efb5d8d061)

8 years agoBUG:5186 Fix for change in extraroutes type 66/34066/1
Vishal Thapar [Tue, 2 Feb 2016 10:19:52 +0000 (15:49 +0530)]
BUG:5186 Fix for change in extraroutes type

Fix for BUG 5137 in Neutron changes the type of extraroutes from string to
destination and nexthop. This fix is to change vpnservice code as per
neutron change.

Neutron change: https://git.opendaylight.org/gerrit/33846

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

8 years agoRemodel NIC features 17/34017/2
adetalhouet [Wed, 3 Feb 2016 19:25:42 +0000 (14:25 -0500)]
Remodel NIC features

Feature file was remodel in NIC: https://git.opendaylight.org/gerrit/#/c/33996/ This patch address the feature name changed.

Change-Id: Ib02453d12de99e09a73eef470d8b185d53d02d48
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoBug 5184 - Datapath not working for single ELAN in single DPN when binding VLAN inter... 64/33964/1
Faseela K [Tue, 2 Feb 2016 12:31:33 +0000 (18:01 +0530)]
Bug 5184 - Datapath not working for single ELAN in single DPN when binding VLAN interface as Trunk to ELAN port

Change-Id: I6c5c1ea66391065f1fc78c900aec492fc04f594b
Signed-off-by: Faseela K <faseela.k@ericsson.com>
(cherry picked from commit dd528be97ed5c59dc9f33465cee6c22eac587dbe)

8 years agoMerge "Bug 5127 :`Need vlan member support on same tap port with customized interface...
Vivek Srivastava [Tue, 2 Feb 2016 12:44:27 +0000 (12:44 +0000)]
Merge "Bug 5127 :`Need vlan member support on same tap port with customized interface name"