netvirt.git
7 years agoMerge "Add postman collection with restconf requests to get datapath id's and create...
Sam Hague [Thu, 30 Jun 2016 03:07:22 +0000 (03:07 +0000)]
Merge "Add postman collection with restconf requests to get datapath id's and create transport zone when using the VPN Service NetVirt."

7 years agoMerge "IT fixes due to blueprint migration"
Sam Hague [Thu, 30 Jun 2016 03:06:26 +0000 (03:06 +0000)]
Merge "IT fixes due to blueprint migration"

7 years agoMerge "Fixed problem with wrong class in blueprint configuration for dhcp commands"
Sam Hague [Thu, 30 Jun 2016 03:04:55 +0000 (03:04 +0000)]
Merge "Fixed problem with wrong class in blueprint configuration for dhcp commands"

7 years agoIT fixes due to blueprint migration 09/41109/1
Sam Hague [Thu, 30 Jun 2016 00:47:42 +0000 (20:47 -0400)]
IT fixes due to blueprint migration

Change-Id: I38a0a72e2c01eec5b365ae63add52800b2c2b38b
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd postman collection with restconf requests to get 73/41073/1
Andre Fredette [Wed, 29 Jun 2016 21:52:12 +0000 (17:52 -0400)]
Add postman collection with restconf requests to get
datapath id's and create transport zone when using the
VPN Service NetVirt.

I got the initial postman collection with the
"Create TZA" request from Vic Pickard.

Change-Id: Ifc9eb7b71a1ce5b38166b2c8998157b15273b82c
Signed-off-by: Andre Fredette <afredette@redhat.com>
7 years agoChanges in netvirt-vpnservice to accomodate genius service-binding model change 93/40993/3
Faseela K [Wed, 29 Jun 2016 08:04:00 +0000 (13:34 +0530)]
Changes in netvirt-vpnservice to accomodate genius service-binding model change

Description : Genius datamodel for service-binding is getting changed
to accomodate generic service bindings at ingress/egress. There will be compilation failures
in netvirt-vpnservice once this change is merged, raisinfg a review for the changes needed in netvirt-vpnservice
to solve the compilation errors

Link to the genius review : https://git.opendaylight.org/gerrit/#/c/40767/

Change-Id: Ia6fd1a1c2a00f3900687530020ceb8d46f4d11c2
Signed-off-by: Faseela K <faseela.k@ericsson.com>
7 years agoFixed problem with wrong class in blueprint configuration for dhcp commands 97/40997/1
Yair [Wed, 29 Jun 2016 08:45:20 +0000 (11:45 +0300)]
Fixed problem with wrong class in blueprint configuration for dhcp commands

Change-Id: I9d5ed006e1fd245b444916834772ca1f43063fd3
Signed-off-by: Yair <yair.zinger@hpe.com>
7 years agoRemove southbound's config system file reference.. 71/40871/1
Alexis de Talhouët [Mon, 27 Jun 2016 13:22:06 +0000 (09:22 -0400)]
Remove southbound's config system file reference..

As it was removed here: https://git.opendaylight.org/gerrit/#/c/40639/

Change-Id: Ic47b22a5691edac23f944fec39eca22862acf9ea
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
7 years agoMerge "Clean up pom files"
Sam Hague [Sat, 25 Jun 2016 03:24:35 +0000 (03:24 +0000)]
Merge "Clean up pom files"

7 years agoMerge "Bug:6066 Added log message for tunnelports creation."
Sam Hague [Sat, 25 Jun 2016 01:05:04 +0000 (01:05 +0000)]
Merge "Bug:6066 Added log message for tunnelports creation."

7 years agoMerge "BUG-6017 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack...
Sam Hague [Sat, 25 Jun 2016 01:04:32 +0000 (01:04 +0000)]
Merge "BUG-6017 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack.netvirt.impl.BridgeConfigurationManagerImpl.          createBridges(BridgeConfigurationManagerImpl.java:407)"

7 years agoMerge "BUG-6021 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack...
Sam Hague [Sat, 25 Jun 2016 01:04:04 +0000 (01:04 +0000)]
Merge "BUG-6021 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack.netvirt.          impl.NeutronL3Adapter.storeNetworkInCleanupCache(NeutronL3Adapter.java:1564)."

7 years agoBug:6066 Added log message for tunnelports creation. 69/40369/5
ananthip [Wed, 15 Jun 2016 16:43:39 +0000 (12:43 -0400)]
Bug:6066 Added log message for tunnelports creation.

Change-Id: I7a613231ed5892d24586d1c29a875a526c564f46
Signed-off-by: ananthip <ananthip@hcl.com>
7 years agoMerge "Changed the description and id in aclservice-api.yang"
Sam Hague [Fri, 24 Jun 2016 13:45:40 +0000 (13:45 +0000)]
Merge "Changed the description and id in aclservice-api.yang"

