Arunprakash D [Mon, 9 Jul 2018 06:18:02 +0000 (06:18 +0000)]
Merge "OPNFLWPLUG-997 Spec - Southbound cli implementation"
eeiillu [Mon, 2 Jul 2018 12:58:25 +0000 (18:28 +0530)]
Renaming reconciliation cli's
Change-Id: I168ab0e6df5a99c5bd41c8e4fc974c61d5f0083c
Signed-off-by: eeiillu <suja.t@ericsson.com>
Arunprakash D [Fri, 29 Jun 2018 03:04:46 +0000 (03:04 +0000)]
Merge "Testplan for Bundle-Reysnc"
Robert Varga [Wed, 27 Jun 2018 11:18:43 +0000 (13:18 +0200)]
Fix opendaylight-flow-types.yang cases
The model is invalid, as it is introducing duplicate names into
a choice. Fix this up by adding an intermediate container.
JIRA: OPNFLWPLUG-1020
Change-Id: I76b4822b63df05051bdd3f4787186a5e76480970
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Stephen Kitt [Wed, 30 May 2018 13:46:24 +0000 (15:46 +0200)]
Bump odlparent to 3.1.2
Change-Id: Ic1e4998ff65d8deb5bb9e9ed0a478f329451efad
Signed-off-by: Stephen Kitt <skitt@redhat.com>
eafatha [Tue, 12 Dec 2017 11:10:58 +0000 (16:40 +0530)]
Testplan for Bundle-Reysnc
This document is the testplan for the bundle-based Resync Feature
Change-Id: I8b60a7b804f78d94dabb0832d6d3a9b9f1ae95b4
Signed-off-by: eafatha <a.fathima.thasneem@ericsson.com>
Anil Vishnoi [Tue, 19 Jun 2018 19:38:40 +0000 (19:38 +0000)]
Merge "remove useless diagstatus ServiceDescriptor descriptions"
D Arunprakash [Thu, 19 Apr 2018 06:50:42 +0000 (12:20 +0530)]
OPNFLWPLUG-997 Spec - Southbound cli implementation
Implementation of CLI's like getallnodes and shownode
to get the list of connected nodes and the list of ports
available under a given openflow node.
Change-Id: I839b01805416ac9b3bd0513f79a4eb5f88aeedea
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
Somashekhar Javalagi [Mon, 18 Jun 2018 08:02:46 +0000 (13:32 +0530)]
OPNFLWPLUG-990: Administrative Reconciliation alarm - log correction
Change-Id: I47ff91b6a9f5f2728ddc0681456d494f73a1e650
Signed-off-by: Somashekhar Javalagi <somashekhar.manohara.javalagi@ericsson.com>
Arunprakash D [Mon, 18 Jun 2018 05:24:58 +0000 (05:24 +0000)]
Merge "OPNFLWPLUG-990: Administrative Reconciliation alarm - setting correct alarmID"
Tom Pantelis [Fri, 15 Jun 2018 17:06:16 +0000 (13:06 -0400)]
Add explicit org.osgi.core dependency
This was picked up transitively from config-api but that
is going away.
Change-Id: I5f8011adb96c82a1d69960bfe9e2d68aa45a1f96
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Anil Vishnoi [Thu, 14 Jun 2018 17:28:42 +0000 (17:28 +0000)]
Merge "Do not use maven.bundle.version"
Michael Vorburger [Thu, 14 Jun 2018 09:55:51 +0000 (11:55 +0200)]
remove useless diagstatus ServiceDescriptor descriptions
following Change-Id: I22109f46e4505ec4336f5d8fdc1794bbb8d05562
in line with doing the same elsehwere in Ie5d2a0e572328e7260fd97ad1a35714222e3c317
Change-Id: I04a6a99e0bb8533f45b963dbadd1ead907608ec3
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Arunprakash D [Thu, 14 Jun 2018 05:20:10 +0000 (05:20 +0000)]
Merge "Remove uses of BindingAwareProvider/Consumer"
Somashekhar Javalagi [Wed, 13 Jun 2018 06:09:17 +0000 (11:39 +0530)]
OPNFLWPLUG-990: Administrative Reconciliation alarm - setting correct
alarmID
Change-Id: I6ba0a793cdd99d11b4d7639f319a7614a1c60b38
Signed-off-by: Somashekhar Javalagi <somashekhar.manohara.javalagi@ericsson.com>
Anil Vishnoi [Tue, 12 Jun 2018 21:44:04 +0000 (21:44 +0000)]
Merge changes I7500a6f1,If607a21b
* changes:
OPNFLWPLUG-970: Remove deviceInfo from connectingDevices in destroyContextChain
OPNFLWPLUG-970: Prevent ConcurrentModificationException when switches disconnected
Anil Vishnoi [Tue, 12 Jun 2018 20:57:40 +0000 (20:57 +0000)]
Merge "minor: fix JavaDoc in class Packet"
Robert Varga [Tue, 12 Jun 2018 20:47:07 +0000 (22:47 +0200)]
Do not use maven.bundle.version
This plugin is declared via pluginManagement, do not rely
on property to redefine it.
Change-Id: Iddfdc763332d8335b262819e21af928c2bcba218
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Chien-Hsin Chen [Thu, 19 Apr 2018 08:59:45 +0000 (16:59 +0800)]
OPNFLWPLUG-970: Remove deviceInfo from connectingDevices in destroyContextChain
The connectingDevices is used to block connection until previous one has succeeded or disconnected.
But it is not removed after device disconnected.
Change-Id: I7500a6f11d1d017b7a5c4a6d9adcd23d36ee8f8e
Signed-off-by: Chien-Hsin Chen <greensun1231@gmail.com>
Chien-Hsin Chen [Mon, 26 Mar 2018 10:07:21 +0000 (18:07 +0800)]
OPNFLWPLUG-970: Prevent ConcurrentModificationException when switches disconnected
A concurrent HashSet derived from ConcurrentHashMap is used to prevent ConcurrentModificationException when closing device and statistics contexts.
ExecutorService.submit is replaced with ExecutorService.execute to expose the exceptions thrown.
Change-Id: If607a21b93961308e790bfca55718799576ebf0f
Signed-off-by: Chien-Hsin Chen <greensun1231@gmail.com>
Arunprakash D [Mon, 11 Jun 2018 03:18:49 +0000 (03:18 +0000)]
Merge "OPNFLWPLUG-1015 : OF Bundle add message failing with incorrect XID"
Tom Pantelis [Fri, 8 Jun 2018 16:45:34 +0000 (12:45 -0400)]
Remove uses of BindingAwareProvider/Consumer
These are legacy and will eventually be deprecated/removed. Most
uses were in sample projects which were converted to blueprint.
Change-Id: I9575f08a4a94a200eb5cce9f7b80ee4d6155e6c5
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Michael Vorburger [Thu, 7 Jun 2018 15:28:38 +0000 (17:28 +0200)]
minor: fix JavaDoc in class Packet
Change-Id: I69a5364bc1f81966cb46ac5f05f2f8218fd425d4
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Anil Vishnoi [Wed, 6 Jun 2018 09:39:20 +0000 (09:39 +0000)]
Merge "OPNFLWPLUG-1000 : Execute reconciliation asynchronously when the user selected all openflow switch"
gobinath [Thu, 31 May 2018 06:34:05 +0000 (12:04 +0530)]
OPNFLWPLUG-1015 : OF Bundle add message failing with incorrect XID
When more number of flow/groups being pushed via OF bundle down to openflow switch. OVS rejects some of the bundle add messages with error OFPBFC_MSG_BAD_XID (inconsistent or duplicate transaction ID).
On further analysis, it was found that the OVS (in compliance with
openflow protocol) rejects the add bundle messages if the transaction id
in the OFP header containing the bundle add msg is different to that of
the flow/group mod present in the bundle body.
This may be due to synchronization issues in the creation of the bundle
inner msg which could have resulted in the incorrect transaction Id
being set in the bundle msg. Changes have been made to avoid the
synchronization issue now which could fix this bug.
Change-Id: Ia575eee9616607402f625e09588b84758b1e4fe2
Signed-off-by: gobinath <gobinath@ericsson.com>
Anil Vishnoi [Mon, 4 Jun 2018 18:26:54 +0000 (18:26 +0000)]
Merge "Fixup Augmentable and Identifiable methods changing"
Anil Vishnoi [Mon, 4 Jun 2018 16:16:56 +0000 (16:16 +0000)]
Merge "Pass error cause to service status"
Stephen Kitt [Thu, 31 May 2018 13:23:17 +0000 (15:23 +0200)]
Fixup Augmentable and Identifiable methods changing
This is a fixup of the change in binding codegen, adjusting:
- getKey() -> key()
- setKey() -> withKey()
- getAugmentation() -> augmentation()
JIRA: TSC-101
Change-Id: I4285ddfd3b49880053bb9cd1b49ed33fef4bbfb9
Signed-off-by: Stephen Kitt <skitt@redhat.com>
SujaT [Fri, 4 May 2018 08:53:51 +0000 (14:23 +0530)]
OPNFLWPLUG-1000 : Execute reconciliation asynchronously when the user
selected all openflow switch
Change-Id: I49e788481f485ed1765bb7a7f1f12afff68b6fe5
Signed-off-by: SujaT <suja.t@ericsson.com>
Anil Vishnoi [Sun, 3 Jun 2018 20:02:37 +0000 (20:02 +0000)]
Merge "Switch to using lfdocs-conf to pull in theme"
Anil Vishnoi [Sun, 3 Jun 2018 20:02:00 +0000 (20:02 +0000)]
Merge "Enable nitpicky mode and fail on warnings"
Anil Vishnoi [Sun, 3 Jun 2018 20:01:49 +0000 (20:01 +0000)]
Merge "Resolve Sphinx build warnings"
Anil Vishnoi [Sun, 3 Jun 2018 19:54:46 +0000 (19:54 +0000)]
Merge "OPNFLWPLUG-898 : remove deprecated checkedfuture"
Anil Vishnoi [Sun, 3 Jun 2018 19:52:23 +0000 (19:52 +0000)]
Merge "Bundle Reconciliation: Close bundle on switch before reconciliation"
Anil Vishnoi [Sun, 3 Jun 2018 19:47:25 +0000 (19:47 +0000)]
Merge "OPNFLWPLUG-898 Improve code quality in liblldp module"
Anil Vishnoi [Sun, 3 Jun 2018 19:41:50 +0000 (19:41 +0000)]
Merge "OPNFLWPLUG-1014: Negotiate openflow version for protocol OF 1.4 and above"
Thanh Ha [Sun, 3 Jun 2018 01:33:53 +0000 (21:33 -0400)]
Switch to using lfdocs-conf to pull in theme
lfdocs-conf is a new project that allows us to centrally manage
project theme configuration without having to duplicate it
everywhere or have the "docs" project become a large submodule
project.
We will push to ReadTheDocs separately and then create a new path
for this doc under docs.opendaylight.org/projects/integration-packaging
For further details refer to:
http://docs.releng.linuxfoundation.org/en/latest/project-documentation.html
Change-Id: Id8b32a73fb6ace23a4cf50179bb1b97420aceec4
JIRA: DOCS-69
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Sun, 3 Jun 2018 01:29:48 +0000 (21:29 -0400)]
Enable nitpicky mode and fail on warnings
Change-Id: I7cff395f046e244a39b0cb9b52743e0c368fc676
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Sun, 3 Jun 2018 01:30:37 +0000 (21:30 -0400)]
Resolve Sphinx build warnings
Change-Id: Ia6b22ddf25179993208c9de4fff88a818354cc4b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Jamo Luhrsen [Fri, 30 Mar 2018 07:02:36 +0000 (00:02 -0700)]
Pass error cause to service status
Change-Id: I2685e124e2a6e743725340aa23c55f1a0e6c1ceb
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Robert Varga [Sat, 26 May 2018 11:19:02 +0000 (13:19 +0200)]
Correct case confusion
Binding case statements to their choices exposes type safety
confusion in test, fix that up.
Change-Id: I12eb54fdf190e61a7c1afd88f06e5ccc2daa9b30
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Somashekhar Javalagi [Mon, 28 May 2018 05:38:45 +0000 (11:08 +0530)]
OPNFLWPLUG-1014: Negotiate openflow version for protocol OF 1.4 and above
OVS2.8 and above communicates with OF 1.4 protocol by default.
Hello message sent by OVS2.8 will have version set as OF 1.4 without
bitmap.
When switch sends hello message without bitmap and the version set is
higher than the controller supported version, controller will send HELLO
message with the bitmap containing list of controller supported OF
versions (OF1.3, OF1.0). Once, ovs receives this HELLO message, it is
negotiating the higher supported common version available in the bitmap.
From then on OVS will send openflow messages with version set as 1.3.
When the HELLO message sent by controller is successful, it should go to
the post handshake steps, instead of waiting for next HELLO message from
switch.
Change-Id: Ibfeb61d14a95482fc2f7c399244fdaaf4ac69396
Signed-off-by: Somashekhar Javalagi <somashekhar.manohara.javalagi@ericsson.com>
Anil Vishnoi [Wed, 30 May 2018 21:47:22 +0000 (21:47 +0000)]
Merge "Add missing iteration synchronisation"
Anil Vishnoi [Tue, 29 May 2018 21:12:56 +0000 (21:12 +0000)]
Merge "Eliminate InstanceIdentifier.toInstance() reference"
Prasanna Huddar [Tue, 29 May 2018 04:58:56 +0000 (04:58 +0000)]
Merge "IllegalArgumentException with metadata field in learn action"
D Arunprakash [Thu, 24 May 2018 08:11:23 +0000 (13:41 +0530)]
Bundle Reconciliation: Close bundle on switch before reconciliation
Send Close bundle message to the switch before opening a new bundle.
This will prevent ONFERR_ET_BUNDLE_EXIST
Change-Id: I3f315ea7e44f11f85e2fa4d4e1404d5c65c62d29
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
D Arunprakash [Mon, 23 Apr 2018 14:06:07 +0000 (19:36 +0530)]
OPNFLWPLUG-898 : remove deprecated checkedfuture
Change-Id: I13428638796fa872cb5a674c24c9b141bb6899e0
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
Andrej Leitner [Sat, 26 May 2018 22:33:58 +0000 (00:33 +0200)]
OPNFLWPLUG-898 Improve code quality in liblldp module
Change-Id: Ic324617ea4da63e56a0eb500953a2df5cc6614c5
Signed-off-by: Andrej Leitner <andrej.leitner@gmail.com>
Robert Varga [Fri, 25 May 2018 15:01:58 +0000 (17:01 +0200)]
Eliminate InstanceIdentifier.toInstance() reference
This method has been long-deprecated, do not use it.
Change-Id: I2bec3b7a70025e4c64f9a89d4d95c6723558f6a3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Anil Vishnoi [Fri, 25 May 2018 05:58:37 +0000 (05:58 +0000)]
Merge "fix diagstatus NPE on showSvcStatus CLI"
Stephen Kitt [Thu, 24 May 2018 15:00:20 +0000 (17:00 +0200)]
Add missing iteration synchronisation
Synchronised BiMaps need to have their iterations protected by
explicit synchronisation (see the javadocs); this patch adds a missing
synchronisation in getExistingKey.
Change-Id: I4bea65e06aee26cf2d5e6ebae86f3bedd2dd6fc6
JIRA: OPNFLWPLUG-1013
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Anil Vishnoi [Thu, 10 May 2018 02:24:06 +0000 (19:24 -0700)]
OPNFLWPLUG-1010 Adopt mdsal changes proposed through weather item TSC-99
Change-Id: Ia13e428ccc93812da5d1b2d76473bd20659bc0b4
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Robert Varga [Wed, 23 May 2018 09:36:42 +0000 (11:36 +0200)]
Fix ClusterSingleton future type
The type changed from Void to ? extends Object, adjust for this
change.
Change-Id: I91aaa511770174ba0c2e81df2b1d8bfb92ee8b23
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Chintan Apte [Thu, 10 May 2018 06:16:15 +0000 (11:46 +0530)]
fix diagstatus NPE on showSvcStatus CLI
Due to some bug, openflowplugin's service Descriptor was null, and in
such scenarios, when we execute "showSvcStatus" the CLI was throwing
some exception. This needs fixes in two places, one in infrautils and
the second in openflowplugin. This one is for openflowplugin.
JIRA: INFRAUTILS-39
Change-Id: I965c55fefac11601c3231a43cfc0cc32ccaf57d8
Signed-off-by: Chintan Apte <chintan.apte@ericsson.com>
Ravindra Thakur [Tue, 15 May 2018 06:57:15 +0000 (12:27 +0530)]
IllegalArgumentException with metadata field in learn action
Issue: OPNFLWPLUG-1011
The issue is because of reading the fields as signed int instead
of unsigned int. Changes are made to read the fields as unsigned int.
Change-Id: Ib1c5daa8697cedb20f92d20cbb6b639533b3333f
Signed-off-by: Ravindra Thakur <ravindra.nath.thakur@ericsson.com>
Jozef Bacigal [Mon, 29 Jan 2018 14:29:54 +0000 (15:29 +0100)]
Remove deprecated Throwable.propagates
Change-Id: I23fa15bccb2f0a007b515e30c4197cb2f2ba06f0
Signed-off-by: Jozef Bacigal <jozef.bacigal@me.com>
Somashekhar Javalagi [Mon, 7 May 2018 07:24:37 +0000 (12:54 +0530)]
OPNFLWPLUG-1008 : Make OpenflowPluginDiagStatusProvider ip address confiugrable
Currently if user checks diagstatus:showsvcstatus, then port status will
be checked for localhost. If user starts IP in different host and checks
for diagstatus:showsvcstatus, then it reads IP address from switch
connection configuration xml file and checks port status for that IP
address. If no IP is specified in configuration file, then by default
localhost will be considered for port status check.
Change-Id: I34c6d6d429ccffa56452dd0209673229f1bb3585
Signed-off-by: Somashekhar Javalagi <somashekhar.manohara.javalagi@ericsson.com>
D Arunprakash [Sat, 5 May 2018 06:26:33 +0000 (11:56 +0530)]
OPNFLWPLUG-1009 : Bind ports 6653/6633 on specified address
When user specifies ip address on config xml, the ports
should bind on the specified ip address.
Currently this piece of code was broken and this review
fixes the same.
Change-Id: I5def69bde14548682f4fa625acaefeb7feaa596f
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
Anil Vishnoi [Thu, 3 May 2018 22:20:24 +0000 (22:20 +0000)]
Merge "must use full node-connector string when writing queue stats"
D Arunprakash [Thu, 26 Apr 2018 13:22:36 +0000 (18:52 +0530)]
Fix IPv6 OXMHeader Mask issue for multi-layer
When programming an OVS flow to set an ipv6_src/dest as
an action field (i.e., set_field:2001::1->ipv6_src), the
current implementation is not checking the Mask and is
including the Mask (even for a full ipv6 address) in the
OXM header. Because of this, switch is rejecting the flow
with the following error.
"decode error: OFPBAC_BAD_SET_MASK. OXM header 0:32768:26:1:32
includes mask but masked OXMs are not allowed here"
This patch addresses this issue by checking the prefix and
including the prefix only if applicable.
Ref: https://git.opendaylight.org/gerrit/#/c/57694/
Change-Id: I75323601289712d98a67e1a3439f7bd41f88cba0
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
Somashekhar Javalagi [Tue, 13 Mar 2018 04:53:05 +0000 (10:23 +0530)]
OPNFLWPLUG-990: Administrative Reconciliation alarm
The reconciliation can be triggerd in several ways. Once the reconciliation
is triggered on switches connected to a control node, the alarm will
be raised for each switch, which is implemented using JMX framework.
Once the reconciliation is complete for a particular switch, the alarm for
the particular switch is cleared.
Change-Id: I530ce7708c792ceea8d368ea8c30c9e8944957fc
Signed-off-by: Somashekhar Javalagi <somashekhar.manohara.javalagi@ericsson.com>
Evan Zeller [Mon, 9 Apr 2018 23:54:17 +0000 (16:54 -0700)]
must use full node-connector string when writing queue stats
OPNFLWPLUG-995
Similar to port statistics, when writing queue statistics into the
operational datastore, make sure to use the full md-sal node-connector
string. i.e. 'openflow:1:1' rather than '1'.
Change-Id: If9ae252c762ac26830539722481bcf11b58199e9
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
Prasanna Huddar [Tue, 24 Apr 2018 08:54:48 +0000 (08:54 +0000)]
Merge "OPNFLWPLUG-989: Counter for Administrative Reconciliation on multiple/all Nodes"
SujaT [Tue, 6 Mar 2018 11:15:55 +0000 (16:45 +0530)]
OPNFLWPLUG-989: Counter for Administrative Reconciliation on multiple/all Nodes
The implementation is done to find number of times admin reconcilation is
being triggered for each node.The counter value will be reseted during
controller restart and maintains the same during device disconnect.
Change-Id: I278a2875caef5f4cd7e9520ac48cd3f22c03724e
Signed-off-by: SujaT <suja.t@ericsson.com>
Somashekhar Javalagi [Wed, 28 Mar 2018 09:37:36 +0000 (15:07 +0530)]
OPNFLWPLUG-992 : Device connection rate limiter implemenation
By default the device connection ratelimitter wll be disabled.
device-connection-rate-limit-per-min is the property available in
openflowplugin.cfg, which can be changed to control the rate at
which number of devices connecting the controller. This will be
useful in reducing load on the controller if there is more number
of switches connected at the time during cluster reboot.
Default value is set to 0, which disables device connection ratelimitter.
Change-Id: I02a53719114e63748ffaa340650927f7b11d6dc1
Signed-off-by: Somashekhar Javalagi <somashekhar.manohara.javalagi@ericsson.com>
Anil Vishnoi [Tue, 17 Apr 2018 18:06:53 +0000 (18:06 +0000)]
Merge "add default value to channel-outbound-queue-size"
Thanh Ha [Sun, 15 Apr 2018 09:45:43 +0000 (09:45 +0000)]
Merge "Bump to odlparent 3.1.0 and yangtools 2.0.3"
Moshe Levi [Wed, 11 Apr 2018 18:46:59 +0000 (21:46 +0300)]
add default value to channel-outbound-queue-size
We ran into an issue with puppet-opendaylight that if we
create the default-openflow-connection-config.xml without
channel-outbound-queue-size attribue opendaylight doesn't
listen to Openflow Port 6653.
This commit add default value to channel-outbound-queue-size
so that we won't need to spacify it in the
default-openflow-connection-config.xml
Change-Id: Ia13382973eab51369929a71c0864d62c240e01f7
Signed-off-by: Moshe Levi <moshele@mellanox.com>
D Arunprakash [Wed, 11 Apr 2018 08:18:44 +0000 (13:48 +0530)]
Remove controller lldp dependency
Few pom files still has controller lldp dependency
Change-Id: I353cddb05a845bc354254d3a25261d0e6ac822ed
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
Prasanna Huddar [Wed, 11 Apr 2018 09:08:37 +0000 (09:08 +0000)]
Merge "Logs are added to identify the flows and groups being added in the node for the corresponding transaction ID when it's pushed in the form of bundle messages going via bundle experimenter messages."
Prasanna Huddar [Wed, 11 Apr 2018 09:07:59 +0000 (09:07 +0000)]
Merge "OPNFLWPLUG-986: Administrative Reconciliation for multiple/all Nodes"
eeiillu [Tue, 19 Sep 2017 06:08:25 +0000 (11:38 +0530)]
Logs are added to identify the flows and groups being added in
the node for the corresponding transaction ID when it's pushed in
the form of bundle messages going via bundle experimenter messages.
Change-Id: I880a7f9e88535a6215912f9b17b63c9a9e9ce9de
Signed-off-by: eeiillu <suja.t@ericsson.com>
Anil Vishnoi [Tue, 10 Apr 2018 20:51:23 +0000 (20:51 +0000)]
Merge "Add Karaf build profile"
Prasanna Huddar [Tue, 10 Apr 2018 10:05:47 +0000 (10:05 +0000)]
Merge "OPNFLWPLUG-987: Apps not getting proper notification for the port status messages"
eeiillu [Thu, 15 Feb 2018 05:59:32 +0000 (11:29 +0530)]
OPNFLWPLUG-986: Administrative Reconciliation for multiple/all Nodes
The mechanism that is currently used for switch reconciliation implies
either a switch or a controller restart.To avoid this force restarting
technique and to make the user more flexible administrative reconciliation
can be used.Here, the implementation is done to trigger switch reconciliation
operation between controller and switch through CLI command and
RESTCONF operation.
Change-Id: I11255685b12c73f1c7cb20a27b5176d6aad51199
Signed-off-by: eeiillu <suja.t@ericsson.com>
Stephen Kitt [Thu, 22 Mar 2018 17:24:31 +0000 (18:24 +0100)]
Bump to odlparent 3.1.0 and yangtools 2.0.3
Change-Id: I49aefcaf2b8a1f0649afe37316bb9f024b05deec
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Daniel Farrell [Sat, 7 Apr 2018 01:09:05 +0000 (21:09 -0400)]
Add Karaf build profile
Project local Karaf distros are handy for devs to test their work
however is unneeded by autorelease builds and should not be released
as part of the Simultaneous Release. Add a profile that is active by
default so that default behavior is unchanged however allows the
autorelease project to disable building this module.
Issue: RELENG-86
Change-Id: I135238264ca0732336276d65f58e04ac420bc62c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Anil Vishnoi [Thu, 5 Apr 2018 17:03:21 +0000 (17:03 +0000)]
Merge "OPNFLWPLUG-993 ct_clear is not supported in Openflowplugin"
D Arunprakash [Tue, 13 Mar 2018 08:06:36 +0000 (13:36 +0530)]
OPNFLWPLUG-987: Apps not getting proper notification for the port status messages
Whenever there is a port delete event, there will be a tx update
event followed by delete event. So, apps will know the node connector
delete is because of the actual port delete and not the node removal
When both the transactions is submitted at the same time, there is a
chance that update event might be missed as the submit future was
processed in the callback as asSync submit transaction.
Now, added explicit .get for port status message to do transaction as
syncSubmit.
Email discussion and CSIT results:
==================================
https://lists.opendaylight.org/pipermail/openflowplugin-dev/2018-March/008065.html
Change-Id: Ie6753d707c8bc6db1969c8ee6ab3bc862881ca57
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
D Arunprakash [Wed, 4 Apr 2018 08:36:46 +0000 (14:06 +0530)]
Add doc for bundle reconciliation usage
Add documentation for bundle reconciliation usage
Change-Id: Idfb1828015335bdd39df9796f48c6878e76aa6fc
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
D Arunprakash [Tue, 3 Apr 2018 05:35:52 +0000 (11:05 +0530)]
Update group add mod spec to reflect the correct details
Update the spec to reflect the latest changes
Change-Id: I87d92f1c75057fa6c0d4f5775e4036a7afd6efed
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
Aswin Suryanarayanan [Sat, 3 Mar 2018 05:01:15 +0000 (10:31 +0530)]
OPNFLWPLUG-993 ct_clear is not supported in Openflowplugin
Added ct_clear Action in nicira extension
Change-Id: I163ed99d5af8d3643749ac2a278f5c8170d7ae29
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
Robert Varga [Sat, 31 Mar 2018 17:44:47 +0000 (19:44 +0200)]
Fix test identities
Identities are mapped to interfaces, not abstract classes. Fix
manual test identities.
Change-Id: Ia4487633e00ce168f1750d36f07e5557bd41b1cb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Robert Varga [Fri, 23 Mar 2018 13:33:56 +0000 (14:33 +0100)]
Do not repackage guava
Guava is already provided by odl-guava-23, add a dependency on that.
Change-Id: I7e991e812d445fd2b83fde73ab060648d52975ec
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Prasanna Huddar [Wed, 21 Mar 2018 05:58:03 +0000 (05:58 +0000)]
Merge "Make TCs to assert on actual values and remove toString asserts"
D Arunprakash [Tue, 20 Mar 2018 08:56:16 +0000 (14:26 +0530)]
OPNFLWPLUG-988: Service Montitor commands shows OPENFLOW as ERROR
Due to a NPE for a config file, showsvcstatus shows
openflow as error. Openflowjava southbound queue size
was missed in legacy switch config xml file.
Change-Id: Ic44645ece18c902b136cca94d9c0a12cf030d85e
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
sunilkumarms [Thu, 28 Sep 2017 08:14:28 +0000 (13:44 +0530)]
OPNFLWPLUG-858/Bug 7826
Identified the root cause for issue TransactionCommitFailed for group during statistic collection.
Issue seems to be while the group being added to OperDS after adding it to config DS interms of cache,
it is completely made to be added only through statistic collection and not in any other transaction.
This way we can avooid the deletion of non existing group from OperDS after reading it from cache.
Change-Id: I8fe639e6102629fb903689114c617e76a61d68db
Signed-off-by: sunilkumarms <sunil.g.kumar@ericsson.com>
D Arunprakash [Wed, 14 Mar 2018 09:39:00 +0000 (15:09 +0530)]
Make TCs to assert on actual values and remove toString asserts
Make assert on getValue insteadOf on toString values.
toString() method implementation change might break the ofp
TCs, to avoid these errors assert on actual values
Change-Id: I687ab07badca72f2f0489660ea5a8e0ebcaded07
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
SujaT [Fri, 15 Dec 2017 11:28:03 +0000 (16:58 +0530)]
OPNFLWPLUG-968: The channelOutboundQueueSize is made configurable:
The change is being made by adding a queue size parameter
to the already existing config file.
Change-Id: I94d467ecbeca8fbf3acf837e1b618f91867cf038
Signed-off-by: SujaT <suja.t@ericsson.com>
D Arunprakash [Wed, 14 Mar 2018 02:00:40 +0000 (07:30 +0530)]
TCs in ofp failing as yang class toString method defintion changed
[1] https://git.opendaylight.org/gerrit/#/c/68958/
Due to patch in mdsal [1], yang generated toString is giving
different output and it is causing someof the TCs to fail in
openflowplugin.
Modified the comparision equivalent to the generated toString
output
Change-Id: Ibf7b4f629b296ffe59897f2206f8ab54fea5907b
Signed-off-by: D Arunprakash <d.arunprakash@ericsson.com>
Anil Vishnoi [Mon, 12 Mar 2018 18:22:56 +0000 (18:22 +0000)]
Merge "OPNFLWPLUG-981: per-capability configuration for stats polling"
Evan Zeller [Sat, 24 Feb 2018 00:05:34 +0000 (16:05 -0800)]
OPNFLWPLUG-981: per-capability configuration for stats polling
Implemented granular config knobs to enable or disable statistics
polling for each of the OpenFlow capabilities. Only if supported by
device and enabled by this configuration will the plugin poll the
statistics. By default all are enabled.
Change-Id: Ic0bc81f1f2efc51f96dc6ccd94e803b70ad14174
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
Yrineu Rodrigues [Thu, 22 Feb 2018 18:01:09 +0000 (10:01 -0800)]
OPNFLWPLUG-951: Adding equal role functionality
Change-Id: Ief56ad88f05ce8c89e04243d655d5f89d73a8d00
Signed-off-by: Yrineu Rodrigues <yrineu.rodrigues@luminanetworks.com>
Abhijit Kumbhare [Wed, 7 Mar 2018 01:32:06 +0000 (01:32 +0000)]
Merge "OPNFLWPLUG-983 Group and flow removal stats are not reported in order"
Evan Zeller [Thu, 1 Mar 2018 04:19:19 +0000 (20:19 -0800)]
OPNFLWPLUG-984: always use ingress node for link discovery
Using the LLDP destination (packet-in ingress) guarantees that the
receiving controller is the owner of the device. Relying on the LLDP
source can cause a scenario where the LLDP packet never appears in the
entity-owner of the source device.
Change-Id: I8ad4171cdae395d260b754b95e5d9b75138fb79b
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
(cherry picked from commit
36722d99c3a17bb23d4299a906591f11a9847f03)
Anil Vishnoi [Wed, 28 Feb 2018 07:15:16 +0000 (23:15 -0800)]
OPNFLWPLUG-983 Group and flow removal stats are not reported in order
Change-Id: I6f66a40b0434d02fc32b3aa38f8e3834bad57005
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Tom Pantelis [Fri, 2 Mar 2018 18:20:40 +0000 (13:20 -0500)]
Enable findbugs in parent pom
Change-Id: Ib9c64da593973b23c0bf2d3bf499adc95e16df54
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Tom Pantelis [Fri, 2 Mar 2018 18:08:03 +0000 (13:08 -0500)]
Fix findbugs violations in test-provider and drop-test-karaf
- Field only ever set to null
- int value cast to float and then passed to Math.round
- Possible null pointer dereference in method on exception path
- Non-virtual method call passes null for non-null parameter
- Comparison of String parameter using == or !=
- Should be a static inner class
- Private method is never called
- int value cast to float and then passed to Math.round
- Unread field
- Unread field: should this field be static?
- Unused field
- Dead store to local variable
- Private method is never called
- Method uses the same code for two switch clauses
- Write to static field from instance method
- Field not initialized in constructor but dereferenced without null check
Change-Id: Ib09380d626ab9162c4308810fae9db90522269cf
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Tom Pantelis [Fri, 2 Mar 2018 03:12:28 +0000 (22:12 -0500)]
Fix findbugs violations in openflowplugin-impl
- Method ignores exceptional return value
- Check for sign of bitwise operation
- Consider using Locale parameterized version of invoked method
- Reliance on default encoding
- Synchronization performed on util.concurrent instance
- Unchecked/unconfirmed cast
- Unchecked/unconfirmed cast of return value from method
- Return value of method without side effect is ignored
- Dead store to local variable
- Method uses the same code for two branches
- Load of known null value
- Parameter must be non-null but is marked as nullable
- Field not initialized in constructor but dereferenced without null check
Change-Id: I92e00a5772038111d1ab8d9f53d52c43e3f4909d
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Tom Pantelis [Mon, 19 Feb 2018 01:56:48 +0000 (20:56 -0500)]
Fix findbugs violations in openflowplugin
- Comparison of String parameter using == or !=
- Comparator doesn't implement Serializable
- Field is a mutable collection
- Incorrect lazy initialization of static field
- Inefficient use of keySet iterator instead of entrySet iterator
- Private method is never called
- Unsigned right shift cast to short/byte
- Class is final but declares protected field
- Consider returning a zero length array rather than null
Change-Id: I714bd4005a33a772b0b76b0c0f89f28b8517cd06
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>