netvirt.git
7 years agoaclservice-impl use infrautils AbstractLifecycle 49/45249/2
Michael Vorburger [Tue, 6 Sep 2016 15:43:50 +0000 (17:43 +0200)]
aclservice-impl use infrautils AbstractLifecycle

and do NOT use (repeat) @PostConstruct and @PreDestroy - they are on
AbstractLifecycle, which does correct exception handling etc.

Based on https://git.opendaylight.org/gerrit/#/c/44554/ &
https://git.opendaylight.org/gerrit/#/c/45248/ (follow-up); on which
this is dependent.

Also includes fixed up features.xml in line with above.

I've manually tested this in Karaf and made sure BP (diag) is OK.

Change-Id: I4fbc088fee359b74d9d47b89bb441cdeaecc2f84
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Bug 6666: Making sure no 0 datapathID is used when adding interfaces to the...
Sam Hague [Thu, 8 Sep 2016 13:39:38 +0000 (13:39 +0000)]
Merge "Bug 6666: Making sure no 0 datapathID is used when adding interfaces to the model, and when the node updated with the datapathID, create the relevant interfaces"

7 years agoMerge "Bug 6628 - Handling missing router entities DMAC table flows"
Sam Hague [Thu, 8 Sep 2016 12:15:48 +0000 (12:15 +0000)]
Merge "Bug 6628 - Handling missing router entities DMAC table flows"

7 years agoMerge "Bug 6609: when 2 vm belonging to the same NETWORK/SUBNET get created in differ...
Sam Hague [Thu, 8 Sep 2016 12:11:46 +0000 (12:11 +0000)]
Merge "Bug 6609: when 2 vm belonging to the same NETWORK/SUBNET get created in different COMOUTE NODE - ping between those 2 did not work"

7 years agoMerge "Support multiple routers per external GW"
Sam Hague [Thu, 8 Sep 2016 12:07:31 +0000 (12:07 +0000)]
Merge "Support multiple routers per external GW"

7 years agoBug 6666: Making sure no 0 datapathID is used when adding interfaces to the model... 71/45371/3
Tomer [Wed, 7 Sep 2016 13:38:19 +0000 (16:38 +0300)]
Bug 6666: Making sure no 0 datapathID is used when adding interfaces to the model, and when the node updated with the datapathID, create the relevant interfaces

Change-Id: I213afac94544dc4e806cb684fc12126e358747b3
Signed-off-by: Tomer <tomer.pearl@hpe.com>
7 years agoMerge "Fix bad design of AclClusterUtil to make it pluggable for e2e tests"
Stephen Kitt [Thu, 8 Sep 2016 11:45:35 +0000 (11:45 +0000)]
Merge "Fix bad design of AclClusterUtil to make it pluggable for e2e tests"

7 years agoBug 6628 - Handling missing router entities DMAC table flows 88/44988/17
yair [Thu, 1 Sep 2016 11:11:56 +0000 (14:11 +0300)]
Bug 6628 - Handling missing router entities DMAC table flows

This is part of the L2 L3 pipeline reversal.

Change-Id: If91c3cf3a06ddfb5dbf1317fc8dea0a72616e25f
Signed-off-by: yair <yair.zinger@hpe.com>
7 years agoBug 6609: when 2 vm belonging to the same NETWORK/SUBNET get created in different... 96/44996/7
Gobinath [Thu, 1 Sep 2016 12:59:07 +0000 (18:29 +0530)]
Bug 6609: when 2 vm belonging to the same NETWORK/SUBNET get created in different COMOUTE NODE - ping between those 2 did not work

Fix for avoiding race condition while programming remote BC
group in participating DPNs. With earlier code, there was a chance of this
group getting overwritten by another thread

Change-Id: I09ae213c69ae971011661e713aaa92788eec1ea7
Signed-off-by: Gobinath <gobinath@ericsson.com>
7 years agoSupport multiple routers per external GW 33/45133/3
Koby Aizer [Thu, 1 Sep 2016 10:23:47 +0000 (13:23 +0300)]
Support multiple routers per external GW

Was finally able to see the basic tempest scenario test
passing with this patch! (with a small tempest workaround
to disable ping to router interface, which is currently not
supported in netvirt)

It includes the following changes:
 * Create a vpninstance (with a new vpnId) for the neutron external network
 * Associate the external interface with that vpninstance
 * Partially revert changes done in [1] & [2], to make sure external
   floating IP & NAT rules are associated with the new vpnId
 * Fix ExternalNetworkGroupInstaller to look for the gateway IP in the
   under the new vpnId. Also do some refactoring to allow better debug messages
   for ARP resolving.
   Also, drop traffic sent to external gw traffic if its mac is not resolved (Bug 6653)

