netvirt.git
7 years agoMerge "support for interface update and acl update"
Sam Hague [Thu, 14 Jul 2016 23:49:40 +0000 (23:49 +0000)]
Merge "support for interface update and acl update"

7 years agoMerge "L2GW: Updated to support dynamic port additions to TOR and stale entry cleanup"
Sam Hague [Thu, 14 Jul 2016 23:49:35 +0000 (23:49 +0000)]
Merge "L2GW: Updated to support dynamic port additions to TOR and stale entry cleanup"

7 years agoMerge "BGPManager module sync up - 2"
Sam Hague [Thu, 14 Jul 2016 22:57:35 +0000 (22:57 +0000)]
Merge "BGPManager module sync up - 2"

7 years agoMerge "Fix UI bundle dependency"
Sam Hague [Thu, 14 Jul 2016 22:56:14 +0000 (22:56 +0000)]
Merge "Fix UI bundle dependency"

7 years agoMerge "workaorund blueprint restart for NetvirtSfcIT"
Sam Hague [Thu, 14 Jul 2016 22:55:43 +0000 (22:55 +0000)]
Merge "workaorund blueprint restart for NetvirtSfcIT"

7 years agosupport for interface update and acl update 35/41835/5
Anil Gujele [Thu, 14 Jul 2016 13:41:31 +0000 (19:11 +0530)]
support for interface update and acl update

1. handled interface update (security group added/deleted, port security
flag enable/disable)
2. handled acl update (security rule is added/deleted from security group)

Change-Id: I22b1aaf7d94dae014b3d140d57499a4bd7c95313
Signed-off-by: gujele <imanilyadav@gmail.com>
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Bug 6066 - Improve the logging."
Sam Hague [Thu, 14 Jul 2016 21:19:34 +0000 (21:19 +0000)]
Merge "Bug 6066 - Improve the logging."

7 years agoL2GW: Updated to support dynamic port additions to TOR and stale entry cleanup 68/41768/2
unknown [Wed, 13 Jul 2016 13:44:16 +0000 (19:14 +0530)]
L2GW: Updated to support dynamic port additions to TOR and stale entry cleanup

- HwvtepPhysicalLocatorListener renamed to
  HwvtepTerminationPointListener is also being used to support
  dynamic port additions
- HwvtepTerminationPointListener updated to listen only for Hwvtep
  terminal point changes
- Fix of removing stale entries in network topology config
  datastore when HWVtep switch is removed

Change-Id: Ib5c54327b90547c32c6f2cc8423d215875e945a6
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
7 years agoworkaorund blueprint restart for NetvirtSfcIT 62/41862/1
Sam Hague [Thu, 14 Jul 2016 21:07:37 +0000 (17:07 -0400)]
workaorund blueprint restart for NetvirtSfcIT

Change-Id: I1cdf0daa18c1a8385f87f0b81f59fe3c637f8643
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoFix UI bundle dependency 84/41784/2
Robert Varga [Wed, 13 Jul 2016 18:06:02 +0000 (20:06 +0200)]
Fix UI bundle dependency

ui module does not need to be packaged in the distro, change
the scope of dependency to provided.

Change-Id: I0c2efbe682229c4fb853bab31c89de6a67048cac
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
7 years agoFix for access-list model changes 37/41837/1
Sam Hague [Thu, 14 Jul 2016 14:23:18 +0000 (10:23 -0400)]
Fix for access-list model changes

Change-Id: Ib9d99eea057c827660aaa1d57141ee6743b0783f
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBGPManager module sync up - 2 18/41818/2
Abhinav Gupta [Thu, 14 Jul 2016 11:34:14 +0000 (17:04 +0530)]
BGPManager module sync up - 2

Change-Id: I6b31a75cd81a6863e88d19cbee1318579d4cd57e
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoBug 6066 - Improve the logging. 04/41804/1
ananthip [Thu, 7 Jul 2016 15:31:17 +0000 (11:31 -0400)]
Bug 6066 - Improve the logging.

Change-Id: I4db00f7bfad567fa06aeeec13a62ec082c558677
Signed-off-by: ananthip <ananthip@hcl.com>
(cherry picked from commit 5ebe4d13e0bda843f479347d92c9728f358532b5)

7 years agoFix genius's odl-interface.yang revision 89/41789/1
Lorand Jakab [Wed, 13 Jul 2016 20:07:07 +0000 (15:07 -0500)]
Fix genius's odl-interface.yang revision

