genius.git
7 years agoMerge "Revert "BUG 6838: Retry Mechanism for Batched Transaction""
Sam Hague [Mon, 3 Oct 2016 20:29:35 +0000 (20:29 +0000)]
Merge "Revert "BUG 6838: Retry Mechanism for Batched Transaction""

7 years agoRevert "BUG 6838: Retry Mechanism for Batched Transaction" 11/46411/1
Sam Hague [Mon, 3 Oct 2016 19:39:39 +0000 (19:39 +0000)]
Revert "BUG 6838: Retry Mechanism for Batched Transaction"

The corresponding netvirt patch is fairly large and conflicting with many other patches, so we will revert this patch until we work through the backlog.

This reverts commit 29f20d962ea8c3e76b4e81857f39b7d56cbe8769.

Change-Id: I536f9c75eeadf2bd9f3a622591ef386aa37914d8
Author: Sam Hague <shague@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBug 6589 adding support for hwvtep devices ha 00/44900/13
K.V Suneelu Verma [Wed, 31 Aug 2016 05:07:09 +0000 (10:37 +0530)]
Bug 6589 adding support for hwvtep devices ha

Added the following utility methods
to add a node as ha child node of the other node
to check if a node is ha child node or not
to get list of child nodes for given parent node

When two southbound devices are in mlag, the northbound l2gw configuration
has to be synced in both the devices.
a node is marked as ha child node based on other_config columnn key ha_id in
manager table
Two ha devices will have same ha_id value.

Change-Id: I4e4d58074b8a4b7478fe7859dd436d6ca8cf2d37
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
7 years agoMerge "BUG 6838: Retry Mechanism for Batched Transaction"
Faseela K [Mon, 3 Oct 2016 08:37:24 +0000 (08:37 +0000)]
Merge "BUG 6838: Retry Mechanism for Batched Transaction"

7 years agoMerge "Replace some collection.size() > 0 for !collection.isEmpty() to improve readab...
Faseela K [Mon, 3 Oct 2016 07:33:58 +0000 (07:33 +0000)]
Merge "Replace some collection.size() > 0 for !collection.isEmpty() to improve readability. Some other minor changes."

7 years agoMerge "Add support to the ITM to create Transport Zones with different UDP: VxLAN...
Faseela K [Mon, 3 Oct 2016 07:25:32 +0000 (07:25 +0000)]
Merge "Add support to the ITM to create Transport Zones with different UDP:   VxLAN: default port   VxLAN-GPE: 4880"

7 years agoMerge "Add SFC relevant service binding constants"
Faseela K [Mon, 3 Oct 2016 07:19:23 +0000 (07:19 +0000)]
Merge "Add SFC relevant service binding constants"

7 years agoBUG 6838: Retry Mechanism for Batched Transaction 70/44670/3
Kiran N Upadhyaya [Thu, 25 Aug 2016 13:52:44 +0000 (19:22 +0530)]
BUG 6838: Retry Mechanism for Batched Transaction

If the existing batch mechanism fails, then the individual operations of
each of the transactions will be retried so that all other operations
other than the problematic one will succeed.

Change-Id: I7ad598fe9604aae9ad1df71270f1cba5b212a634
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
7 years agoReplace some collection.size() > 0 for !collection.isEmpty() to 04/46304/2
David Suarez [Thu, 29 Sep 2016 16:50:17 +0000 (18:50 +0200)]
Replace some collection.size() > 0 for !collection.isEmpty() to
improve readability. Some other minor changes.

Change-Id: I2f41632125121fb3d2722dd5345f7e5f12525574
Signed-off-by: David Suarez <david.suarez.fuentes@ericsson.com>
7 years agoAdd SFC relevant service binding constants 75/46075/3
Jaime Caamaño Ruiz [Thu, 22 Sep 2016 15:49:19 +0000 (17:49 +0200)]
Add SFC relevant service binding constants

Using the same service index as SCF, as they should not coexist, to
avoid shifting the following indexes.

Change-Id: I005c855372fdf62df32e615fb2fd16deed562c91
Signed-off-by: Jaime Caamaño Ruiz <jaime.caamano.ruiz@ericsson.com>
7 years agoFix Improved error message for jobs 64/46264/2
Marcos López Samaniego [Wed, 28 Sep 2016 15:54:25 +0000 (17:54 +0200)]
Fix Improved error message for jobs

Change-Id: I96f04654089ef390bfc2bab3c07e48f854254e3d
Signed-off-by: Marcos López Samaniego <marcos.lopez.samaniego@ericsson.com>
7 years agoImproved error message for jobs 52/46252/1
eraulhe [Wed, 28 Sep 2016 12:15:55 +0000 (14:15 +0200)]
Improved error message for jobs

Signed-off-by: eraulhe <raul.hernandez.sucuesta@ericsson.com>
Change-Id: Ia6942d70dd5186c9d19564ece507c08ca683bac0