This code leverages current implementation of NAT tables to translate external vpnId
to internal vpnIds for specific floating / PNAT IPs.

[1] https://git.opendaylight.org/gerrit/#/c/43303/
[2] https://git.opendaylight.org/gerrit/#/c/43102/

Change-Id: I8d3019389d7fe6fc923a509082e7a13d61a91444
Signed-off-by: Koby Aizer <koby.aizer@hpe.com>
7 years agoFix bad design of AclClusterUtil to make it pluggable for e2e tests 94/45094/3
Michael Vorburger [Fri, 2 Sep 2016 16:48:16 +0000 (18:48 +0200)]
Fix bad design of AclClusterUtil to make it pluggable for e2e tests

Having AclClusterUtil as a "Bean" with a @PostContruct start() method
but then a static method (isEntityOwner()) which relies on that start()
is bad design - it's either static or it's not, not half-half.  It's
better not be static, and have an interface; this way the (upcoming)
end-to-end AclServiceTest can easily plug in an "always true"
implementation.

Change-Id: Ia2c07ba1cfc5b7447fcd10ad88e1008fca3df35f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Fixes Bug 6624"
Sam Hague [Fri, 2 Sep 2016 20:05:25 +0000 (20:05 +0000)]
Merge "Fixes Bug 6624"

7 years agoBug 6623: Fix NPE in AclServiceUtils 63/45063/2
Sridhar Gaddam [Fri, 2 Sep 2016 11:35:30 +0000 (17:05 +0530)]
Bug 6623: Fix NPE in AclServiceUtils

This patch fixes couple of exceptions when an IPv6 address
is present in allowed_address_pairs.

Change-Id: If0660b299500b7c00609d97484ea42961bb73dd9
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoFixes Bug 6624 67/45067/1
Aswin Suryanarayanan [Fri, 2 Sep 2016 13:12:07 +0000 (18:42 +0530)]
Fixes Bug 6624

Null check is added for dpid and aclUuidList.

Change-Id: Ib11bcd599474d474ee8157d44249d0e82484363b
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoMerge "Fix Checkstyle violations related to exception handling in elanmanager."
Sam Hague [Thu, 1 Sep 2016 22:40:20 +0000 (22:40 +0000)]
Merge "Fix Checkstyle violations related to exception handling in elanmanager."

7 years agoMerge "Fix NPE and other exceptions"
Sam Hague [Thu, 1 Sep 2016 22:29:05 +0000 (22:29 +0000)]
Merge "Fix NPE and other exceptions"

7 years agoFix Checkstyle violations related to exception handling in elanmanager. 86/44786/5
Michael Vorburger [Mon, 29 Aug 2016 12:07:07 +0000 (14:07 +0200)]
Fix Checkstyle violations related to exception handling in elanmanager.

read
https://wiki.opendaylight.org/view/BestPractices/Coding_Guidelines#IllegalCatch

This change also includes a few additional non-Exception handling
related minor Checkstyle fixes, and can now enable enforcement of
Checkstyle for elanmanager.  (This is not directly related to the
exception handling fixes, but those were simply the last Checkstyle
violations left, and in order to ensure future non-regression, we can
now, finally, enable enforcement.)

Change-Id: If233f3d856b2f5402ef551f8ceceb242376b671c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoFix NPE and other exceptions 37/45037/1
Sam Hague [Thu, 1 Sep 2016 20:32:54 +0000 (16:32 -0400)]
Fix NPE and other exceptions

Change-Id: I691c475c6d032e543d741872afee7bbe8ec0c0ea
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd config for neutronvpn 29/45029/2
Sam Hague [Thu, 1 Sep 2016 18:12:38 +0000 (14:12 -0400)]
Add config for neutronvpn

Change-Id: I63945c786808a93a8c825ee4862eb8f76cc7593c
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Use right docker instance"
Sam Hague [Thu, 1 Sep 2016 18:38:26 +0000 (18:38 +0000)]
Merge "Use right docker instance"

7 years agoMerge "Bug 6614: Fix NPE in AclInterfaceCacheUtil"
Sam Hague [Thu, 1 Sep 2016 18:24:30 +0000 (18:24 +0000)]
Merge "Bug 6614: Fix NPE in AclInterfaceCacheUtil"