Change-Id: Ic10ede2c5c70bc21985b26c607b066072c5a8cc0
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 27/40827/7
Lorand Jakab [Wed, 13 Jul 2016 15:59:26 +0000 (10:59 -0500)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: I96d4979bc79127a7c3a6e41920f7ce70967f61d7
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Fixes for the below NAT issues : 1) After cluster reboot, SNAT traffic is...
Sam Hague [Wed, 13 Jul 2016 15:52:07 +0000 (15:52 +0000)]
Merge "Fixes for the below NAT issues : 1) After cluster reboot, SNAT traffic is lost 2) Delete Router doesnt remove ext fixed IP fib entry and also corresponding entries from table 3) Inbound NAPT table (table 44) entries not removed after Outbound NAPT table (table 46) translation entries are removed when bgpVPN associated to router. 4) Packets punt to the controller for programming the NAPT entries are getting dropped. 5) Nullpointer exception in some cases, 6) Tracing hooks not available for the interthread communication which handles the NAT traffic."

7 years agoMerge "Supporting DHCP as a Service"
Sam Hague [Wed, 13 Jul 2016 15:47:23 +0000 (15:47 +0000)]
Merge "Supporting DHCP as a Service"

7 years agoMerge "BGPManager module sync up"
Sam Hague [Wed, 13 Jul 2016 15:46:44 +0000 (15:46 +0000)]
Merge "BGPManager module sync up"

7 years agoMerge "Multiple fix in different module"
Sam Hague [Wed, 13 Jul 2016 15:43:36 +0000 (15:43 +0000)]
Merge "Multiple fix in different module"

7 years agoMerge "Support Router Advertisement functionality when an RS is received."
Sam Hague [Wed, 13 Jul 2016 15:43:27 +0000 (15:43 +0000)]
Merge "Support Router Advertisement functionality when an RS is received."

7 years agoMerge "ipv6service: Register listeners and configure handlers"
Sam Hague [Wed, 13 Jul 2016 15:43:08 +0000 (15:43 +0000)]
Merge "ipv6service: Register listeners and configure handlers"

7 years agoMerge "AclService Custom Security Group"
Sam Hague [Wed, 13 Jul 2016 15:39:13 +0000 (15:39 +0000)]
Merge "AclService Custom Security Group"

7 years agoMerge "Neutron port listener updated to support allowed address pair with security...
Sam Hague [Wed, 13 Jul 2016 15:38:50 +0000 (15:38 +0000)]
Merge "Neutron port listener updated to support allowed address pair with security group configurations."

7 years agoMerge "Dhcp Tenant Support for VM's on CSS and TOR"
Sam Hague [Wed, 13 Jul 2016 15:35:59 +0000 (15:35 +0000)]
Merge "Dhcp Tenant Support for VM's on CSS and TOR"

7 years agoFixes for the below NAT issues : 74/41774/1
Satish Dutt [Wed, 13 Jul 2016 14:57:48 +0000 (20:27 +0530)]
Fixes for the below NAT issues :
1) After cluster reboot, SNAT traffic is lost
2) Delete Router doesnt remove ext fixed IP fib entry and also
corresponding entries from table
3) Inbound NAPT table (table 44) entries not removed after Outbound NAPT
table (table 46) translation entries are removed when bgpVPN associated to
router.
4) Packets punt to the controller for programming the NAPT entries are
getting dropped.
5) Nullpointer exception in some cases,
6) Tracing hooks not available for the interthread communication which
handles the NAT traffic.

Change-Id: I85f0d8d8ae3f6a03c073030880c0e5c6a51ad86d
Signed-off-by: Satish Dutt <satish.dutt@ericsson.com>
7 years agoMerge "L2GW: Handling during delete and add of ITM:transport-zone."
Vishal Thapar [Wed, 13 Jul 2016 13:55:39 +0000 (13:55 +0000)]
Merge "L2GW: Handling during delete and add of ITM:transport-zone."

7 years agoBGPManager module sync up 57/41757/2
Abhinav Gupta [Wed, 13 Jul 2016 11:41:36 +0000 (17:11 +0530)]
BGPManager module sync up

Change-Id: Idb6767da56e000aa83f1741e5d8ac9997a4790cd
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoSupport Router Advertisement functionality when an RS is received. 22/41722/4
Sridhar Gaddam [Tue, 12 Jul 2016 14:00:03 +0000 (19:30 +0530)]
Support Router Advertisement functionality when an RS is received.

