controller.git
10 years agoMerge "Refactor shutdown-impl: add parameter to RPC, remove secret validation and...
Ed Warnicke [Sat, 18 Jan 2014 17:01:03 +0000 (17:01 +0000)]
Merge "Refactor shutdown-impl: add parameter to RPC, remove secret validation and masking."

10 years agoMerge "Fix for Bug 3"
Ed Warnicke [Sat, 18 Jan 2014 16:58:20 +0000 (16:58 +0000)]
Merge "Fix for Bug 3"

10 years agoMerge "Config save support for networkconfiguration.neutron"
Alessandro Boch [Sat, 18 Jan 2014 16:40:36 +0000 (16:40 +0000)]
Merge "Config save support for networkconfiguration.neutron"

10 years agoFixed NetconfDevice to store capability info. 68/4168/6
Lukas Sedlak [Mon, 13 Jan 2014 09:30:52 +0000 (10:30 +0100)]
Fixed NetconfDevice to store capability info.

Implemented functionality into sal-netconf-connector to support of storing netconf device capabilities.
Added "connected" state into netconf-node-inventory.yang.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Change-Id: I577cc8952d9530bb08d59d122bbd64f5da5b1466

10 years agoConfig save support for networkconfiguration.neutron 68/4368/1
Madhu Venugopal [Sat, 18 Jan 2014 00:22:47 +0000 (16:22 -0800)]
Config save support for networkconfiguration.neutron

With the ODL ML2 Integration, the REST APIs are uni-directional, hence a simple controller restart
results in synchronization issues between Openstack/CloudStack ML2 and ODL.

The solution that was agreed with Kyle, Ryan, Hugo & others is to add the config save support on the
ODL side which will effectively remove the inconsistency issues between Openstack / Cloudstack and ODL.

Change-Id: I9c5cb1a7d4acd0c147a3014da090770b231fd8d9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
10 years agoMerge "Add NB capability to save configuration"
Alessandro Boch [Fri, 17 Jan 2014 22:48:07 +0000 (22:48 +0000)]
Merge "Add NB capability to save configuration"

10 years agoMerge "Move connection manager dashlet to left bottom"
Andrew Kim [Fri, 17 Jan 2014 19:58:19 +0000 (19:58 +0000)]
Merge "Move connection manager dashlet to left bottom"

10 years agoAdd NB capability to save configuration 37/4337/3
Prasanth Pallamreddy [Fri, 17 Jan 2014 03:57:56 +0000 (19:57 -0800)]
Add NB capability to save configuration

Change-Id: If8d567aa8c95e39e2618ff2916ce707232d8a20b
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
10 years agoMove connection manager dashlet to left bottom 62/4362/1
Sapan Shah [Fri, 17 Jan 2014 18:10:33 +0000 (10:10 -0800)]
Move connection manager dashlet to left bottom

Change-Id: Ibc35a7e66693de06e31c57fd1fae6fb2771f4f8b
Signed-off-by: Sapan Shah <sapshah@cisco.com>
10 years agoMerge "Changed mount point URI decoding in restconf"
Ed Warnicke [Fri, 17 Jan 2014 17:44:41 +0000 (17:44 +0000)]
Merge "Changed mount point URI decoding in restconf"

10 years agoFix thread safety issue with StartExi operation 14/4314/3
Robert Varga [Thu, 16 Jan 2014 13:45:08 +0000 (14:45 +0100)]
Fix thread safety issue with StartExi operation

Change-Id: Iad5e211733bab4ecf278d0b862a5bc15fbc572fa
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoDo not instantiate constant lists on each message 96/4296/4
Robert Varga [Thu, 16 Jan 2014 09:23:19 +0000 (10:23 +0100)]
Do not instantiate constant lists on each message

These really are constats, so treat them as such

Change-Id: I850095e2e0aaab19f69b7d8bfc6ea734d1bd4877
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoSwitch to using yangtools version of mockito-configuration 19/4319/5
Robert Varga [Thu, 16 Jan 2014 15:51:42 +0000 (16:51 +0100)]
Switch to using yangtools version of mockito-configuration

This commit switches to use the artifact from yangtools repository
introduced in https://git.opendaylight.org/gerrit/#/c/4316/, completing
purge of bgpcep dependencies.

Change-Id: I000ddbb237a8a6c6cf9e9a44baa9a6dd93badc0f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoChanged mount point URI decoding in restconf 25/4225/7
Jozef Gloncak [Fri, 17 Jan 2014 14:39:45 +0000 (15:39 +0100)]
Changed mount point URI decoding in restconf