7 years agoMerge "Fix FloatingIp add GARP handling"
Sam Hague [Thu, 1 Sep 2016 18:21:38 +0000 (18:21 +0000)]
Merge "Fix FloatingIp add GARP handling"

7 years agoUse right docker instance 01/45001/3
Sam Hague [Thu, 1 Sep 2016 13:03:32 +0000 (09:03 -0400)]
Use right docker instance

Change-Id: Id30c7034674fdf08557a8fccd63a37b7b4fa1fed
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBug 6608: Solve TZ name mismatch 94/44994/2
Slava [Thu, 1 Sep 2016 12:10:44 +0000 (15:10 +0300)]
Bug 6608: Solve TZ name mismatch

Change-Id: I1d567bec97773a44ce16f1127b4ee43bdb0cf1c5
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agoBug 6614: Fix NPE in AclInterfaceCacheUtil 12/45012/1
Sridhar Gaddam [Thu, 1 Sep 2016 15:24:12 +0000 (20:54 +0530)]
Bug 6614: Fix NPE in AclInterfaceCacheUtil

Change-Id: I9337c8fb2beffb6e5b07d186974c75a3ec25740f
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoFix FloatingIp add GARP handling 45/44945/5
Ravit Peretz [Wed, 31 Aug 2016 15:49:20 +0000 (18:49 +0300)]
Fix FloatingIp add GARP handling

Consolidate VpnFloatingIPHanlder
Send GARP only for VM OVS
Reuse SendArpRequestInput
Change-Id: I0ff992d3175470163a77f4f216c5febeeb6b53a3
Signed-off-by: Ravit Peretz <ravit.peretz@hpe.com>
7 years agoMerge "BUG: 6582 copying DHCP service config file to etc/..config"
Sam Hague [Thu, 1 Sep 2016 15:05:04 +0000 (15:05 +0000)]
Merge "BUG: 6582 copying DHCP service config file to etc/..config"

7 years agoMerge "BUG 6598 listen to a change on BridgeRefEntry"
Sam Hague [Thu, 1 Sep 2016 14:02:38 +0000 (14:02 +0000)]
Merge "BUG 6598 listen to a change on BridgeRefEntry"

7 years agoMerge "Fix NPE when updating vpnInterface"
Sam Hague [Thu, 1 Sep 2016 14:01:35 +0000 (14:01 +0000)]
Merge "Fix NPE when updating vpnInterface"

7 years agoMerge "Fix DMAC flows for Vlan E/W provider"
Sam Hague [Thu, 1 Sep 2016 14:00:57 +0000 (14:00 +0000)]
Merge "Fix DMAC flows for Vlan E/W provider"

7 years agoBUG: 6582 copying DHCP service config file to etc/..config 13/44913/4
epgoraj [Wed, 31 Aug 2016 09:50:38 +0000 (15:20 +0530)]
BUG: 6582 copying DHCP service config file to etc/..config

Change-Id: Icaf6e9e9f18f70b74d98dcfbbbc6ba2b5f0531ad
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
7 years agoBUG 6598 listen to a change on BridgeRefEntry 63/44963/3
Shlomi [Wed, 31 Aug 2016 22:16:08 +0000 (01:16 +0300)]
BUG 6598 listen to a change on BridgeRefEntry

in cases a bridge is created without dpnId the creation of TZ fails. we need to re-try when the entry is updated.

Change-Id: Ifc808b8895911df69703adf4122828a7056a0d6e
Signed-off-by: Shlomi <shlomi.alfasi@hpe.com>
7 years agoMerge "fix security groups IT"
Stephen Kitt [Thu, 1 Sep 2016 08:19:27 +0000 (08:19 +0000)]
Merge "fix security groups IT"

7 years agofix security groups IT 68/44968/1
Sam Hague [Thu, 1 Sep 2016 00:54:03 +0000 (20:54 -0400)]
fix security groups IT

Change-Id: I6cb9b226ed15241cb206e412352e9af02ef5a766
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Bug 6592: Adding output to group of external network when using NAPT"
Sam Hague [Thu, 1 Sep 2016 00:26:57 +0000 (00:26 +0000)]
Merge "Bug 6592: Adding output to group of external network when using NAPT"

7 years agoMerge "Bug 6509 - External network group tables removal is not working - indirect...
Sam Hague [Wed, 31 Aug 2016 20:11:34 +0000 (20:11 +0000)]
Merge "Bug 6509 - External network group tables removal is not working - indirect type"

7 years agoMerge "Reduce IPv6 Periodic Unsolicited RA timer interval"
Sam Hague [Wed, 31 Aug 2016 20:05:51 +0000 (20:05 +0000)]
Merge "Reduce IPv6 Periodic Unsolicited RA timer interval"

