Michael Vorburger [Wed, 31 May 2017 23:49:31 +0000 (01:49 +0200)]
Add yangtools:testutils to mdsalutil-testutils
To make it possible to depend on mdsalutil-testutils in a new component
test for netvirt fibmanager, without having to declare a dependency to
yangtools:testutils (one should not have to).
Change-Id: Ia54921fb24edc0a37f03974be960a6b6b4bfe317
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Stephen Kitt [Tue, 23 May 2017 12:45:40 +0000 (14:45 +0200)]
Fix vlanIdModified test
OvsVlanMemberConfigUpdateHelper.vlanIdModified() has an apparent
copy-paste error in its null/non-null check. The whole test simplifies
down to !Object.equals(), so this patch just uses that.
Change-Id: I6b3548da5441e8318cf20eab3f4817d162c97fa6
Signed-off-by: Stephen Kitt <skitt@redhat.com>
David Suarez [Mon, 8 May 2017 15:23:41 +0000 (17:23 +0200)]
Simplify ResourceManager
- Simplify the initialization process refactoring some methods and using
System.getProperty with default values
- Change names of constants
- Improved coverage to from 70% to 81%.
More refactoring in later change.
Change-Id: I6670355d36b7af0806fa2032178103ef3d1a0099
Signed-off-by: David Suarez <david.suarez.fuentes@ericsson.com>
Faseela K [Sat, 27 May 2017 16:38:22 +0000 (16:38 +0000)]
Merge "fix for indefinite wait on the resource lock"
Michael Vorburger [Wed, 24 May 2017 09:37:51 +0000 (09:37 +0000)]
Merge "Avoid extending Object"
David Suarez [Tue, 23 May 2017 15:37:18 +0000 (17:37 +0200)]
Replace toUpperCase().equals by equalsIgnoreCase()
Change-Id: Ie6cd1797ff71d53b8f24492d97767cf5fd454153
Signed-off-by: David Suarez <david.suarez.fuentes@ericsson.com>
Stephen Kitt [Tue, 23 May 2017 11:51:11 +0000 (13:51 +0200)]
Avoid extending Object
Change-Id: If90e0445dafb0aa0f55c4145c1958369dadb93e9
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sam Hague [Thu, 18 May 2017 23:37:47 +0000 (23:37 +0000)]
Merge "Bug7451 - Maintaining state information for bound-services in DS"
Sam Hague [Thu, 18 May 2017 19:35:58 +0000 (19:35 +0000)]
Merge "BUG 8332: Inconsistent tunnel port information in Genius"
Faseela K [Mon, 24 Apr 2017 11:37:53 +0000 (17:07 +0530)]
Bug7451 - Maintaining state information for bound-services in DS
Use the bound-service-state info while unbinding service so as to avoid race conditions
when interface-state and service-unbinding happens exactly at the same
time
Change-Id: I39f6b3cef932d624de42d4cb56651fc8bb1de762
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Periyasamy Palanisamy [Sun, 14 May 2017 06:40:00 +0000 (12:10 +0530)]
fix for indefinite wait on the resource lock
* Currently idmanager manager mutates the allocated id list (to make it sorted) while writing it into datastore which causes ConcurrentModificationException.
This leads to resource lock is never released and makes release id thread to
wait indefinitley for the lock.
* added lock retry logic with timed future.get version to handle any missed signals
Change-Id: I5f271f6054a44aa50d19f3130a2d5a73230ff50c
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Vishal Thapar [Tue, 2 May 2017 09:15:05 +0000 (14:45 +0530)]
BUG 8332: Inconsistent tunnel port information in Genius
Change-Id: I40efffde720a57197c8b7a36c323dbe398f1acc8
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Faseela K [Sun, 23 Apr 2017 18:07:47 +0000 (23:37 +0530)]
Bug 7451 - Leftovers in dispatcher table when unbind and ietf-state
delete occurs simultaneously
Adding service-state-information to cache, whenever a service is bound to
an interface, and this information will be deleted only when the last
service on an interface is unbound. To make the first and last service
counting more robust, moving the boundservices config listener, one layer
up, at the services-info level, so that the event itself will come with
the number of services currently bound an interface. Reading the same info
from DS later on during the event processing, can cause incorrect data
being read from DS, when multiple parallel services might be getting bound
and unbound without any synchornization.
Change-Id: Iec1fcf12f71f34fed01158aae483a1d36bac6757
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Michael Vorburger [Thu, 11 May 2017 10:26:24 +0000 (10:26 +0000)]
Merge "IMdsalApiManager API simplification"
Faseela K [Thu, 11 May 2017 04:55:01 +0000 (04:55 +0000)]
Merge "Incorrect handling of admin state update for interface"
Michael Vorburger [Fri, 24 Mar 2017 02:41:56 +0000 (03:41 +0100)]
IMdsalApiManager API simplification
Having two installFlow/removeFlow, one returning void and the other
returning CheckedFuture, is completely pointless - they do the same
thing! The void one is NOT synchronous / blocking anyway (it internally
does NOT wait with a get() on the CheckedFuture) - so simplify.
This change, coincidentally, is fully backward API compatible. Callers
are free to ignore the new CheckedFuture returned - that's what the code
today already does anyway (in the implementation).
PS: This is the first step of perhaps more IMdsalApiManager API
simplifications to come (e.g. re. having variants taking BigInteger dpId
arguments, given that FlowEntity already has a dpId (only Flow does
not).
Change-Id: Ic53f6b7843bed71754e204258520d0ea40eb6b99
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Michael Vorburger [Wed, 10 May 2017 17:47:52 +0000 (19:47 +0200)]
Remove <prerequisites><maven> from pom.xml to avoid WARNING
[WARNING] The project ... uses prerequisites which is only intended for
maven-plugin projects but not for non maven-plugin projects. For such
purposes you should use the maven-enforcer-plugin. See
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
This (^^^) is already done in odlparent.
Change-Id: I1c128a179d24504f391e52b881c4d17227fad088
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Olga Schukin [Sun, 19 Mar 2017 10:23:40 +0000 (12:23 +0200)]
Multiple VxLAN tunnels - egress service
- default egress service would be bound to the logical tunnel
- OF select group based on the actual list of tunnel members in the
logical group
- set the oper status of logic tunnel according the states of the group members
- admin status of logic tunnel affects the states of the group members
Depends-On:
https://git.opendaylight.org/gerrit/52871
https://git.opendaylight.org/gerrit/52993
https://git.opendaylight.org/gerrit/53603
Change-Id: Ica0801aa274615cedc36c60d661a0d5d411e1bd0
Signed-off-by: Olga Schukin <olga.schukin@hpe.com>
Faseela K [Sat, 25 Mar 2017 16:44:04 +0000 (22:14 +0530)]
Incorrect handling of admin state update for interface
Change-Id: I1ae01853375e6cb7f89516a768c3fc0d82508f7a
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Periyasamy Palanisamy [Wed, 3 May 2017 10:38:04 +0000 (16:08 +0530)]
fixing junit in resourcemanager
There are some regression introduced in resource manager tests due to [1]
which causes junits in resourcemanager-impl to get blocked indefinitely.
It is addressed in this review
[1] https://git.opendaylight.org/gerrit/#/c/54425/
Change-Id: I261c14eefa2eb59839fa36eb0578cfe499c487bc
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Periyasamy Palanisamy [Thu, 6 Apr 2017 11:37:00 +0000 (17:07 +0530)]
adding future.get for acquiring clustered lock
* LockManager manager uses busy spin with thread.sleep to acquire a lock
if there is a contention for it.
* Now thread.sleep is replaced with future.get() using ACDTCN on the lock
Change-Id: I4ce3816e150f1e75fedf3093d96ed41efc444fa5
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
Faseela K [Tue, 2 May 2017 09:51:01 +0000 (09:51 +0000)]
Merge "Bug 7826: Data validation failed for path"
Ravindra Thakur [Mon, 30 Jan 2017 10:50:48 +0000 (16:20 +0530)]
Genius: configurable tos option for tunnels to support QoS DSCP marking
For supporting QoS DSCP marking feature, the outer header of the packets
egressing out of Ovs through vxlan/gre tunnels need to copy the DSCP bits
from the inner IP header.
The marking of inner header is done through OpenFlow rules configured on the
corresponding neutron port. For outer tunnel header, the tunnel interface tos
option in ovsdb needs to be set as “inherit”.
For setting of tos a configurable parameter is introduced under ITM module.
By default the tos option is set to “0” as specified in Ovsdb specification.
For QoS DSCP marking feature, this should be set to “inherit"
link: https://git.opendaylight.org/gerrit/#/c/48949/
Change-Id: Ife923f74f5bd59648d40c1779478333632337952
Signed-off-by: Ravindra Thakur <ravindra.nath.thakur@ericsson.com>
Faseela K [Fri, 28 Apr 2017 07:00:35 +0000 (07:00 +0000)]
Merge "Bug 8277 : VXLAN tunnel flapping"
David [Mon, 24 Apr 2017 23:39:31 +0000 (01:39 +0200)]
Remove ResourceManager.start method
The ResourceManager.start method has been removed
to improve initialization and testability. Its content
has been moved to the constructor.
Change-Id: If8b04382c0617fc2a54a1ca02fdb356b41c50398
Signed-off-by: David <david.suarez.fuentes@ericsson.com>
Sam Hague [Thu, 27 Apr 2017 14:53:41 +0000 (14:53 +0000)]
Merge "@Immutable FlowEntity"
Faseela K [Tue, 25 Apr 2017 11:52:58 +0000 (17:22 +0530)]
Bug 8277 : VXLAN tunnel flapping
Change-Id: Ie1390ec7f32ce97842b1b2f2e74235a3c185afbe
Signed-off-by: Faseela K <faseela.k@ericsson.com>
David [Tue, 25 Apr 2017 23:43:49 +0000 (01:43 +0200)]
Add component tests for Resource Manager Service
Add component tests for Resource Manager Service following this
guidelines [0].
Code coverage for resourcemanager-impl increased to more than 70%. This
coverage can improved by adding some negative test cases as well as
applying some re-factoring to the ResourceManager itself.
[0] https://wiki.opendaylight.org/view/BestPractices/Component_Tests
Change-Id: Iabbdf875301059d18e59b25312c6727b642a23c4
Signed-off-by: David <david.suarez.fuentes@ericsson.com>
Michael Vorburger [Fri, 24 Mar 2017 02:17:59 +0000 (03:17 +0100)]
@Immutable FlowEntity
This change has impacts in downstream project netvirt, which are handled
in https://git.opendaylight.org/gerrit/#/c/54390/ (must be merged
simultaneously)
Change-Id: I3d58caa5cbeafd1df2458942692b9271a650a23c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Faseela K [Wed, 26 Apr 2017 11:20:16 +0000 (11:20 +0000)]
Merge "BUG 8107: Flow based tunnels not being handled correctly"
Vishal Thapar [Thu, 30 Mar 2017 17:54:17 +0000 (23:24 +0530)]
BUG 8107: Flow based tunnels not being handled correctly
OF tunnels don't get added to interface-state which causes failures.
Change-Id: I95a4129c53c9f187d1f695f50e4b2f346780fb36
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
David [Sat, 22 Apr 2017 16:23:56 +0000 (18:23 +0200)]
Fix minor issues in idUtils
- Return expressions directly.
Change-Id: I5f0a9343cd6fea21e0ffe4f5617317ebb16544c1
Signed-off-by: David <david.suarez.fuentes@ericsson.com>
Faseela K [Fri, 21 Apr 2017 19:13:56 +0000 (00:43 +0530)]
Junits failure on interfacemanager-impl due to timing issues
Change-Id: I6151043e26bc42ab0ed980646382b96175ea0190
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Faseela K [Wed, 19 Apr 2017 11:30:00 +0000 (17:00 +0530)]
VLAN IF in a VM gets a Trunkport IP from the DHCP if there is no SubPort
created
If there is a VM which has two (2) TrunkPorts (vNICs) and both of these
TrunkPorts does have one SubPort created, and one of these ports has also 8
other VLAN interfaces defined inside the VM. These additional VLAN
interfaces which don't have matching SubPort do get IP address of the
TrunkPort from the DHCP server. Assumption is that the DHCP server (ODL)
should not answer to the DHCP request if it comes from a Trunk port with
VLAN tag / SubPort which is not defined.
Change-Id: I6fdf1deeadda71adf3dda3c00c16c2b424b62ab7
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Faseela K [Mon, 24 Apr 2017 05:50:16 +0000 (05:50 +0000)]
Merge "ArpUtil Test"
Michael Vorburger [Wed, 5 Apr 2017 17:29:15 +0000 (19:29 +0200)]
Clean up ITM impl *Worker: Use "final" where possible, avoid parameters
Just a start, there is more TBD here re. static and all; e.g. the
Itm*Tunnel*Worker private static methods could probably be made
non-static and an the workers made to have an instance, or even just be
moved into the respective Itm*Worker classes, which seem to be the only
place using them.
This change was motivated by having had a closer look at this code due
to review comment in c/52871 to make something non-static which we
cannot yet easily, because of this.
Change-Id: Ib22ef6edb86ae50b1fe91bf68b9f85ad93dc612f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Edwin Anthony [Fri, 21 Apr 2017 06:48:31 +0000 (12:18 +0530)]
ArpUtil Test
Change-Id: I084e89b7cf8af6090b3fde30412ac8a809c24647
Signed-off-by: Edwin Anthony <n.edwin.anthony@ericsson.com>
Faseela K [Tue, 18 Apr 2017 10:28:34 +0000 (15:58 +0530)]
Enhancing junits for interface-manager phase6
Adding junits for interface-manager APIs
Change-Id: I98bbeaef0681064eb81b487aff43f345d285d5c1
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Alon Kochba [Wed, 19 Apr 2017 12:14:43 +0000 (15:14 +0300)]
Cleanup IdManager and LockManager info messages
These modules are very active and output a large number
of logs in INFO level, which should be DEBUG level.
Change-Id: Id260b124ffeefa8ccf58d2c021c5c75b8ac589ab
Signed-off-by: Alon Kochba <alonko@hpe.com>
Vivek Srivastava [Thu, 20 Apr 2017 14:38:53 +0000 (14:38 +0000)]
Merge "Fix 1 Checkstyle problem (red in Eclipse, missed in build)"
Sam Hague [Thu, 20 Apr 2017 12:52:07 +0000 (12:52 +0000)]
Merge "Spec Propose to utilize Ovsdb QoS queues"
Konsta Pozdeev [Tue, 14 Feb 2017 12:44:14 +0000 (14:44 +0200)]
Spec Propose to utilize Ovsdb QoS queues
Change-Id: I7f6d8e4237c829b49efd4b78d072b5cbd91f174a
Signed-off-by: Konsta Pozdeev <konsta.pozdeev@hpe.com>
Riyazahmed D Talikoti [Mon, 17 Apr 2017 11:48:30 +0000 (17:18 +0530)]
Added rpc in itm-rpc to move commonly used method.
getEndpointIpAddressForDPN method is used by multiple modules
elanmanager, fibmanager, vpnmanager, natservice
Hence adding this method to itm-rpc.
We can use this same rpc call in all the above mentioned modules.
Change-Id: I2b0c615b3f19b8f09e212a87174ae7ed05dd40ce
Signed-off-by: Riyazahmed D Talikoti <riyazahmed.d.talikoti@ericsson.com>
Michael Vorburger [Wed, 19 Apr 2017 16:12:24 +0000 (18:12 +0200)]
Fix 1 Checkstyle problem (red in Eclipse, missed in build)
required for overall move to new Checkstyle version, see
https://git.opendaylight.org/gerrit/#/q/topic:bumpCheckstyle
see also earlier https://git.opendaylight.org/gerrit/#/c/55170/
Change-Id: Icab6986e0207f3d6b2f1b3dbd875bf73a25c26c9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Slava Radune [Thu, 6 Apr 2017 07:12:51 +0000 (10:12 +0300)]
Utils for remote acl merging metadata
Change-Id: I8f7f49a5b6f57e50e13c6d4f42acabd3585de229
Signed-off-by: Slava Radune <slava.radune@hpe.com>
eswanit [Mon, 10 Apr 2017 11:02:44 +0000 (16:32 +0530)]
Bug 7826: Data validation failed for path
* Modified removeGroup entity and removeFlow entity method
to fix the CSIT error of group-id not existing
* Added syncronized key-check for group and flow syncDelete
Will run the CSIT and check.
Change-Id: I6d137aa353b3e691085ba484d63a1833b140472c
Signed-off-by: eswanit <swati.udhavrao.niture@ericsson.com>
Faseela K [Wed, 19 Apr 2017 07:05:34 +0000 (07:05 +0000)]
Merge "LockManager catch (InterruptedException e) LOG error not info"
Vishal Thapar [Wed, 19 Apr 2017 04:50:59 +0000 (04:50 +0000)]
Merge "Fix getPortsOnBridge() API"
Michael Vorburger [Thu, 13 Apr 2017 17:51:47 +0000 (19:51 +0200)]
Minor fix for potential Tx resources leak found by static code analysis
and an (unrelated) Map remove null related check
Change-Id: Ibfa6f42bee741637ec1bf7f2cfcfa9a6ff6822aa
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Faseela K [Tue, 18 Apr 2017 17:50:52 +0000 (17:50 +0000)]
Merge "Minor removal of useless null check in OvsdbNodeListener"
Faseela K [Tue, 18 Apr 2017 16:00:47 +0000 (16:00 +0000)]
Merge "Multiple VxLAN tunnels - remove logic tunnel group"
Michael Vorburger [Tue, 18 Apr 2017 15:29:04 +0000 (17:29 +0200)]
Minor removal of useless null check in OvsdbNodeListener
Both found by null analysis in Eclipse: "Null comparison always yields
false: The variable externalIdsInfoObj cannot be null at this location"
and "Redundant null check: The variable ovsdbNodeExternalIdsList cannot
be null at this location"
Change-Id: Ia2775254606978dc544429bfbbd5a4e5ceab04c6
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Olga Schukin [Tue, 21 Mar 2017 11:39:31 +0000 (13:39 +0200)]
Multiple VxLAN tunnels - remove logic tunnel group
Removing logic tunnel related models from DS
Depends-On: https://git.opendaylight.org/gerrit/52871
https://git.opendaylight.org/gerrit/52993
Change-Id: If869da809d17e805940b627c1ed0c330fe06e4e6
Signed-off-by: Olga Schukin <olga.schukin@hpe.com>
Michael Vorburger [Thu, 6 Apr 2017 11:35:49 +0000 (13:35 +0200)]
LockManager catch (InterruptedException e) LOG error not info
or is this intentional only info, for some reason?
If so, then it should be documented with an in-line comment...
Change-Id: I10e3c50f74a7fa866fbb67e8513974bb289570d5
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Michael Vorburger [Thu, 13 Apr 2017 13:38:12 +0000 (15:38 +0200)]
Fix 2 Checkstyle problems (red in Eclipse, missed in build)
This show up as red in Eclipse, but the CLI mvn build misses these; I
suspect that this is because the exact Checkstyle version used in the
Eclipse plugin likely is a little newer, and thus stricter, than the one
we currently use in the CLI mvn build. (I have double checked that
other Checkstyle violations do still fail the build, these appear to be
corner cases.)
We should probably upgrade the CS version we have in odlparent.
Change-Id: Ib169df06b8d96dd2b8980ed33e59fcc9f1820d81
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Faseela K [Thu, 13 Apr 2017 08:35:16 +0000 (14:05 +0530)]
Fix getPortsOnBridge() API
The current API tries to read bridge-interface-entry which will be missing
for non-tunnel ports.
Change-Id: If2fb677bc84c2aeca59f6020371051f45f761240
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Faseela K [Mon, 17 Apr 2017 09:02:03 +0000 (09:02 +0000)]
Merge "Tunnel showing wrong state in scale setups"
Olga Schukin [Wed, 8 Mar 2017 10:22:39 +0000 (12:22 +0200)]
Multiple VxLAN tunnels - RPC changes
- Change ITM RPC calls to getTunnelInterfaceName and
getInternalOrExternalInterfaceName to prefer the logical tunnel
group over the tunnel members
- IFM RPC call to getEgressActionsForInterface for the logical tunnel will
load register6 with its corresponding lport-tag and resubmit the
traffic to the egress dispatcher table.
Depends-On: https://git.opendaylight.org/gerrit/52871
Change-Id: I26a244225c3d82038bb92ea014b8ee35a4f5eda5
Signed-off-by: Olga Schukin <olga.schukin@hpe.com>
Faseela K [Tue, 11 Apr 2017 08:21:27 +0000 (13:51 +0530)]
Tunnel showing wrong state in scale setups
In a scaled environment, when BFD flaps continuously,
interface-manager was showing the wrong tunnel-state in the end,
This is because interface-state in cache will have stale oper-status
leading to race conditions, during frequent toggling events.
Read from cache should be avoided in such conditions.
Change-Id: I878afb51f1da41f50e7f853cf0dbce35e5b96136
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Faseela K [Fri, 14 Apr 2017 10:02:20 +0000 (10:02 +0000)]
Merge "Renaming IFM utility getInterfaceStateFromOperDS"
Sam Hague [Thu, 13 Apr 2017 19:17:28 +0000 (15:17 -0400)]
Ignore failing merge tests
Change-Id: Ie5cb68712ebb450e653dc423199c045fcf029036
Signed-off-by: Sam Hague <shague@redhat.com>
Faseela K [Thu, 13 Apr 2017 18:09:57 +0000 (18:09 +0000)]
Merge "Enhance install egress dispatcher flow logs"
Faseela K [Tue, 11 Apr 2017 05:56:14 +0000 (11:26 +0530)]
Renaming IFM utility getInterfaceStateFromOperDS
The utility was first doing a cache read, and in cache miss
cases, it tends to read from oper DS. So, ideally both the utils should
be separated so that if someone does not want to use the cache read, they
should be free to use the same.
Change-Id: Ie9b4371c466e57f75b357e7e6c39ecfb87480478
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Sam Hague [Thu, 13 Apr 2017 17:45:27 +0000 (17:45 +0000)]
Merge "Add ArpConstants to arputil"
Faseela K [Mon, 10 Apr 2017 06:50:38 +0000 (12:20 +0530)]
Enhance install egress dispatcher flow logs
Making the logs a little more readable, found it confusing
while debugging one issue
Change-Id: I486e8afa86a41a4e5a09485e1fbec16c5aff6f58
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Faseela K [Mon, 10 Apr 2017 08:00:21 +0000 (13:30 +0530)]
Enhancing lockmanager junits
Change-Id: I87c21a7a24229b931c3cdfe2dd939a99c2aaa1e3
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Sam Hague [Wed, 12 Apr 2017 18:45:51 +0000 (14:45 -0400)]
Add ArpConstants to arputil
Moving all arp constants to a single file as some
of these were duplicated. This is also to help break
cylci dependencies in netvirt.
Change-Id: I99ad9110f74702f2b3e6a50b3ba524ff2f6399bb
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Thu, 13 Apr 2017 14:48:53 +0000 (14:48 +0000)]
Merge "Bug 8160 : getLock() in endless loop"
Sam Hague [Thu, 13 Apr 2017 14:43:58 +0000 (14:43 +0000)]
Merge "Bug 8111: Conflicting modification for path"
Kency Kurian [Thu, 6 Apr 2017 09:57:06 +0000 (15:27 +0530)]
Bug 8160 : getLock() in endless loop
Ensured that the lock is unlocked before returning the idValue.
Depends-On: I5b4b875aabba4d434515004181521d08ba8d1867
Change-Id: I6e01e2dc63992b91f1ecd19dd42413a08932899d
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
Sam Hague [Wed, 12 Apr 2017 12:17:04 +0000 (12:17 +0000)]
Merge "Changing Netvirt Classifier Egress service tables"
Brady Johnson [Tue, 11 Apr 2017 12:22:22 +0000 (14:22 +0200)]
Changing Netvirt Classifier Egress service tables
- Previously they were 110, 111, 112 but the Egress dispatcher
table is 220 so a simple goto_table wouldnt work.
- Instead of doing a resubmit table, its better to have all the
Egress service tables grouped together. Now using 221, 222, 223.
Change-Id: Ibaa399abb9e3dc40904c8b0d561a62a84eae8c01
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
Anil Belur [Tue, 11 Apr 2017 01:45:35 +0000 (11:45 +1000)]
Bump versions by x.(y+1).z for next dev cycle
Change-Id: I6b36f127efb83a0349606e4bda8aa99aba518a3b
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Michael Vorburger [Thu, 6 Apr 2017 10:04:11 +0000 (12:04 +0200)]
Use ThreadFactoryProvider from (now in) infrautils, rm genius.infra
as well as LoggingThreadUncaughtExceptionHandler (same)
Change-Id: I8156829ad01ad8afeb24798cf010def8f5ebe5b9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Kency Kurian [Wed, 5 Apr 2017 11:28:21 +0000 (16:58 +0530)]
Bug 8111: Conflicting modification for path
Removed the exception object from being logged. Will run CSIT and check.
Change-Id: I5b4b875aabba4d434515004181521d08ba8d1867
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
Faseela K [Sun, 9 Apr 2017 03:05:49 +0000 (03:05 +0000)]
Merge "Fix getInterfaceInfo API for logical tunnels"
Michael Vorburger [Wed, 5 Apr 2017 19:58:30 +0000 (21:58 +0200)]
Minor: IdManagerTest Java 8 lambda
Change-Id: I154cd0317537c8f48aaa1cabec43ccef78f5e2eb
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Michael Vorburger [Thu, 6 Apr 2017 15:42:03 +0000 (15:42 +0000)]
Merge "Enhancing junits of interface-manager phase5"
Michael Vorburger [Thu, 6 Apr 2017 14:48:21 +0000 (14:48 +0000)]
Merge "LockManagerTest v1"
Faseela K [Thu, 6 Apr 2017 12:25:44 +0000 (17:55 +0530)]
Fix getInterfaceInfo API for logical tunnels
getInterfaceInfo was unnecessarily setting a group-id for all
interfaces where actually it is not, and also for logical tunnels,
the groupid returned was not correct.
Change-Id: I67a40650e12d28ed3a125440859c092b7b281c20
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Michael Vorburger [Thu, 6 Apr 2017 12:18:14 +0000 (14:18 +0200)]
LockManagerTest v1
BTW: LockManager's retry logic appears to be completely broken!
Change-Id: Ia7408b39e0fecd6ead6eda3ed7b86cc5f0481f56
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Faseela K [Thu, 6 Apr 2017 11:02:18 +0000 (16:32 +0530)]
Enhancing junits of interface-manager phase5
Adding tests for southbound port and switch updates
Change-Id: I93207e9309dfa685c7bd7a8998b2cfb56e6c6345
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Faseela K [Thu, 6 Apr 2017 10:01:32 +0000 (10:01 +0000)]
Merge "To prevent erronus comparison of enums, fixes persistence of mbean alarms on configuring teps."
Edwin Anthony [Thu, 6 Apr 2017 05:36:10 +0000 (11:06 +0530)]
To prevent erronus comparison of enums,
fixes persistence of mbean alarms on configuring teps.
Change-Id: I672a545458f3e837080ecc9df22659573a71050d
Signed-off-by: Edwin Anthony <n.edwin.anthony@ericsson.com>
Olga Schukin [Mon, 6 Mar 2017 08:26:37 +0000 (10:26 +0200)]
Multiple VxLAN tunnels - initial support
- ITM - global configuration option to guard the feature
- ITM - creation of multiple tunnels between pair of DPNs
- Maintain interface-child-info model for tunnel hierarchy
- Logical tunnel group creation
- Prepare OF select group for egress service
- CLI tep:show-state to show the logical tunnel interface correctly
Change-Id: I3eca1a7995922feafa4135bdaff83b44a6f1ed0a
Signed-off-by: Olga Schukin <olga.schukin@hpe.com>
Faseela K [Wed, 5 Apr 2017 06:52:01 +0000 (06:52 +0000)]
Merge "Removing references to neutron port from logs"
Rong Xu [Fri, 24 Mar 2017 10:19:10 +0000 (18:19 +0800)]
Bug 8070: Update the description of the command tep:deletedatastore
Change-Id: I696660c1f4a2684e301c34fbd38614e5e42eccb6
Signed-off-by: Rong Xu <xu.rong4@zte.com.cn>
Michael Vorburger [Tue, 4 Apr 2017 17:49:47 +0000 (17:49 +0000)]
Merge "ArpUtil test framework"
Michael Vorburger [Tue, 4 Apr 2017 17:47:17 +0000 (17:47 +0000)]
Merge "Minor Clean-up post Blueprint migration"
Faseela K [Tue, 4 Apr 2017 08:37:17 +0000 (14:07 +0530)]
Removing references to neutron port from logs
As this is a common API which can get called from InterfaceConfigListener
add() / update() method, was seeing neutron port references even for other
usecases in the error logs.
Change-Id: Ide2694b0de1023d7f39fab5df53f44bf6f4157d5
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Michael Vorburger [Tue, 4 Apr 2017 16:28:00 +0000 (16:28 +0000)]
Merge "Fix MatchIcmpv4 & MatchIcmpv6's problems with XtendBeanGenerator (2/2)"
Edwin Anthony [Tue, 4 Apr 2017 04:46:41 +0000 (10:16 +0530)]
Minor Clean-up post Blueprint migration
Change-Id: I4b871cc90c4a7e92f4e35d6603295ee6cbb52330
Signed-off-by: Edwin Anthony <n.edwin.anthony@ericsson.com>
Edwin Anthony [Tue, 4 Apr 2017 15:24:05 +0000 (20:54 +0530)]
ArpUtil test framework
Change-Id: I26f7f879cc99286ce43640092ad3836bf04241e7
Signed-off-by: Edwin Anthony <n.edwin.anthony@ericsson.com>
Faseela K [Mon, 27 Mar 2017 10:19:35 +0000 (15:49 +0530)]
Enhancing interface-manager junits - phase3
Cleanup unused methods in interface-manager
Change-Id: If656303922b533aff7a7c0e12aec7896f05693ed
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Vishal Thapar [Tue, 4 Apr 2017 08:31:22 +0000 (14:01 +0530)]
ParentRef update for tunnels should be skipped
Tunnel interfaces today don't have a parentinterface. Updating it wrongly
tiggers unnecessary delete+add for tunnels. This adds unnecessary
overhead and should not be done till we have use cases that require these
and handle them accordingly.
Change-Id: I7e6893b445b507c3530eb4e348ec4f7f02324e57
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Faseela K [Mon, 3 Apr 2017 19:37:54 +0000 (19:37 +0000)]
Merge "Workaround for Bug 7451"
Michael Vorburger [Mon, 3 Apr 2017 18:38:52 +0000 (18:38 +0000)]
Merge "Enhancing junits of InterfaceManager - phase2"
Faseela K [Wed, 29 Mar 2017 09:07:23 +0000 (14:37 +0530)]
Enhancing junits of InterfaceManager - phase2
Adding junits for interface updates, and vlan member interfaces
Change-Id: Ide7376be00b2ecbf4c4a1734e8ad00844fd412e8
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Michael Vorburger [Wed, 29 Mar 2017 16:53:22 +0000 (18:53 +0200)]
Fix MatchIcmpv4 & MatchIcmpv6's problems with XtendBeanGenerator (2/2)
This second change can now just remove those 'artificial' Builder
classes, because following an upgrade of the upstream XtendBeanGenerator
version used (in mdsal-binding-test-utils's dependencies), it now
"just works" directly, as one would naturally expect.
Change-Id: I78088d52b69be460f04a3e8bf8a894d0c554b014
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Tali [Mon, 3 Apr 2017 07:58:23 +0000 (10:58 +0300)]
Workaround for Bug 7451
Leftovers in dispatcher table when unbind and ietf-state delete occurs simultaneously
The purpose of this patch is simply to lower the severity of this bug by making new
dispatcher flows override stale entries. This workaround cannot replace a real solution
since it would not survive OVS reboot scenarios
Change-Id: Ia0c883f733e49876101fe3e0fefcca7a93c87d89
Signed-off-by: Tali <tali.ben-meir@hpe.com>