controller.git
7 years agoMake sure the target-ide are excluded by checkstyle 95/3695/1
Giovanni Meo [Fri, 13 Dec 2013 10:39:33 +0000 (11:39 +0100)]
Make sure the target-ide are excluded by checkstyle

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

7 years agoMerge "Notifying listeners when a subnet gets added or removed"
Alessandro Boch [Fri, 13 Dec 2013 07:20:34 +0000 (07:20 +0000)]
Merge "Notifying listeners when a subnet gets added or removed"

7 years agoNotifying listeners when a subnet gets added 87/3687/1
Asad Ahmed [Thu, 12 Dec 2013 22:05:27 +0000 (14:05 -0800)]
Notifying listeners when a subnet gets added
or removed

Change-Id: Ieea5d9df6ed0fea1276c239365625c0d158f658e
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
7 years agoMerge "Openflowyang - added StripVlan, nwTos changes"
Ed Warnicke [Thu, 12 Dec 2013 21:22:32 +0000 (21:22 +0000)]
Merge "Openflowyang - added StripVlan, nwTos changes"

7 years agoOpenflowyang - added StripVlan, nwTos changes 71/3671/3
Gaurav Bhagwani [Thu, 12 Dec 2013 17:48:04 +0000 (23:18 +0530)]
Openflowyang - added StripVlan, nwTos changes

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Change-Id: Id459209edd3674415a01341cbbc5f0d6a10a583a

7 years agoMerge "Send SystemName TLV in LLDP message."
Alessandro Boch [Thu, 12 Dec 2013 17:44:35 +0000 (17:44 +0000)]
Merge "Send SystemName TLV in LLDP message."

7 years agoMerge "Add Set<String> getAvailableModuleFactoryQNames() to config-api."
Ed Warnicke [Thu, 12 Dec 2013 15:08:32 +0000 (15:08 +0000)]
Merge "Add Set<String> getAvailableModuleFactoryQNames() to config-api."

7 years agoMerge "Added xml storage adapter bundle fragments for config persister."
Ed Warnicke [Thu, 12 Dec 2013 14:51:32 +0000 (14:51 +0000)]
Merge "Added xml storage adapter bundle fragments for config persister."

7 years agoMerge "Added more granular error reporting during commit validation."
Ed Warnicke [Thu, 12 Dec 2013 14:41:01 +0000 (14:41 +0000)]
Merge "Added more granular error reporting during commit validation."

7 years agoMerge "removed parent dependency on pax-exam-container-native"
Ed Warnicke [Thu, 12 Dec 2013 14:40:11 +0000 (14:40 +0000)]
Merge "removed parent dependency on pax-exam-container-native"

7 years agoAdd Set<String> getAvailableModuleFactoryQNames() to config-api. 75/3675/1
Tomas Olvecky [Thu, 12 Dec 2013 13:22:58 +0000 (14:22 +0100)]
Add Set<String> getAvailableModuleFactoryQNames() to config-api.

Allow querying Config Registry and each transaction for set of qnames belonging to ModuleFactory classes.
This is helpful for netconf - allows checking for race conditions between yang store and config-manager.
Modify config code generator to add @ModuleQName annotation to each abstract factory class.

Change-Id: I6e8f972708883137610c09d274d52aedb1380120
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
7 years agoAdded xml storage adapter bundle fragments for config persister. 70/3670/1
Maros Marsalek [Thu, 12 Dec 2013 10:12:11 +0000 (11:12 +0100)]
Added xml storage adapter bundle fragments for config persister.

File and Directory based xml adapters are now available.
Only File xml adapter is used so far to persist current configuration.

Directory based persister is still using plain text to keep backwards compatibility.

Change-Id: If1a83701ce23d36313c943e9fe49bd4e704afe27
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoSend SystemName TLV in LLDP message. 58/3658/1
Maurice Qureshi [Thu, 12 Dec 2013 02:30:15 +0000 (18:30 -0800)]
Send SystemName TLV in LLDP message.

Some applications may need System Name TLV, therefore include
SystemName TLV in the LLDP message sent by Controller

Change-Id: I7226444c46a87b2e1618d1ee47026ccd4e9c2bef
Signed-off-by: Maurice Qureshi <maquresh@cisco.com>
7 years agoAdded more granular error reporting during commit validation. 46/3646/1
Tony Tkacik [Wed, 11 Dec 2013 15:28:43 +0000 (16:28 +0100)]
Added more granular error reporting during commit validation.

