controller.git
10 years agoMiscelanous fixes after the release of the artifacts 14/1514/2
Giovanni Meo [Mon, 30 Sep 2013 15:14:12 +0000 (17:14 +0200)]
Miscelanous fixes after the release of the artifacts

1) Made sure that the target directory from where the controller runs
doesn't include the version else after every release we need to change
the launchers and all the jenkins jobs
2) Change config.ini to pick the new snapshot
3) Change the launchers to use the new target directory containing the
controller
4) Avoid to build the third-party given they are mostly unchanged
since a while, that will save build time.

Change-Id: Ic1eb2dc9b84ad270c2cdadbb5af3ced8b8f4258b
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoAvoid javadoc breakages to break the whole build 15/1515/1
Giovanni Meo [Mon, 30 Sep 2013 15:47:58 +0000 (17:47 +0200)]
Avoid javadoc breakages to break the whole build

- Currently simple javadoc failures, like because there are no public
classes will break the whole build, that  should not be the case.

Change-Id: I44fd6b5a7870354f3f024872bd94288750d77776
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoChanged TopologyManager to ignore edges that contain invalid node connectors. 02/1502/2
Hideyuki Tai [Mon, 30 Sep 2013 18:26:29 +0000 (14:26 -0400)]
Changed TopologyManager to ignore edges that contain invalid node connectors.

- Changed TopologyManager to add only edges whose tail and head node connectors exist.
- Added a method to ISwitchManager to check whether a node connector exists.
- Added tests for the above changes.

Change-Id: Ib17ce94afea9ba16379ce454f48d5d8b1a1970b2
Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
10 years agoAdded sal-connector-* skeletons (REST connector, MB, Netconf). 26/1426/5
Tony Tkacik [Wed, 25 Sep 2013 16:52:19 +0000 (18:52 +0200)]
Added sal-connector-* skeletons (REST connector, MB, Netconf).

FIxed version of YANG Tools to 0.5.8 release

Change-Id: Id20c9cd8798948f79c655b4d7f8ecad0d1dd392c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoRemove unused private method and unused imports. 95/1395/4
Alissa Bonas [Tue, 24 Sep 2013 12:02:33 +0000 (15:02 +0300)]
Remove unused private method and unused imports.

Change-Id: Icc46cacdb0b929df5dbbf460248a43483f4747d6
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoRemove unecessary instantiation of Integer 84/1484/3
Alissa Bonas [Sun, 29 Sep 2013 13:52:15 +0000 (16:52 +0300)]
Remove unecessary instantiation of Integer

Change-Id: I057e2df2cc6bf59c8a73ecabee9235c6615f0287
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoAdd curly braces in for loops in DeviceManagerImpl 82/1482/2
Alissa Bonas [Sun, 29 Sep 2013 13:37:49 +0000 (16:37 +0300)]
Add curly braces in for loops in DeviceManagerImpl

Change-Id: I9802573f086a1715687590c6478e486fee06c09f
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoAdd curly braces to if statements in StaticRouteConfig 83/1483/2
Alissa Bonas [Sun, 29 Sep 2013 13:44:10 +0000 (16:44 +0300)]
Add curly braces to if statements in StaticRouteConfig

Change-Id: I85ddb4b0e0a2a3b604b4eb6c5c526990127b2f4e
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoStop concatination inside append of StringBuffer 86/1486/2
Alissa Bonas [Sun, 29 Sep 2013 14:08:12 +0000 (17:08 +0300)]
Stop concatination inside append of StringBuffer

Change-Id: Ic62d273a6b401fb06e0299e36dcd0b428304a799
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoDeclare junit version and use junit dependencyManagement section. 81/1481/3
Alissa Bonas [Sun, 29 Sep 2013 11:52:50 +0000 (14:52 +0300)]
Declare junit version and use junit dependencyManagement section.

Change-Id: Ic290c0055ea0b3385d92a493ddc42decc0a4b12f
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoFrom SAL conversion test. 52/1452/3
Jozef Gloncak [Fri, 27 Sep 2013 09:35:36 +0000 (11:35 +0200)]
From SAL conversion test.

The test was added.

Change-Id: Ic1931aef40418b1b48849be4c6f6518548d9f8cf
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoFix Authorization class to be compatible with using clustered cache 91/1491/3
Yevgeny Khodorkovsky [Mon, 30 Sep 2013 02:07:46 +0000 (19:07 -0700)]
Fix Authorization class to be compatible with using clustered cache