This patch implements the following.
  1. When an Router Solicitation is received from a VM, it
     looks at the subnet/router info, frames the corresponding
     RA and does a packet-out. VM on receiving the Router Advt
     will be able to successfully configure the IPv6 address
     based on the advertised prefix.
  2. This patch supports SLAAC, DHCPv6-Stateless and DHCPv6-Stateful
     subnets along with support for Multiple prefixes.

Pending:
  1. Periodic advt of RA when a v6 Subnet is associated to the Router
     will be taken up in a different patch.
  2. IPv6 Service Binding will be added via a different patch.

Change-Id: Id889aae707818c10d7c2d6cc675bd22a99943c42
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Signed-off-by: kalaiselvik <Kalaiselvi_K@Dell.com>
7 years agoMultiple fix in different module 47/41747/3
Suraj Ranjan [Wed, 13 Jul 2016 06:25:47 +0000 (11:55 +0530)]
Multiple fix in different module

This commit deals with following:

  - Modified VrfEntry yang model to support augmentation for elantag
  - Removed the rdtoElanOpData references from FibManager
  - Addressed review comments and removed rdToElanreferences
  - Fix for SubnetRoute handler

Change-Id: I6352315fb5cc05e802e71bf553e8b86f9eadc460
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agoipv6service: Register listeners and configure handlers 50/41250/5
Sridhar Gaddam [Fri, 1 Jul 2016 12:59:38 +0000 (18:29 +0530)]
ipv6service: Register listeners and configure handlers

This patch includes the following changes.
1. Registration api's for Neutron Router, Subnet and Port changes.
2. Handlers for interface manager.

Change-Id: I4570c95abcec2b61baa03d8aadcb1c8ebaa32f1c
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoELAN Performance improvement changes 24/41324/15
epgoraj [Tue, 5 Jul 2016 06:50:44 +0000 (12:20 +0530)]
ELAN Performance improvement changes

     perform bulk write for flow/group programming for ELAN.

Change-Id: I8a965eed078355876a4ec35e0f326fa927d60cf3
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
7 years agoAclService Custom Security Group 51/41651/3
Aswin Suryanarayanan [Mon, 11 Jul 2016 12:58:59 +0000 (18:28 +0530)]
AclService Custom Security Group

1)TCP, UDP ,ICMP and Other protocl support added
2)ietf acl to flow converter added.

Change-Id: I5ddc9c1c7df32bcf1f2ec009ff9c84687459e9b9
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoNeutron port listener updated to support allowed address pair with security group... 57/41657/3
unknown [Wed, 13 Jul 2016 06:15:34 +0000 (11:45 +0530)]
Neutron port listener updated to support allowed address pair with security group configurations.

Change-Id: I8328ba7c5154418d3f5de3aeadb48c0b1eeaba98
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
7 years agoMerge "Modification in NeutronPortChangeListener.java"
Vishal Thapar [Wed, 13 Jul 2016 05:58:10 +0000 (05:58 +0000)]
Merge "Modification in NeutronPortChangeListener.java"

7 years agoMerge "Change OFP feature dependency"
Sam Hague [Tue, 12 Jul 2016 20:14:26 +0000 (20:14 +0000)]
Merge "Change OFP feature dependency"

7 years agoMerge "Uncomment install/removeFlow"
Sam Hague [Tue, 12 Jul 2016 20:10:23 +0000 (20:10 +0000)]
Merge "Uncomment install/removeFlow"

7 years agoClean code: format, typo, new lines (very minor) 99/41299/3
Michael Vorburger [Mon, 4 Jul 2016 19:39:41 +0000 (21:39 +0200)]
Clean code: format, typo, new lines (very minor)

Change-Id: I34d1c76f2458d4e928bbd9af74139da1fcf31f82
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Fix potential null issue by propagating Optional"
Sam Hague [Tue, 12 Jul 2016 17:44:42 +0000 (17:44 +0000)]
Merge "Fix potential null issue by propagating Optional"

7 years agoMerge "Load config system files in etc/opendaylight/karaf"
Sam Hague [Tue, 12 Jul 2016 17:35:21 +0000 (17:35 +0000)]
Merge "Load config system files in etc/opendaylight/karaf"

7 years agoModification in NeutronPortChangeListener.java 02/41702/3
Suraj Ranjan [Tue, 12 Jul 2016 10:31:47 +0000 (16:01 +0530)]
Modification in NeutronPortChangeListener.java

It is always suggested that one listener should not be function of some
other listener.This commit takes care of this in
NeutronPortChangeListener.java file.

Change-Id: I7806f3eb410fa1712603d7e76a26e8287d3e04e6
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agoUncomment install/removeFlow 06/41506/3
Michael Vorburger [Thu, 7 Jul 2016 17:41:44 +0000 (19:41 +0200)]
Uncomment install/removeFlow