7 years agoFix DMAC flows for Vlan E/W provider 19/44619/10
Josh [Wed, 24 Aug 2016 18:30:09 +0000 (20:30 +0200)]
Fix DMAC flows for Vlan E/W provider

This fix addresses two bugs related only in that
they both prevent vlan provider networks from
working:

1) Wrong (remote) dmac flows generated for Vlan provider networks
https://bugs.opendaylight.org/show_bug.cgi?id=6583

2) Mac learning in vlan provider networks clobbers static flows with wrong flows
https://bugs.opendaylight.org/show_bug.cgi?id=6584

The fix for the (1) is to test if the net is
of type vlan and then retrieve the correct action.

The fix for (2) is to simply disable configuration
of remote dmac flows when the interface from whence
entered the unknown smac is a vlan or flat network
provider interface.

Change-Id: Id3431e94d96dac5230679fcb70fe0a79efbd96a4
Signed-off-by: Josh <jhershbe@redhat.com>
7 years agoFix NPE when updating vpnInterface 36/44636/2
Koby Aizer [Wed, 24 Aug 2016 22:40:49 +0000 (01:40 +0300)]
Fix NPE when updating vpnInterface

Change-Id: Ib7c3a8ab804947d018fc21c2fedcbf8894346c03
Signed-off-by: Koby Aizer <koby.aizer@hpe.com>
7 years agoReduce IPv6 Periodic Unsolicited RA timer interval 55/44955/1
Sridhar Gaddam [Wed, 31 Aug 2016 17:32:04 +0000 (23:02 +0530)]
Reduce IPv6 Periodic Unsolicited RA timer interval

In some situations it was noticed that flow programming is taking
some time. Due to this, the Router Soliciation requests from the
VMs are not punted to the controller (VMs are able to acquire IPv6
address only upon arrival of unsolicited Router Advts from the ODL
controller). Currently the periodic unsolicited RA interval is set
to 5 mins. This patch reduces the interval to 60 seconds to mitgate
such situations.

In a future patch, we would enhance the periodic RA interval to an
updated algorithm which will provide a better user experience.

Change-Id: I2eb4061b487cfa709ef02b7d093481799294adb3
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoMerge "BUG: 6569 Exceptions thrown while removing mac-entries"
Sam Hague [Wed, 31 Aug 2016 16:26:05 +0000 (16:26 +0000)]
Merge "BUG: 6569 Exceptions thrown while removing mac-entries"

7 years agoMerge "aclservice Java @Inject etc. instead of XML for "inner" wiring"
Sam Hague [Wed, 31 Aug 2016 16:23:25 +0000 (16:23 +0000)]
Merge "aclservice Java @Inject etc. instead of XML for "inner" wiring"

7 years agoBug 6592: Adding output to group of external network when using NAPT 03/44903/3
Tomer [Mon, 29 Aug 2016 09:33:44 +0000 (12:33 +0300)]
Bug 6592: Adding output to group of external network when using NAPT

https://bugs.opendaylight.org/show_bug.cgi?id=6592

Change-Id: I40b40f5f65c177b3a77a3206c95a4720ed0e66de
Signed-off-by: Tomer <tomer.pearl@hpe.com>
7 years agoBug 6509 - External network group tables removal is not working - indirect type 04/44904/2
yair [Wed, 31 Aug 2016 09:10:31 +0000 (12:10 +0300)]
Bug 6509 - External network group tables removal is not working - indirect type

Change external network group tables type to All instead of Indirect

This is a workaround fix to the 6509
https://bugs.opendaylight.org/show_bug.cgi?id=6509
The real cause for the bug will be solve in Openflowplugin in the future
https://bugs.opendaylight.org/show_bug.cgi?id=6492

Change-Id: I8bb48a644e6d815f1fe52588aef6ddc668df4956
Signed-off-by: yair <yair.zinger@hpe.com>
7 years agoBUG: 6569 Exceptions thrown while removing mac-entries 12/44912/2
epgoraj [Wed, 31 Aug 2016 09:41:53 +0000 (15:11 +0530)]
BUG: 6569 Exceptions thrown while removing mac-entries

Change-Id: I40b3ad8865994f9481dedff3c14074dc55c9db9e
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
7 years agoMerge "Fixes the SSH drop from DHCP namespace"
Andre Fredette [Wed, 31 Aug 2016 03:28:33 +0000 (03:28 +0000)]
Merge "Fixes the SSH drop from DHCP namespace"