Change-Id: I25b5a588648afcb79c56a26545ecb785afd0d3a3
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoPort and statistics models updated. 69/1469/3
Prasanna Huddar [Fri, 27 Sep 2013 17:12:23 +0000 (22:42 +0530)]
Port and statistics models updated.
Will add port service types later

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I590fc1b1f2d1f6d2524c3754448d1dc1c4e671c0

10 years agoRevert "Changed TopologyManager to ignore edges that contain invalid node connectors." 99/1499/2
Giovanni Meo [Mon, 30 Sep 2013 08:21:20 +0000 (10:21 +0200)]
Revert "Changed TopologyManager to ignore edges that contain invalid node connectors."

This reverts commit d12862677a44f5bf66f8319a8f0e871c35797326.

Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Change-Id: Iaeca384ce8a2ef7c7d59263209d00214e2fa15b4

10 years agoMerge "Changed TopologyManager to ignore edges that contain invalid node connectors."
Giovanni Meo [Mon, 30 Sep 2013 07:32:17 +0000 (07:32 +0000)]
Merge "Changed TopologyManager to ignore edges that contain invalid node connectors."

10 years agoCall the flow programmer synchronously but in a different 90/1490/1
Asad Ahmed [Sun, 29 Sep 2013 19:29:03 +0000 (12:29 -0700)]
Call the flow programmer synchronously but in a different
thread so that the FRM event handler thread does not get blocked