I cannot write a test for aclservice if actually it does NOTHING. The
current implementation just pushes some bits from here to there
internally, but ends up doing nothing.  I'm working on a showcase test
that will demonstrate how I would test a module such as aclservice. It
will show how to test the EFFECT of an API, and for that, it must DO
something real... ;-)

Change-Id: I9b240076820bc6b49b4891caf669a43f24335d3b
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoChange OFP feature dependency 08/41708/1
Andrej Leitner [Tue, 12 Jul 2016 11:57:44 +0000 (13:57 +0200)]
Change OFP feature dependency

 - changed odl-openflowplugin-nsf-services to odl-openflowplugin-flow-services
   since the first will be removed. Actual behaviour should be still preserved.

Change-Id: I05b20c96be446c157e362fa0f5fd66d93cd771c2
Signed-off-by: Andrej Leitner <anleitne@cisco.com>
7 years agoSupporting DHCP as a Service 04/41704/2
epgoraj [Tue, 12 Jul 2016 11:10:59 +0000 (16:40 +0530)]
Supporting DHCP as a Service

Change-Id: I53d8f128845b8748a5a2a97153190d6a21737a47
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
7 years agoMerge "ACL ingress/egress service bindings"
Vishal Thapar [Tue, 12 Jul 2016 07:54:51 +0000 (07:54 +0000)]
Merge "ACL ingress/egress service bindings"

7 years agoDhcp Tenant Support for VM's on CSS and TOR 42/41642/2
sathish kumar B T [Mon, 11 Jul 2016 10:19:45 +0000 (15:49 +0530)]
Dhcp Tenant Support for VM's on CSS and TOR

Change-Id: Ic795115317af112c61aa57ef64306cc1cda10ef0
Signed-off-by: sathish kumar B T <sathish.kumar.tippeshappa@ericsson.com>
7 years agoL2GW: Handling during delete and add of ITM:transport-zone. 61/41661/1
Somashekar Byrappa [Mon, 11 Jul 2016 14:35:15 +0000 (20:05 +0530)]
L2GW: Handling during delete and add of ITM:transport-zone.

+ Added L2GwTransportZoneListener. When a new transport zone (of vxlan
type) is created, add all l2gw devices to the transport zone. This would
mesh all the nodes in the transport zone.

Change-Id: If4eddc1eed465a6288ed4a66a59325874c0ab2e4
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoACL ingress/egress service bindings 25/41325/6
Somashekar Byrappa [Tue, 5 Jul 2016 09:41:49 +0000 (15:11 +0530)]
ACL ingress/egress service bindings

+ ACL ingress/egress service binding implementation is done but currently
the call to bind/unbind services are commented.
This should be uncommented once ACL related flow programming is complete.

+ Service priorities have been updated for L3VPN and ELAN.

+ Added table miss entries for both ingress and egress ACL tables during
node up.

Change-Id: Ibf4168328f3c8fb647cfcdf9079729fbbc93f7ae
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoAmendments to displayNeutronPorts CLI + listed changes 31/41631/2
Abhinav Gupta [Mon, 11 Jul 2016 06:58:09 +0000 (12:28 +0530)]
Amendments to displayNeutronPorts CLI + listed changes

Following things are taken care of:

a. Displaying neutron ports without fixed IPs
b. Displaying neutron ports with multiple fixed IPs
c. Displaying neutron ports with IPv6 fixed IPs
d. Additional error handling to fail only one the failing ports, not
all, in case of any.

Also, done changes for the following:
i) neutron port addition/removal/updation in case of fixedIP not
present is handled.
ii) Add/remove of port to cache modified to be populated for all use cases

Change-Id: I9e2bfa6c7c0bccce6ce55eeb161ac47c94e93a09
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoMerge "Fixes for floatingIP and cluster reboot issue for int/ext VPN"
Vishal Thapar [Mon, 11 Jul 2016 06:01:15 +0000 (06:01 +0000)]
Merge "Fixes for floatingIP and cluster reboot issue for int/ext VPN"

7 years agoMerge "Auto-creation of bridges in vpnservice"
Anil Vishnoi [Fri, 8 Jul 2016 21:24:51 +0000 (21:24 +0000)]
Merge "Auto-creation of bridges in vpnservice"

7 years agoFix potential null issue by propagating Optional 07/41307/2
Michael Vorburger [Mon, 4 Jul 2016 22:06:36 +0000 (00:06 +0200)]
Fix potential null issue by propagating Optional