- string "yang-ext:mount" in URI means mount point.
  After this string must be string in format moduleName:dataNode
  example:
  /rectconf/config/moduleName1:cont1/cont2/yang-ext:mount/moduleName2:cont3/cont4
     mount point path - moduleName1:cont1/cont2/
     path behind mount point - moduleName2:cont3/cont4

- refactoring of POST, PUT, GET, DELETE tests for status codes
- test for output of several modules to one xml and json file were added

Change-Id: I79bfaec1fab6ffd89295fb8461c167c0c85638ae
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoincreased test coverage 91/4291/4
Martin Bobak [Thu, 16 Jan 2014 08:27:48 +0000 (09:27 +0100)]
increased test coverage

Change-Id: Ie7e465ad4843aa504e7e4c9455ed4b82b73f56b9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoFixed bug : 205 56/4356/1
Anil Vishnoi [Fri, 17 Jan 2014 13:27:23 +0000 (18:57 +0530)]
Fixed bug : 205
https://bugs.opendaylight.org/show_bug.cgi?id=205

Change-Id: Ifec5bf5c53b293d70645d534c46615f52d5b1c8e
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoSwitch testing configuration for md-sal tests to xml. 55/4355/1
Maros Marsalek [Fri, 17 Jan 2014 13:04:15 +0000 (14:04 +0100)]
Switch testing configuration for md-sal tests to xml.

+ Fix bug regarding leading/tailing whitespace in capability string unmarshalled from xml.

Change-Id: Ia0de5cbef33f521c5e99d6ffd91c9631b0192b53
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoMerge "Fix flow installation state in UI"
Giovanni Meo [Fri, 17 Jan 2014 09:14:04 +0000 (09:14 +0000)]
Merge "Fix flow installation state in UI"

10 years agoMerge "In the method to get flow stats for a particular match, the match from the...
Giovanni Meo [Fri, 17 Jan 2014 09:07:00 +0000 (09:07 +0000)]
Merge "In the method to get flow stats for a particular match, the match from the stats can be null. Taking care of that in this commit."

10 years agoAdd deprecated warning for plaintext configuration files in config persister 17/4317/2
Maros Marsalek [Thu, 16 Jan 2014 15:31:59 +0000 (16:31 +0100)]
Add deprecated warning for plaintext configuration files in config persister

Plaintext config files will no longer be supported in future versions.
Only xml format for config files is fully supported.

Change-Id: Ia232163b3a85338b3ef16df4e5417e038bb33ee7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoFix flow installation state in UI 36/4336/1
Andrew Kim [Fri, 17 Jan 2014 01:04:56 +0000 (19:04 -0600)]
Fix flow installation state in UI

Change-Id: If78e196db0758768f9aab6e3d0bfa61d4002b860
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoIn the method to get flow stats for a particular match, the match from the stats... 33/4333/1
Asad Ahmed [Thu, 16 Jan 2014 23:58:52 +0000 (15:58 -0800)]
In the method to get flow stats for a particular match, the match from the stats can be null.
Taking care of that in this commit.

Change-Id: If5aab0840f42ea662a7018695e04a93e6fa984ba
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoBugFix: Rename Input Port to just Port in Add Span Port Modal. 32/4332/2
lakshya [Thu, 16 Jan 2014 21:42:26 +0000 (13:42 -0800)]
BugFix: Rename Input Port to just Port in Add Span Port Modal.

This fix just renames the input port dropdown on the Span Port Modal
to Port. Bug description says that "The port field for adding a span
port says "Input Port"  it should only say "Port" since a span port is
by definition an output port."

Change-Id: I2f123c5f81e8192bed7ec5bb9e74e2c262223938
Signed-off-by: lakshya <lakshya@cisco.com>
10 years agoAdded cache for YANG models downloaded from Netconf devices 31/4331/1
Tony Tkacik [Thu, 16 Jan 2014 18:44:35 +0000 (19:44 +0100)]
Added cache for YANG models downloaded from Netconf devices

Change-Id: I43653e3d42169ca578ec6daaab991a3eb03a5e85
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Added extended ietf-netconf-monitoring detection for Netconf devices"
Ed Warnicke [Thu, 16 Jan 2014 16:01:08 +0000 (16:01 +0000)]
Merge "Added extended ietf-netconf-monitoring detection for Netconf devices"