Change-Id: I96a9f2fdd256e1b394d3a21fbaccf16f7350d316
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoMerge "Improve logging of persister and netconf client."
Giovanni Meo [Wed, 11 Dec 2013 14:39:56 +0000 (14:39 +0000)]
Merge "Improve logging of persister and netconf client."

7 years agoMerge "Remove jolokia dependency from config-subsystem."
Giovanni Meo [Wed, 11 Dec 2013 14:20:46 +0000 (14:20 +0000)]
Merge "Remove jolokia dependency from config-subsystem."

7 years agoremoved parent dependency on pax-exam-container-native 38/3638/3
Martin Bobak [Tue, 10 Dec 2013 19:07:29 +0000 (20:07 +0100)]
removed parent dependency on pax-exam-container-native

Change-Id: I366e22d2f36d6f5657f8f077d7661b2b3b4b98a3
Signed-off-by: Martin Bobak <mbobak@cisco.com>
7 years agoImprove logging of persister and netconf client. 14/3614/6
Tomas Olvecky [Tue, 10 Dec 2013 15:58:33 +0000 (16:58 +0100)]
Improve logging of persister and netconf client.

Add a debug message measuring time spent waiting for netconf server to reply in NetconfClient.
Log with error level failure to send/recieve netconf message in config-persister-impl.
Add TODOs to config-manager's dependency resolver for detecting cycles.

Change-Id: I412abad141b40eb9346ef404d2efeba8c197e018
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
7 years agoMerge "Bug 116 - Revisit SanityTest"
Giovanni Meo [Wed, 11 Dec 2013 13:37:15 +0000 (13:37 +0000)]
Merge "Bug 116 - Revisit SanityTest"

7 years agoRemove jolokia dependency from config-subsystem. 37/3637/1
Tomas Olvecky [Wed, 11 Dec 2013 13:00:34 +0000 (14:00 +0100)]
Remove jolokia dependency from config-subsystem.

Remove jolokia client from config-util and tests that were starting jolokia.

Change-Id: Ibadf96c6d03d5cc325b4c9d8a01cdbb230550e4b
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
7 years agoMerge "Get rid of legacy ref_ prefixes in configuration"
Giovanni Meo [Wed, 11 Dec 2013 11:38:25 +0000 (11:38 +0000)]
Merge "Get rid of legacy ref_ prefixes in configuration"

7 years agoMerge "Added support for persistance of service references to netconf."
Giovanni Meo [Wed, 11 Dec 2013 11:28:48 +0000 (11:28 +0000)]
Merge "Added support for persistance of service references to netconf."

7 years agoMerge "Add service reference binding to config registry."
Giovanni Meo [Wed, 11 Dec 2013 11:20:16 +0000 (11:20 +0000)]
Merge "Add service reference binding to config registry."

7 years agoGet rid of legacy ref_ prefixes in configuration 25/3625/2
Robert Varga [Tue, 10 Dec 2013 23:51:49 +0000 (00:51 +0100)]
Get rid of legacy ref_ prefixes in configuration

Change-Id: I0c3a6f05bcfcf71ebf857ce7e2355af008f68793
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
7 years agoAdded support for persistance of service references to netconf. 20/3620/2
Maros Marsalek [Mon, 9 Dec 2013 13:31:53 +0000 (14:31 +0100)]
Added support for persistance of service references to netconf.

Created reference names under services/ subtree are now persisted and available for further edit-config operations.

Change-Id: I366eaab457e9264d266e16eb4e1a1ad8d97d33bc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAdd service reference binding to config registry. 69/3569/8
Tomas Olvecky [Mon, 9 Dec 2013 12:20:56 +0000 (13:20 +0100)]
Add service reference binding to config registry.

Add a database for persisting service references between commits. In netconf modules
are wired together via link in /services/service xml subtree. Each service has an
xpath pointer back to a /modules/module that implements the service. Consumer of a
service then maintains a link to the service via its namespace and reference name.
This commit fixes problem of reference names not surviving commits.

Change-Id: I784f99617bb0072fc4dc3762a28e30f9b9bcf111
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
7 years agoMerge "Fixed deserialization of IdentityRefs in Restconf URI."
Ed Warnicke [Tue, 10 Dec 2013 20:01:51 +0000 (20:01 +0000)]
Merge "Fixed deserialization of IdentityRefs in Restconf URI."

7 years agoBug 116 - Revisit SanityTest 20/3420/3
Prasanth Pallamreddy [Fri, 22 Nov 2013 00:01:59 +0000 (16:01 -0800)]
Bug 116 - Revisit SanityTest

  - Sanity test is now an integration test
  - Introduce maven-controller-plugin to handle startup & shutdown
    of controller process and run away processes
  - Fix run.bat issue with -start option

