netvirt.git
7 years agoMerge "DHCP for TOR VMs"
Sam Hague [Mon, 20 Jun 2016 17:25:29 +0000 (17:25 +0000)]
Merge "DHCP for TOR VMs"

7 years agoMerge "BUG 6076: protect from NPE when port contains ipV6"
Sam Hague [Mon, 20 Jun 2016 14:53:08 +0000 (14:53 +0000)]
Merge "BUG 6076: protect from NPE when port contains ipV6"

7 years agoMerge "Modified the aclservice-api.yang."
Sam Hague [Mon, 20 Jun 2016 14:47:20 +0000 (14:47 +0000)]
Merge "Modified the aclservice-api.yang."

7 years agoMerge "Commit includes: 1> NeutronVPN support for floating IPs associaton to fixed...
Sam Hague [Mon, 20 Jun 2016 13:55:15 +0000 (13:55 +0000)]
Merge "Commit includes: 1> NeutronVPN support for floating IPs associaton to fixed IPs"

7 years agoModified the aclservice-api.yang. 29/40529/2
Aswin Suryanarayanan [Mon, 20 Jun 2016 05:07:08 +0000 (10:37 +0530)]
Modified the aclservice-api.yang.

1)Removed the security group and security rule uuid. The key from ietf
will be used instead.
2)Changed the direction to be an attribute of access-list-entries.

Change-Id: Ia7a5d632928c5e410a5590c16a3a01fd2660b28a
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoDHCP for TOR VMs 30/39430/5
Kency Kurian [Wed, 25 May 2016 17:19:03 +0000 (22:49 +0530)]
DHCP for TOR VMs

- Handling deletion of L2GwConnection
- Corrected the event handling during tunnel state up and down events
- Handling exception during UcastLocalMac events properly.

Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
Change-Id: I6859f3d7feb55794d124c3e1aad5ed1227849b84

7 years agoCommit includes: 95/40095/7
Suraj Ranjan [Thu, 9 Jun 2016 08:54:30 +0000 (14:24 +0530)]
Commit includes:
1> NeutronVPN support for floating IPs associaton to fixed IPs

    a. Extra dependency in fibmanager-shell bundle on fibmanager-impl also
       removed.
    b. Changes to FloatingIpInfo yang model to take router input as string
       rather than uint32.
    c. Resolved conflicts for the above.

2> Karaf CLI for DHCPService

3> Check for vlan/gre network provider in neutronvpn

4> SNAT : Fixed the neutron code to update the IPv4address in External
   Router model

Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
Change-Id: Ib8d2453ba5e96e1452cfbdc613834983d3912c0d

7 years agoBUG 6076: protect from NPE when port contains ipV6 62/40462/4
Shlomi [Thu, 16 Jun 2016 21:52:34 +0000 (00:52 +0300)]
BUG 6076: protect from NPE when port contains ipV6

Change-Id: I9353672f0d543160ca7a7a253c875fd261f2704f
Signed-off-by: Shlomi <shlomi.alfasi@contextream.com>
7 years ago.gitignore .factorypath created by m2e-apt 23/40523/1
Michael Vorburger [Sun, 19 Jun 2016 16:01:31 +0000 (18:01 +0200)]
.gitignore .factorypath created by m2e-apt

https://github.com/vorburger/opendaylight-eclipse-setup now bundles
https://github.com/jbosstools/m2e-apt, which creates .factorypath files
all over the place.

Change-Id: Id81dbc520c17e1074a3c38e9fb41dec0c0aeba80
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "BUG-6070 dpid changes as ports added to bridge"
Sam Hague [Fri, 17 Jun 2016 13:30:13 +0000 (13:30 +0000)]
Merge "BUG-6070  dpid changes as ports added to bridge"

7 years agoBUG-6070 dpid changes as ports added to bridge 52/40452/1
Josh [Thu, 16 Jun 2016 17:07:08 +0000 (19:07 +0200)]
BUG-6070  dpid changes as ports added to bridge

Fixed by adding (default) config to auto generate a
mac address and assign it to br-int using
other_config:hwaddr