7 years agoMerge "correct default prootcol handling in stateless ACL"
Sam Hague [Tue, 30 Aug 2016 21:12:28 +0000 (21:12 +0000)]
Merge "correct default prootcol handling in stateless ACL"

7 years agoMerge "Bug 6559: Create TZ for routed networks"
Sam Hague [Tue, 30 Aug 2016 21:12:05 +0000 (21:12 +0000)]
Merge "Bug 6559: Create TZ for routed networks"

7 years agoFixes the SSH drop from DHCP namespace 76/44876/2
Aswin Suryanarayanan [Tue, 30 Aug 2016 16:59:17 +0000 (22:29 +0530)]
Fixes the SSH drop from DHCP namespace

1)Changed netvirt neutron DCL to match the neutron object
representation.

2)Changed the TCP_SYN rule per to make it per port. Added IPv6 SYN drop
rule.

Change-Id: I94cef12de99f87b156e54cc07d7ea135a1549522
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoMerge "Fixed the use of index NwConstants"
Sam Hague [Tue, 30 Aug 2016 16:23:50 +0000 (16:23 +0000)]
Merge "Fixed the use of index NwConstants"

7 years agoMerge "Bug 6486: add security-group-mode options"
Sam Hague [Tue, 30 Aug 2016 16:23:40 +0000 (16:23 +0000)]
Merge "Bug 6486: add security-group-mode options"

7 years agoBug 6559: Create TZ for routed networks 42/44842/3
Slava [Tue, 30 Aug 2016 10:15:44 +0000 (13:15 +0300)]
Bug 6559: Create TZ for routed networks

Change-Id: Id3fda9454b5c73aaa6c5de696036309a8cc0f53b
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agocorrect default prootcol handling in stateless ACL 63/44663/3
Slava [Thu, 25 Aug 2016 12:25:39 +0000 (15:25 +0300)]
correct default prootcol handling in stateless ACL

Change-Id: I0f87bfc77bd8c2d44fb4f8c522486779138a9df2
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agoMerge "Fix Checkstyle violations (formatting only, no real changes)"
Sam Hague [Tue, 30 Aug 2016 12:39:45 +0000 (12:39 +0000)]
Merge "Fix Checkstyle violations (formatting only, no real changes)"

7 years agoMerge "Bug 6556 - Fix to send the first unsolicited RA message for a Router interface"
Sam Hague [Tue, 30 Aug 2016 12:33:06 +0000 (12:33 +0000)]
Merge "Bug 6556 - Fix to send the first unsolicited RA message for a Router interface"

7 years agoFixed the use of index NwConstants 48/44648/3
yair [Thu, 25 Aug 2016 09:52:16 +0000 (12:52 +0300)]
Fixed the use of index NwConstants

There was a change to support L2 before L3
https://git.opendaylight.org/gerrit/#/c/43126/
Change the use of constnats to the new way of work

Change-Id: I493e80fac8c49d667cf7d9a498d0f7a82892b687
Signed-off-by: yair <yair.zinger@hpe.com>
7 years agoBug 6486: add security-group-mode options 16/44816/1
Sam Hague [Mon, 29 Aug 2016 21:30:15 +0000 (17:30 -0400)]
Bug 6486: add security-group-mode options

Change-Id: I62d46b4fec6f2e406b319972a068671647330477
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBug 6555 - Translation layer skip the RSP creation API call 03/44803/1
Anil Vishnoi [Mon, 29 Aug 2016 19:14:11 +0000 (12:14 -0700)]
Bug 6555 - Translation layer skip the RSP creation API call

Change-Id: Id02c7efed8d78960c7b74c813980b42a88335143
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoBug 6556 - Fix to send the first unsolicited RA message for a Router interface 98/44798/1
kalaiselvik [Mon, 29 Aug 2016 09:48:01 +0000 (15:18 +0530)]
Bug 6556 - Fix to send the first unsolicited RA message for a Router interface

On creation of the router interface, the 1st unsolicited RA is sent before
the association of the subnets with the interface. So the RA packet was not
transmitted as no valid gateway address was available for the interface.
The unsolicited RA is tranmitted after network/subnet association.

Change-Id: Ifcf8e0dbe395070ff2a1731b9cf2c151ed024e9d
Signed-off-by: kalaiselvik <Kalaiselvi_K@Dell.com>
7 years agoFix Checkstyle violations (formatting only, no real changes) 83/44783/2
Michael Vorburger [Mon, 29 Aug 2016 10:59:42 +0000 (12:59 +0200)]
Fix Checkstyle violations (formatting only, no real changes)