Change-Id: Id87c8a52c09cbd7718f9d3268371c8088c3181c9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFix in NeutronVpnProvider.java 62/41562/2
Suraj Ranjan [Fri, 8 Jul 2016 14:03:49 +0000 (19:33 +0530)]
Fix in NeutronVpnProvider.java

This commit provides fix for null pointer exception due to the reason
floatingIpListener was being used by portListener, before it was
initialized.

Change-Id: Idec840cb34671eddd924966d5adb48675ac84974
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agoFixes for floatingIP and cluster reboot issue for int/ext VPN 70/41470/5
Abhinav Gupta [Thu, 7 Jul 2016 11:08:21 +0000 (16:38 +0530)]
Fixes for floatingIP and cluster reboot issue for int/ext VPN

1. FloatingIP support for assc to fixedIP while creation added
2. Cluster reboot issue for internal VPN fixed by separating out int/ext
VPN (assc/dissc of router to/from VPN) codepiece and checking for presence
of VPN upon reboot first.
3. Minor indentation changes

Change-Id: If320bb2ef6ca34212c0355efeca6ce610db0ce09
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoMerge "Remove x2 catch (Exception e) logger.error"
Sam Hague [Thu, 7 Jul 2016 18:06:38 +0000 (18:06 +0000)]
Merge "Remove x2 catch (Exception e) logger.error"

7 years agoMerge "Fix bad single { instead {} in logger message"
Sam Hague [Thu, 7 Jul 2016 18:06:32 +0000 (18:06 +0000)]
Merge "Fix bad single { instead {} in logger message"

7 years agoMerge "Remove (apparently) un-used AclService interface"
Sam Hague [Thu, 7 Jul 2016 18:06:25 +0000 (18:06 +0000)]
Merge "Remove (apparently) un-used AclService interface"

7 years agoAuto-creation of bridges in vpnservice 18/40918/5
Josh [Tue, 28 Jun 2016 09:24:14 +0000 (11:24 +0200)]
Auto-creation of bridges in vpnservice

When a new OVSDB node is detected, the
event is caught and we make sure that
br-int and br-ex (if l3 is configured)
exist. Note that br-ex is not technically
required and once devstack is modified
to not check for it, we should go back
in to this code and no longer create it.

This code add dependencies to the
following ovsdb project utility bundles
and jars:
- southbound-api
- utils.mdsal-utils
- utils.southbound-utils
- utils.config

Bug for removing checks for br-int when
running devstack:
https://bugs.launchpad.net/networking-odl/+bug/1599853

Change-Id: I852c2b619c99dc2748808efe27d8d24487e0cee7
Signed-off-by: Josh <jhershbe@redhat.com>
7 years agoMerge "Fix very bad exception handling in AclServiceUtils read()"
Sam Hague [Thu, 7 Jul 2016 11:24:56 +0000 (11:24 +0000)]
Merge "Fix very bad exception handling in AclServiceUtils read()"

7 years agoRemove (apparently) un-used AclService interface 08/41308/2
Michael Vorburger [Mon, 4 Jul 2016 22:10:47 +0000 (00:10 +0200)]
Remove (apparently) un-used AclService interface