Change-Id: Ie5e7257831f8ab43b1f7904916e13e0587993555
Signed-off-by: Josh <jhershbe@redhat.com>
7 years agoMerge "Use <> Java 7 operator"
Sam Hague [Thu, 16 Jun 2016 12:12:02 +0000 (12:12 +0000)]
Merge "Use <> Java 7 operator"

7 years agoMerge "Enhance host config to add multiple configs per host"
Sam Hague [Thu, 16 Jun 2016 00:28:02 +0000 (00:28 +0000)]
Merge "Enhance host config to add multiple configs per host"

7 years agoMerge "Use <> Java 7 operator"
Sam Hague [Thu, 16 Jun 2016 00:26:09 +0000 (00:26 +0000)]
Merge "Use <> Java 7 operator"

7 years agoMerge "Simplify boolean expressions"
Sam Hague [Thu, 16 Jun 2016 00:25:48 +0000 (00:25 +0000)]
Merge "Simplify boolean expressions"

7 years agoMerge "Add revision for acl.yang now that it is included in mdsal"
Sam Hague [Wed, 15 Jun 2016 21:39:33 +0000 (21:39 +0000)]
Merge "Add revision for acl.yang now that it is included in mdsal"

7 years agoMerge "Bug 6056 - Wrong logging in NetvirtSfcStandaloneOF13Provider"
Sam Hague [Wed, 15 Jun 2016 20:20:38 +0000 (20:20 +0000)]
Merge "Bug 6056 - Wrong logging in NetvirtSfcStandaloneOF13Provider"

7 years agoAdd revision for acl.yang now that it is included in mdsal 97/40397/1
Sam Hague [Wed, 15 Jun 2016 20:19:15 +0000 (16:19 -0400)]
Add revision for acl.yang now that it is included in mdsal

Change-Id: I2a8438c2be62b30751ebf6a78dd051d9ba38bc77
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Initial draft for the netvirt AclService yang."
Sam Hague [Wed, 15 Jun 2016 13:26:05 +0000 (13:26 +0000)]
Merge "Initial draft for the netvirt AclService yang."

7 years agoMerge "Simplify boolean expressions"
Stephen Kitt [Wed, 15 Jun 2016 13:25:38 +0000 (13:25 +0000)]
Merge "Simplify boolean expressions"

7 years agoMerge "Mechanical clean-up: semicolons, default access"
Stephen Kitt [Wed, 15 Jun 2016 07:34:12 +0000 (07:34 +0000)]
Merge "Mechanical clean-up: semicolons, default access"

7 years agoMerge "BUG:6009 Handling the FlowRemove Event message from the Event Listener"
Sam Hague [Wed, 15 Jun 2016 03:26:10 +0000 (03:26 +0000)]
Merge "BUG:6009 Handling the FlowRemove Event message from the Event Listener"

8 years agoUse <> Java 7 operator 05/40305/1
Stephen Kitt [Tue, 14 Jun 2016 14:29:28 +0000 (16:29 +0200)]
Use <> Java 7 operator

Change-Id: Ic524731144e92652b8809bf722db743d22006f50
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoUse <> Java 7 operator 48/40048/3
Stephen Kitt [Tue, 14 Jun 2016 14:28:52 +0000 (16:28 +0200)]
Use <> Java 7 operator

Change-Id: I01ae9fd3d761d86325e425d0a76c631675205446
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoSimplify boolean expressions 04/40304/1
Stephen Kitt [Tue, 14 Jun 2016 14:24:06 +0000 (16:24 +0200)]
Simplify boolean expressions

Change-Id: Ie0fa8ea6286883e5304eddb63ba3fcd58805f00e
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoSimplify boolean expressions 99/39899/5
Stephen Kitt [Tue, 14 Jun 2016 14:23:36 +0000 (16:23 +0200)]
Simplify boolean expressions

Change-Id: I239a8cdfca687bdb9ebec85fa4b67adc97517a7a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoMechanical clean-up: semicolons, default access 03/40303/1
Stephen Kitt [Tue, 14 Jun 2016 14:22:35 +0000 (16:22 +0200)]
Mechanical clean-up: semicolons, default access