10 years agoUpdate ietf yang dependencies from rev130712 to rev131021. 99/4299/2
Tomas Olvecky [Thu, 16 Jan 2014 10:38:06 +0000 (11:38 +0100)]
Update ietf yang dependencies from rev130712 to rev131021.

Update yang and xtend files to use october's version of ietf yang files.

Change-Id: I1a7c6a67f973db03f4e846fd69a8beecbe7e9893
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoChanged sal-compatibility from Consumer to Provider 02/4302/2
Tony Tkacik [Thu, 16 Jan 2014 12:59:16 +0000 (13:59 +0100)]
Changed sal-compatibility from Consumer to Provider

sal-compatibility project uses DataProviderService
and registers commit handler thus it is
Provider contracts.

Change-Id: I6389167ae1727cc7f4d821bfc388c7bf978a4060
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoremoving the old FRM code 06/4306/1
Prasanna Huddar [Thu, 16 Jan 2014 12:48:40 +0000 (18:18 +0530)]
removing the old FRM code

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

10 years agoAdded extended ietf-netconf-monitoring detection for Netconf devices 05/4305/1
Tony Tkacik [Thu, 16 Jan 2014 12:38:47 +0000 (13:38 +0100)]
Added extended ietf-netconf-monitoring detection for Netconf devices

Change-Id: Id87084bd915eabc16b8bb6a74eee26f28c7d9652
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoRevert commit bedd505. 00/4300/1
Tomas Olvecky [Thu, 16 Jan 2014 10:42:08 +0000 (11:42 +0100)]
Revert commit bedd505.

Revert adding ietf-topology bundle into yangstore's blacklist as this breaks bgpcep's distribution.

Change-Id: I13e19e79037dcdc2a9c4631d92d4543b14aae193
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "FRM should not remove a static flow config on async error report"
Jason Ye [Thu, 16 Jan 2014 00:47:26 +0000 (00:47 +0000)]
Merge "FRM should not remove a static flow config on async error report"

10 years agoMerge "Add missing headers to config, netconf subsystems"
Ed Warnicke [Wed, 15 Jan 2014 21:15:45 +0000 (21:15 +0000)]
Merge "Add missing headers to config, netconf subsystems"

10 years agoMerge "Add ietf-topology to yangstore blacklist."
Ed Warnicke [Wed, 15 Jan 2014 21:15:02 +0000 (21:15 +0000)]
Merge "Add ietf-topology to yangstore blacklist."

10 years agoMerge "Remove System.out from netconf tests"
Ed Warnicke [Wed, 15 Jan 2014 21:14:28 +0000 (21:14 +0000)]
Merge "Remove System.out from netconf tests"

10 years agoMerge "increased test coverage"
Ed Warnicke [Wed, 15 Jan 2014 21:13:36 +0000 (21:13 +0000)]
Merge "increased test coverage"

10 years agoMerge "Update to new version of ADSAL components and its dependencies proposed by...
Giovanni Meo [Wed, 15 Jan 2014 20:54:56 +0000 (20:54 +0000)]
Merge "Update to new version of ADSAL components and its dependencies proposed by jenkins-controller-version-changes-8"

10 years agoUpdate to new version of ADSAL components and its dependencies proposed by jenkins... 79/4279/1
Madhu Venugopal [Wed, 15 Jan 2014 20:22:47 +0000 (12:22 -0800)]
Update to new version of ADSAL components and its dependencies proposed by jenkins-controller-version-changes-8

By splitting the effort into 2 phases, it is more managable and easy to test.
After this commit, the ADSAL components and all the NSFs are uptodate with the dependency convergence.

Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Change-Id: Ia8f0a0d2959f8f6ea61babe9c3f826d0950dcaf5

10 years agoFRM should not remove a static flow config on async error report 39/4239/2
Alessandro Boch [Tue, 14 Jan 2014 23:19:36 +0000 (15:19 -0800)]
FRM should not remove a static flow config on async error report

- Currently FRM is removing the affected static flow config on
  receiving a flow error event from the switch.
  The correct action is to modify the config status.
  The config removal was a temporary fix for the flow configuration across
  cluster (request served by another controller node) when this request was
  always sent asynchronously. Now it is no longer needed as FRM implements
  both the synch and async flow rewust across the cluster.