Change-Id: Id01c5080a70b571c40fc292cad014e5d64cf241d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFix bad single { instead {} in logger message 60/41360/2
Michael Vorburger [Tue, 5 Jul 2016 22:07:37 +0000 (00:07 +0200)]
Fix bad single { instead {} in logger message

Change-Id: Ib1c97b983316dc7dbae4a06cde0a06dff0041993
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "remove unnecessary @Override close() "
Sam Hague [Thu, 7 Jul 2016 11:20:00 +0000 (11:20 +0000)]
Merge "remove unnecessary @Override close() "

7 years agoMerge "Remove redundant "public" from Java interface"
Sam Hague [Thu, 7 Jul 2016 11:18:33 +0000 (11:18 +0000)]
Merge "Remove redundant "public" from Java interface"

7 years agoMerge "Added existsVPN API and refactored NeutronVPN"
Vishal Thapar [Thu, 7 Jul 2016 11:07:05 +0000 (11:07 +0000)]
Merge "Added existsVPN API and refactored NeutronVPN"

7 years agoFix typo in factory-method name 35/41335/1
Alexis de Talhouët [Tue, 5 Jul 2016 16:23:22 +0000 (12:23 -0400)]
Fix typo in factory-method name

Change-Id: I7bfd07cf254a4cf3917ae1c9a5aae90bf74efb22
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Signed-off-by: Alexis de Talhouët <alexis.de.t@gmail.com>
7 years agoAdded existsVPN API and refactored NeutronVPN 67/41267/5
Abhinav Gupta [Mon, 4 Jul 2016 09:39:55 +0000 (15:09 +0530)]
Added existsVPN API and refactored NeutronVPN

1. existsVPN API added in VPNMgr, removed from NeutronVPN
2. Indentation, logging, import statement changes
3. Removed unused router-dpns yang model
4. Added notifications for router assc/dissc to/from VPN
5. Refactored a couple of validations

Change-Id: I139b5809b6519de5be3618b0accdb7987b551729
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoRemove x2 catch (Exception e) logger.error 13/41313/1
Michael Vorburger [Mon, 4 Jul 2016 23:19:03 +0000 (01:19 +0200)]
Remove x2 catch (Exception e) logger.error

Unless I'm missing something, this has no real added value (as the
caller would ultimately catch runtime exceptions anyway), and could
potentially hide other errors.

Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Change-Id: I4f111bbafd01cdb2bf4cba09714ddd05a9d2d1ed

7 years agoFix very bad exception handling in AclServiceUtils read() 06/41306/1
Michael Vorburger [Mon, 4 Jul 2016 21:25:55 +0000 (23:25 +0200)]
Fix very bad exception handling in AclServiceUtils read()

Change-Id: I037e550e77744ddd22ccc869077e45e48c17fd56
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoRemove redundant "public" from Java interface 03/41303/1
Michael Vorburger [Mon, 4 Jul 2016 20:12:50 +0000 (22:12 +0200)]
Remove redundant "public" from Java interface

I'm about to enforce this as a Checkstyle rule in
https://git.opendaylight.org/gerrit/#/c/41302/

Change-Id: I742bbac2187e471ca8b5c2fa4e55af4b8c607192
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoremove unnecessary @Override close() 00/41300/1
Michael Vorburger [Mon, 4 Jul 2016 20:01:20 +0000 (22:01 +0200)]
remove unnecessary @Override close()

In InterfaceEventListener, the super.close() already has LOG. (And it's
bad anyway to use only e.getMessage() instead of e anyway; I'll be
extending Checkstyle to not permit this anymore.)

Change-Id: Ifaa35302e449b38b0f4187cd942eb09c1876b8b9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoLoad config system files in etc/opendaylight/karaf 93/41293/1
Alexis de Talhouët [Mon, 4 Jul 2016 17:12:01 +0000 (13:12 -0400)]
Load config system files in etc/opendaylight/karaf

There is where config system file should be loaded

Change-Id: Iec1a91f89f9f0effd95283c4d95d9d56fafa43a7
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Signed-off-by: Alexis de Talhouët <alexis.de.t@gmail.com>
7 years agoMerge "Instead of augment hwvtep, added a new entity which references the logical...
Vishal Thapar [Mon, 4 Jul 2016 11:58:20 +0000 (11:58 +0000)]
Merge "Instead of augment hwvtep, added a new entity which references the logical switch ETree YANG model cosmetic change"

8 years agoFix breakage due to aclservice yang models changes 43/41243/1
Alexis de Talhouët [Sun, 3 Jul 2016 03:54:41 +0000 (23:54 -0400)]
Fix breakage due to aclservice yang models changes

This patch changes yang models https://git.opendaylight.org/gerrit/#/c/41234/2
and broke netvirt.

Change-Id: Iae6c2623a58d6e9da6f24f7c70c023dc5d7e6a7a
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoMerge "Initial changes for IPv6 Service"
Sam Hague [Sat, 2 Jul 2016 17:21:59 +0000 (17:21 +0000)]
Merge "Initial changes for IPv6 Service"

8 years agoMerge "clean aclservice files"
Sam Hague [Sat, 2 Jul 2016 17:20:42 +0000 (17:20 +0000)]
Merge "clean aclservice files"

8 years agoMerge "added Security Rule listener to handle coversion from security rule to acl...
Sam Hague [Sat, 2 Jul 2016 12:04:51 +0000 (12:04 +0000)]
Merge "added Security Rule listener to handle coversion from security rule to acl model"

8 years agoInstead of augment hwvtep, added a new entity which references the logical switch 17/40517/11
Guy Sela [Sun, 19 Jun 2016 10:26:59 +0000 (13:26 +0300)]
Instead of augment hwvtep, added a new entity which references the logical switch
ETree YANG model
cosmetic change

Change-Id: I33ad5e3a435b7634e0dc3032ae9dfcf2a09f6d09
Signed-off-by: Guy Sela <guy.sela@hpe.com>
8 years agoclean aclservice files 34/41234/2
Sam Hague [Sat, 2 Jul 2016 01:58:31 +0000 (21:58 -0400)]
clean aclservice files

Change-Id: I4927a5cbdf76335e550715387fe965d2df789ef2
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoMerge "Support for IT ping feature"
Sam Hague [Sat, 2 Jul 2016 11:43:00 +0000 (11:43 +0000)]
Merge "Support for IT ping feature"

8 years agoremove unused features to shorten build time 33/41233/1
Sam Hague [Sat, 2 Jul 2016 01:32:02 +0000 (21:32 -0400)]
remove unused features to shorten build time

Change-Id: I73608c1f8e6b9a7cda5a21fcd2d75bc583fe26de
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoSupport for IT ping feature 53/40453/13
Josh [Thu, 16 Jun 2016 17:13:08 +0000 (19:13 +0200)]
Support for IT ping feature

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

Change-Id: Ic70e8faa85b9e889155fce554ae46d516ca16124
Signed-off-by: Josh <jhershbe@redhat.com>
8 years agoMerge "Multiple fixes in neutronvpn code"
Sam Hague [Fri, 1 Jul 2016 19:05:19 +0000 (19:05 +0000)]
Merge "Multiple fixes in neutronvpn code"

8 years agoMerge "Bug 5860 Fix port event wrong ordering"
Sam Hague [Fri, 1 Jul 2016 15:43:33 +0000 (15:43 +0000)]
Merge "Bug 5860 Fix port event wrong ordering"

8 years agoMerge "ACL yang updated to include allowed-address-pairs with Interface augmentation"
Sam Hague [Fri, 1 Jul 2016 15:43:01 +0000 (15:43 +0000)]
Merge "ACL yang updated to include allowed-address-pairs with Interface augmentation"

8 years agoMultiple fixes in neutronvpn code 78/40578/22
Suraj Ranjan [Tue, 21 Jun 2016 04:46:54 +0000 (10:16 +0530)]
Multiple fixes in neutronvpn code

Commit includes:

1> Fixing NPE in NeutronVpnUtils when no network-type is provided from
northbound

2> NVPN: neutron northbound support for gateway mac for external
networks

3> Use vif_type to determine portname prefix

4> NeutronVPN: Handling fixed-floating IP dissociation for floatingIP
delete

5> NeutronVPN additional -ve validations via ECM for network/router
assc/dissc

  a. Added validations for the following:

  a1) Associate network(s) to vpn:
    i) network already assc to another VPN
    ii) network's subnet added to some router as interface

  a2) Dissociate network(s) from vpn:
    i) network's subnet added to some router as interface

  a3) Associate router to vpn:
    i) router assc to another vpn
    ii) network corresponding to router's subnet interface already assc to VPN

  a4) Dissociate router from vpn:
    i) router assc to another vpn

  b. Updating VPNMaps once assc/dissc are done in assc/dissc network(s) from
     VPN