* DHCPOptions shouldn't "extend Object", that's the default;
* interface methods don't need "public", that's the default;
* enum constructors don't need "private", that's the default;
* remove duplicate semicolons.

Change-Id: I60c05c1454b3d7bfac22e90c58d7b35bbd323a8a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoMechanical clean-up: semicolons, default access 98/39898/3
Stephen Kitt [Tue, 14 Jun 2016 14:21:37 +0000 (16:21 +0200)]
Mechanical clean-up: semicolons, default access

* interface methods don't need "public", that's the default;
* enum constructors don't need "private", that's the default;
* remove duplicate semicolons.

Change-Id: I1740214e4d2e47a79e7f7681f94a26803ebe15d2
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoBUG:6009 Handling the FlowRemove Event message from the Event Listener 69/39869/2
epgoraj [Mon, 6 Jun 2016 06:29:00 +0000 (11:59 +0530)]
BUG:6009 Handling the FlowRemove Event message from the Event Listener

Change-Id: Iac87979779ff4072041dc50a8a4bf0764eefac11
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
8 years agoMerge "Bug 6014 - Named Thread pool Executors for better debugging"
Sam Hague [Tue, 14 Jun 2016 02:09:13 +0000 (02:09 +0000)]
Merge "Bug 6014 - Named Thread pool Executors for better debugging"

8 years agoBug 6056 - Wrong logging in NetvirtSfcStandaloneOF13Provider 57/40257/1
Dileep [Mon, 13 Jun 2016 13:30:13 +0000 (06:30 -0700)]
Bug 6056 - Wrong logging in NetvirtSfcStandaloneOF13Provider

Change-Id: I0dba2fab675c00fac1e736118dd3e74b96c9ab9c
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoMerge "Initial changes for ACL Service"
Sam Hague [Fri, 10 Jun 2016 01:31:22 +0000 (01:31 +0000)]
Merge "Initial changes for ACL Service"

8 years agoEnhance host config to add multiple configs per host 43/40143/1
Ritu Sood [Thu, 9 Jun 2016 13:01:38 +0000 (06:01 -0700)]
Enhance host config to add multiple configs per host

Current implementation of host config allows one configuration
per host. This patch adds support for multiple configurations
per host. Also this patch removes the fixed host type values.
Neutron patch: https://git.opendaylight.org/gerrit/#/c/36767/.
Openstack doc: https://review.openstack.org/#/c/309630/

Change-Id: I2cfe421611d66741970963dc80184a0e470d8697
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoBug 5989: Thrown nullpointerexception while updating the port. 99/39999/4
Abbas Pareedkunju [Wed, 8 Jun 2016 08:11:55 +0000 (13:41 +0530)]
Bug 5989: Thrown nullpointerexception while updating the port.

This patch is added to catch the NullPointerExceptions which could occur while updating the port.

Change-Id: Ia72959830b8b42f0d9c17f84cbddd30b96318d52
Signed-off-by: Abbas Pareedkunju <abbas.pareedkunju@tcs.com>
8 years agoMerge "BUG-2714 OVSDB needs to be more proactive in reporting errors with underlying...
Sam Hague [Wed, 8 Jun 2016 14:41:51 +0000 (14:41 +0000)]
Merge "BUG-2714 OVSDB needs to be more proactive in reporting errors with underlying OVS instances."

8 years agoMerge "L2 gateway functionality related fixes."
Sam Hague [Wed, 8 Jun 2016 12:24:25 +0000 (12:24 +0000)]
Merge "L2 gateway functionality related fixes."

8 years agoBug 6014 - Named Thread pool Executors for better debugging 81/39981/3
Dileep [Mon, 6 Jun 2016 17:54:07 +0000 (10:54 -0700)]
Bug 6014 - Named Thread pool Executors for better debugging

Enhances debugging and logging information.
Distinguishes thread names in executor pools.

Change-Id: I366a0ade4005004c8aec963863a3cbd8d2913878
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoInitial draft for the netvirt AclService yang. 96/39996/1
Aswin Suryanarayanan [Wed, 8 Jun 2016 07:17:20 +0000 (12:47 +0530)]
Initial draft for the netvirt AclService yang.