7 years agoAdd support to the ITM to create Transport Zones with different UDP: 36/46236/1
David Suarez [Tue, 27 Sep 2016 15:19:32 +0000 (17:19 +0200)]
Add support to the ITM to create Transport Zones with different UDP:
  VxLAN: default port
  VxLAN-GPE: 4880

Signed-off-by: David Suarez <david.suarez.fuentes@ericsson.com>
Change-Id: I4bd746b9a144e957cf05664fbd1e3a32a1bcda09
Signed-off-by: David Suarez <david.suarez.fuentes@ericsson.com>
7 years agoMerge "Reverting Overriding in_port in table0 with Zero value"
Sam Hague [Thu, 22 Sep 2016 11:52:27 +0000 (11:52 +0000)]
Merge "Reverting Overriding in_port in table0 with Zero value"

7 years agoReverting Overriding in_port in table0 with Zero value 38/46038/3
xcheara [Thu, 22 Sep 2016 09:51:52 +0000 (15:21 +0530)]
Reverting Overriding in_port in table0 with Zero value

Description : It's been observed that the fix for Bug 6765 is resulting
flooding of ELAN packets when External IPs case.

Change-Id: Idfb5825439a993c7bc779454efc50436df188cd3
Signed-off-by: xcheara <chetan.arakere@altencalsoftlabs.com>
7 years agoMerge "Implement action types required for ping responder"
Sam Hague [Wed, 21 Sep 2016 19:10:02 +0000 (19:10 +0000)]
Merge "Implement action types required for ping responder"

7 years agoAdd JavaDoc to AsyncDataTreeChangeListenerBase init() re. @PostConstruct 74/45974/1
Michael Vorburger [Wed, 21 Sep 2016 13:04:29 +0000 (15:04 +0200)]
Add JavaDoc to AsyncDataTreeChangeListenerBase init() re. @PostConstruct

Clarification re. precise inheritance semantics of the JSR 250
@PostConstruct DI lifecycle annotation.  Further details are also
documented on
https://wiki.opendaylight.org/view/BestPractices/DI_Guidelines#Nota_Bene

This investigate and clarification has come out of the problem
encountered and solved in
https://git.opendaylight.org/gerrit/#/c/45966/.

Change-Id: If7f62aa6818706943c3555c55b86b91b7233e66a
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Bug 6765 : Overriding in_port in table0 with Zero value"
Faseela K [Wed, 21 Sep 2016 06:12:53 +0000 (06:12 +0000)]
Merge "Bug 6765 : Overriding in_port in table0 with Zero value"

7 years agoMerge "Performs a residual cleanup of ElanPseudoPort flows"
Faseela K [Wed, 21 Sep 2016 05:42:19 +0000 (05:42 +0000)]
Merge "Performs a residual cleanup of ElanPseudoPort flows"

7 years agoBug 6765 : Overriding in_port in table0 with Zero value 21/45421/5
xcheara [Fri, 9 Sep 2016 15:18:11 +0000 (20:48 +0530)]
Bug 6765 : Overriding in_port in table0 with Zero value

Description : OVS split-horizon logic will drop pkts by default if value
of in_port and out_port is same. But, if we have two vlan-trunk member
VM for which trunk interface is same, the connectivity between these two
VM cannot be established as OVS drops such packets. So, it is required to
override the value of in_port so that split_horizon check is bypassed.
The in_port value will be overrriden using load(ex: load:0->NXM_OF_IN_PORT[]).

Change-Id: Iab5b87558beecee76a011bad33e1867311dc4a29
Signed-off-by: xcheara <chetan.arakere@altencalsoftlabs.com>
Depends-On: Ica0a1b2da27fc189b8906462a4420473215a22af
Signed-off-by: xcheara <chetan.arakere@altencalsoftlabs.com>
7 years agoBug 6748: Added support for match on nxm_reg5 22/45822/2
Tomer Pearl [Mon, 19 Sep 2016 14:54:15 +0000 (17:54 +0300)]
Bug 6748: Added support for match on nxm_reg5

Change-Id: Ifb87cea2142e90d29fcb0859ab1c9afb265a8e47
Signed-off-by: Tomer Pearl <tomer.pearl@hpe.com>
7 years agoPerforms a residual cleanup of ElanPseudoPort flows 99/45799/1
Miguel Perez [Mon, 11 Jul 2016 11:21:36 +0000 (13:21 +0200)]
Performs a residual cleanup of ElanPseudoPort flows

 + When an ElanPseudoPort is removed on the Northbound, we
   must ensure that no elanPseudoPort related flow is left
   behind in any DPN.

Change-Id: I7201a428272b638d2055b82f7110a1b86fbad2fa
Signed-off-by: Miguel Perez <francisco.miguel.perez@ericsson.com>
7 years agoMerge "NPE in InterfaceTopologyStateListener"
Faseela K [Fri, 16 Sep 2016 18:06:27 +0000 (18:06 +0000)]
Merge "NPE in InterfaceTopologyStateListener"

7 years agoMerge "VM Migration: Flows not programmed in new DPN"
Faseela K [Fri, 16 Sep 2016 18:05:29 +0000 (18:05 +0000)]
Merge "VM Migration: Flows not programmed in new DPN"