Change-Id: If2d473cd4688bdf83ecc0a0f5eb210b938157d29
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoMerge "BugFix : Changes to get ping between two hosts to work"
Ed Warnicke [Wed, 15 Jan 2014 19:01:25 +0000 (19:01 +0000)]
Merge "BugFix : Changes to get ping between two hosts to work"

10 years agoFixed deployment of mount points (dynamic instances of MD-SAL) 74/4274/3
Tony Tkacik [Wed, 15 Jan 2014 13:36:35 +0000 (14:36 +0100)]
Fixed deployment of mount points (dynamic instances of MD-SAL)

  - Converted some xtend sources into Java classes
  - Added mount point deployer - service responsible for
    deploying dynamic instances of MD-SAL, which have
    separate context and could be created and retrieved via
    MountService.

Change-Id: I9c0798e2f5f0af647d97b22a2da2f6c46bf9b72d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoUpdated implementation of Netconf, fixed DOM Mountpoint 66/4266/2
Tony Tkacik [Wed, 15 Jan 2014 13:04:02 +0000 (14:04 +0100)]
Updated implementation of Netconf, fixed DOM Mountpoint

Change-Id: Ia0d4f92a65174e891a8111571ced24182d9f47c6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoRefactor shutdown-impl: add parameter to RPC, remove secret validation and masking. 75/4275/1
Tomas Olvecky [Wed, 15 Jan 2014 16:56:49 +0000 (17:56 +0100)]
Refactor shutdown-impl: add parameter to RPC, remove secret validation and masking.

Remove old secret as it does not work well with config-persister.
Add parameter maxWaitTime to shutdown RPC that specifies amount of time before
server is forcibly shut down.
Work around buggy yuma message sending xml element without inner text
node if blank value is specified.

Change-Id: Ief3fea74107349c5ff425ffdc184346981254bc4
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAllow initial config xml files to start with xml header. 73/4273/1
Maros Marsalek [Wed, 15 Jan 2014 15:35:34 +0000 (16:35 +0100)]
Allow initial config xml files to start with xml header.

E.g.

<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->

Change-Id: Ie6ce587d3d44b2b357b48616d0a596e332c65c98
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoincreased test coverage 68/4268/2
Martin Bobak [Wed, 15 Jan 2014 13:46:41 +0000 (14:46 +0100)]
increased test coverage

Change-Id: I4f9f387a606a17724d2c835f6243cda14b9f4e0c
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoAdd missing headers to config, netconf subsystems 63/4263/1
Maros Marsalek [Wed, 15 Jan 2014 12:58:50 +0000 (13:58 +0100)]
Add missing headers to config, netconf subsystems

Only java files

Change-Id: If434e47d42265ed4e71507ac4998554aa6d434ab
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoAdd ietf-topology to yangstore blacklist. 62/4262/1
Tomas Olvecky [Wed, 15 Jan 2014 12:54:00 +0000 (13:54 +0100)]
Add ietf-topology to yangstore blacklist.

Yang file of ietf-topology cannot be parsed by yuma's yangcli.

Change-Id: I076a7d49f4ccf6a29b30c6aa7e64a4d79b22203d
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoRename initial config files from *.xml.conf to *.xml 56/4256/1
Maros Marsalek [Wed, 15 Jan 2014 10:43:39 +0000 (11:43 +0100)]
Rename initial config files from *.xml.conf to *.xml

Change-Id: Iee53225718aef26932a9ff2655b3de49dc96d6a7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoRemove System.out from netconf tests 49/4249/1
Maros Marsalek [Wed, 15 Jan 2014 08:15:14 +0000 (09:15 +0100)]
Remove System.out from netconf tests

Change-Id: Iaf5b367649772ae0d52db109fd9d373e75107954
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoMerge "Add shutdown hook."
Ed Warnicke [Wed, 15 Jan 2014 05:08:51 +0000 (05:08 +0000)]
Merge "Add shutdown hook."

10 years agoMerge "Switch initial config files format to xml and add autodetect adapter for confi...
Ed Warnicke [Wed, 15 Jan 2014 03:05:03 +0000 (03:05 +0000)]
Merge "Switch initial config files format to xml and add autodetect adapter for config persister."

10 years agoMerge "Better logging for netconf-ssh."
Ed Warnicke [Wed, 15 Jan 2014 02:50:55 +0000 (02:50 +0000)]
Merge "Better logging for netconf-ssh."