Change-Id: Iae3caad6a346ad604b8c09e46cf962d87cc07cd9
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
8 years agoInitial changes for ACL Service 25/39525/4
Shashidhar R [Tue, 24 May 2016 12:19:14 +0000 (17:49 +0530)]
Initial changes for ACL Service

Change-Id: Ice8fbcfe3afc3f08197e6ae1b2b8bafe52fd037b
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
8 years agoBUG-5988: throws NullPointerException while creating a network without br-int interface. 84/39984/1
vinoth [Tue, 7 Jun 2016 15:26:43 +0000 (20:56 +0530)]
BUG-5988: throws NullPointerException while creating a network without br-int interface.
  * Handled an exception properly wherever throws NullPointerException
    while creating a network without br-int interface.

Change-Id: Ie73cd46d5c857b90a6ff975883ac2764a60dd0d2
Signed-off-by: vinoth <m.vinoth@hcl.com>
8 years agoMerge "BUG-5894 NullPointerException while deleting the interface from router. ...
Sam Hague [Tue, 7 Jun 2016 18:38:17 +0000 (18:38 +0000)]
Merge "BUG-5894 NullPointerException while deleting the interface from router.   * While deleting the interface from router,     checking the floatingIp's port uuid is null else     delete the respective floating Ip."

8 years agoMerge "Natservice module - bug fixes for: 1) Non primary group entry not updated...
Sam Hague [Tue, 7 Jun 2016 13:19:13 +0000 (13:19 +0000)]
Merge "Natservice module - bug fixes for: 1) Non primary group entry not updated during primary switch over 2) NAPT reverse Traffic is not working & fib is not getting updated for New NAPT switch fix 3) Delete Router doesnt remove ext fixed IP fib entry"

8 years agoBUG-5894 NullPointerException while deleting the interface from router. 45/39945/1
arthi.b [Wed, 1 Jun 2016 16:18:05 +0000 (21:48 +0530)]
BUG-5894 NullPointerException while deleting the interface from router.
  * While deleting the interface from router,
    checking the floatingIp's port uuid is null else
    delete the respective floating Ip.

Change-Id: I36ed6c25716cc1993de1cb110edf3a0ba47816e7
Signed-off-by: arthi.b <arthi.b@hcl.com>
8 years agoMerge "Use DockerOvs + test connect to 2 OVSs"
Sam Hague [Tue, 7 Jun 2016 12:01:05 +0000 (12:01 +0000)]
Merge "Use DockerOvs + test connect to 2 OVSs"

8 years agoMerge "Netvirt project : Neutron VPN enhancements to handle external networks"
Sam Hague [Tue, 7 Jun 2016 11:28:13 +0000 (11:28 +0000)]
Merge "Netvirt project : Neutron VPN enhancements to handle external networks"

8 years agoMerge "BUG-5614: Ovsdb should not flood the packets to compute nodes unless tenant...
Anil Vishnoi [Mon, 6 Jun 2016 22:51:04 +0000 (22:51 +0000)]
Merge "BUG-5614: Ovsdb should not flood the packets to compute nodes unless tenant network exists in the compute node   * Before adding tunnel rules,     checking the network present or not in src and dst node.     If network present in both nodes adding the Vxlan port     in flood entry in src and dst.Else do not add vxlan ports."

8 years agoL2 gateway functionality related fixes. 63/39763/3
Somashekar Byrappa [Thu, 2 Jun 2016 12:05:30 +0000 (17:35 +0530)]
L2 gateway functionality related fixes.

+ Earlier during l2gw connection delete, remote ucast macs to be deleted
were the combination from ELAN MAC table plus other Elan L2Gateway devices
local macs. This logic is changed. Now remote ucast macs for that particular elan is
read/filtered from node config DS.

+ If batch deletion operation fails, macs are deleted sequentially.

+ During deletion of logical switch, updated to delete entry from
LogicalSwitchDeletedTasks.

+ Renamed LogicalSwitchDeletedJob to DeleteLogicalSwitchJob which
reflects its functionality.

+ Corrected job key in DeleteL2GwDeviceMacsFromElanJob.