7 years agoMerge "Bug 6610 Moving ACL service as highest among all the services"
Faseela K [Fri, 16 Sep 2016 17:24:41 +0000 (17:24 +0000)]
Merge "Bug 6610 Moving ACL service as highest among all the services"

7 years agoImplement action types required for ping responder 32/45632/1
Olga [Sun, 4 Sep 2016 09:17:02 +0000 (12:17 +0300)]
Implement action types required for ping responder

Implement action types: move_src_dst_ip, move_src_dst_eth,
set_icmp_type

Change-Id: I614f2d7c23523fff1d8b2e37149b770649c4d791
Signed-off-by: Olga <olga.schukin@hpe.com>
7 years agoNPE in InterfaceTopologyStateListener 13/45613/1
Josh [Thu, 15 Sep 2016 06:29:44 +0000 (08:29 +0200)]
NPE in InterfaceTopologyStateListener

If the dpid is null for both old and new bridges the
"else if" will throw an NPE.

Change-Id: I2fb40a3fc5024318e2d011f031ce474518de1870
Signed-off-by: Josh <jhershbe@redhat.com>
7 years agoVM Migration: Flows not programmed in new DPN 62/45562/3
D Arunprakash [Wed, 14 Sep 2016 06:57:18 +0000 (12:27 +0530)]
VM Migration: Flows not programmed in new DPN

If remove event comes from older dpn is fast, then the
flows programmed in new dpn gets removed instead of skip.

Fix is to move the drop remove event to a sync block.

Change-Id: Id1e4bfc4c676b828d9aa71431f19d11e1024229e
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
7 years agoMerge "Arp cache feature changes"
Faseela K [Wed, 14 Sep 2016 05:58:02 +0000 (05:58 +0000)]
Merge "Arp cache feature changes"

7 years agoBug 6689 - long delays between vm boot and flow installation 77/45477/2
Tali [Mon, 12 Sep 2016 06:24:53 +0000 (09:24 +0300)]
Bug 6689 - long delays between vm boot and flow installation

Improve DataStoreJobCoordinator performance by:

1) Removing sleep() after hitting an empty job list
since it causes major performance hit on scale setups (tested with 48 cpus)
2) Fix signal waiting condition to take effect
3) Add logging

Change-Id: Ide665e89049214308d5ca33b954e3d876e878f26
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoArp cache feature changes 09/45409/5
Gobinath [Thu, 8 Sep 2016 14:29:34 +0000 (19:59 +0530)]
Arp cache feature changes

The Arp cache feature (a part of l3vpn) has been refractored. Also, now
the Arp entry/routes of a VM are deleted only after failure in sending ARP
probes to the VM.

Change-Id: I6e7003de9a0ade0f45d3c083d25691fad56d7ba3
Signed-off-by: Gobinath <gobinath@ericsson.com>
7 years agoMerge "AsyncDataTreeChangeListenerBase @PreDestroy close() for easier DI"
David Suarez [Thu, 8 Sep 2016 15:39:04 +0000 (15:39 +0000)]
Merge "AsyncDataTreeChangeListenerBase @PreDestroy close() for easier DI"

7 years agoMerge "Add VxLAN-GPE to the interface types list handled by the IFM"
Faseela K [Thu, 8 Sep 2016 08:43:13 +0000 (08:43 +0000)]
Merge "Add VxLAN-GPE to the interface types list handled by the IFM"

7 years agoBug 6493 - Interface-Manager performance optimizations 93/44993/5
Faseela K [Thu, 1 Sep 2016 12:04:36 +0000 (17:34 +0530)]
Bug 6493 - Interface-Manager performance optimizations

Description : When BFD status notification comes before openflow port add
notification, the event was ignored. Adding a cache to store bfd-state
which can be queried to update the oper-status when node-connector add
event comes.

Change-Id: Ida6e498df4278d2814915ed98ac7fc4b9007def7
Signed-off-by: Faseela K <faseela.k@ericsson.com>
7 years agoAsyncDataTreeChangeListenerBase @PreDestroy close() for easier DI 58/45258/3
Michael Vorburger [Tue, 6 Sep 2016 17:04:07 +0000 (19:04 +0200)]
AsyncDataTreeChangeListenerBase @PreDestroy close() for easier DI

and new @PostConstruct protected void init() { }

This goes together with the
https://git.opendaylight.org/gerrit/#/c/44554/
and https://git.opendaylight.org/gerrit/#/c/45248/ work, and when merged
will allow to further simplify and standardize e.g.
https://git.opendaylight.org/gerrit/#/c/45249/ one more step, as shown
in https://git.opendaylight.org/gerrit/#/c/45261/

Change-Id: I536f8a31f81229b1c3baabb55d95cf3db827692f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoBug 6557 : NPE thrown during Interface-mgr RPCs call 27/45027/7
Chetan A G [Thu, 1 Sep 2016 17:31:46 +0000 (23:01 +0530)]
Bug 6557 : NPE thrown during Interface-mgr RPCs call