Change-Id: I4489f2f581561377da8afe103291fbc9f1bdf6f0
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
7 years agoMerge "Bug 211 - Fixed codec generation when transitive dependencies (parents) are...
Ed Warnicke [Tue, 10 Dec 2013 19:40:02 +0000 (19:40 +0000)]
Merge "Bug 211 - Fixed codec generation when transitive dependencies (parents) are not available"

7 years agoFixed deserialization of IdentityRefs in Restconf URI. 12/3612/2
Tony Tkacik [Tue, 10 Dec 2013 15:10:37 +0000 (16:10 +0100)]
Fixed deserialization of IdentityRefs in Restconf URI.

Change-Id: I639bb880239fa995de3af85cb054f249fa973dba
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoBug 211 - Fixed codec generation when transitive dependencies (parents) are not available 11/3611/3
Tony Tkacik [Tue, 10 Dec 2013 14:21:07 +0000 (15:21 +0100)]
Bug 211 - Fixed codec generation when transitive dependencies (parents) are not available

  - Classloader for each encountered generated class is added to javassist ClassPool
    if not already there, to make sure we have full visibility into supertype hierarchy
    of class

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I760b6d53df2e07a9ed5e73fecd655999061cc3be

7 years agoMerge "Controller ignores switch, if no ports are present"
Giovanni Meo [Tue, 10 Dec 2013 12:51:18 +0000 (12:51 +0000)]
Merge "Controller ignores switch, if no ports are present"

7 years agoMerge "Fixing a recent breakage in Flow programmer introduced by https://git.opendayl...
Giovanni Meo [Tue, 10 Dec 2013 12:48:51 +0000 (12:48 +0000)]
Merge "Fixing a recent breakage in Flow programmer introduced by https://git.opendaylight.org/gerrit/#/c/3493/"

7 years agoFixing a recent breakage in Flow programmer introduced by https://git.opendaylight... 03/3603/1
Madhu Venugopal [Tue, 10 Dec 2013 11:57:39 +0000 (03:57 -0800)]
Fixing a recent breakage in Flow programmer introduced by https://git.opendaylight.org/gerrit/#/c/3493/

Change-Id: Ib93dc934ac1af7072bfd8db1a3bd51e01fcd8d73
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
7 years agoUser manager to hash with SHA-384 82/3482/5
Alessandro Boch [Thu, 5 Dec 2013 06:49:45 +0000 (22:49 -0800)]
User manager to hash with SHA-384

- When strong password check is enabled, hash the
  users password with SHA-384 instead of SHA-1.
  (Password salting will be considered in future)
- Other minor changes: organize parameters, remove
  printStackTrace()

Change-Id: I7675db48a3685c546ec544ff3cf38ab53e9f6cde
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoDeleting the Default subnet gateway returns success 79/3479/6
Alessandro Boch [Thu, 5 Dec 2013 06:15:53 +0000 (22:15 -0800)]
Deleting the Default subnet gateway returns success

- Need to let caller know this operation is not allowed

Change-Id: I7ad0f9e4874491bd15fa558248e5742f7aa466d5
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoAdding of specific flow validation in of plugin 93/3493/4
Alessandro Boch [Thu, 5 Dec 2013 09:25:26 +0000 (01:25 -0800)]
Adding of specific flow validation in of plugin

- An of 1.0 switch silently accepts a flowmod which
  match does not have proper hierarchy of fields set.
  It installs the flow discarding the incorrect fields.
  This would cause inconsistency between flows in hw
  and flows in sw. The application needs to be notified
  that the flow would not be accepted as is by the openflow
  switch.

Change-Id: If70a642f2835147856d3517ad82faef3e9bb1e2c
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoFix to allow RESTCONF PUTing of Flows 14/3314/14
Tony Tkacik [Sun, 1 Dec 2013 16:53:21 +0000 (17:53 +0100)]
Fix to allow RESTCONF PUTing of Flows

- Due to a bug in the JAXB spec, which is propogated to
JAXRS, which forbids '/', even escaped, in path segments
in URLs... we can't use the nesting by refs under /flows.

- Therefore I've moved flow config to
nodes -> node -> table -> flow

- Making that change in the existing FlowConsumerImpl proved extremely
hard.  Due to the press of time I've introduced a very simple set of
FlowProvider, FlowCommitHandler, FlowTransaction, FlowTransactionValidator,
to cleanly separate the logic.  We can migrate over the validation rules as
need be.