10 years agoMerge "Restconf operation GET, PUT, POST tests refactoring"
Ed Warnicke [Wed, 15 Jan 2014 02:50:25 +0000 (02:50 +0000)]
Merge "Restconf operation GET, PUT, POST tests refactoring"

10 years agoMerge "* fix : yang-generator can't find SIE if its base is another SIE"
Ed Warnicke [Wed, 15 Jan 2014 02:49:19 +0000 (02:49 +0000)]
Merge "* fix : yang-generator can't find SIE if its base is another SIE"

10 years agoBugFix : Changes to get ping between two hosts to work 38/4238/3
Moiz Raja [Tue, 14 Jan 2014 23:07:47 +0000 (15:07 -0800)]
BugFix : Changes to get ping between two hosts to work

1. InventoryUpdates were not getting to ConnectionManager because the InventoryAndReadAdapter was not tracking all listeners
2. DataPacketServiceAdapter was not setup as an IPluginInDataPacketService
3. DataPacketServiceAdapters delegate was not set to the PacketProcessingService
4. Node was not set on the TransmitPacketInput causing an NPE somewhere in the MD-SAL internals (this should probably be better addressed as I have hit this twice already)
5. DataPacketServiceAdapter now handles situation where the NodeConnectors is null

Current state
An IllegalArgumentException is being thrown from the openflowplugin "Session cookie is invalid" - Need to look at that further

Change-Id: I643ea435d7bda9ee7b3a5d603a381c3cfbaa0cce
Signed-off-by: Moiz Raja <moraja@cisco.com>
10 years agoMerge "Invalid cast results in HTTP 500 error returned by the Neutron REST APIs."
Alessandro Boch [Tue, 14 Jan 2014 23:54:58 +0000 (23:54 +0000)]
Merge "Invalid cast results in HTTP 500 error returned by the Neutron REST APIs."

10 years agoInvalid cast results in HTTP 500 error returned by the Neutron REST APIs. 35/4235/1
Madhu Venugopal [Tue, 14 Jan 2014 18:55:33 +0000 (10:55 -0800)]
Invalid cast results in HTTP 500 error returned by the Neutron REST APIs.

I think this is a copy+paste error where a INeutronSubnetAware is incorrectly casted to INeutronPortAware.

Change-Id: I5009b790edbc60e5b143a520d306d984e14fea37
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
10 years agoRestconf operation GET, PUT, POST tests refactoring 93/4193/4
Jozef Gloncak [Fri, 10 Jan 2014 09:05:24 +0000 (10:05 +0100)]
Restconf operation GET, PUT, POST tests refactoring

Tests for GET, PUT, POST were refactored. For every operation there is one
class with name Rest<OPERATION_NAME>OperationTest.java and special class
RestOperationUtils for common subrutines.

Change-Id: If8c9b76b86d728b3e35a931b12caeed41eb75805
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoBetter logging for netconf-ssh. 12/4212/1
Tomas Olvecky [Tue, 14 Jan 2014 12:42:52 +0000 (13:42 +0100)]
Better logging for netconf-ssh.

Log ServiceReference object in ServiceTrackerCustomizer methods.

Change-Id: Iaba864174de0e634a24c1e7a7eb5f0aeb0565b3e
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoSwitch initial config files format to xml and add autodetect adapter for config persi... 85/3785/4
Maros Marsalek [Mon, 16 Dec 2013 15:29:58 +0000 (16:29 +0100)]
Switch initial config files format to xml and add autodetect adapter for config persister.

Autodetect adapter allows to read initial configuration from xml as well as plaintext files.
The detection of file type is based on file content.

Change-Id: I499f0983bbea60f07e2ea7deb93814aa4f9e59e6
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoMerge "Added flow-node-inventory import to group-statistics.yang"
Giovanni Meo [Tue, 14 Jan 2014 10:54:51 +0000 (10:54 +0000)]
Merge "Added flow-node-inventory import to group-statistics.yang"

10 years agoAdded flow-node-inventory import to group-statistics.yang 04/4204/1
Martin Vitez [Tue, 14 Jan 2014 10:21:33 +0000 (11:21 +0100)]
Added flow-node-inventory import to group-statistics.yang

Change-Id: I0382e8229a448e48de9b382f0d9a64dcd0bc0250
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Modify uncaught exception handler to call System.exit(1)."
Giovanni Meo [Tue, 14 Jan 2014 10:05:34 +0000 (10:05 +0000)]
Merge "Modify uncaught exception handler to call System.exit(1)."