All of changes made here are purely "formatting", and none change code
behaviour in any way.  This should thus be safe to merge ASAP.

Change-Id: I9214f254426aae90b20d31c73422363ca69b177e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "fix checkstyle for NetvirtIT"
Sam Hague [Fri, 26 Aug 2016 21:04:45 +0000 (21:04 +0000)]
Merge "fix checkstyle for NetvirtIT"

7 years agofix checkstyle for NetvirtIT 36/44736/1
Sam Hague [Fri, 26 Aug 2016 20:42:40 +0000 (16:42 -0400)]
fix checkstyle for NetvirtIT

Change-Id: I51517f242d063ab2b68be692a96cf7c7b24bfec8
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Fix broken legacy NetvirtIT"
Sam Hague [Fri, 26 Aug 2016 19:55:32 +0000 (19:55 +0000)]
Merge "Fix broken legacy NetvirtIT"

7 years agoMerge "add missing exception throws for ElanUtils"
Sam Hague [Fri, 26 Aug 2016 19:55:16 +0000 (19:55 +0000)]
Merge "add missing exception throws for ElanUtils"

7 years agoMerge "Add two node IT"
Sam Hague [Fri, 26 Aug 2016 19:55:09 +0000 (19:55 +0000)]
Merge "Add two node IT"

7 years agoMerge "fix garp packet out creation"
Sam Hague [Fri, 26 Aug 2016 18:57:08 +0000 (18:57 +0000)]
Merge "fix garp packet out creation"

7 years agoFix broken legacy NetvirtIT 32/44732/1
Sam Hague [Fri, 26 Aug 2016 18:52:59 +0000 (14:52 -0400)]
Fix broken legacy NetvirtIT

Change-Id: I60cd9814190a162302b6bad15348010f63c9324b
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoadd missing exception throws for ElanUtils 30/44730/2
Sam Hague [Fri, 26 Aug 2016 17:47:56 +0000 (13:47 -0400)]
add missing exception throws for ElanUtils

Change-Id: Ib3e941d3985719406399ba64b589bec0e1fa98f9
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd two node IT 31/44731/1
Sam Hague [Fri, 26 Aug 2016 17:39:21 +0000 (13:39 -0400)]
Add two node IT

Change-Id: Idd5aa1cf2be711420d96938769a293a1822b7407
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Fix bugs related to wrong exception handling"
Sam Hague [Fri, 26 Aug 2016 16:31:45 +0000 (16:31 +0000)]
Merge "Fix bugs related to wrong exception handling"

7 years agoaclservice Java @Inject etc. instead of XML for "inner" wiring 12/44412/9
Michael Vorburger [Fri, 19 Aug 2016 16:50:13 +0000 (18:50 +0200)]
aclservice Java @Inject etc. instead of XML for "inner" wiring

Some of the painfully hand-written, and often wrong and
out-of-sync with code, ODL Blueprint XML can be automatically generated
by the blueprint-maven-plugin from annotations in Java code.

This has two main advantages: 1. less XML to hand write (wrong
sometimes), and maintain;  2. easy to get a DI framework (blueprint or
another one..) to inject classes - great e.g. for more upcoming end2end
style tests.

Change-Id: Ifb86b00de680bec8ca494519225a55a7a1e6fbb1
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoMerge "elanmanager CLI console commands impl should never catch Exception (II)"
Sam Hague [Fri, 26 Aug 2016 13:19:14 +0000 (13:19 +0000)]
Merge "elanmanager CLI console commands impl should never catch Exception (II)"

7 years agoMerge "Fixes Bug 6514"
Sam Hague [Fri, 26 Aug 2016 11:39:55 +0000 (11:39 +0000)]
Merge "Fixes Bug 6514"

7 years agoMerge "Bug 6532: Fix ACL IPv6 VM to VM communication on same network"
Sam Hague [Fri, 26 Aug 2016 11:38:53 +0000 (11:38 +0000)]
Merge "Bug 6532: Fix ACL IPv6 VM to VM communication on same network"

7 years agoMerge "Removing Blind imports across the module"
Sam Hague [Fri, 26 Aug 2016 01:16:55 +0000 (01:16 +0000)]
Merge "Removing Blind imports across the module"

7 years agoMerge "Gratitious ARP handling added in ARP cache feature of L3VPN"
Sam Hague [Fri, 26 Aug 2016 01:12:58 +0000 (01:12 +0000)]
Merge "Gratitious ARP handling added in ARP cache feature of L3VPN"