6> NeutronVPN: adding yang model and notifications for router-dpn
map

  a. Added a container to maintain mapping between neutron router and
  DPN(s) on which vpn-interfaces for router are present.

  b. Added notifications for router associated/dissociated to/from vpn

Change-Id: I30931b4ce6013a4bdc0d58ccc86fa8c83d0cdff6
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
8 years agoMerge "Neutron port listener updated to handle security group configurations."
Sam Hague [Fri, 1 Jul 2016 13:53:59 +0000 (13:53 +0000)]
Merge "Neutron port listener updated to handle security group configurations."

8 years agoACL yang updated to include allowed-address-pairs with Interface augmentation 09/41209/1
Shashidhar R [Fri, 1 Jul 2016 12:29:47 +0000 (17:59 +0530)]
ACL yang updated to include allowed-address-pairs with Interface augmentation

Neutron supports default anti-spoofing capabilities with
allowed-address-pair Neutron port attribute which also gets
enabled/disabled with port_security_enabled. As this is based on SG flag,
updating ACL yang to support same with Interface augmentation.

Change-Id: If72f7191769c1411992fbae3d30e40440ca83320
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
8 years agoBug 5860 Fix port event wrong ordering 63/38563/3
oshvartz [Mon, 9 May 2016 09:08:04 +0000 (12:08 +0300)]
Bug 5860 Fix port event wrong ordering

If the southbound event arrives before the northbound event the
tenant network is not there yet and therefore the flows for
this port will not be created.