Description : When an get-dpid-from-interface and get-port-from-interface
RPC call is made on a interface object for which interface-state doesn't
exists, NullPointerException is thrown. Instead of NPE, proper error
message is required to be logged.

Change-Id: Iac989c673957eb30eca1d842381e8f2f4edf0a5b
Signed-off-by: Chetan A G <chetan.arakere.gowdru@ericsson.com>
Signed-off-by: xcheara <chetan.arakere@altencalsoftlabs.com>
7 years agoAdd VxLAN-GPE to the interface types list handled by the IFM 99/45199/2
David Suarez [Tue, 6 Sep 2016 07:18:47 +0000 (09:18 +0200)]
Add VxLAN-GPE to the interface types list handled by the IFM

The VxLAN-GPE tunnel type was not on the list of interface types
handled by the Interface Manager, so the manager returned unknown
interface.

Change-Id: If49d4088a23ad870dcc6b387beb31ae02c8f85a0
Signed-off-by: David Suarez <david.suarez.fuentes@ericsson.com>
7 years agoBug 6610 Moving ACL service as highest among all the services 97/44997/2
epgoraj [Thu, 1 Sep 2016 12:59:45 +0000 (18:29 +0530)]
Bug 6610 Moving ACL service as highest among all the services

Change-Id: I93a8f571746973e85cce3c179385ac09689d53cc
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
7 years agoMerge "Adding srcMac to odl-arputil since ARP src mac is currently set to the OF...
Sam Hague [Wed, 31 Aug 2016 19:49:54 +0000 (19:49 +0000)]
Merge "Adding srcMac to odl-arputil since ARP src mac is currently set to the OF port's mac internally and cannot be set externnaly. (e.g. in the case of GARP for floating ip we would want to use the floatingIp port's logical mac)"