7 years agoMerge "Fix NPE in FloatingIpGarpHandler.sendGarpOnInterface"
Sam Hague [Fri, 26 Aug 2016 01:11:28 +0000 (01:11 +0000)]
Merge "Fix NPE in FloatingIpGarpHandler.sendGarpOnInterface"

7 years agoMerge "VpnPortIpToPort Listener for ELAN"
Sam Hague [Fri, 26 Aug 2016 01:11:23 +0000 (01:11 +0000)]
Merge "VpnPortIpToPort Listener for ELAN"

7 years agofix garp packet out creation 85/44685/3
Shlomi [Thu, 25 Aug 2016 22:53:11 +0000 (01:53 +0300)]
fix garp packet out creation

Change-Id: I4dd681f5f8a42070c49654dd6a27587046892ef0
Signed-off-by: Shlomi <shlomi.alfasi@hpe.com>
7 years agoMerge "Move odl-netvirt-openstack-it to IT bundle"
Stephen Kitt [Thu, 25 Aug 2016 12:02:20 +0000 (12:02 +0000)]
Merge "Move odl-netvirt-openstack-it to IT bundle"

7 years agoFixes Bug 6514 07/44607/4
Aswin Suryanarayanan [Wed, 24 Aug 2016 14:00:22 +0000 (19:30 +0530)]
Fixes Bug 6514

The AclInterface cache was getting cleaned on a interface state change.
Now it will be cleaned up only on port delete.

Change-Id: Ia7fbb3fa77055271bed4ccad1d0155ce1615f309
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
7 years agoBug 6532: Fix ACL IPv6 VM to VM communication on same network 53/44653/2
Sridhar Gaddam [Thu, 25 Aug 2016 10:35:19 +0000 (16:05 +0530)]
Bug 6532: Fix ACL IPv6 VM to VM communication on same network

This patch programs the necessary flows in the ACL (Stateful version)
to allow IPv6 VM to VM communication on the same network.

Change-Id: I1fa4bf5210c1ebfe73658800796f2c53ec88441f
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoGratitious ARP handling added in ARP cache feature of L3VPN 26/44226/7
Gobinath [Thu, 18 Aug 2016 05:18:33 +0000 (10:48 +0530)]
Gratitious ARP handling added in ARP cache feature of L3VPN

As a part of the ARP cache feature of L3VPN, a timer runs once the ARP of an enterprise host is learned and is cleared as soon as this timer expires. When this host sends ARP packets(GARP for instance),the ARP cache timeout has to be reset again. Handling for it has been added.

Change-Id: I6411448c85fa739ba513b9ceff3fef4c6536108d
Signed-off-by: Gobinath <gobinath@ericsson.com>
7 years agoFix NPE in FloatingIpGarpHandler.sendGarpOnInterface 44/44644/1
Ravit Peretz [Thu, 25 Aug 2016 08:24:43 +0000 (11:24 +0300)]
Fix NPE in FloatingIpGarpHandler.sendGarpOnInterface

Change-Id: I03ecf452559649391ffee5b3597ef9cf95479224
Signed-off-by: Ravit Peretz <ravit.peretz@hpe.com>
7 years agoVpnPortIpToPort Listener for ELAN 85/44585/3
eceghkl [Wed, 24 Aug 2016 05:31:30 +0000 (11:01 +0530)]
VpnPortIpToPort Listener for ELAN

* Listens to VpnPortIpToPortListener changes
* Add SMAC and DMAC flows
* Update ELAN operational DS

Change-Id: I70280b5b4e1560e9725015d54f2345401d66f432
Signed-off-by: eceghkl <manu.b@ericsson.com>
7 years agoMerge "Bug 6515: Fix NPE for an IPv6 subnet without gateway"
Sam Hague [Wed, 24 Aug 2016 21:56:05 +0000 (21:56 +0000)]
Merge "Bug 6515: Fix NPE for an IPv6 subnet without gateway"

7 years agoMerge "BUG-6455 - passing of OvsdbInventoryService dependency to the constructor...
Sam Hague [Wed, 24 Aug 2016 20:40:45 +0000 (20:40 +0000)]
Merge "BUG-6455 - passing of OvsdbInventoryService dependency to the constructor is not required"

7 years agoMove odl-netvirt-openstack-it to IT bundle 24/44624/2
Sam Hague [Wed, 24 Aug 2016 19:23:33 +0000 (15:23 -0400)]
Move odl-netvirt-openstack-it to IT bundle