Change-Id: Ide1e166a15f9619cd9e273feaa8d32a390b5cfb0
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years ago[maven-release-plugin] prepare for next development iteration
jenkins-controller [Sun, 29 Sep 2013 08:43:50 +0000 (08:43 +0000)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release releasepom-0.1.0 releasepom-0.1.0
jenkins-controller [Sun, 29 Sep 2013 08:43:46 +0000 (08:43 +0000)]
[maven-release-plugin] prepare release releasepom-0.1.0

10 years agoMerge "Move host refresh related variable from SwitchManager to HostTracker"
Madhu Venugopal [Sun, 29 Sep 2013 02:24:11 +0000 (02:24 +0000)]
Merge "Move host refresh related variable from SwitchManager to HostTracker"

10 years agoMove host refresh related variable from SwitchManager to HostTracker 80/1480/1
Maurice Qureshi [Sun, 29 Sep 2013 01:00:29 +0000 (18:00 -0700)]
Move host refresh related variable from SwitchManager to HostTracker

Change-Id: I30921217c33dd33923cf51e8a24841c744b8b115
Signed-off-by: Maurice Qureshi <maquresh@cisco.com>
10 years agoUI: Change TOS to ToS 79/1479/1
Andrew Kim [Sat, 28 Sep 2013 21:29:58 +0000 (16:29 -0500)]
UI: Change TOS to ToS

Change-Id: I2101134e7c3a8333376fdefa84796ed55b1c3827
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoMerge "CORS support for ContainerManager Northbound APIs"
Giovanni Meo [Sat, 28 Sep 2013 18:52:45 +0000 (18:52 +0000)]
Merge "CORS support for ContainerManager Northbound APIs"

10 years agoFix bug in FRM 75/1475/2
Alessandro Boch [Fri, 27 Sep 2013 23:11:10 +0000 (16:11 -0700)]
Fix bug in FRM

ISSUE: Accessing workOrder mapping providing the wrong key object

Change-Id: I70c704566c6adede3f11348019f0d1da2f7eb43e
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoMerge "Decouple IContainerListener to avoid parallel computation in cluster"
Madhu Venugopal [Fri, 27 Sep 2013 19:14:18 +0000 (19:14 +0000)]
Merge "Decouple IContainerListener to avoid parallel computation in cluster"

10 years agoCORS support for ContainerManager Northbound APIs 70/1470/1
Madhu Venugopal [Fri, 27 Sep 2013 17:46:25 +0000 (10:46 -0700)]
CORS support for ContainerManager Northbound APIs

Change-Id: Iec1f37a249f92e39ede1ff3796b8d88cd2f510f5
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoDecouple IContainerListener to avoid parallel computation in cluster 68/1468/1
Alessandro Boch [Fri, 27 Sep 2013 15:39:49 +0000 (08:39 -0700)]
Decouple IContainerListener to avoid parallel computation in cluster

ISSUE: On Container configuration change, or when they register with ContainerManager,
IContainerListener classes are notified locally and on all cluster nodes.
While cluster unaware classes like the Shim classes in the protocol plugin need this
notification on all the nodes to keep their local container related info up to date,
Functional Modules like FRM which are cluster aware do not need to be notified as they
react on these notifications performing flow operations. Currently all the FRMs in the
cluster reacts in parallel on Container Flow changes...

CHANGE: From Container config notification prespective, decouple the cluster aware classes
from the cluster unaware ones having the former register to a new IContainerLocal interface
instead of IContainerListener. On Container config changes, IContainerLocalListener will be
notified only on the controller node on which the configuration was applied (from GUI or NB).
On the remote controllers, where ContainerManager replays the configuration events, only
cluster unaware listeners will be notified.
Also, on IContainerLocalListener registration callback, in contrast with IContainerListener
registration callback, no container configurations bulk update will be pushed.
Simply because the FMs do not need to keep a local container information copy, they do not
care about the past events, they only need to be notified about a live config change event
which they use as a trigger to perform whatever task on their DB. If the task requires the
knowledge of the container config, they directly request it to Container Manager on the fly.

Change-Id: Icbaca58e04d60463b3aa54a61a4a1a467222d18e
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoChanged TopologyManager to ignore edges that contain invalid node connectors. 50/1450/1
Hideyuki Tai [Fri, 27 Sep 2013 13:46:01 +0000 (09:46 -0400)]
Changed TopologyManager to ignore edges that contain invalid node connectors.

- Changed TopologyManager to add only edges whose tail and head node connectors exist.
- Added a method to ISwitchManager to check whether a node connector exists.
- Added tests for the above changes.

Change-Id: I55b746eb007f58c38ab245cad3faa9ea47bc25cf
Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
10 years agoJGroups AUTH handler in Clustering Services 57/1457/1 topic/codeshare/of1.3
Madhu Venugopal [Fri, 27 Sep 2013 12:48:38 +0000 (05:48 -0700)]
JGroups AUTH handler in Clustering Services

It is possible to add Jgroups AUTH as part of the protocol stack below infinispan if the deployment requires
more secured clustered controllers. Failing on such Authentication must be treated critical and the controller
must exit.

Change-Id: Ifa2b5cb2588b82038dcd6fcf7785a48ae2af8bf4
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoMerge "Introduce ASYNC caches and use them in FRM"
Alessandro Boch [Fri, 27 Sep 2013 00:47:33 +0000 (00:47 +0000)]
Merge "Introduce ASYNC caches and use them in FRM"

10 years agoMerge "Update devices page"
Alessandro Boch [Fri, 27 Sep 2013 00:46:06 +0000 (00:46 +0000)]
Merge "Update devices page"

10 years agoMerge "Make FRM cleanup only local entries"
Alessandro Boch [Fri, 27 Sep 2013 00:44:29 +0000 (00:44 +0000)]
Merge "Make FRM cleanup only local entries"

10 years agoMerge "In case of an error event, cleanup the config too"
Alessandro Boch [Thu, 26 Sep 2013 21:41:24 +0000 (21:41 +0000)]
Merge "In case of an error event, cleanup the config too"

10 years agoIn case of an error event, cleanup the config too 49/1449/1
Asad Ahmed [Thu, 26 Sep 2013 21:21:55 +0000 (14:21 -0700)]
In case of an error event, cleanup the config too

Change-Id: Id413fbc230e0aa6df5682a8f0f70f0fb4c71243f
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoUpdate devices page 28/1428/2
Andrew Kim [Wed, 25 Sep 2013 18:22:50 +0000 (13:22 -0500)]
Update devices page

- Minor enhancements to device page
- MAC Address in proper format
- Update examples in device page
- Update examples in flows page
- Hide first legend in add flows modal for cleaner look

Change-Id: I12c17804a9900f37a3f2fe610b58dbc7964e1ae0
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoMake FRM cleanup only local entries 45/1445/1
Giovanni Meo [Thu, 26 Sep 2013 15:58:12 +0000 (17:58 +0200)]
Make FRM cleanup only local entries

- FRM when shutting down should only clean local entries and avoid to
trigger remote deletion because that cleanup will also be initiated on
the remote controller
- On shutdown make sure to wake up who may still be sleeping

Change-Id: I15346f73a761c71014c02762e44ccdae8e95edef
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoMerge "To SAL conversion test."
Giovanni Meo [Thu, 26 Sep 2013 08:27:30 +0000 (08:27 +0000)]
Merge "To SAL conversion test."

10 years agoPorting Tristate logic to SAL Connection Service and make use of it in Inventory... 31/1431/1
Madhu Venugopal [Thu, 26 Sep 2013 01:01:01 +0000 (18:01 -0700)]
Porting Tristate logic to SAL Connection Service and make use of it in Inventory Service Shim

ConnectionManager's locality status was moved from a binary state to tristate to address timing issues.
With this push, it is ported to the SAL Connection Service so that the protocol-plugins can make use of it as well.

Change-Id: I07a495a8c1d2606f6ae11ccdb73ec3445a438769
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoFix wrong dependency 29/1429/1
Giovanni Meo [Wed, 25 Sep 2013 20:42:57 +0000 (22:42 +0200)]
Fix wrong dependency

Change-Id: I98afe96161a785fe5c5aca1114d77bdd804332b4
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoMerge "Silent false positive, and enhance real error message"
Madhu Venugopal [Wed, 25 Sep 2013 15:13:18 +0000 (15:13 +0000)]
Merge "Silent false positive, and enhance real error message"

10 years agoMerge "Stop overriding method just to call super."
Giovanni Meo [Wed, 25 Sep 2013 14:37:25 +0000 (14:37 +0000)]
Merge "Stop overriding method just to call super."

10 years agoMerge "Stop creating new Boolean, move to use valueOf method"
Giovanni Meo [Wed, 25 Sep 2013 14:36:16 +0000 (14:36 +0000)]
Merge "Stop creating new Boolean, move to use valueOf method"

10 years agoMerge "Add SCM section to all the poms"
Giovanni Meo [Wed, 25 Sep 2013 14:35:37 +0000 (14:35 +0000)]
Merge "Add SCM section to all the poms"

10 years agoTo SAL conversion test. 24/1424/1
Jozef Gloncak [Wed, 25 Sep 2013 12:44:24 +0000 (14:44 +0200)]
To SAL conversion test.

The test was added

Change-Id: I19988b3e8b4090cef504bc4edff16dc9d5ff7e4c
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoDeclare version property for maven bundle plugin, reuse it in poms and 41/1341/3
Alissa Bonas [Mon, 23 Sep 2013 11:58:34 +0000 (14:58 +0300)]
Declare version property for maven bundle plugin, reuse it in poms and
use version 2.3.7 instead of 2.3.6 and 2.4.0 used in parallel.

Change-Id: I3749f69ea38edbcacbe217386ac8accb19837c50
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoStop overriding method just to call super. 17/1417/1
Alissa Bonas [Wed, 25 Sep 2013 12:12:28 +0000 (15:12 +0300)]
Stop overriding method just to call super.

Change-Id: Ia0128d0d324378260b9eedb4c91a6e1b17e8c615
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoAdd SCM section to all the poms 14/1414/1
Giovanni Meo [Wed, 25 Sep 2013 11:52:38 +0000 (13:52 +0200)]
Add SCM section to all the poms

- For the release process we need SCM section to all the poms, some
are still missing it so adding them.

Change-Id: Id401e8502e9fc183e9b15ed5e28b7374ad86d80e
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoStop creating new Boolean, move to use valueOf method 12/1412/1
Alissa Bonas [Wed, 25 Sep 2013 11:24:03 +0000 (14:24 +0300)]
Stop creating new Boolean, move to use valueOf method

Change-Id: Ieecece68265b60a93b638204bae58a043ed3264b
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMerge "Strong password check to consider underscore as a special character"
Giovanni Meo [Wed, 25 Sep 2013 10:03:18 +0000 (10:03 +0000)]
Merge "Strong password check to consider underscore as a special character"

10 years agoIntroduce ASYNC caches and use them in FRM 10/1410/1
Giovanni Meo [Wed, 25 Sep 2013 07:43:39 +0000 (09:43 +0200)]
Introduce ASYNC caches and use them in FRM

- Add the option in clustering.services contract to allocate caches
that are async
- Use them for FRM workOrder and workStatus
- Add unit tests for sync/async incompatibility

Change-Id: Icfc8d9b8a9277d97b095805cb4323a950c82ef78
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoSilent false positive, and enhance real error message 09/1409/1
Giovanni Meo [Wed, 25 Sep 2013 08:35:03 +0000 (10:35 +0200)]
Silent false positive, and enhance real error message

- With gerrit https://git.opendaylight.org/gerrit/#/c/1366/ i have
introduced a log error, to spot inconsistent hashcode but indeed it
turn out is getting exercised also during a normal code path,
basically when:
 <command orginator> --> <key owner> --> <all the other members>

all the other members when getting the replication from the non-key
owner will end up in this case. So that cannot be actually considered
an error.

Change-Id: Id38b45066164cb4998fdcdbb356bdf7af720b8c5
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoFix: Flows are deleted when another controller is started 06/1406/1
Pramila Singh [Tue, 24 Sep 2013 23:35:45 +0000 (16:35 -0700)]
Fix: Flows are deleted when another controller is started

Change-Id: I9f6c78bb80c4d7f988cc5fd760918f89436f2bf3
Signed-off-by: Pramila Singh <pramisin@cisco.com>
10 years agoStrong password check to consider underscore as a special character 05/1405/1
Alessandro Boch [Tue, 24 Sep 2013 17:03:19 +0000 (10:03 -0700)]
Strong password check to consider underscore as a special character

ISSUE:
Current strong password check regular expression does not consider '_' as a special character

Change-Id: Ib64fe2e94c1e6c76f24d42bd256f3e708f40d1cc
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoMerge "Add to jboss repository snapshot and release properties"
Giovanni Meo [Tue, 24 Sep 2013 14:48:45 +0000 (14:48 +0000)]
Merge "Add to jboss repository snapshot and release properties"

10 years agoMerge "Remove unused class member SAVE"
Giovanni Meo [Tue, 24 Sep 2013 14:35:45 +0000 (14:35 +0000)]
Merge "Remove unused class member SAVE"

10 years agoAdd to jboss repository snapshot and release properties 42/1342/2
Alissa Bonas [Mon, 23 Sep 2013 12:25:05 +0000 (15:25 +0300)]
Add to jboss repository snapshot and release properties

Change-Id: I7e639c369c9e6b16a8e525c51a13e29d50d12f19
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoTimeout ForwardingRulesManager workOrder 65/1365/2
Giovanni Meo [Mon, 23 Sep 2013 20:02:40 +0000 (22:02 +0200)]
Timeout ForwardingRulesManager workOrder

- Before this patch is an FRM request was submitted and no answer was
received by a remote controller, that would indefinitively stuck the
caller, clearly a bad practice. This patch is introducing a default
timeout of 30 second (very bad scenario) and a log.error is being
raised if that happens.
- Cleaned workMonitor cache on workStatus coming back or timeout.
- Make timeout tunable via system properties

Change-Id: I59ac402b30101e3cf1cf1b1beacf03fbc9add6c9
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoMerge "Action mapping To|From SAL conversion."
Giovanni Meo [Tue, 24 Sep 2013 13:55:23 +0000 (13:55 +0000)]
Merge "Action mapping To|From SAL conversion."

10 years agoMerge "Added sal-compability to build"
Giovanni Meo [Tue, 24 Sep 2013 13:50:50 +0000 (13:50 +0000)]
Merge "Added sal-compability to build"

10 years agoAction mapping To|From SAL conversion. 49/1349/3
Tony Tkacik [Tue, 24 Sep 2013 09:19:30 +0000 (11:19 +0200)]
Action mapping To|From SAL conversion.

- action was defined in flow-type.yang file according to actions in SAL
- action mapping was added to FromSalConversionsUtils.actionFrom
- action mapping was added to ToSalConversionsUtils.actionFrom

Change-Id: I3bd1c2eba896fb3a305da6ad698db9f0275d6f50
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded sal-compability to build 46/1346/4
Tony Tkacik [Mon, 23 Sep 2013 12:50:12 +0000 (14:50 +0200)]
Added sal-compability to build

Change-Id: I64f8963760a6a6110e000e22c148919eaa841e77
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdd project.reporting.outputEncoding property to prevent maven warning 54/1354/2
Alissa Bonas [Mon, 23 Sep 2013 14:25:48 +0000 (17:25 +0300)]
Add project.reporting.outputEncoding property to prevent maven warning

Change-Id: Iaf0153b345a9ff5bade329d37f1377fa1226a99a
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMerge "Enhance debug capabilities"
Madhu Venugopal [Tue, 24 Sep 2013 13:00:48 +0000 (13:00 +0000)]
Merge "Enhance debug capabilities"

10 years agoRemove unused class member SAVE 94/1394/1
Alissa Bonas [Tue, 24 Sep 2013 11:43:16 +0000 (14:43 +0300)]
Remove unused class member SAVE

Change-Id: If56dcd30aeaa49a400fd5a14b955268b9c7f6105
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMoved MD SAL from sal/yang-prototype to md-sal 40/1340/2
Tony Tkacik [Mon, 23 Sep 2013 11:54:29 +0000 (13:54 +0200)]
Moved MD SAL from sal/yang-prototype to md-sal

Moved MD SAL sources, artefacts from
 opendaylight/sal/yang-prototype to opendaylight/md-sal

Change-Id: Ic3a6dca94faff8cef0dffe830a767d3ad5f0f21a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoEnhance debug capabilities 66/1366/2
Giovanni Meo [Mon, 23 Sep 2013 20:57:03 +0000 (22:57 +0200)]
Enhance debug capabilities

- Make sure infinispan complains very loud when it think an hashcode
is not consistent in the cluster.
- For now this patch is controller specific, but i will propose to
upstream in infinispan as well.
- Given BaseDistributionInterceptor.java came from version 5.3.0.Final
enforce it in the build

Change-Id: I029abac8d311ec3f49795ba325f075541fd3784b
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoFix occasional NPEs in Connection manager 88/1388/1
Yevgeny Khodorkovsky [Mon, 16 Sep 2013 18:02:03 +0000 (11:02 -0700)]
Fix occasional NPEs in Connection manager

- This fixes an issue where ConnectionManager bundle start/stop
  callbacks don't have the required dependenicies available, which
  causes occasional NPEs.

Change-Id: I3f9f17a4a500915cf72419bb352a40233506b846
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoMerge "UI: Fix broken html literals"
Andrew Kim [Tue, 24 Sep 2013 01:12:15 +0000 (01:12 +0000)]
Merge "UI: Fix broken html literals"

10 years agoMerge "Minor log msg changes"
Alessandro Boch [Tue, 24 Sep 2013 00:21:43 +0000 (00:21 +0000)]
Merge "Minor log msg changes"

10 years agoAdded null check in FRM error handling and also formatting of OF ErrorMessage in... 84/1384/1
Asad Ahmed [Mon, 23 Sep 2013 22:59:40 +0000 (15:59 -0700)]
Added null check in FRM error handling and also formatting of OF ErrorMessage in the log statement

Change-Id: I2b32318284e74df51719786762499016831789ef
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoMinor log msg changes 71/1371/1
Jason Ye [Mon, 23 Sep 2013 21:37:02 +0000 (14:37 -0700)]
Minor log msg changes

Change-Id: I289d031ff8157d1c0652d8471d4e5f017188dcf9
Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agoUI: Fix broken html literals 68/1368/2
Yevgeny Khodorkovsky [Mon, 23 Sep 2013 21:17:12 +0000 (14:17 -0700)]
UI: Fix broken html literals

- Fix html literals that don't have correct apostrophes,
  resulting in breakage when user enters strings with spaces

Change-Id: Id2cb05ff4b3b5207602b2c27873f2c4ca9b48dad
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoMerge "Remove unused spring dependency and wrong version in web pom"
Giovanni Meo [Mon, 23 Sep 2013 19:31:20 +0000 (19:31 +0000)]
Merge "Remove unused  spring dependency and wrong version in web pom"

10 years agoRemove unused spring dependency and wrong version in web pom 62/1362/1
Alissa Bonas [Mon, 23 Sep 2013 17:29:43 +0000 (20:29 +0300)]
Remove unused  spring dependency and wrong version in web pom

Change-Id: I1bc3b413b04ed7d706b89a0449b21df00ec18923
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoInitial push of Neutron interface 94/1294/8
Ryan Moats [Fri, 20 Sep 2013 17:51:39 +0000 (12:51 -0500)]
Initial push of Neutron interface

Two bundles included in this:
-networkconfig.neutron (contains JAXB annotated classes, *CRUD
interfaces with an implementation [for storing objects], and
Aware interfaces [for other bundles to register services])
-networkconfig.neutron.northbound (contains the JAXRS annotated
classes along with JAXB annotated request specific classes)

Commit amended to refactor .internal package to separate
implementation bundle and package

Commit re-amended to clean up issues in commons/opendaylight
and distribution/opendaylight poms

Commit re-re-amended to fix conflicts on rebase (I hope)

Getting close to just abandoning the change and starting over

Commit re-re-re-amended to fix parent issues in pom

amend to remove leaked CRs in distribution pom

- Cleanup of some duplicates artifact and of commons-net in modules
dependencies, anyway they get in via the commons.opendaylight

Change-Id: I15724c55e843237c010dfaec1e1e523560174f51
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
10 years agoMove mockito to dependencyManagement section in parent pom. 38/1338/2
Alissa Bonas [Mon, 23 Sep 2013 09:18:11 +0000 (12:18 +0300)]
Move mockito to dependencyManagement section in parent pom.

Change-Id: I6eeb91e1b5713db11b7ffdc9054eb6f316737079
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMerge "Declare osgi.core.version in one pom and reuse it."
Giovanni Meo [Mon, 23 Sep 2013 13:11:59 +0000 (13:11 +0000)]
Merge "Declare osgi.core.version in one pom and reuse it."

10 years agoMerge "Move init and destroy empty impl from Activator classes. Have only one empty...
Giovanni Meo [Mon, 23 Sep 2013 13:10:49 +0000 (13:10 +0000)]
Merge "Move init and destroy empty impl from Activator classes. Have only one empty implementation in parent class instead of having it in more than 20 classes. Only one class actually has a non empty implementation and it overrides the empty implementation from the parent."

10 years agoDeclare osgi.core.version in one pom and reuse it. 37/1337/2
Alissa Bonas [Mon, 23 Sep 2013 09:13:18 +0000 (12:13 +0300)]
Declare osgi.core.version in one pom and reuse it.

Change-Id: Ice2e727b5228a38208a355cc677f2779e8e69f0a
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMove init and destroy empty impl from Activator classes. Have only one 27/1327/1
Alissa Bonas [Sun, 22 Sep 2013 19:10:09 +0000 (22:10 +0300)]
Move init and destroy empty impl from Activator classes. Have only one
empty implementation in parent class instead of having it in more than
20 classes. Only one class actually has a non empty implementation and
it overrides the empty implementation from the parent.

Change-Id: Ibbe43ba3e48e4eb80402c158cd45be0afc497fae
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMerge "Removing the Container Aware dependency from Clustering Services."
Giovanni Meo [Sun, 22 Sep 2013 13:38:07 +0000 (13:38 +0000)]
Merge "Removing the Container Aware dependency from Clustering Services."

10 years agoMerge "FRM to remove flows on switchport admin down"
Giovanni Meo [Sun, 22 Sep 2013 13:04:33 +0000 (13:04 +0000)]
Merge "FRM to remove flows on switchport admin down"

10 years agoMerge "Conversion class FromSalConversionsUtils."
Giovanni Meo [Sun, 22 Sep 2013 13:01:25 +0000 (13:01 +0000)]
Merge "Conversion class FromSalConversionsUtils."

10 years agoRemoving the Container Aware dependency from Clustering Services. 26/1326/1
Madhu Venugopal [Sun, 22 Sep 2013 08:38:11 +0000 (01:38 -0700)]
Removing the Container Aware dependency from Clustering Services.

Clustering Services implementation is ContainerAware to handle the case of Container deletion.
More appropriate way to handle it is to have an explicit API in global cluster manager to expose
a functionality to clean all the caches assocaited with a Container. This API can be used by
the Container Manager to clean up the caches.

Change-Id: I9758a01da13ffa7d951307a116df34a7fe9c19f6
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoFix NPE in visual topology 24/1324/1
Andrew Kim [Sat, 21 Sep 2013 16:35:25 +0000 (11:35 -0500)]
Fix NPE in visual topology

Change-Id: I345b9ed2d1086e370681aa1985c9df8c16902859
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoFRM to remove flows on switchport admin down 16/1316/2
Alessandro Boch [Fri, 20 Sep 2013 16:45:22 +0000 (09:45 -0700)]
FRM to remove flows on switchport admin down

- When a swithport is shutdown FRM should uninstall the flows which have that port as input/output
- Similarly when a port is moved to admin up state, FRM should install the interested flows from the config

Change-Id: I890a4fb6541c9a01b0adacba7af9c0b8c2d69878
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoChange the member isValid in class MatchField non-transient so that it can be synced... 23/1323/1
Chi-Vien Ly [Sat, 21 Sep 2013 13:26:54 +0000 (06:26 -0700)]
Change the member isValid in class MatchField non-transient so that it can be synced properly.

Change-Id: I036d43b6328d16136a99004ed53d0eb2b70d12c8
Signed-off-by: Chi-Vien Ly <chivly@cisco.com>
10 years agoFRM uses "Start Level Thread" to handle container flow changes during bootup 22/1322/1
Chi-Vien Ly [Sat, 21 Sep 2013 01:47:32 +0000 (18:47 -0700)]
FRM uses "Start Level Thread"  to handle container flow changes during bootup

Modify the current design: when FRM receives the notification, it puts it into its own event queue and returns immediately. The event is eventually handled (in the same way) but through FRM's own thread.

Change-Id: I7d1b3608424f44a0f4129ae08a4c9a836a71e370
Signed-off-by: Chi-Vien Ly <chivly@cisco.com>
10 years agoCouple of changes 21/1321/1
Asad Ahmed [Fri, 20 Sep 2013 23:08:41 +0000 (16:08 -0700)]
Couple of changes

1. StaticRoutingImplementation now updates cache after updating nodeconnector for   \
the static route

2. The clone method of MatchField now clones the valid flag and the type

Change-Id: I7e4e274742a4680f1369eecbeff155bbede3283c
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoCherry-picked and merged modified JavaDocs for northbound apis to fix JSON/XML repres... 19/1319/1
mrajvaid [Fri, 20 Sep 2013 16:38:05 +0000 (09:38 -0700)]
Cherry-picked and merged modified JavaDocs for northbound apis to fix JSON/XML representation

Change-Id: I322b3b77e55c54b54352eb3999ec0fc7a447b2c6
Signed-off-by: mrajvaid <mrajvaid@cisco.com>
10 years agoMerge "Few debug enhancements to debug hashing issues"
Alessandro Boch [Fri, 20 Sep 2013 17:19:47 +0000 (17:19 +0000)]
Merge "Few debug enhancements to debug hashing issues"

10 years agoMerge "Fix: IPProtocols not parsing correctly"
Alessandro Boch [Fri, 20 Sep 2013 17:10:40 +0000 (17:10 +0000)]
Merge "Fix: IPProtocols not parsing correctly"

10 years agoMerge "Fix multi-host caching in visual topology"
Giovanni Meo [Fri, 20 Sep 2013 14:18:28 +0000 (14:18 +0000)]
Merge "Fix multi-host caching in visual topology"

10 years agoReverting the FRM WorkOrder caches to NON_TRANSACTIONAL 15/1315/1
Madhu Venugopal [Fri, 20 Sep 2013 13:56:18 +0000 (06:56 -0700)]
Reverting the FRM WorkOrder caches to NON_TRANSACTIONAL

After Giovanni's recent hashCode fix, most of the cache issue issues are resolved and it also renders itself to making
FRM WorkOrder back NON_TRANSACTIONAL. Also reverted the need to have a seperate thread to handle this processing.
Now it is back to normal and how it is supposed to be.

Change-Id: I0abbe66ea0ec7203ef306bc73d848112110f6460
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoConversion class FromSalConversionsUtils. 10/1310/1
Jozef Gloncak [Fri, 20 Sep 2013 07:35:31 +0000 (09:35 +0200)]
Conversion class FromSalConversionsUtils.

SAL -> YANG conversion

Change-Id: I8e5166cdbe94edab84741ea7a7293262d79830cb
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoFix: IPProtocols not parsing correctly 04/1304/3
Yevgeny Khodorkovsky [Fri, 20 Sep 2013 04:07:05 +0000 (21:07 -0700)]
Fix: IPProtocols not parsing correctly

- Add IP protocol field validation where appropriate
- Enabled all IP protocols in enum
- Added unit tests

Change-Id: I2ae26ad1c3b56129817f41e0a93d27f5b031b790
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoMerge "In Firefox DropDown sub menus will have the first option selected"
Andrew Kim [Fri, 20 Sep 2013 05:46:46 +0000 (05:46 +0000)]
Merge "In Firefox DropDown sub menus will have the first option selected"

10 years agoIn Firefox DropDown sub menus will have the first option selected 06/1306/1
Sapan Shah [Fri, 20 Sep 2013 05:32:16 +0000 (22:32 -0700)]
In Firefox DropDown sub menus will have the first option selected

Change-Id: Ib7ea1fbfc0cbe3c8921116ffc7f79ac7b9d9f654
Signed-off-by: Sapan Shah <sapshah@cisco.com>
10 years agoFix for Refresh Port Details and Flow Details in Troubleshoot makes search hard 05/1305/1
lakshya [Fri, 20 Sep 2013 04:55:05 +0000 (21:55 -0700)]
Fix for Refresh Port Details and Flow Details in Troubleshoot makes search hard
Replace the auto refresh with a refresh button.

Change-Id: If231b7ee722c436d792000646b743028469f6f03
Signed-off-by: lakshya <lakshya@cisco.com>
10 years agoFix multi-host caching in visual topology 03/1303/1
Andrew Kim [Fri, 20 Sep 2013 02:43:10 +0000 (21:43 -0500)]
Fix multi-host caching in visual topology

Change-Id: I68cd3de135d8422b3994387f43bc0df67c612f3f
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoController User Audit log to track activities 79/1279/3
Sapan Shah [Wed, 18 Sep 2013 21:26:58 +0000 (14:26 -0700)]
Controller User Audit log to track activities

Change-Id: I78760a5bcea3de9fcea4a0edd46eb7ea44765db0
Signed-off-by: Sapan Shah <sapshah@cisco.com>