Change-Id: Ice6892c7a0bd8d703ba5527fa34afe613180230d
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
8 years agoNatservice module - bug fixes for: 95/39595/4
Sumanth MS [Mon, 30 May 2016 11:18:57 +0000 (16:48 +0530)]
Natservice module - bug fixes for:
1) Non primary group entry not updated during primary switch over
2) NAPT reverse Traffic is not working & fib is not getting updated for New NAPT switch fix
3) Delete Router doesnt remove ext fixed IP fib entry

Change-Id: I80e5493d2aaf44adb5b3d1bec5ef0874f7f521c5
Signed-off-by: Sumanth MS <sumanth.ms@ericsson.com>
8 years agoBUG-2714 OVSDB needs to be more proactive in reporting errors with underlying OVS... 62/39762/2
vinoth [Thu, 2 Jun 2016 17:25:27 +0000 (22:55 +0530)]
BUG-2714 OVSDB needs to be more proactive in reporting errors with underlying OVS instances.

 * Logging an error message if br-int interface is not available while creating a network.
 * More discussion details with community can be found in below link,
   https://lists.opendaylight.org/pipermail/ovsdb-dev/2016-May/003206.html

Change-Id: Ic1f9cbbe77c4b5f51724c8efec52bfa9860ab6b4
Signed-off-by: vinoth <m.vinoth@hcl.com>
8 years agoNetvirt project : Neutron VPN enhancements to handle external networks 11/39411/5
Kiran N Upadhyaya [Wed, 25 May 2016 13:27:48 +0000 (18:57 +0530)]
Netvirt project : Neutron VPN enhancements to handle external networks

Neutron VPN enhancements to handle ExternalNetworks inclusion into VPN.  Also handles association of externalnetworks as gateways to neutron routers.

Fixes to ExternalNetwork enhancement to neutronvpn.

Fix to ensure association/disassociation of external networks to VPN.

Fix to handle internal router interfaces for SNAT.

Change-Id: If8bcd6e4832080c38a87a14e22f98ba97a8613fb
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
8 years agoUse DockerOvs + test connect to 2 OVSs 62/39462/2
Josh [Thu, 26 May 2016 09:24:37 +0000 (11:24 +0200)]
Use DockerOvs + test connect to 2 OVSs

Do not merge before  https://git.opendaylight.org/gerrit/39461

Change-Id: Iaac2a6d7ed78c91f3efb5c98a10bf1479f462dd1
Signed-off-by: Josh <jhershbe@redhat.com>
8 years agoL2Gateway: Fixes related to L2 gateway functionality. 04/39604/2
Somashekar Byrappa [Mon, 30 May 2016 13:21:36 +0000 (18:51 +0530)]
L2Gateway: Fixes related to L2 gateway functionality.

+ Removed the check isL2GwDeviceConnected during l2 gw connection delete.
- This change ensures cleaning of data from cache and config DS
  which avoids having stale data when l2gw device is down.
- The stale data was blocking deletion of configs from
  l2gw device during subsequent l2gw connection (having
  same network id) deletes.

+ Few L2GatewayDevice class variables are updated by
  using Set instead of List to avoid duplicates. Also
  toString() method is overridden to print minimal info.

+ doesLocalUcastMacExistsInCache check is added during
  handling of the newly discovered L2gw device mac. This
  check avoids unnecessary configurations found during
  scalability testing.

Change-Id: Iab6be8d67645518e0e78f9ce883b305867c81958
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
8 years agoMerge "Enable NetVirt Maven site"
Sam Hague [Sun, 29 May 2016 17:01:28 +0000 (17:01 +0000)]
Merge "Enable NetVirt Maven site"

8 years agoEnable NetVirt Maven site 56/39356/1
Stephen Kitt [Tue, 24 May 2016 13:49:44 +0000 (15:49 +0200)]
Enable NetVirt Maven site

This patch enables the Maven site, fixes up all the URLs and corrects
blocking Javadoc errors.

Change-Id: I534e904a7bd31394bcf833c1403d77ec689ea2ef
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoL2Gateway: Handling Hwvtep node tunnel ip update. Plus two more fixes. 36/39336/2
Somashekar Byrappa [Tue, 24 May 2016 11:13:12 +0000 (16:43 +0530)]
L2Gateway: Handling Hwvtep node tunnel ip update. Plus two more fixes.