Change-Id: I6041e27ee2ef8ec213b2301981c9a15364175448
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Fix boron rc1 build by removing netvirt-it-utils"
Sam Hague [Wed, 24 Aug 2016 19:25:23 +0000 (19:25 +0000)]
Merge "Fix boron rc1 build by removing netvirt-it-utils"

7 years agoBUG-6455 - passing of OvsdbInventoryService dependency to the constructor is not... 23/44623/1
Bertrand [Wed, 24 Aug 2016 19:08:36 +0000 (12:08 -0700)]
BUG-6455 - passing of OvsdbInventoryService dependency to the constructor is not required

Follow up to patch https://git.opendaylight.org/gerrit/#/c/44572/1

Change-Id: I3d7ed1af1e4745dceac90bc3b3f275d68bad2860
Signed-off-by: Bertrand <bertrand.low@hcl.com>
7 years agoMerge "BUG-6455 - due to blueprint migration, the order in which the respective Confi...
Sam Hague [Wed, 24 Aug 2016 17:59:59 +0000 (17:59 +0000)]
Merge "BUG-6455 - due to blueprint migration, the order in which the respective ConfigActivator.start() methods is called for Netvirt and Netvirt-Providers is now random. This could cause timing issues where dependencies are not yet loaded when modules like NetVirt starts up. We need to inject the dependency of OvsdbInventoryService for NetvirtProviders so that NetvirtProviders has that service loaded before it starts."

7 years agoFix boron rc1 build by removing netvirt-it-utils 01/44601/1
Sam Hague [Wed, 24 Aug 2016 12:29:59 +0000 (08:29 -0400)]
Fix boron rc1 build by removing netvirt-it-utils

Change-Id: I0661c19bbbfdc53ef59f1ab01f489c90e80d3c48
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBug 6515: Fix NPE for an IPv6 subnet without gateway 92/44592/1
Sridhar Gaddam [Wed, 24 Aug 2016 10:02:03 +0000 (15:32 +0530)]
Bug 6515: Fix NPE for an IPv6 subnet without gateway

This patch addresses the exception in ipv6service when a IPv6
subnet is created without the gateway_ip.

Change-Id: Ibfa71e1775e15a51e717557ad080634d46d1220c
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoMerge "Netvirt - Neutron QoS rate limit support"
Sam Hague [Tue, 23 Aug 2016 21:26:47 +0000 (21:26 +0000)]
Merge "Netvirt - Neutron QoS rate limit support"

7 years agoBUG-6455 - due to blueprint migration, the order in which the respective ConfigActiva... 72/44572/1
Bertrand [Tue, 23 Aug 2016 17:05:12 +0000 (10:05 -0700)]
BUG-6455 - due to blueprint migration, the order in which the respective ConfigActivator.start() methods is called for Netvirt and Netvirt-Providers is now random.
This could cause timing issues where dependencies are not yet loaded when modules like NetVirt starts up.
We need to inject the dependency of OvsdbInventoryService for NetvirtProviders so that NetvirtProviders has that service loaded before it starts.

Change-Id: I431554dbd76c9cad71e6d49916a8eb9e4d456f71
Signed-off-by: Bertrand <bertrand.low@hcl.com>
7 years agoMerge "Bug 6473: Fix for CSIT SSH issue."
Sam Hague [Tue, 23 Aug 2016 20:53:43 +0000 (20:53 +0000)]
Merge "Bug 6473: Fix for CSIT SSH issue."

7 years agoMerge "Fixed the vpninstance creation"
Sam Hague [Tue, 23 Aug 2016 17:55:33 +0000 (17:55 +0000)]
Merge "Fixed the vpninstance creation"

7 years agoMerge "Refactor aclservice to for all the acl types to inherit the same abstract...
Sam Hague [Tue, 23 Aug 2016 17:55:22 +0000 (17:55 +0000)]
Merge "Refactor aclservice to for all the acl types to inherit the same abstract class"

7 years agoMerge "Change the register that is used in acl learn actions"
Sam Hague [Tue, 23 Aug 2016 16:43:58 +0000 (16:43 +0000)]
Merge "Change the register that is used in acl learn actions"

7 years agoFixed the vpninstance creation 30/44530/3
yair [Mon, 22 Aug 2016 13:54:27 +0000 (16:54 +0300)]
Fixed the vpninstance creation

The vpn instance was created in the NeutronVpnManager and there was a bug.
It could not create it without the external gateway info.
Should now create it after external gateway info creation

Change-Id: I203693ca69a48d06b69bb8acc9868a899371fcea
Signed-off-by: yair <yair.zinger@hpe.com>