7 years agoAdding srcMac to odl-arputil since ARP src mac is currently set to 24/44924/3
Ravit Peretz [Wed, 31 Aug 2016 12:32:41 +0000 (15:32 +0300)]
Adding srcMac to odl-arputil since ARP src mac is currently set to
the OF port's mac internally and cannot be set externnaly.
(e.g. in the case of GARP for floating ip we would
want to use the floatingIp port's logical mac)

Change-Id: I44f7afba8110745e50963a9a8d0d9d89d31e59fe
Signed-off-by: Ravit Peretz <ravit.peretz@hpe.com>
7 years agoFixed the use of index NwConstants 40/44640/9
yair [Thu, 25 Aug 2016 06:34:46 +0000 (09:34 +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: I59836f6791fd8c37aeedd9188306ff090a2219c5
Signed-off-by: yair <yair.zinger@hpe.com>
7 years agoMerge "Fix Dependency Injection IdManager appears to have to have a LockManager"
Sam Hague [Fri, 26 Aug 2016 18:57:38 +0000 (18:57 +0000)]
Merge "Fix Dependency Injection IdManager appears to have to have a LockManager"

7 years agoMerge "Table Id constant for L3VPN GW Table"
Sam Hague [Fri, 26 Aug 2016 17:11:37 +0000 (17:11 +0000)]
Merge "Table Id constant for L3VPN GW Table"

7 years agoMerge "Bug 6539 : Exception seen during OVS disconnect"
Faseela K [Fri, 26 Aug 2016 16:39:32 +0000 (16:39 +0000)]
Merge "Bug 6539 : Exception seen during OVS disconnect"

7 years agoMerge "add send packetout from controller"
Sam Hague [Fri, 26 Aug 2016 13:38:00 +0000 (13:38 +0000)]
Merge "add send packetout from controller"

7 years agoBug 6539 : Exception seen during OVS disconnect 09/44709/1
Chetan A G [Fri, 26 Aug 2016 10:54:14 +0000 (16:24 +0530)]
Bug 6539 : Exception seen during OVS disconnect

Description : Data Validation exception been observed for port-names
prefixed with dpnid(Ex : br-int,br-ex).This is due to removeIngressFlow
and unbindDefaultEgressDispatcherService API getting called on these port
which should be avoided during OVS disconnect.

Change-Id: Ie631a3e40dc39cd0255968813f8334cc24ba6327
Signed-off-by: Chetan A G <chetan.arakere.gowdru@ericsson.com>
7 years agoMerge "Fix bug wherein console commands would not work with Karaf ssh session"
Faseela K [Fri, 26 Aug 2016 10:14:18 +0000 (10:14 +0000)]
Merge "Fix bug wherein console commands would not work with Karaf ssh session"

7 years agoTable Id constant for L3VPN GW Table 87/44587/3
eceghkl [Wed, 24 Aug 2016 06:05:55 +0000 (11:35 +0530)]
Table Id constant for L3VPN GW Table

* Changed id from 19 to 13

Change-Id: I93ab27797a05f540202166344c84fa8ebd3eb6bc
Signed-off-by: eceghkl <manu.b@ericsson.com>
7 years agoFix bug wherein console commands would not work with Karaf ssh session 55/44455/13
epgoraj [Mon, 22 Aug 2016 07:29:54 +0000 (12:59 +0530)]
Fix bug wherein console commands would not work with Karaf ssh session

Change-Id: I2bb59ab2eecb96644caad9cf1614bf6060e2753d
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
7 years agoRemoving Blind imports across the module 99/44699/1
Suraj Ranjan [Fri, 26 Aug 2016 04:18:27 +0000 (09:48 +0530)]
Removing Blind imports across the module

This commit removes blind imports across the genius module.

Change-Id: I565b9d1f8a179acb4a51d0a0c48107380c243e8b
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agoadd send packetout from controller 84/44684/1
shlomi [Thu, 25 Aug 2016 22:53:47 +0000 (01:53 +0300)]
add send packetout from controller

Change-Id: Ie5df6c4dc4725e1fb1c5d75f4c42baabee75b61b
Signed-off-by: shlomi <shlomi.alfasi@hpe.com>
7 years agoBug 6493 :Interface-Manager performance optimizations 32/44532/2
Faseela K [Tue, 23 Aug 2016 06:12:42 +0000 (11:42 +0530)]
Bug 6493 :Interface-Manager performance optimizations

Description: starting to use batching for tunnel interface configuration
             separating out transaction batching across shards
 optimizing service binding calls for non northbound interfaces
 fixing exceptions in interface-manager while ODL was shutting down

Change-Id: I785973116f45b17073f9042b9f24deb7a0213a7d
Signed-off-by: Faseela K <faseela.k@ericsson.com>
7 years agoBug 6490 : After VM migration, L3VPN flows are failed to program 52/44452/3
D Arunprakash [Mon, 22 Aug 2016 06:26:46 +0000 (11:56 +0530)]
Bug 6490 : After VM migration, L3VPN flows are failed to program

L3VPN is processing both remove and add event parallely.
Because of this race condition occurs and in ends up in
removing the flows programmed for table 21 on new DPN.

This fix has introduced a delay of 10sec for VM migration
events for remove and add in interfacemanager code.

Change-Id: I46958eb6cc4d28710014699d7b11ff1ecb93e98d
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
7 years agoBug 6479 : Exception from Ifacemgr while feature load 97/44397/2
Chetan Aakere Gowdru [Fri, 19 Aug 2016 12:27:00 +0000 (17:57 +0530)]
Bug 6479 : Exception from Ifacemgr while feature load

Description: When feature odl-netvirt-openstack is installed, an
NullPointer Exception is observed. This is due to
InterfaceInventoryStateListener getting triggered before the
entityOwnershipService is initialized in IfmClusterUtil which is used by
this listener. Changes done to initialize this entityOwnershipService
first followed by registration of Listeners.

Change-Id: I4aa2f1178eca10754d0f935d477b4246a0f4821a
Signed-off-by: Chetan Aakere Gowdru <chetan.arakere.gowdru@ericsson.com>
7 years agoAdd learn table constatnts 27/44227/2
Slava [Thu, 18 Aug 2016 06:12:53 +0000 (09:12 +0300)]
Add learn table constatnts

Change-Id: I1e04e9c30663ff7287c569380d6b5384bcdf8b23
Signed-off-by: Slava <slava.radune@hpe.com>
7 years agoRemove unused fields in close() that caused NPE 01/44201/1
Sam Hague [Wed, 17 Aug 2016 18:34:42 +0000 (14:34 -0400)]
Remove unused fields in close() that caused NPE

Change-Id: I11e295174ee71f3e902046f10c205728ecc22c89
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoRemove req-cap for eos 75/44175/1
Sam Hague [Wed, 17 Aug 2016 16:17:32 +0000 (12:17 -0400)]
Remove req-cap for eos

Change-Id: Ibb3156550b5b0a6eab8cc09301dc298c5658e1ed
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Table Id constant for L3VPN GW Table"
Sam Hague [Wed, 17 Aug 2016 12:11:24 +0000 (12:11 +0000)]
Merge "Table Id constant for L3VPN GW Table"

7 years agoBug 6439 : lower-layer-if information is missing in Op ietf-interfaces:state for... 29/44129/1
Faseela K [Tue, 16 Aug 2016 12:48:45 +0000 (18:18 +0530)]
Bug 6439 : lower-layer-if information is missing in Op ietf-interfaces:state for the Tap interfaces

Moving to clustered DTCL in interface-manager to avoid race conditions
encountered during scale testing, when both northbound and southbound events
are triggered simultaneously.

Change-Id: If4a98acf50312a64ae03aaccc4562e5782716b2f
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Signed-off-by: unknown <efaseel@IN00116280.ericsson.se>
Signed-off-by: Faseela K <faseela.k@ericsson.com>
7 years agoTable Id constant for L3VPN GW Table 25/44125/1
Periyasamy Palanisamy [Wed, 17 Aug 2016 07:26:06 +0000 (12:56 +0530)]
Table Id constant for L3VPN GW Table

added table cookie and Id for L3VPN GW Table

Change-Id: Id36a5ad7c4ecc2f269f6a71196beeec161c5290a
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
7 years agoMerge "add learn action"
Sam Hague [Tue, 16 Aug 2016 21:48:09 +0000 (21:48 +0000)]
Merge "add learn action"

7 years agoMerge "Intro. new TestIMdsalApiManager implements IMdsalApiManager"
David Suarez [Tue, 16 Aug 2016 21:25:42 +0000 (21:25 +0000)]
Merge "Intro. new TestIMdsalApiManager implements IMdsalApiManager"

7 years agoadd learn action 23/43123/3
shlomi [Wed, 3 Aug 2016 13:47:33 +0000 (16:47 +0300)]
add learn action

this commit depends on https://git.opendaylight.org/gerrit/#/c/42702/

Change-Id: I97b21d9f31a35cdade00cd44267d41abda8708bf
Signed-off-by: shlomi <shlomi.alfasi@hpe.com>
7 years agoMerge "ACL: Removed deprecated ACL constants in NwConstants"
Sam Hague [Tue, 16 Aug 2016 14:21:49 +0000 (14:21 +0000)]
Merge "ACL: Removed deprecated ACL constants in NwConstants"

7 years agoFix Dependency Injection IdManager appears to have to have a LockManager 98/43998/2
Michael Vorburger [Mon, 15 Aug 2016 15:56:52 +0000 (17:56 +0200)]
Fix Dependency Injection IdManager appears to have to have a LockManager

Therefore it's constructor should expect one, just like it does for
DataBroker (AKA "constructor injection") instead of having a separate
method for it (AKA "setter injection").

Unless a LockManager is optional for an IdManager, which doesn't seem to
be the case.

Change-Id: I33a3d0a0f0ec7a2899ec8febdceef4a593d4cbd1
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Bug 6388: Support of Non-unique names across OVS"
Faseela K [Tue, 16 Aug 2016 10:42:20 +0000 (10:42 +0000)]
Merge "Bug 6388: Support of Non-unique names across OVS"

7 years agoACL: Removed deprecated ACL constants in NwConstants 56/44056/1
Somashekar Byrappa [Tue, 16 Aug 2016 09:57:55 +0000 (15:27 +0530)]
ACL: Removed deprecated ACL constants in NwConstants

+ All the references in netvirt is already updated to use non-deprecated
constants in the below commit.
https://git.opendaylight.org/gerrit/#/c/43640/

Change-Id: If55e16ba03fca52774f3ae01a19a70f1d44cdfeb
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoBug 6388: Support of Non-unique names across OVS 94/43694/6
Chetan Aakere Gowdru [Thu, 11 Aug 2016 09:49:38 +0000 (15:19 +0530)]
Bug 6388: Support of Non-unique names across OVS

Description: When two nodes connect and those two nodes have interfaces
with the same name (They all do, br-int), each time one of those
interfaces gets added to the InterfaceState, it will erase the previous
one. Changes done to check VM migration only tap/vhu/tun ports and prefix
dpnid for all other type of interfaaces

Change-Id: I9e7d930e294836b2a9be6facf5e0d5847ce1cffe
Signed-off-by: Chetan Aakere Gowdru <chetan.arakere.gowdru@ericsson.com>
7 years agoMerge "log cleanup - remove errors on resource manager pool init"
Sam Hague [Mon, 15 Aug 2016 23:18:11 +0000 (23:18 +0000)]
Merge "log cleanup - remove errors on resource manager pool init"

7 years agoArpUtilImpl fixes 51/43951/1
Tali [Mon, 15 Aug 2016 09:41:24 +0000 (12:41 +0300)]
ArpUtilImpl fixes

- Add egress output actions when sending ARP request
- Fix NPE in getPortFromInterface

Change-Id: I7b2db350eb95aadcb798ac9f8ec719abd14097e0
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoIntro. new TestIMdsalApiManager implements IMdsalApiManager 23/43723/2
Michael Vorburger [Thu, 11 Aug 2016 13:11:04 +0000 (15:11 +0200)]
Intro. new TestIMdsalApiManager implements IMdsalApiManager

and publish a test-jar which is then used via <type> e.g. in aclservice
testing (moved here so that it will be available to other projects as
well later)

Change-Id: I47cf23cf531bb85e6b46932d8c9eb9f4517c3ef6
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agolog cleanup - remove errors on resource manager pool init 32/43932/1
Alon Kochba [Sun, 14 Aug 2016 19:21:30 +0000 (22:21 +0300)]
log cleanup - remove errors on resource manager pool init

Change-Id: Iab57ccb52663b2808b4f336e7eab004bdcfa80a5
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years ago.gitignore .factorypath created by m2e-apt 24/43724/1
Michael Vorburger [Thu, 11 Aug 2016 13:16:45 +0000 (15:16 +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: I905096f413d2b24fab621eed9c22f77b35cb303f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Install flows into Table 36 only for LLDP."
Sam Hague [Wed, 10 Aug 2016 17:03:43 +0000 (17:03 +0000)]
Merge "Install flows into Table 36 only for LLDP."

7 years agoInstall flows into Table 36 only for LLDP. 98/43298/5
Dimple Jain [Mon, 8 Aug 2016 03:37:14 +0000 (09:07 +0530)]
Install flows into Table 36 only for LLDP.

ITM will not install flows into Table 36 for BFD monitoring.

Change-Id: I409fffbc49959715f69f4fd71e8ac20a400da638
Signed-off-by: Dimple Jain <dimple.jain@ericsson.com>
7 years agoBump ietf versions to ...10-SNAPSHOT 42/43542/2
Thanh Ha [Tue, 9 Aug 2016 17:45:21 +0000 (13:45 -0400)]
Bump ietf versions to ...10-SNAPSHOT

Bump versions according to:
https://lists.opendaylight.org/pipermail/release/2016-August/007731.html

Change-Id: Ibb84f68ca0a6d631e9f0dd62daa84c7a1fdf22c1
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoACL: Updated ACL related constants in NwConstants 88/43488/1
Somashekar Byrappa [Tue, 9 Aug 2016 09:39:05 +0000 (15:09 +0530)]
ACL: Updated ACL related constants in NwConstants

+ As the pipeline is w.r.t switch, updated ACL ingress/egress constants to
align w.r.t switch instead of VM.
+ Earlier constants are deprecated, will be deleted when the references
are updated in netvirt.

Change-Id: Iea65815cdffa9f2de952b7b7bfbea8b5e476fbe3
Signed-off-by: Somashekar Byrappa <somashekar.byrappa@ericsson.com>
7 years agoBump versions by 0.1.0 for next dev cycle 15/43415/2
Thanh Ha [Mon, 8 Aug 2016 21:50:14 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I1034da651bb4e15b7f052f6dd16c682a6381b111
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Use odlparent dependency management for guava"
Sam Hague [Fri, 5 Aug 2016 21:27:55 +0000 (21:27 +0000)]
Merge "Use odlparent dependency management for guava"

7 years agoMerge "Merge L3Vpn service Id check for Arp Learning"
Sam Hague [Fri, 5 Aug 2016 21:27:40 +0000 (21:27 +0000)]
Merge "Merge L3Vpn service Id check for Arp Learning"

7 years agoUse odlparent dependency management for guava 34/43234/1
Stephen Kitt [Fri, 5 Aug 2016 13:11:14 +0000 (15:11 +0200)]
Use odlparent dependency management for guava

Change-Id: Ieded87dcad25d439c9bb4a6fc7571c47631bea32
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agofixed some formatting problems 26/43226/1
David Goldberg [Fri, 5 Aug 2016 10:34:28 +0000 (13:34 +0300)]
fixed some formatting problems

Change-Id: I85d3e24b1a280b840dedc265e8aa64da59154378
Signed-off-by: David Goldberg <gdavid@hpe.com>
7 years agoMerge L3Vpn service Id check for Arp Learning 19/43219/1
Achuth [Fri, 5 Aug 2016 09:43:32 +0000 (15:13 +0530)]
Merge L3Vpn service Id check for Arp Learning

Change-Id: I965c3997b7437219f1f2bc449bf8ee0435499563
Signed-off-by: Achuth <achuth.maniyedath@ericsson.com>
7 years agoGetEgressACtions giving wrong actions for tunnel interfaces 14/43214/1
Faseela K [Fri, 5 Aug 2016 06:32:43 +0000 (12:02 +0530)]
GetEgressACtions giving wrong actions for tunnel interfaces

Description: Packets to egress via tunnel need not go via Egress
Dispatcher Table, since currently we don't have egress binding on tunnels.
Making getEgressACtions() API return normal egress actions for tunnel
ports, and returning goto egressTable action only for l2vlan interfaces

Change-Id: I70f0a0b5f0230f67e533ccb3cb0cec0eb67438bb
Signed-off-by: Faseela K <faseela.k@ericsson.com>
7 years agoMerge "Having maximum id block size"
Sam Hague [Thu, 4 Aug 2016 19:07:41 +0000 (19:07 +0000)]
Merge "Having maximum id block size"

7 years agoMerge "Fix cpu hog in JobQueueHandler thread"
Sam Hague [Thu, 4 Aug 2016 19:07:36 +0000 (19:07 +0000)]
Merge "Fix cpu hog in JobQueueHandler thread"

7 years agoMerge "Add service names for priority configuration"
Sam Hague [Thu, 4 Aug 2016 18:47:15 +0000 (18:47 +0000)]
Merge "Add service names for priority configuration"

7 years agoMerge "Log message improvements in ResourceBatchingManager"
Sam Hague [Thu, 4 Aug 2016 18:44:03 +0000 (18:44 +0000)]
Merge "Log message improvements in ResourceBatchingManager"

7 years agoAdd service names for priority configuration 26/43126/2
Konsta Pozdeev [Thu, 4 Aug 2016 15:32:07 +0000 (18:32 +0300)]
Add service names for priority configuration

Change-Id: I98c25db1bd9d4db9ab9174f9b8edec0f7f3ccb4e
Signed-off-by: Konsta Pozdeev <konsta.pozdeev@hpe.com>
7 years agoMerge "Support for binding multiple egress services on the same interface"
Vivek Srivastava [Thu, 4 Aug 2016 09:24:32 +0000 (09:24 +0000)]
Merge "Support for binding multiple egress services on the same interface"

7 years agoHaving maximum id block size 00/43100/1
Gobinath [Thu, 4 Aug 2016 07:22:59 +0000 (12:52 +0530)]
Having maximum id block size

Change-Id: I5ef67d9feac23ecae2fe75ed5d72bd44ce510243
Signed-off-by: Gobinath <gobinath@ericsson.com>
7 years agoLog message improvements in ResourceBatchingManager 48/43048/2
HANAMANTAGOUD V Kandagal [Wed, 3 Aug 2016 14:18:39 +0000 (19:48 +0530)]
Log message improvements in ResourceBatchingManager

Change-Id: I43fadc6d32bbeccedbaf51c59599f78b847b32a7
Signed-off-by: HANAMANTAGOUD V Kandagal <hanamantagoud.v.kandagal@ericsson.com>
7 years agoFix cpu hog in JobQueueHandler thread 89/43089/1
Victor Pickard [Wed, 3 Aug 2016 21:10:22 +0000 (17:10 -0400)]
Fix cpu hog in JobQueueHandler thread

When the jobEntriesMap is empty, this thread consumes
as much CPU as it can, spinning and wasting cpu
cycles.

Add a small 500ms sleep, when the jobEntriesMap is empty.

Change-Id: I81c3d4239709d9493180abf5bb06ab7f7c8bf7cd
Signed-off-by: Victor Pickard <vpickard@redhat.com>
7 years agofix compilation error due to a change in openflow plugin 47/43047/1
shlomi [Wed, 3 Aug 2016 14:10:42 +0000 (17:10 +0300)]
fix compilation error due to a change in openflow plugin

Change-Id: I2439aae08175bc956935e228b14d316afdd9b103
Signed-off-by: shlomi <shlomi.alfasi@hpe.com>
7 years agoFix for bug in cli elaninterface:show 20/43020/1
Gobinath [Wed, 3 Aug 2016 08:12:24 +0000 (13:42 +0530)]
Fix for bug in cli elaninterface:show

The cli "elaninterface:show" listed the operational state of the
interfaces as "UP" even after their DPN is disconnected from the
controller. Only handling for the states "UP" and "DOWN" were present in
the code. Changes have been made for handling of the "UNKNOWN" state.

Change-Id: I4e4232481b1c78c384aee9023f4c97b23ac9e578
Signed-off-by: Gobinath <gobinath@ericsson.com>
7 years agoSupport for binding multiple egress services on the same interface 12/41712/19
Faseela K [Tue, 26 Jul 2016 18:20:06 +0000 (23:50 +0530)]
Support for binding multiple egress services on the same interface

Description : Adding support for binding multiple egress services on the
same interface. Whenever an egress service is bound on an interface, the
following operations will happen:
1) an entry will be created in Table 220(Egress Dispatcher Table) to match
on the lport tag and service index, and take the packet to the respective
egress table pipeline
2)Based on the service priority, entries in table 220 will be reordered,
so that highest priority service will match first in the pipeline
3)Applications should do a resubmit from their pipeline, back to table
220,if the packet is not destined for their pipeline

Change-Id: I3c027e3dc504682428e040551679fd5db49e9824
Signed-off-by: Faseela K <faseela.k@ericsson.com>
7 years agoMerge "Set VRF-ID metadata so it would not to override split-horizon bit"
Sam Hague [Tue, 2 Aug 2016 18:33:45 +0000 (18:33 +0000)]
Merge "Set VRF-ID metadata so it would not to override split-horizon bit"

7 years agoSet VRF-ID metadata so it would not to override split-horizon bit 18/42918/2
Tali [Mon, 1 Aug 2016 14:05:27 +0000 (17:05 +0300)]
Set VRF-ID metadata so it would not to override split-horizon bit

Change-Id: I00fe8f6dd8b8828bfcda0c8d478a5a6619138f28
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoUsing Table Ids from NwConstants.java 40/42940/1
Suraj Ranjan [Tue, 2 Aug 2016 06:24:39 +0000 (11:54 +0530)]
Using Table Ids from NwConstants.java

This review includes changes in entire genius module, to use table ids
from NwConstants.java.

This thing is already done in netvirt module.
https://git.opendaylight.org/gerrit/#/c/42776/

Change-Id: I2d157f58f2cd19195297ae69ab49c21a5225fd79
Signed-off-by: Suraj Ranjan <suraj.ranjan@ericsson.com>
7 years agoMerge "Updated NwConstants with ACL related constants"
Sam Hague [Mon, 1 Aug 2016 20:41:58 +0000 (20:41 +0000)]
Merge "Updated NwConstants with ACL related constants"