10 years agomissing dependecies reviewed and fixed 95/4195/1
Martin Bobak [Tue, 14 Jan 2014 09:07:23 +0000 (10:07 +0100)]
missing dependecies reviewed and fixed

Change-Id: Iba7275c4ccdc7b9f35392896b393004ccc4245b4
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years ago* fix : yang-generator can't find SIE if its base is another SIE 22/3822/7
Martin Bobak [Wed, 18 Dec 2013 13:37:02 +0000 (14:37 +0100)]
* fix : yang-generator can't find SIE if its base is another SIE

JMXGenerator processes modules in dependency sorted order. Known SIE
tracker introduced for use in ServiceInterfaceEntry#create.

Change-Id: I36899dcdc3ea80661c43056dfc63c8f41d7c1f4d
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoMerge "ArpHandler to ignore ip packet sent to default GW"
Chi-Vien Ly [Mon, 13 Jan 2014 17:09:57 +0000 (17:09 +0000)]
Merge "ArpHandler to ignore ip packet sent to default GW"

10 years agoMerge "incorrect dependencies and unnecesary export-package removed from pom.xml"
Giovanni Meo [Mon, 13 Jan 2014 14:45:56 +0000 (14:45 +0000)]
Merge "incorrect dependencies and unnecesary export-package removed from pom.xml"

10 years agoincorrect dependencies and unnecesary export-package removed from pom.xml 82/4182/2
Martin Bobak [Mon, 13 Jan 2014 13:47:53 +0000 (14:47 +0100)]
incorrect dependencies and unnecesary export-package removed from pom.xml

Change-Id: I8be593758f25cf04439ae1ee302e91aa379bf600
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoMerge "increased test coverage of config-persister"
Ed Warnicke [Mon, 13 Jan 2014 13:47:55 +0000 (13:47 +0000)]
Merge "increased test coverage of config-persister"

10 years agoMerge "OF 1.3: Remove range check for max-length attribute for Output action."
Ed Warnicke [Mon, 13 Jan 2014 13:47:06 +0000 (13:47 +0000)]
Merge "OF 1.3: Remove range check for max-length attribute for Output action."

10 years agoMerge "Added tests for DELETE operation"
Ed Warnicke [Mon, 13 Jan 2014 13:46:17 +0000 (13:46 +0000)]
Merge "Added tests for DELETE operation"

10 years agoMerge "Unify topology versions used in controller"
Ed Warnicke [Mon, 13 Jan 2014 13:45:48 +0000 (13:45 +0000)]
Merge "Unify topology versions used in controller"

10 years agoMerge "Fix a few POM versioning/dependency warnings"
Ed Warnicke [Mon, 13 Jan 2014 13:44:44 +0000 (13:44 +0000)]
Merge "Fix a few POM versioning/dependency warnings"

10 years agoMerge "Updated review comments.Bulk transaction support added trasaction attribute...
Ed Warnicke [Mon, 13 Jan 2014 13:43:38 +0000 (13:43 +0000)]
Merge "Updated review comments.Bulk transaction support added trasaction attribute with RPC inputs"

10 years agoMerge "Model PacketInReason on yang model from openflow-types.yang Signed-off-by...
Ed Warnicke [Mon, 13 Jan 2014 13:40:46 +0000 (13:40 +0000)]
Merge "Model PacketInReason on yang model from openflow-types.yang Signed-off-by: Srikar Rajamani <srikar.rajamani@ericsson.com> Change-Id: I2103ce75ea3506cf9864b22ce18899f37a4f7062"

10 years agoincreased test coverage of config-persister 02/4102/2
Martin Bobak [Wed, 8 Jan 2014 09:54:18 +0000 (10:54 +0100)]
increased test coverage of config-persister

Change-Id: Ib614a90723575ac96b3bd2b3e2e5fe9f16a7653b
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoModify uncaught exception handler to call System.exit(1). 10/4110/4
Tomas Olvecky [Thu, 9 Jan 2014 12:29:49 +0000 (13:29 +0100)]
Modify uncaught exception handler to call System.exit(1).

This introduces the ability to specify how uncaught exceptions are
handled via setting controller.uncaughtExceptionPolicy property.

There are two policies: IGNORE and ABORT. The former logs which thread
has died and does nothing else. The latter forces a virtual machine
shutdown when a thread dies.

The default policy is IGNORE, as that has been the historic setting. For
Helium release, this should probably get discussed, as uncontrolled
thread death may leave the controller in an inconsistent/invalid state.