+ Hwvtep node tunnel ip update is handled only in case of first time
configuration of tunnel IP (i.e., None to valid IP address).
Subsequent updates i.e., changing from one tunnel IP to another is not
handled.

+ Replaced HwvtepNodeListener with HwvtepPhysicalSwitchListener which will
handle Hwvtep node add/remove/update scenarios.

+ Changed logical switch listener to cluster-wide DCN listener to cache
ELAN L2 Gw details on all the cluster nodes when logical switch is
created.

+ Changed remote mcast mac listener to cluster-wide DCN listener.

Change-Id: Icb5efe578102f22650fc9b4ce4dcc8b7022398fe
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
8 years agoMerge "Remove unsued nic dependencies"
Anil Vishnoi [Mon, 23 May 2016 21:14:37 +0000 (21:14 +0000)]
Merge "Remove unsued nic dependencies"

8 years agoMerge "Remove fcapsmanager and application"
Sam Hague [Mon, 23 May 2016 14:41:29 +0000 (14:41 +0000)]
Merge "Remove fcapsmanager and application"

8 years agoRemove unsued nic dependencies 48/39248/1
Sam Hague [Mon, 23 May 2016 12:56:52 +0000 (08:56 -0400)]
Remove unsued nic dependencies

Change-Id: Ia9a8494f23a6da828c063da095089548eb938af3
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoBug 5939 - Communications through external gateway not working 11/39211/1
Andre Fredette [Sat, 21 May 2016 14:10:02 +0000 (10:10 -0400)]
Bug 5939 - Communications through external gateway not working

The problem happens because the GatewayMacResolver is not resolving the
MAC address for the external gateway.  GatewayMacResolver is failing
because externalSubnet == null in triggerGatewayMacResolver.  This is
happening due to changes from [0] (a fix for BUG-5291).

In [0], a change was made to only set GatewayIP if port.getDeviceOwner()
== "network:router_interface"; however, in our case,
port.getDeviceOwner() == "network:router_gateway", so the Gateway IP
isn't set.

In this fix, I also set GatewayIP if port.getDeviceOwner() ==
"network:router_gateway".

[0] https://git.opendaylight.org/gerrit/#/c/37136/

Change-Id: I49b089900e4f85581beb8634580439dca2413ce5
Signed-off-by: Andre Fredette <afredette@redhat.com>
8 years agoRemove fcapsmanager and application 63/39163/1
Vishal Thapar [Fri, 20 May 2016 09:17:21 +0000 (14:47 +0530)]
Remove fcapsmanager and application

Fcaps manager and application have been moved to Genius
https://git.opendaylight.org/gerrit/#/c/39107/

Change-Id: Ic71cacb4fccb526e8ad1e70d5538289a6361ca84
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agouse the right hop for more than one sf 73/39073/1
Sam Hague [Wed, 18 May 2016 23:40:40 +0000 (19:40 -0400)]
use the right hop for more than one sf

Change-Id: I87bdfb54faef2f73709aba2d4da7907f15837529
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoMerge "Added support for enable/disable security on a port dynamically."
Sam Hague [Wed, 18 May 2016 23:08:55 +0000 (23:08 +0000)]
Merge "Added support for enable/disable security on a port dynamically."

8 years agoMerge "BUG-5813: Vxlan ports should not be removed in table 110 flow entry unless...
Sam Hague [Wed, 18 May 2016 23:03:16 +0000 (23:03 +0000)]
Merge "BUG-5813: Vxlan ports should not be removed in table 110 flow entry unless last VM instance removed from the openstack node.   * Before deleting the Vxlan port in flow entry it should     check whether the deleted vm instance is last or not.     If it is the last vm instance Vxlan port should be delete from     source node in flow entry else vxlan port shouldn't be delete."

8 years agoupdates for sfc models 67/39067/1
Sam Hague [Wed, 18 May 2016 20:53:36 +0000 (16:53 -0400)]
updates for sfc models