PatchSet 11: Abstract the Transaction.  Add Groups.
PatchSet 12: Fixes for Meters

PatchSet 13: Yet another rebase

PatchSet 14: Squashing https://git.opendaylight.org/gerrit/#/c/3304/8

Must proceed: http://git.opendaylight.org/gerrit/3596/1
in openflowplugin

Change-Id: I1f1cd04a04f7a30630062725e63112cda4b049f1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoController ignores switch, if no ports are present 94/3594/2
Alessandro Boch [Mon, 9 Dec 2013 21:19:50 +0000 (13:19 -0800)]
Controller ignores switch, if no ports are present

 - At switch connection, InventoryServiceShim mistakenly skips to
   inform the global listeners if no ports are configured on the switch.
   This is not visible with software switches because they always
   advertise they have the OFLocal port active.
   Being Connection Service a listener of global inventory service,
   it will not get to know about the switch presence, and in subsequent
   queries from InventoryServiceShim it will reply the switch is not
   locally connected to this controller, causing Inventory Shim to
   not inform its upper layer listeners about the switch. Therefore
   no other controller service will get to know the switch is conencted.

Change-Id: I29f658cc2a84ab7aab2c19ae9fe4d5a33c0afe0c
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoMerge "Changed maximumEntries to correct int rather than long"
Alessandro Boch [Mon, 9 Dec 2013 22:40:02 +0000 (22:40 +0000)]
Merge "Changed maximumEntries to correct int rather than long"

7 years agoMerge "Prevent password hash from being shown"
Alessandro Boch [Mon, 9 Dec 2013 20:00:15 +0000 (20:00 +0000)]
Merge "Prevent password hash from being shown"

7 years agoChange portId to accept a generic data-type 20/3520/3
Sapan Shah [Fri, 6 Dec 2013 00:44:06 +0000 (16:44 -0800)]
Change portId to accept a generic data-type

Change-Id: Id582e279802643dcf7bd9f1531c5dfc90ba40870
Signed-off-by: Sapan Shah <sapshah@cisco.com>
7 years agoMerge "Added conflict handling between configuration and state choice nodes. -unique...
Ed Warnicke [Mon, 9 Dec 2013 18:14:09 +0000 (18:14 +0000)]
Merge "Added conflict handling between configuration and state choice nodes. -unique node naming required"

7 years agoMerge "Corrected response status codes from restconf"
Ed Warnicke [Mon, 9 Dec 2013 17:58:09 +0000 (17:58 +0000)]
Merge "Corrected response status codes from restconf"

7 years agoMerge "Implementation for enabling remote rpc calls between 2 instances of md-sal"
Ed Warnicke [Mon, 9 Dec 2013 17:39:39 +0000 (17:39 +0000)]
Merge "Implementation for enabling remote rpc calls between 2 instances of md-sal"

7 years agoMerge "Improved support for default yang statements in configuration subsystem"
Ed Warnicke [Mon, 9 Dec 2013 17:25:55 +0000 (17:25 +0000)]
Merge "Improved support for default yang statements in configuration subsystem"

7 years agoMerge "Fix for bug 211, where direct write and read of augmentation was not processed...
Ed Warnicke [Mon, 9 Dec 2013 17:10:49 +0000 (17:10 +0000)]
Merge "Fix for bug 211, where direct write and read of augmentation was not processed correctly"

7 years agoMerge "Fix errors reported by pyang"
Ed Warnicke [Mon, 9 Dec 2013 16:59:54 +0000 (16:59 +0000)]
Merge "Fix errors reported by pyang"

7 years agoMerge "Update service references to new format"
Ed Warnicke [Mon, 9 Dec 2013 16:49:29 +0000 (16:49 +0000)]
Merge "Update service references to new format"

7 years agoFix for bug 211, where direct write and read of augmentation was not processed correctly 36/3536/2
Tony Tkacik [Fri, 6 Dec 2013 15:40:56 +0000 (16:40 +0100)]
Fix for bug 211, where direct write and read of augmentation was not processed correctly

  - Fixed TypeNotAvailable issue with end-to-end Openflow

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I9797fb4a1b71d456cc9126f98e4f3043e49b5666

7 years agoMerge "Validation Issue with DlSrc,DlDst MacAddress"
Ed Warnicke [Mon, 9 Dec 2013 15:40:19 +0000 (15:40 +0000)]
Merge "Validation Issue with DlSrc,DlDst MacAddress"