Change-Id: Ib7c64b23e1cd3c7c45cfa31401410bba22acd431
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoOF 1.3: Remove range check for max-length attribute for Output action. 75/4175/1
Deepthi V V [Mon, 13 Jan 2014 10:44:37 +0000 (16:14 +0530)]
OF 1.3: Remove range check for max-length attribute for Output action.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: Ib163f5c145e4eef4e2e30684f7da7a4f43d5e97d

10 years agoModel PacketInReason on yang model from openflow-types.yang 49/3949/4
Srikar Rajamani [Thu, 9 Jan 2014 10:08:44 +0000 (15:38 +0530)]
Model PacketInReason on yang model from openflow-types.yang
Signed-off-by: Srikar Rajamani <srikar.rajamani@ericsson.com>
Change-Id: I2103ce75ea3506cf9864b22ce18899f37a4f7062

10 years agoAdd shutdown hook. 35/3835/3
Tomas Olvecky [Wed, 18 Dec 2013 17:15:58 +0000 (18:15 +0100)]
Add shutdown hook.

Implement shutdown bundle that stops system bundle on JMX, netconf RPC, or when invoked on
shutdown service taken from OSGi service registry. User must provide a shutdown secret
set during initial module configuration and may provide a reason of shutdown.
Currently this bundle is not instanciated during server startup.

Change-Id: I4ca652265fc676c9f387c7caa49bca499abd4400
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAdded tests for DELETE operation 66/4166/2
Ladislav Borak [Mon, 13 Jan 2014 09:34:39 +0000 (10:34 +0100)]
Added tests for DELETE operation

Change-Id: Iba7874231d8662a5626a262228dd1baafead897f
Signed-off-by: Ladislav Borak <lborak@cisco.com>
10 years agoUpdated review comments.Bulk transaction support added trasaction attribute with... 52/4152/4
Prasanna Huddar [Sun, 12 Jan 2014 16:01:23 +0000 (21:31 +0530)]
Updated review comments.Bulk transaction support added trasaction attribute with RPC inputs

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

10 years agoUnify topology versions used in controller 47/4147/1
Robert Varga [Sat, 11 Jan 2014 09:44:22 +0000 (10:44 +0100)]
Unify topology versions used in controller

This change is required to prevent a split-package from occuring in the
SP editions, as MD-SAL pulls in an old topology artifact, contents of
which are also provided by an updated version.

Change-Id: Ibad93403363900a60abf96eae57df0febc52d44f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix a few POM versioning/dependency warnings 79/4079/4
Robert Varga [Wed, 8 Jan 2014 15:29:04 +0000 (16:29 +0100)]
Fix a few POM versioning/dependency warnings

Change-Id: I8c0fbfcb6a2c5b1d032a6ec26ff9176cca7f6834
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoSwitch from using a Long as FlowId to a Uri 58/4058/7
Moiz Raja [Tue, 7 Jan 2014 21:48:00 +0000 (13:48 -0800)]
Switch from using a Long as FlowId to a Uri

Couple of things you may want to pay attention to,

a. FlowProgrammerAdapter maintains a mapping between a Flow and it's id in a map in infinispan
b. Look at internalAddFlowAsync. If it finds that a flow is in the flow to id mapping cache. It will remove the flow and add it back in. This is what makes the switch add back a flow when it a switch comes back alive.
c. The sync vs async behavior should now be properly done

Change-Id: Id156ebbc7b6e643e4a5960aa735d0812bf5cbe48
Signed-off-by: Moiz Raja <moraja@cisco.com>
10 years agoMerge changes I85b49247,Icca28a4a
Ed Warnicke [Fri, 10 Jan 2014 17:40:32 +0000 (17:40 +0000)]
Merge changes I85b49247,Icca28a4a

* changes:
  Added DELETE operation
  Changed POST operation

10 years agoMerge "Added functionality to store capability info."
Ed Warnicke [Fri, 10 Jan 2014 17:39:29 +0000 (17:39 +0000)]
Merge "Added functionality to store capability info."

10 years agoMerge "Fixed bug when converting augmentation in Instance Identifier"
Ed Warnicke [Fri, 10 Jan 2014 17:11:43 +0000 (17:11 +0000)]
Merge "Fixed bug when converting augmentation in Instance Identifier"