Change-Id: Id0d28f2bfacffff7bb7f691615eb772ed1e0215f
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoAdded support for enable/disable security on a port dynamically. 17/38917/2
Aswin Suryanarayanan [Mon, 16 May 2016 07:23:41 +0000 (12:53 +0530)]
Added support for enable/disable security on a port dynamically.

Change-Id: I96a3599927cbc7ca36a870187145380207e8f494
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
8 years agoChange BGP thrift port to 7744 24/38924/1
Vishal Thapar [Mon, 16 May 2016 10:36:32 +0000 (16:06 +0530)]
Change BGP thrift port to 7744

BGP Thrift port is 6644 which conlicts with NetIDE.
Refer: https://wiki.opendaylight.org/view/Ports

Change-Id: I8931fa78f53afea643d6856b005c740670036ef0
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoBUG-5813: Vxlan ports should not be removed in table 110 flow entry unless last VM... 02/38902/1
hari.pr [Tue, 10 May 2016 16:50:28 +0000 (22:20 +0530)]
BUG-5813: Vxlan ports should not be removed in table 110 flow entry unless last VM instance removed from the openstack node.
  * Before deleting the Vxlan port in flow entry it should
    check whether the deleted vm instance is last or not.
    If it is the last vm instance Vxlan port should be delete from
    source node in flow entry else vxlan port shouldn't be delete.

Change-Id: Iadc9003ed81b1e8e475d629f80ccd961242ef859
Signed-off-by: hari.pr <hari.pr@hcl.com>
8 years agoMerge "Fix Neutron VPN to handle Routers."
Sam Hague [Sun, 15 May 2016 13:37:04 +0000 (13:37 +0000)]
Merge "Fix Neutron VPN to handle Routers."

8 years agoMerge "Added support in neutron and it utils for SGs"
Sam Hague [Sun, 15 May 2016 13:34:21 +0000 (13:34 +0000)]
Merge "Added support in neutron and it utils for SGs"

8 years agoFix Neutron VPN to handle Routers. 55/38755/2
Vivekanandan Narasimhan [Thu, 12 May 2016 10:57:03 +0000 (16:27 +0530)]
Fix Neutron VPN to handle Routers.

This fix enables Neutron VPN module inside netvirt to
handle routers and router interfaces, thereby enabling
internal VPN to become functional.

Change-Id: I527e182c5ad38b0cabf457dee465763dcd30dd0c
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
8 years agoAdded support in neutron and it utils for SGs 55/38655/5
Josh [Wed, 11 May 2016 10:26:53 +0000 (12:26 +0200)]
Added support in neutron and it utils for SGs

Methods in NeutronUtils for creating SecurityGroups
Added param in NeutronNetItUtils.createPort for security groups

Initially commited in draft mode

Change-Id: I831278b8b262506e6d0bee3ca3667d89e226b9c9
Signed-off-by: Josh <jhershbe@redhat.com>
8 years agoUse Genius for all infra modules in vpnservice 13/38813/2
Vishal Thapar [Thu, 12 May 2016 15:23:01 +0000 (20:53 +0530)]
Use Genius for all infra modules in vpnservice

Change-Id: I30e64d9a0b0e80f463ef364da08ae7d9750b5d72
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoNamespace changes for vpnservice modules 63/38663/3
Vishal Thapar [Wed, 11 May 2016 09:14:12 +0000 (14:44 +0530)]
Namespace changes for vpnservice modules

Change-Id: I4830703f94a218c6b4ccd97076ca852472bb16d5
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoFix CSIT failures 41/38641/4
Vishal Thapar [Tue, 10 May 2016 16:54:54 +0000 (22:24 +0530)]
Fix CSIT failures

These changes bring in patch
https://git.opendaylight.org/gerrit/#/c/38361/ from vpnservice to address CSIT failures