7 years agoAdded conflict handling between configuration and state choice nodes. 78/3578/2
Milos Fabian [Mon, 9 Dec 2013 14:27:45 +0000 (15:27 +0100)]
Added conflict handling between configuration and state choice nodes.
-unique node naming required

Change-Id: I7db0a094d8abbd4c1616b6a01a22ac201e91ad64
Signed-off-by: Milos Fabian <milfabia@cisco.com>
7 years agoCorrected response status codes from restconf 96/3496/2
msunal [Thu, 5 Dec 2013 10:35:43 +0000 (11:35 +0100)]
Corrected response status codes from restconf

- POST /restconf/config/* - 204 no msg body
- POST /restconf/operations/* - 200 msg body or 204 no msg body or 500 operation failed
- PUT /restconf/config/* - 200 no msg body

Change-Id: Ida5759499f876c5fce8280510ffe4093ee1c03c3
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoImproved support for default yang statements in configuration subsystem 30/3430/3
Maros Marsalek [Wed, 4 Dec 2013 08:04:48 +0000 (09:04 +0100)]
Improved support for default yang statements in configuration subsystem

Generated code for configuration contains default values with correct constructor if specified for leaves
Fixed binary type (de)serialization

Change-Id: Ia1338013f8aacab38074e6c7af2de351c6b73835
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoImplementation for enabling remote rpc calls between 2 instances of md-sal 59/3159/4
Tony Tkacik [Thu, 5 Dec 2013 20:51:46 +0000 (21:51 +0100)]
Implementation for enabling remote rpc calls between 2 instances of md-sal

 - This provides implementation for enabling remote rpc calls between 2 instances of md-sal.
   The current implementation enables remote execution of globally unique services in the
   cluster. For details, please refer to this wiki page
   (https://wiki.opendaylight.org/view/Zeromq_connector). This wiki page is a draft.
 - Added relativePath in pom so that parent pom can be found.
 - Removed dependency to sal-infinispan-routingtable
 - Exported "impl" as well from zeromq-routingtable. Fixed dependencies in RouterTest.
 - Removed oss.sonatype release repo from md-sal pom. ODL nexus repo mirrors it.
 - Updated server code to handle exception
 - Server code now uses WB pattern instead of listerner pattern.
 - Fixed pom so that parent can be resolved
 - Rebased due to changed in unmerged dependency
 - Added state machine to RpcSocket.
 - Added unit tests to RpcSocketTest and SocketManagerTest.
 - Added CompositeNode methods to ExampleConsumer & XML files for creation of CompositeNodes
 - Added CompositeNode testcases to RouterTest
 - Translated scala code to java
 - Added code to convert CompositeNode to xml and back to help
 - with serialization.
 - Added more unit and integration tests.

This is squash for:

https://git.opendaylight.org/gerrit/2882
https://git.opendaylight.org/gerrit/3022
https://git.opendaylight.org/gerrit/3028
https://git.opendaylight.org/gerrit/3159

Change-Id: I44739fd8ad61043c2e786875bb7787e3fa68e435
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Alex Fan <railor33@gmail.com>
7 years agoMerge "Fix a typo in debug message"
Ed Warnicke [Sun, 8 Dec 2013 20:03:52 +0000 (20:03 +0000)]
Merge "Fix a typo in debug message"

7 years agoFix errors reported by pyang 60/3560/1
Robert Varga [Sun, 8 Dec 2013 18:41:22 +0000 (19:41 +0100)]
Fix errors reported by pyang

Change-Id: Ia94339d7e9e759d02070a94507a340c80bc46100
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
7 years agoUpdate service references to new format 57/3557/1
Robert Varga [Sun, 8 Dec 2013 17:04:39 +0000 (18:04 +0100)]
Update service references to new format

Change-Id: I725ef68c983564db9e9bdcc8404696c0a3df71bc
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
7 years agoMerge "Fixed sal-netconf-connector readConfiguration"
Ed Warnicke [Sun, 8 Dec 2013 16:22:08 +0000 (16:22 +0000)]
Merge "Fixed sal-netconf-connector readConfiguration"

7 years agoFixed sal-netconf-connector readConfiguration 72/3472/3
Tony Tkacik [Wed, 4 Dec 2013 19:21:01 +0000 (20:21 +0100)]
Fixed sal-netconf-connector readConfiguration

  - Promoted Netconf client to v1.1.
  - Added reconnect retry.
  - Fixed readConfiguration for mounted netconf device.
  - Fixed serialization issue in restconf related to mount points with unknown schema.

Change-Id: Iefb85866cfc2fcbda5b4239ab112629f5e70e76d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoMerge "Fixed add/delete/modify RPC for group/flow/remove reach the test provider"
Ed Warnicke [Sun, 8 Dec 2013 14:23:01 +0000 (14:23 +0000)]
Merge "Fixed add/delete/modify RPC for group/flow/remove reach the test provider"

7 years agoFix a typo in debug message 56/3556/1
Robert Varga [Sun, 8 Dec 2013 12:57:33 +0000 (13:57 +0100)]
Fix a typo in debug message

Change-Id: Ia37a2b49ae0cfb1196997d82df04d5edb7fffba7
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
7 years agoMerge "Added transactions statistics for BI Broker."
Ed Warnicke [Sat, 7 Dec 2013 23:03:29 +0000 (23:03 +0000)]
Merge "Added transactions statistics for BI Broker."

7 years agoMerge "Updated xpath pointing to a module instance under services subtree."
Ed Warnicke [Sat, 7 Dec 2013 22:49:51 +0000 (22:49 +0000)]
Merge "Updated xpath pointing to a module instance under services subtree."

7 years agoMerge "Refactor yang-jmx-generator and -plugin to support list of dependencies."
Ed Warnicke [Sat, 7 Dec 2013 20:48:04 +0000 (20:48 +0000)]
Merge "Refactor yang-jmx-generator and -plugin to support list of dependencies."

7 years agoRefactor persister: Add ability to publish multiple snapshots while loading initial... 67/3467/2
Tomas Olvecky [Wed, 4 Dec 2013 15:57:40 +0000 (16:57 +0100)]
Refactor persister: Add ability to publish multiple snapshots while loading initial configuration.

Persister adaptors now return list of snapshots to be pushed to netconf at server startup. Persister maintains an ordered list of adaptor
instances, each with its configuration. During server startup it iterates the list backwards until non empty list of snapshot is returned.
Each snapshot can depend on different capabilities, once all capabilities for given snapshot are announced by server, persister pushes this
snapshot.

Change-Id: If73ead980c9cf8cd237af170872fbf1a491cb029
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
7 years agoFixed add/delete/modify RPC for group/flow/remove reach the test provider 51/3551/1
Prasanna Huddar [Sat, 7 Dec 2013 16:10:21 +0000 (21:40 +0530)]
Fixed add/delete/modify RPC for group/flow/remove reach the test provider

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

7 years agoValidation Issue with DlSrc,DlDst MacAddress 46/3546/1
Gaurav Bhagwani [Sat, 7 Dec 2013 11:34:16 +0000 (17:04 +0530)]
Validation Issue with DlSrc,DlDst MacAddress

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Change-Id: Ib02ea2488a290f399e666122821e84dc6364eca5

7 years agoFix for adding a static flow with action as OUTPUT for generic type 40/3540/2
Pramila Singh [Sat, 7 Dec 2013 00:02:50 +0000 (16:02 -0800)]
Fix for adding a static flow with action as OUTPUT for generic type

Change-Id: I13c3511f1ae29ad2e022a8b5eb13499cde179364
Signed-off-by: Pramila Singh <pramisin@cisco.com>
7 years agoPrevent password hash from being shown 39/3539/1
Andrew Kim [Fri, 6 Dec 2013 23:02:31 +0000 (17:02 -0600)]
Prevent password hash from being shown

The URL 'http://controller-ip:8080/admin/users' no longer displays the
user's password hashes

Change-Id: I0664bf21d1087a437ab9420c9e39b3129620aefa
Signed-off-by: Andrew Kim <andrekim@cisco.com>
7 years agoChanged maximumEntries to correct int rather than long 38/3538/3
Katelyn Kasperowicz [Fri, 6 Dec 2013 22:43:04 +0000 (14:43 -0800)]
Changed maximumEntries to correct int rather than long

-Added maximumEntries to needed parts in NodeTableStatistics

Change-Id: I07fa635562b8514aad17cf4a9c6f22a419dfb750
Signed-off-by: Katelyn Kasperowicz <kkaspero@cisco.com>
7 years agoMerge "1. Corrected Ip Protocol match field. 2. Added mask for Ipv6 Extension header...
Ed Warnicke [Fri, 6 Dec 2013 17:46:06 +0000 (17:46 +0000)]
Merge "1. Corrected Ip Protocol match field. 2. Added mask for Ipv6 Extension header match field"

7 years agoMerge "modified group"
Ed Warnicke [Fri, 6 Dec 2013 16:27:06 +0000 (16:27 +0000)]
Merge "modified group"

7 years agoMerge "Initial implementation of netconf monitoring module according to http://tools...
Ed Warnicke [Fri, 6 Dec 2013 16:08:15 +0000 (16:08 +0000)]
Merge "Initial implementation of netconf monitoring module according to tools.ietf.org/html/rfc6022"

7 years agoAdded transactions statistics for BI Broker. 33/3533/1
Lukas Sedlak [Fri, 6 Dec 2013 13:35:50 +0000 (14:35 +0100)]
Added transactions statistics for BI Broker.

Added implementation of gathering transaction statistics when binding independent broker is used.

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

7 years agoRefactor yang-jmx-generator and -plugin to support list of dependencies. 23/3523/4
Tomas Olvecky [Thu, 5 Dec 2013 16:22:16 +0000 (17:22 +0100)]
Refactor yang-jmx-generator and -plugin to support list of dependencies.

Change-Id: I87aec9e234588d12ac5ea2dd26509de1c625bbb2
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
7 years agoMerge "Used log instead of exception"
Ed Warnicke [Fri, 6 Dec 2013 13:09:29 +0000 (13:09 +0000)]
Merge "Used log instead of exception"

7 years ago1. Corrected Ip Protocol match field. 30/3530/1
Deepthi V V [Fri, 6 Dec 2013 12:40:50 +0000 (18:10 +0530)]
1. Corrected Ip Protocol match field.
2. Added mask for Ipv6 Extension header match field

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

7 years agoMerge "Fix for CLI- AddMDFlow having problem"
Ed Warnicke [Fri, 6 Dec 2013 12:14:57 +0000 (12:14 +0000)]
Merge "Fix for CLI- AddMDFlow having problem"

7 years agomodified group 12/3512/3
Prasanna Huddar [Fri, 6 Dec 2013 11:55:41 +0000 (17:25 +0530)]
modified group

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

7 years agoUsed log instead of exception 22/3522/2
msunal [Fri, 6 Dec 2013 08:53:25 +0000 (09:53 +0100)]
Used log instead of exception

- logging was added instead of throwing exception in problematic part

Change-Id: Ic1fb85db4e8eeba18a2fdaec0796c0683bf6430c
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoMD-SAL Statistics Manager - Fixed keys of group and meter models and their sub component 13/3413/3
Anil Vishnoi [Tue, 3 Dec 2013 17:59:00 +0000 (23:29 +0530)]
MD-SAL Statistics Manager - Fixed keys of group and meter models and their sub component

Change-Id: I541177511f6b75451312bc98118a7dbdaad2cdcc
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
7 years agoMerge "Arranged the config so that its obvious how to enable the ClusteredDataStorePr...
Alessandro Boch [Thu, 5 Dec 2013 23:09:02 +0000 (23:09 +0000)]
Merge "Arranged the config so that its obvious how to enable the ClusteredDataStoreProvider"

7 years agoMerge "netconf-ssh dependency cleanup"
Ed Warnicke [Thu, 5 Dec 2013 22:55:00 +0000 (22:55 +0000)]
Merge "netconf-ssh dependency cleanup"

7 years agoMerge "Common yang and xml loader for tests"
Ed Warnicke [Thu, 5 Dec 2013 22:50:29 +0000 (22:50 +0000)]
Merge "Common yang and xml loader for tests"

7 years agoMerge "Fixed Group and meter id bugs"
Ed Warnicke [Thu, 5 Dec 2013 22:49:36 +0000 (22:49 +0000)]
Merge "Fixed Group and meter id bugs"

7 years agoArranged the config so that its obvious how to enable the ClusteredDataStoreProvider 15/3415/2
Ed Warnicke [Thu, 5 Dec 2013 22:45:20 +0000 (14:45 -0800)]
Arranged the config so that its obvious how to enable the ClusteredDataStoreProvider

Change-Id: I076835c4a95571efafa9ecc4242a2e85a4717fa2
Signed-off-by: Ed Warnicke <eaw@cisco.com>
7 years agoMerge "Added multipart table response as notification in yang model."
Ed Warnicke [Thu, 5 Dec 2013 22:14:27 +0000 (22:14 +0000)]
Merge "Added multipart table response as notification in yang model."

7 years agoMerge "RestconfImpl.invokeRpc method test"
Ed Warnicke [Thu, 5 Dec 2013 22:12:13 +0000 (22:12 +0000)]
Merge "RestconfImpl.invokeRpc method test"

7 years agoExposed maximumEntries for TableStatistics to sal 74/3474/2
Katelyn Kasperowicz [Thu, 5 Dec 2013 01:20:47 +0000 (17:20 -0800)]
Exposed maximumEntries for TableStatistics to sal

Change-Id: Ib5fd0362e898f4bcaeda97416c1f048826e3e440
Signed-off-by: Katelyn Kasperowicz <kkaspero@cisco.com>
7 years agoMerge "Add StatusCode.CREATED"
Giovanni Meo [Thu, 5 Dec 2013 15:03:47 +0000 (15:03 +0000)]
Merge "Add StatusCode.CREATED"

7 years agoMerge "On link flap new SimpleForwarding flows are rejected by FRM"
Giovanni Meo [Thu, 5 Dec 2013 15:02:46 +0000 (15:02 +0000)]
Merge "On link flap new SimpleForwarding flows are rejected by FRM"

7 years agoMerge "Bug 78 Enable Enqueue action in static flows"
Giovanni Meo [Thu, 5 Dec 2013 15:01:24 +0000 (15:01 +0000)]
Merge "Bug 78 Enable Enqueue action in static flows"

7 years agoUpdated xpath pointing to a module instance under services subtree. 05/3505/1
Maros Marsalek [Thu, 5 Dec 2013 13:17:47 +0000 (14:17 +0100)]
Updated xpath pointing to a module instance under services subtree.

From /config/modules/module[name='hash-map-data-store']/instance[name='hash-map-data-store']
To   /modules/module[type=hash-map-data-store][name=hash-map-data-store']

Affected netconf operations: get-config, edit-config.
Backwards compatibility with previous xpath version is preserved.

Change-Id: Ic7c8057811001dbec34115b3745ce42bae790a45
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFix for CLI- AddMDFlow having problem 65/3465/3
Gaurav Bhagwani [Wed, 4 Dec 2013 17:09:34 +0000 (22:39 +0530)]
Fix for CLI- AddMDFlow having problem

-Missed the SalFlowListener, removed under the impression of notifications from switch, rather its also the notification from dataStore, so it was breaking the request to commit handler.
-Request is going through after adding the notification class

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Change-Id: I18cf09582101fb7f7efb711d39790aefa61d9f62

7 years agoMoved IT code to separate project, Fix for Bug 184, created test-jar 59/3459/3
Tony Tkacik [Wed, 4 Dec 2013 16:18:11 +0000 (17:18 +0100)]
Moved IT code to separate project, Fix for Bug 184, created test-jar

Change-Id: I9ed91016c93aba64548498b48de6ff1995cee021
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoAdd StatusCode.CREATED 89/3489/1
Alessandro Boch [Thu, 5 Dec 2013 08:12:47 +0000 (00:12 -0800)]
Add StatusCode.CREATED

- It may become handy if we plan for more automated
  API2 (OSGI Service Call) to API3 (REST) status conversion

Change-Id: Iac3b4037071916694a63a0d22bfb10311b215cd2
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoInitial implementation of netconf monitoring module according to http://tools.ietf... 37/3337/12
Maros Marsalek [Fri, 29 Nov 2013 13:23:44 +0000 (14:23 +0100)]
Initial implementation of netconf monitoring module according to tools.ietf.org/html/rfc6022

Response from netconf GET operation now contains monitoring information about current netconf state.

Modified netconf-impl module: added monitoring capabilities to netconf-impl module exposed as OSGi service.

Added netconf-monitoring module that provides a filter for netconf GET operation
and adds monitoring information retrieved from netconf-impl to the response of the GET operation.
It implements netconf-mapping-api similar to config-netconf-connector and
currently provides information about current netconf SESSIONS and yang SCHEMAS
(these information is retrieved via the netconf monitoring OSGi service provided by netconf-impl).

Added ietf-netconf-monitoring module that contains sources generated from ietf-netconf-monitoring yang.
These sources serve as an interface between netconf-impl and netconf-monitoring.

Change-Id: I62c457cde42e01781d9039c6dde0a03115134df4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoOn link flap new SimpleForwarding flows are rejected by FRM 87/3487/1
Alessandro Boch [Thu, 5 Dec 2013 07:54:19 +0000 (23:54 -0800)]
On link flap new SimpleForwarding flows are rejected by FRM

Change-Id: I7a246bdd2222dc6d7b5ca3aa16e4bd1284c96530
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoBug 78 Enable Enqueue action in static flows 76/3476/2
Alessandro Boch [Thu, 5 Dec 2013 07:22:12 +0000 (23:22 -0800)]
Bug 78 Enable Enqueue action in static flows

Change-Id: I9e1558719a4d6e407e90a40c263380b4fac63f8f
Signed-off-by: Alessandro Boch <aboch@cisco.com>