7 years agoBUG-6017 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack.netvirt... 15/40815/1
vinoth [Tue, 21 Jun 2016 17:26:32 +0000 (22:56 +0530)]
BUG-6017 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack.netvirt.impl.BridgeConfigurationManagerImpl.
         createBridges(BridgeConfigurationManagerImpl.java:407)

    * There is no external bridge interface while reading from southbound bridge node.
    * Here highlighting the exception with existing conditional code.

Change-Id: Id51a97fcec7bc7a63de2f5a4eb45880d991d8eca
Signed-off-by: vinoth <m.vinoth@hcl.com>
7 years agoBUG-6021 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack.netvirt. 14/40814/1
vinoth [Tue, 21 Jun 2016 17:06:03 +0000 (22:36 +0530)]
BUG-6021 java.lang.NullPointerException at org.opendaylight.ovsdb.openstack.netvirt.
         impl.NeutronL3Adapter.storeNetworkInCleanupCache(NeutronL3Adapter.java:1564).

   * Added check for nuetron network is not null while processing a neutron network UUID.

Change-Id: I31257b784253cc1c6c2346a9bad0329cf0b541e7
Signed-off-by: vinoth <m.vinoth@hcl.com>
7 years agoMerge "DHCP with Metadata"
Sam Hague [Fri, 24 Jun 2016 01:39:14 +0000 (01:39 +0000)]
Merge "DHCP with Metadata"

7 years agoDHCP with Metadata 18/40518/5
Oded Shvartz [Sun, 19 Jun 2016 10:27:04 +0000 (13:27 +0300)]
DHCP with Metadata

Add configuration to allow using the neutron dhcp-agent
or the vpnserice dhcp implementation.
vpnservice includes a minimal dhcp service implementation
and does not use the neutron dhcp agent.
The older netvirt relies on the neutron dhcp-agent with metdata.

Change-Id: Idfee0c6a76834a339541527af23b3adbea073e7f
Signed-off-by: Oded Shvartz <oshvartz@redhat.com>
7 years agoChanged the description and id in aclservice-api.yang 64/40764/1
Aswin Suryanarayanan [Thu, 23 Jun 2016 11:12:49 +0000 (16:42 +0530)]
Changed the description and id in aclservice-api.yang

Change-Id: I1ad0f860321cb4845d3355c23ff4555269cc108f
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoacl-service: enable checkstyle on error 63/40763/1
Sam Hague [Wed, 22 Jun 2016 19:34:23 +0000 (15:34 -0400)]
acl-service: enable checkstyle on error

Change-Id: Ia25b4961e0d1431241ae915e40a910b9240f9149
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoprep netvirt vpnservice for enabling checkstyle on error 62/40762/1
Sam Hague [Wed, 22 Jun 2016 19:24:32 +0000 (15:24 -0400)]
prep netvirt vpnservice for enabling checkstyle on error

Change-Id: I0add371be7eee74f528638c933b7d84e05e730d4
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoprep netvirt for enabling checkstyle on error 61/40761/1
Sam Hague [Wed, 22 Jun 2016 18:49:33 +0000 (14:49 -0400)]
prep netvirt for enabling checkstyle on error

Change-Id: I7edbc3c89ecc505ff7d3675075eca13fb9d824dc
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agotranslator: remove dependency of neutron.spi 76/40576/2
Isaku Yamahata [Tue, 21 Jun 2016 02:56:00 +0000 (19:56 -0700)]
translator: remove dependency of neutron.spi

netvirt still had a dependency on netutron.spi. which seems accidentally
remained when netvirt migrated from I*Aware AD-SAL to MD-SAL.
This patch removes its dependency and finish its migration with the only
dependency is neutron yang model.
In order to avoid circular dependency, NeutronModelsDataStoreHelper was
moved from neutron.util to net-virt.

Change-Id: I09628c39a2df85bc18d930639965d5a466134658
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoneutron: unbreak of neutron northbound yang model revise 20/40320/7
Ritu Sood [Tue, 14 Jun 2016 00:14:52 +0000 (17:14 -0700)]
neutron: unbreak of neutron northbound yang model revise

This patch provides the corresponding change needed to fix
compilation issues after the Yang model revise
Neutron changes:
https://git.opendaylight.org/gerrit/#/q/project:neutron+branch:master+topic:yang-model-revise

Change-Id: I15850089233d72038a70e1edcb4db1e69445fe57
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
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 agoClean up pom files 42/38942/5
Alexis de Talhouët [Mon, 16 May 2016 16:05:29 +0000 (12:05 -0400)]
Clean up pom files

Change-Id: Ifc83ffad2deb9da0e5a39a01816e2f6659499fbb
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.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"

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

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