10 years agoMerge "Add test for generated code checking list of dependencies."
Ed Warnicke [Fri, 10 Jan 2014 17:10:53 +0000 (17:10 +0000)]
Merge "Add test for generated code checking list of dependencies."

10 years agoAdded DELETE operation 39/4139/1
Martin Sunal [Fri, 10 Jan 2014 15:51:42 +0000 (16:51 +0100)]
Added DELETE operation

- fix of bug 266
- corrected @Produces and @Consumes annotations in RestconfService and RestconfServiceLegacy

Change-Id: I85b49247f0ff1cfecb3ab999d6cc4f56311947e4
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoAdded functionality to store capability info. 38/4138/1
Lukas Sedlak [Fri, 10 Jan 2014 15:30:22 +0000 (16:30 +0100)]
Added functionality to store capability info.

Implemented functionality into sal-netconf-connector to support of storing netconf device capabilities.
Inventory model extended for augmentation of netconf device capability information.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Change-Id: I205fb2b1505cf823f436c6a9e7cd47e88b632c0a

10 years agoChanged POST operation 81/4081/8
Martin Sunal [Fri, 10 Jan 2014 12:11:24 +0000 (13:11 +0100)]
Changed POST operation

POST operation for creating resource was changed according to RFC
http://tools.ietf.org/html/draft-bierman-netconf-restconf-02#section-3.4
- test fix
- ResponseException tests

Change-Id: Icca28a4a57499be5f29a1b618a432dd61dde2816
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Ladislav Borak <lborak@cisco.com>
10 years agoFixed bug when converting augmentation in Instance Identifier 28/4128/1
Tony Tkacik [Fri, 10 Jan 2014 09:02:10 +0000 (10:02 +0100)]
Fixed bug when converting augmentation in Instance Identifier

QName for augmentation s not present in compile-time generated
classes, but Instance Identifier codec did not explicitly checked
that.

Changed implementation in a way, that now it does not uses
reflection, but runtime generated Augmentation codec to
provide valid QName.

Change-Id: If24e9c6bc67975440239dd20a6ec5025977aab58
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoArpHandler to ignore ip packet sent to default GW 25/4125/1
Alessandro Boch [Fri, 10 Jan 2014 04:22:52 +0000 (20:22 -0800)]
ArpHandler to ignore ip packet sent to default GW

- If the host pings the default gw, when ArpHandler receives the
  ICMP packet it does not realize it is sent to the controller,
  and it triggers the discovery for an host with that IP through arp request
- This patch is for ArpHandler to detect the if IP packet is sent
  to the controller and stop the processing if that is the case.
  We may consider to have ArpHandler reply if packet is ICMP echo req.

Change-Id: I87e14916564bc0039718882d087c431df7554317
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoMerge "Always set interrupted flag when catching InterruptedException."
Ed Warnicke [Thu, 9 Jan 2014 20:24:28 +0000 (20:24 +0000)]
Merge "Always set interrupted flag when catching InterruptedException."

10 years agoMerge "bulk transaction and co-relation support"
Ed Warnicke [Thu, 9 Jan 2014 20:24:05 +0000 (20:24 +0000)]
Merge "bulk transaction and co-relation support"

10 years agoMerge "Minor changes in md-sal tests."
Ed Warnicke [Thu, 9 Jan 2014 20:22:34 +0000 (20:22 +0000)]
Merge "Minor changes in md-sal tests."

10 years agoMerge "MD-SAL Statistics Manager-Fixed issue related to aggregate flow stats Also...
Ed Warnicke [Thu, 9 Jan 2014 20:21:39 +0000 (20:21 +0000)]
Merge "MD-SAL Statistics Manager-Fixed issue related to aggregate flow stats Also fixed minor bug in individual flow statistics augmentation."

10 years agoMerge "Addressing a flow programming issues on controler fail-over scenario in a...
Giovanni Meo [Thu, 9 Jan 2014 19:15:36 +0000 (19:15 +0000)]
Merge "Addressing a flow programming issues on controler fail-over scenario in a Clustered setup."

10 years agobulk transaction and co-relation support 23/4123/1
Prasanna Huddar [Thu, 9 Jan 2014 18:26:31 +0000 (23:56 +0530)]
bulk transaction and co-relation support

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

10 years agoMerge "Fix run.sh to work from any directory."
Giovanni Meo [Thu, 9 Jan 2014 15:07:13 +0000 (15:07 +0000)]
Merge "Fix run.sh to work from any directory."