Change-Id: I66064b35046d8078c82a0ba6cf68d20a763757f2
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoBUG-5614: Ovsdb should not flood the packets to compute nodes unless tenant network... 09/38509/1
hari.pr [Wed, 27 Apr 2016 18:23:40 +0000 (23:53 +0530)]
BUG-5614: Ovsdb should not flood the packets to compute nodes unless tenant network exists in the compute node
  * Before adding tunnel rules,
    checking the network present or not in src and dst node.
    If network present in both nodes adding the Vxlan port
    in flood entry in src and dst.Else do not add vxlan ports.

  * During last instance removal form the node,
    checking the network present or not in src node.
    If src node doesn.t have the network remove the tunnel entries in src node
    and also remove the Vxlan port of src node from dst node.

Change-Id: Ic8e6010e50c04882bb5afe86c2dcd4695911c366
Signed-off-by: hari.pr <hari.pr@hcl.com>
8 years agoFix NPE in FibManagerProvider 92/38492/1
Vishal Thapar [Fri, 6 May 2016 07:26:13 +0000 (12:56 +0530)]
Fix NPE in FibManagerProvider

Change-Id: I216a5ca030472fce08e49ec49833d0a23988de5d
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
8 years agoInitial merge of vpnservice code 78/38478/1
Sam Hague [Thu, 5 May 2016 19:57:31 +0000 (15:57 -0400)]
Initial merge of vpnservice code

Based on vpnservice hash: commit f267eb8b08e303ccc40131361fe82f2ad5ea1628

Change-Id: Ida263cfbbf8b74f213e8128f6f7334f515d876ed
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoImported vpnservice as a subtree
Thanh Ha [Wed, 4 May 2016 18:11:49 +0000 (14:11 -0400)]
Imported vpnservice as a subtree

Change-Id: I31c80009a31b0b97c1d10246e844be69e81125f4

8 years agoMerge "Integration of fcaps applications"
Vivek Srivastava [Wed, 4 May 2016 12:18:57 +0000 (12:18 +0000)]
Merge "Integration of fcaps applications"

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

8 years agoIntegration of fcaps applications
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>
8 years agoMerge "Integration of Fcaps framework"
Vivek Srivastava [Wed, 4 May 2016 10:56:57 +0000 (10:56 +0000)]
Merge "Integration of Fcaps framework"

8 years agoUpdated L2Gw changes in "neutronvpn", "elanmanager" and "dhcpservice" modules
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>
8 years agoMerge "Remove ovsdb related in resources"
Sam Hague [Wed, 4 May 2016 01:26:38 +0000 (01:26 +0000)]
Merge "Remove ovsdb related in resources"

8 years agoMerge "Implementing Host Config data update"
Sam Hague [Wed, 4 May 2016 01:22:19 +0000 (01:22 +0000)]
Merge "Implementing Host Config data update"

8 years agoMerge "Added isPortSecurityEnabled check to enable/disable SG."
Sam Hague [Wed, 4 May 2016 01:20:22 +0000 (01:20 +0000)]
Merge "Added isPortSecurityEnabled check to enable/disable SG."

8 years agoIntegration of Fcaps framework
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>
8 years agoMerge "Natservice module bug fixes"
Vivek Srivastava [Tue, 3 May 2016 10:58:22 +0000 (10:58 +0000)]
Merge "Natservice module bug fixes"

8 years agopostman: use 1 for netvirt table offset 92/38292/1
Sam Hague [Mon, 2 May 2016 19:34:38 +0000 (15:34 -0400)]
postman: use 1 for netvirt table offset

Change-Id: I015a181f8a08a41154a10e05e2b5aa86f8c03369
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoNatservice module bug fixes
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>
8 years agoVxlan/Gre co-existence,Alarms,tunnelstate,TR fixes
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>
8 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"

8 years agoFixes in interface manager and aliveness monitor
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>
8 years agoDHCP Handling for TOR VM
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>
8 years agoImplementing Host Config data update 63/37463/3
Ritu Sood [Sun, 10 Apr 2016 22:22:40 +0000 (15:22 -0700)]
Implementing Host Config data update

This patch implements the logic to fill host config data
based on the yang model defined in the Neutron Northbound
https://git.opendaylight.org/gerrit/#/c/36767/.

Updated patch after addressing review comments

Change-Id: I1ea6b315ab9de70dc1c1849ba905eee2eb51d94e
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoBFD monitoring changes
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>
8 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
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
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>