This patch add new logic to the PortHandler (northbound event)
to verify if the southbound event was already arrived and to
add the missing flows.

Change-Id: Id8ad03b6de8afff0b64ca3af3457281ddbaf0f74
Signed-off-by: oshvartz <oshvartz@redhat.com>
8 years agoMerge "Added support for fixed Security group."
Sam Hague [Fri, 1 Jul 2016 11:25:14 +0000 (11:25 +0000)]
Merge "Added support for fixed Security group."

8 years agoadded Security Rule listener to handle coversion from security rule to acl model 60/40860/6
Anil [Mon, 27 Jun 2016 11:12:11 +0000 (16:42 +0530)]
added Security Rule listener to handle coversion from security rule to acl model

Change-Id: I4d7c80e78c58b5739e085bc3ad6f4e1199f1ee49
Signed-off-by: gujele <imanilyadav@gmail.com>
8 years agoNeutron port listener updated to handle security group configurations. 72/40872/5
Shashidhar R [Mon, 27 Jun 2016 13:19:22 +0000 (18:49 +0530)]
Neutron port listener updated to handle security group configurations.

During Neutron port add/update, Security group details are updated to corresponding ACL Config DS.

Change-Id: I008fa2fcf868c39068f99c48514fe05d6885ffa8
Signed-off-by: Shashidhar R <shashidhar.raja@ericsson.com>
8 years agoInitial changes for IPv6 Service 71/40571/7
Sridhar Gaddam [Mon, 20 Jun 2016 20:54:19 +0000 (02:24 +0530)]
Initial changes for IPv6 Service

Change-Id: Ib10708e7010360eacb00f89655f0dbb59359a6c5
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Signed-off-by: kalaiselvik <Kalaiselvi_K@Dell.com>
Signed-off-by: Mohnish Anumala <Mohnish_Anumala@Dell.com>
8 years agoAdd blueprint wiring for neutron renderer 98/38998/8
Alexis de Talhouët [Tue, 17 May 2016 17:41:00 +0000 (13:41 -0400)]
Add blueprint wiring for neutron renderer

Change-Id: I00fcd2f7d661ec38802974fc39da4a4009b37d43
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoAdded support for fixed Security group. 66/40766/9
Aswin Suryanarayanan [Thu, 23 Jun 2016 11:27:11 +0000 (16:57 +0530)]
Added support for fixed Security group.

1) Added DHCP and Arp rules
2) Added default connection tracking rules.

The rules will be added to the ovs only after integrating with genius.

Change-Id: I282675bf1b6e34998b3eb7e5998661cd8ab7ff22
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
8 years agoAdd blueprint wiring for openstack/net-virt-providers 08/39008/21
Alexis de Talhouët [Tue, 17 May 2016 19:56:46 +0000 (15:56 -0400)]
Add blueprint wiring for openstack/net-virt-providers

Change-Id: If0d6691d9cd77666c65c2c4a2751acfbae660572
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoAdd blueprint wiring for openstack/net-virt 06/39006/22
Alexis de Talhouët [Tue, 17 May 2016 19:01:33 +0000 (15:01 -0400)]
Add blueprint wiring for openstack/net-virt

Change-Id: I0d32881db4c1ee939f87441d75e38dbe1c34374f
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoAdd blueprint wiring for openstack/net-virt-sfc 09/39009/18
Alexis de Talhouët [Tue, 17 May 2016 20:20:52 +0000 (16:20 -0400)]
Add blueprint wiring for openstack/net-virt-sfc

Change-Id: I0358dbbeacdf3a734b721012a73fa790cdeb57ff
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoRemove getModuleName()/getInstanceName() in IT 16/40116/12
Alexis de Talhouët [Thu, 9 Jun 2016 15:25:44 +0000 (11:25 -0400)]
Remove getModuleName()/getInstanceName() in IT

see: https://git.opendaylight.org/gerrit/#/c/39891/

Change-Id: I08725e0ce15697fee8ad76f7ce5d51bfdfd1f816
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoFix breakage due to SFC yang models changes 39/41039/5
Alexis de Talhouët [Wed, 29 Jun 2016 18:18:12 +0000 (14:18 -0400)]
Fix breakage due to SFC yang models changes

This patch modify many yang models used by Netvirt-SFC
https://git.opendaylight.org/gerrit/#/c/40209/

- ietf-access-control-list.yang is now in MDSAL
review mismatch and pom dependency mismatch

- ietf-packet-fields.yang
has been move to MDSAL
is using a newer version of ietf-yang-type

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

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