controller.git
10 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>
10 years agoMerge "Added a generic API to return a list of configured switches that are not conne...
Chi-Vien Ly [Thu, 5 Dec 2013 01:18:46 +0000 (01:18 +0000)]
Merge "Added a generic API to return a list of configured switches that are not connected to the controller"

10 years agoAdded a generic API to return a list of configured switches that are not connected... 19/3419/7
Pramila Singh [Tue, 3 Dec 2013 23:48:29 +0000 (15:48 -0800)]
Added a generic API to return a list of configured switches that are not connected to the controller

Change-Id: Ide319117b4038f6f1d72fa8091d1015678be5a60
Signed-off-by: Pramila Singh <pramisin@cisco.com>
10 years agoMerge "Fixed logging in Statistics Manager to log only when it is activelly gathering...
Ed Warnicke [Wed, 4 Dec 2013 19:03:03 +0000 (19:03 +0000)]
Merge "Fixed logging in Statistics Manager to log only when it is activelly gathering statistics."

10 years agoMerge "Fixed serialization issues with Augments and java types"
Ed Warnicke [Wed, 4 Dec 2013 19:02:17 +0000 (19:02 +0000)]
Merge "Fixed serialization issues with Augments and java types"

10 years agoMerge "client IP/port definition in configuration separation new netconf.client prope...
Ed Warnicke [Wed, 4 Dec 2013 16:28:52 +0000 (16:28 +0000)]
Merge "client IP/port definition in configuration separation new netconf.client properties added to integration tests"

10 years agoMerge "Created own XML mapper for translation"
Ed Warnicke [Wed, 4 Dec 2013 15:19:33 +0000 (15:19 +0000)]
Merge "Created own XML mapper for translation"

10 years agoclient IP/port definition in configuration separation 52/3452/2
Martin Bobak [Wed, 4 Dec 2013 14:09:42 +0000 (15:09 +0100)]
client IP/port definition in configuration separation
new netconf.client properties added to integration tests

Change-Id: Ic9517d19ec00b8656c29528903d538d32674a5e9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years ago- added hello message with client ip and user@host trace message 87/3387/6
Martin Bobak [Tue, 3 Dec 2013 08:24:44 +0000 (09:24 +0100)]
- added hello message with client ip and user@host trace message
- SSH bridge adds customHeader at the beginning of bridged
  communication

Change-Id: I4bd1733901f3d37a5d62022bad0c39c33db8c5ed
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoMerge "Update base configuration to expose RPC broker service"
Ed Warnicke [Wed, 4 Dec 2013 11:52:37 +0000 (11:52 +0000)]
Merge "Update base configuration to expose RPC broker service"

10 years agoMerge "Bump model revisions to 2010.09.24.2-SNAPSHOT"
Ed Warnicke [Wed, 4 Dec 2013 11:51:51 +0000 (11:51 +0000)]
Merge "Bump model revisions to 2010.09.24.2-SNAPSHOT"

10 years agoFixed logging in Statistics Manager to log only when it is activelly gathering statis... 28/3428/1
Tony Tkacik [Wed, 4 Dec 2013 09:19:14 +0000 (10:19 +0100)]
Fixed logging in Statistics Manager to log only when it is activelly gathering statistics.

Change-Id: I8ad27a54028f4e77b48b86c335d18730662e55da
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Addding a new method to let the clients of clustering service specify a transa...
Giovanni Meo [Wed, 4 Dec 2013 08:26:45 +0000 (08:26 +0000)]
Merge "Addding a new method to let the clients of clustering service specify a transaction timeout when they start a transaction"

10 years agoMerge "Few Validations for Match/Actios in FRMUtil"
Ed Warnicke [Wed, 4 Dec 2013 00:59:00 +0000 (00:59 +0000)]
Merge "Few Validations for Match/Actios in FRMUtil"

10 years agoMerge "Add support for BigDecimal to netconf mapping."
Ed Warnicke [Tue, 3 Dec 2013 23:25:56 +0000 (23:25 +0000)]
Merge "Add support for BigDecimal to netconf mapping."

10 years agoAddding a new method to let the clients of clustering service 57/3157/6
Asad Ahmed [Wed, 27 Nov 2013 18:41:59 +0000 (10:41 -0800)]
Addding a new method to let the clients of clustering service
specify a transaction timeout when they start a transaction

Change-Id: Icad02808e37d7852907a417436c72cbcff8e62f1
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoAdded documentation generator to yang-maven-plugin. 10/3410/2
Milos Fabian [Tue, 3 Dec 2013 18:11:43 +0000 (19:11 +0100)]
Added documentation generator to yang-maven-plugin.

Generated html files are located in target/site/models.

Change-Id: I6cc8a8a3a2a7b6c420efaa211ed48c5ad34c0105
Signed-off-by: Milos Fabian <milfabia@cisco.com>
10 years agoFixed serialization issues with Augments and java types 12/3412/2
Tony Tkacik [Tue, 3 Dec 2013 19:00:20 +0000 (20:00 +0100)]
Fixed serialization issues with Augments and java types

Change-Id: I55a522423c4bb6ac809527c175d1689897c35fb2
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoUpdate base configuration to expose RPC broker service 05/3405/2
Robert Varga [Tue, 3 Dec 2013 15:38:07 +0000 (16:38 +0100)]
Update base configuration to expose RPC broker service

Change-Id: Ic8af359f3835d1abc6c9c9d9fba4d7ef3223e258
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
10 years agoBump model revisions to 2010.09.24.2-SNAPSHOT 06/3406/2
Robert Varga [Tue, 3 Dec 2013 15:46:11 +0000 (16:46 +0100)]
Bump model revisions to 2010.09.24.2-SNAPSHOT

This bump is require to get the latest model rebuilds containing
range validation and JMX annotations.

Change-Id: I3f394aec2e80594120dad6997883dbcadf619674
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
10 years agoAdd support for BigDecimal to netconf mapping. 04/3404/1
Maros Marsalek [Tue, 3 Dec 2013 15:37:43 +0000 (16:37 +0100)]
Add support for BigDecimal to netconf mapping.

Change-Id: Iffc1d679105899f0b66a5b62020dfedd17931b45
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoCreated own XML mapper for translation 44/3344/4
msunal [Mon, 2 Dec 2013 15:17:41 +0000 (16:17 +0100)]
Created own XML mapper for translation

- XmlMapper.java was created for translation from CompositeNode to XML

Change-Id: I880d12b7ea4046157ab7f5fe67b090fa09e0c53c
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoMerge "Fixed as per comments group and meter"
Ed Warnicke [Tue, 3 Dec 2013 14:58:45 +0000 (14:58 +0000)]
Merge "Fixed as per comments group and meter"

10 years agoFew Validations for Match/Actios in FRMUtil 09/3209/3
Gaurav Bhagwani [Tue, 3 Dec 2013 14:50:51 +0000 (20:20 +0530)]
Few Validations for Match/Actios in FRMUtil

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

10 years agoFixed as per comments group and meter 68/3368/4
Prasanna Huddar [Tue, 3 Dec 2013 14:19:39 +0000 (19:49 +0530)]
Fixed as per comments group and meter

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

10 years agoMerge "Fix bug 171. EchoReply payload must be the same as the correspoding EchoReques...
Giovanni Meo [Tue, 3 Dec 2013 13:59:15 +0000 (13:59 +0000)]
Merge "Fix bug 171. EchoReply payload must be the same as the correspoding EchoRequest payload openVSwitch send empty request resulting in null payload in ODP redundant import removed rabased to the latest merged commit"

10 years agoMerge "Using the value in the installedSwView data structure to populate the node...
Giovanni Meo [Tue, 3 Dec 2013 13:48:12 +0000 (13:48 +0000)]
Merge "Using the value in the installedSwView data structure to populate the node flows and group flows data structures"

10 years agoMerge "- remove TLS/SSL support from netconf server and client - refactoring related...
Ed Warnicke [Tue, 3 Dec 2013 13:31:44 +0000 (13:31 +0000)]
Merge "- remove TLS/SSL support from netconf server and client - refactoring related to AbstractSslChannelInitializer deletion - common code of initialize method moved to AbstractChannelInitializer - refactoring sal-netconf-connector's NetconfConnectorModule - integration tests reflects current changes - netconf server activator throws InvalidStateException if   initial tcp configuration is not found"

10 years agoMerge "Added yang-test-plugin maven plugin. Generated source files are deleted before...
Ed Warnicke [Tue, 3 Dec 2013 12:37:44 +0000 (12:37 +0000)]
Merge "Added yang-test-plugin maven plugin. Generated source files are deleted before new ones are genarated, after that implemantaion code from stub.txt is inserted."

10 years agoMerge "Leafref and identityref types to Json"
Ed Warnicke [Tue, 3 Dec 2013 12:37:16 +0000 (12:37 +0000)]
Merge "Leafref and identityref types to Json"

10 years ago- remove TLS/SSL support from netconf server and client 19/3319/7
Martin Bobak [Mon, 2 Dec 2013 09:30:56 +0000 (10:30 +0100)]
- remove TLS/SSL support from netconf server and client
- refactoring related to AbstractSslChannelInitializer deletion
- common code of initialize method moved to AbstractChannelInitializer
- refactoring sal-netconf-connector's NetconfConnectorModule
- integration tests reflects current changes
- netconf server activator throws InvalidStateException if
  initial tcp configuration is not found

Change-Id: I4fe793866cf9c1927f707943d922b36dae3c6665
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoMerge "Exposed binding-rpc-registry to config subsystem."
Ed Warnicke [Tue, 3 Dec 2013 12:20:46 +0000 (12:20 +0000)]
Merge "Exposed binding-rpc-registry to config subsystem."

10 years agoFix bug 171. EchoReply payload must be the same as the correspoding EchoRequest payload 48/3348/4
Artur Downar [Wed, 27 Nov 2013 16:53:47 +0000 (17:53 +0100)]
Fix bug 171. EchoReply payload must be the same as the correspoding EchoRequest payload
openVSwitch send empty request resulting in null payload in ODP
redundant import removed
rabased to the latest merged commit

Change-Id: I74ebd0995986f385301c7866632d829db8743766
Signed-off-by: Artur Downar <adownar@advaoptical.com>
10 years agoExposed binding-rpc-registry to config subsystem. 90/3390/1
Tony Tkacik [Tue, 3 Dec 2013 09:26:38 +0000 (10:26 +0100)]
Exposed binding-rpc-registry to config subsystem.

Change-Id: I68920fd7547bab5dd868140322db03366e0d15a3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded yang-test-plugin maven plugin. 85/3385/1
Milos Fabian [Tue, 3 Dec 2013 08:30:38 +0000 (09:30 +0100)]
Added yang-test-plugin maven plugin.
Generated source files are deleted before new ones are genarated, after that implemantaion code from stub.txt is inserted.

Change-Id: I24d0748bd9ed10908785ba88341e8a4f4cde6958
Signed-off-by: Milos Fabian <milfabia@cisco.com>
10 years agoLeafref and identityref types to Json 33/3333/7
Jozef Gloncak [Mon, 2 Dec 2013 11:36:12 +0000 (12:36 +0100)]
Leafref and identityref types to Json

If type of leaf or leaf-list is leafref then the referenced type
is found and its type is used to specify how will be single node value written to
output.
Path-predicate in leafref aren't supported yet.
Also reference to yang-model-util artifact was added.

Change-Id: I6af19bcda6841e07fc48469ebd556d88979f705b
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoUsing the value in the installedSwView data structure to populate 36/3036/4
Asad Ahmed [Sat, 23 Nov 2013 19:02:46 +0000 (11:02 -0800)]
Using the value in the installedSwView data structure to populate
the node flows and group flows data structures

Change-Id: I52261e1e3ca8490f074d5fbed5a5563546b8cd01
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoMerge "RPC input is wrapped into RPC name element"
Ed Warnicke [Mon, 2 Dec 2013 23:05:24 +0000 (23:05 +0000)]
Merge "RPC input is wrapped into RPC name element"

10 years agoMerge "Add better exception handling to config-persister-directory-adapter"
Ed Warnicke [Mon, 2 Dec 2013 22:49:05 +0000 (22:49 +0000)]
Merge "Add better exception handling to config-persister-directory-adapter"

10 years agoMerge "Added DELETE on cors.allowed.methods for a few missing nb bundles. Also added...
Ed Warnicke [Mon, 2 Dec 2013 22:43:50 +0000 (22:43 +0000)]
Merge "Added DELETE on cors.allowed.methods for a few missing nb bundles. Also added toString() method to a few Neutron backend classes."

10 years agoMerge "Add numberOfBackups=1 property to config.ini's netconf.config.persister.2...
Ed Warnicke [Mon, 2 Dec 2013 22:34:28 +0000 (22:34 +0000)]
Merge "Add numberOfBackups=1 property to config.ini's netconf.config.persister.2.properties"

10 years agoMerge "Add warning when user destroys default module."
Ed Warnicke [Mon, 2 Dec 2013 20:54:01 +0000 (20:54 +0000)]
Merge "Add warning when user destroys default module."

10 years agoMerge "Fixed serialization of InstanceIdentifier's which contains Augmentation in...
Ed Warnicke [Mon, 2 Dec 2013 20:38:38 +0000 (20:38 +0000)]
Merge "Fixed serialization of InstanceIdentifier's which contains Augmentation in path."

10 years agoMerge "Clean up initial configuration"
Ed Warnicke [Mon, 2 Dec 2013 20:11:09 +0000 (20:11 +0000)]
Merge "Clean up initial configuration"

10 years agoFixed serialization of InstanceIdentifier's which contains Augmentation in path. 34/3334/8
Tony Tkacik [Mon, 2 Dec 2013 11:46:22 +0000 (12:46 +0100)]
Fixed serialization of InstanceIdentifier's which contains Augmentation in path.

Change-Id: I0ef71ec04eaa14f95fc0f4857254eef506d78bb4
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdd warning when user destroys default module. 45/3345/2
Tomas Olvecky [Mon, 2 Dec 2013 15:39:12 +0000 (16:39 +0100)]
Add warning when user destroys default module.

Change-Id: I0a2b27fa8bac7e00b138847935cf803bb1ee8156
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoSeparate threadpool-fixed,-flexible-scheduled from threadpool-impl.yang 03/3303/2
Tomas Olvecky [Sun, 1 Dec 2013 16:23:18 +0000 (17:23 +0100)]
Separate threadpool-fixed,-flexible-scheduled from threadpool-impl.yang

Change-Id: I994f962489829c1acf5c47663cf0ace6ce06f92f
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAdd better exception handling to config-persister-directory-adapter 53/3353/2
Tomas Olvecky [Mon, 2 Dec 2013 16:46:11 +0000 (17:46 +0100)]
Add better exception handling to config-persister-directory-adapter

Change-Id: I5b8d75bc0200724a49c420981805b5b1aaa2eea0
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAdd numberOfBackups=1 property to config.ini's netconf.config.persister.2.properties 50/3350/2
Tomas Olvecky [Mon, 2 Dec 2013 16:18:08 +0000 (17:18 +0100)]
Add numberOfBackups=1 property to config.ini's netconf.config.persister.2.properties

Change-Id: I36db930ee46592dc949f37b4b19c3d4de4e8fa73
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAdded DELETE on cors.allowed.methods for a few missing nb bundles. 56/3356/1
Madhu Venugopal [Mon, 2 Dec 2013 17:36:13 +0000 (09:36 -0800)]
Added DELETE on cors.allowed.methods for a few missing nb bundles.
Also added toString() method to a few Neutron backend classes.

Change-Id: I484b785384c802bc47463567f5f0d7670eb044c3
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
10 years agoClean up initial configuration 54/3354/1
Robert Varga [Mon, 2 Dec 2013 16:21:18 +0000 (17:21 +0100)]
Clean up initial configuration

This removes the empty logging configuration, adds the global netty
configuration block, which can be reused by other components and renames
the files such that their names tell us what is it they are doing.

Change-Id: I6b7a9a75dbb376acdf17d7499a7c392acee9f491
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
10 years agoRPC input is wrapped into RPC name element 31/3331/3
msunal [Mon, 2 Dec 2013 11:31:00 +0000 (12:31 +0100)]
RPC input is wrapped into RPC name element

- input RPC section is wrapped into CompositeNode with RPC name due to MD-SAL

Change-Id: I7a49f2c5c93e53e5985606230d5d2c5b2a884ce4
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoMerge "Fixed invalid value in TestFromSalConversionsUtils."
Ed Warnicke [Mon, 2 Dec 2013 15:51:53 +0000 (15:51 +0000)]
Merge "Fixed invalid value in TestFromSalConversionsUtils."

10 years agoFixed invalid value in TestFromSalConversionsUtils. 43/3343/1
Martin Vitez [Mon, 2 Dec 2013 14:52:26 +0000 (15:52 +0100)]
Fixed invalid value in TestFromSalConversionsUtils.

Casting 0x84 to byte created invalid input (-124) for uint8 field.

Change-Id: Id3594149b26b3a6de76c1209681cac2c0d1e230f
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded transactions statistics support. 35/3335/2
Lukas Sedlak [Mon, 2 Dec 2013 11:38:03 +0000 (12:38 +0100)]
Added transactions statistics support.

Added implementation of DataBrokerImplRuntimeMXBean as DataBrokerRuntimeMXBeanImpl;
Modified DataBrokerImplModule with DataBrokerRuntimeMXBeanImpl;
Added "submitted" leaf into opendaylight-md-sal-common.yang;

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

10 years agoMerge "Fix static state in PersisterAggregatorTest causing test failures depending...
Ed Warnicke [Mon, 2 Dec 2013 12:34:42 +0000 (12:34 +0000)]
Merge "Fix static state in PersisterAggregatorTest causing test failures depending on order in which tests are run."

10 years agoFix static state in PersisterAggregatorTest causing test failures depending on order... 38/3338/1
Tomas Olvecky [Mon, 2 Dec 2013 12:11:17 +0000 (13:11 +0100)]
Fix static state in PersisterAggregatorTest causing test failures depending on order in which tests are run.

Change-Id: I4e8d027a7260bf8d21c351ccf4627050b8072c4e
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Revert "Replace tabs with spaces in config yang files""
Ed Warnicke [Mon, 2 Dec 2013 11:38:47 +0000 (11:38 +0000)]
Merge "Revert "Replace tabs with spaces in config yang files""

10 years agoRevert "Replace tabs with spaces in config yang files" 30/3330/1
Ed Warnicke [Mon, 2 Dec 2013 11:12:07 +0000 (11:12 +0000)]
Revert "Replace tabs with spaces in config yang files"

This reverts commit d8559be3bef3cad55c9c08cbb7718df32744f44a.

Change-Id: I271afcf36407054c5011ed261384afd3f1c030d5
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Replace tabs with spaces in config yang files"
Ed Warnicke [Mon, 2 Dec 2013 09:33:05 +0000 (09:33 +0000)]
Merge "Replace tabs with spaces in config yang files"

10 years agoMD-SAL Statistics Manager - Minor change in group/meter type/capabilities 06/3306/1
Anil Vishnoi [Sun, 1 Dec 2013 09:33:30 +0000 (15:03 +0530)]
MD-SAL Statistics Manager - Minor change in group/meter type/capabilities
Group/Meter feature request is now moved to plugin. Plugin will send request
whenever switch will connect to the plugin.

Change-Id: I8821fcb6c1c3d0ebcf9df11611103e846e8c6ccf
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoMerge "Wired ClusteredDataStore with Configuration Subsytem"
Ed Warnicke [Sun, 1 Dec 2013 18:13:32 +0000 (18:13 +0000)]
Merge "Wired ClusteredDataStore with Configuration Subsytem"

10 years agoWired ClusteredDataStore with Configuration Subsytem 23/2723/10
Tony Tkacik [Wed, 27 Nov 2013 16:48:30 +0000 (17:48 +0100)]
Wired ClusteredDataStore with Configuration Subsytem

MD-SAL clustered Data Store is available as separete
configurable modules.

Change-Id: I15a98f19dd2eb851e8dfb73a9c4df461e6860db5
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoReplace tabs with spaces in config yang files 02/3302/1
Tomas Olvecky [Sun, 1 Dec 2013 16:01:22 +0000 (17:01 +0100)]
Replace tabs with spaces in config yang files

Change-Id: I7475e2f20190e96262d9abd68c3b01a5badcfde8
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Fixed major sonar warnings in Binding Aware Broker"
Ed Warnicke [Sun, 1 Dec 2013 14:34:41 +0000 (14:34 +0000)]
Merge "Fixed major sonar warnings in Binding Aware Broker"

10 years agoFixed major sonar warnings in Binding Aware Broker 93/3293/1
Tony Tkacik [Sun, 1 Dec 2013 13:30:02 +0000 (14:30 +0100)]
Fixed major sonar warnings in Binding Aware Broker

Change-Id: I3c5721372778bc963d4fb1d5ff38585a7aa133af
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed bug in Data store where multiple readers could overwrite other augmentat...
Ed Warnicke [Sun, 1 Dec 2013 12:25:12 +0000 (12:25 +0000)]
Merge "Fixed bug in Data store where multiple readers could overwrite other augmentations"

10 years agoFixed bug in Data store where multiple readers could overwrite 74/3274/2
Tony Tkacik [Sun, 1 Dec 2013 01:39:43 +0000 (02:39 +0100)]
Fixed bug in Data store where multiple readers could overwrite
other augmentations

  - Added configuration / operational data validation - Commit
    with operational data stored in configuration store will fail.
  - Added initial data change event.

Change-Id: I5383cc28286bff98b95b11b63c56cd175ea2c7e9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed PersisterAggregatorTest."
Ed Warnicke [Sat, 30 Nov 2013 16:33:07 +0000 (16:33 +0000)]
Merge "Fixed PersisterAggregatorTest."

10 years agoMerge "Fix equals and add hashcode to generated abstract module."
Ed Warnicke [Sat, 30 Nov 2013 16:32:32 +0000 (16:32 +0000)]
Merge "Fix equals and add hashcode to generated abstract module."

10 years agoMerge "modified meter and group enum from leaf to typedef."
Ed Warnicke [Sat, 30 Nov 2013 16:24:31 +0000 (16:24 +0000)]
Merge "modified meter and group enum from leaf to typedef."

10 years agoMerge "Make sure config.yang is MD-SAL enabled"
Ed Warnicke [Sat, 30 Nov 2013 16:18:56 +0000 (16:18 +0000)]
Merge "Make sure config.yang is MD-SAL enabled"

10 years agomodified meter and group enum from leaf to typedef. 64/3264/2
Prasanna Huddar [Sat, 30 Nov 2013 14:35:55 +0000 (20:05 +0530)]
modified meter and group enum from leaf to typedef.

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

10 years agoFix persister bug introduced in last commit. 68/3268/1
Tomas Olvecky [Sat, 30 Nov 2013 15:54:15 +0000 (16:54 +0100)]
Fix persister bug introduced in last commit.

Registering to JMX failed due to previous bugfix.

Change-Id: I8be8751e299d7f10c7ed691b9bcefbd62308fcae
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Fix bug in persister causing to persist last configuration in a loop."
Ed Warnicke [Fri, 29 Nov 2013 15:23:13 +0000 (15:23 +0000)]
Merge "Fix bug in persister causing to persist last configuration in a loop."

10 years agoMerge "Finding data nodes in choices and cases."
Ed Warnicke [Fri, 29 Nov 2013 14:20:34 +0000 (14:20 +0000)]
Merge "Finding data nodes in choices and cases."

10 years agoFix bug in persister causing to persist last configuration in a loop. 52/3252/1
Tomas Olvecky [Fri, 29 Nov 2013 14:16:25 +0000 (15:16 +0100)]
Fix bug in persister causing to persist last configuration in a loop.

Change-Id: Ie2c35d5bb4aba19783b4c37d250e575fae2c50cc
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFix equals and add hashcode to generated abstract module. 46/3246/1
Tomas Olvecky [Fri, 29 Nov 2013 13:28:09 +0000 (14:28 +0100)]
Fix equals and add hashcode to generated abstract module.

Equals and hashcode should evaluate just identifier. For change detection between commits, new method
isSame has been added. Fields that are arrays now use Arrays.equals instead of wrong equals.

Change-Id: I63cb29027c07b9737532d7faa75729ea026ffe20
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFixed PersisterAggregatorTest. 47/3247/1
Milos Fabian [Fri, 29 Nov 2013 11:46:26 +0000 (12:46 +0100)]
Fixed PersisterAggregatorTest.

Change-Id: Iefc264ddc026df33f5a8124c17835f177627cd50
Signed-off-by: Milos Fabian <milfabia@cisco.com>
10 years agoMerge "Fix race conditions between config-manager and persister."
Ed Warnicke [Fri, 29 Nov 2013 12:25:31 +0000 (12:25 +0000)]
Merge "Fix race conditions between config-manager and persister."

10 years agoMake sure config.yang is MD-SAL enabled 08/3208/5
Robert Varga [Thu, 28 Nov 2013 13:30:54 +0000 (14:30 +0100)]
Make sure config.yang is MD-SAL enabled

In the controller-controlling-controllers scenario we need to be able to
generate MD-SAL bindings against config subsystem models. In order to do
that, we need the base definitions provided by config.yang.

This patch subjects all config components to MD-SAL binding generation
and introduces a new parent, which adds another execution to generate
JMX bindings. Infrastructure components continue to use config-subsystem
parent while the various config plugins (netty et al.) switch to the new
config-plugin-parent.

Change-Id: Id243d658a95ccfee0dbfe70044867f8de09cc20e
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
10 years agoMerge "Resolved namespace from input data"
Ed Warnicke [Fri, 29 Nov 2013 12:18:33 +0000 (12:18 +0000)]
Merge "Resolved namespace from input data"

10 years agoFix race conditions between config-manager and persister. 42/3242/1
Tomas Olvecky [Fri, 29 Nov 2013 11:17:06 +0000 (12:17 +0100)]
Fix race conditions between config-manager and persister.

Config-manager commits a blank transaction each time new ModuleFactory is discovered. At the same time
persister might try to push configuration. Add retries to both routines to overcome optimistic lock failure.

Change-Id: Ia45505d285b2eb6cc7fa949289a3fbeb4c62f9e7
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFinding data nodes in choices and cases. 43/3243/1
Jozef Gloncak [Fri, 29 Nov 2013 09:46:51 +0000 (10:46 +0100)]
Finding data nodes in choices and cases.

Feature was rewritten. It is no more taken into account if schemas for data
nodes at the same level are in the same case for concrete choice. This check should be done in system which takes Json as input

Change-Id: I12e9d2dd9bba21e5ec59a6864a41c4b82cb4f43f
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoResolved namespace from input data 41/3241/1
msunal [Fri, 29 Nov 2013 11:34:23 +0000 (12:34 +0100)]
Resolved namespace from input data

Data of POST and PUT operations can contain namespace/module name:
- xml element can contain yang namespace
- json element can contain yang module name

Change-Id: I503c36de5cf76d6e7ca852d4b4e54e93d171920c
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoMerge "removed config-util from pax-exam minimum bundles as this is not a bundle"
Ed Warnicke [Fri, 29 Nov 2013 11:19:00 +0000 (11:19 +0000)]
Merge "removed config-util from pax-exam minimum bundles as this is not a bundle"

10 years agoMerge "Add support for enums as configuration attributes in config and netconf subsys...
Ed Warnicke [Fri, 29 Nov 2013 11:18:20 +0000 (11:18 +0000)]
Merge "Add support for enums as configuration attributes in config and netconf subsystem."

10 years agoMerge changes Ia268965a,Iefa79f99
Ed Warnicke [Fri, 29 Nov 2013 11:17:38 +0000 (11:17 +0000)]
Merge changes Ia268965a,Iefa79f99

* changes:
  Add running configuration data to get netconf operation response
  Add support for configuration attributes based on yang leaves with custom types (typedef) to netconf.

10 years agoMerge "Choice and case resolving in JSON output"
Ed Warnicke [Fri, 29 Nov 2013 11:16:05 +0000 (11:16 +0000)]
Merge "Choice and case resolving in JSON output"

10 years agoMerge "Add config-persister-directory-adapter. This implementation reads initial...
Ed Warnicke [Fri, 29 Nov 2013 11:12:31 +0000 (11:12 +0000)]
Merge "Add config-persister-directory-adapter. This implementation reads initial configuration from a directory. It can combine multiple files into one snapshot to be sent to netconf. It does not support writing when configuration changes."

10 years agoMerge "Refactor persister to handle multiple storage engines. Allow persister to...
Ed Warnicke [Fri, 29 Nov 2013 11:12:16 +0000 (11:12 +0000)]
Merge "Refactor persister to handle multiple storage engines. Allow persister to load and save configuration snapshots from/to multiple storage instances. Loading works by iterating list of storages backwards and pushing first non-empty response to netconf. This allows having a default (initial) configuration for the controller that will never be overwrittern. Saving configuration will be propagated to all storage engines except those configured as read only."

10 years agoMerge "Refactor persister: require only capabilities referenced by the xml snapshot...
Ed Warnicke [Fri, 29 Nov 2013 11:11:59 +0000 (11:11 +0000)]
Merge "Refactor persister: require only capabilities referenced by the xml snapshot. Also repair logback bug preventing it from taking snapshot configuration."

10 years agoAdd config-persister-directory-adapter. 12/3212/5
Tomas Olvecky [Wed, 27 Nov 2013 12:52:20 +0000 (13:52 +0100)]
Add config-persister-directory-adapter.
This implementation reads initial configuration from a directory. It can combine multiple files into one snapshot to be
sent to netconf. It does not support writing when configuration changes.

Change-Id: I6d92ce6a7221c424f64b2fe07b61fee30e9590f0
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoRefactor persister to handle multiple storage engines. 27/3227/4
Tomas Olvecky [Wed, 27 Nov 2013 12:52:20 +0000 (13:52 +0100)]
Refactor persister to handle multiple storage engines.
Allow persister to load and save configuration snapshots from/to multiple storage instances.
Loading works by iterating list of storages backwards and pushing first non-empty response to netconf.
This allows having a default (initial) configuration for the controller that will never be overwrittern.
Saving configuration will be propagated to all storage engines except those configured as read only.

Change-Id: If4cdbb9e0c303d5ebb2a3d04a316c74ff76dfb91
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Revert "Fix bug 171. EchoReply payload must be the same as the correspoding...
Giovanni Meo [Fri, 29 Nov 2013 10:01:49 +0000 (10:01 +0000)]
Merge "Revert "Fix bug 171. EchoReply payload must be the same as the correspoding EchoRequest payload" because is causing the switches to periodically disconnect."

10 years agoRevert "Fix bug 171. EchoReply payload must be the same as the correspoding EchoReque... 33/3233/1
Giovanni Meo [Fri, 29 Nov 2013 09:05:27 +0000 (09:05 +0000)]
Revert "Fix bug 171. EchoReply payload must be the same as the correspoding EchoRequest payload" because is causing the switches to periodically disconnect.

This reverts commit e4f47d259077775ceeb1554c807eed8841263865.

Change-Id: I0aa07d67ca6e6651e4d29a03c4282d5d6d2168da
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoAdd running configuration data to get netconf operation response 82/3182/3
Maros Marsalek [Thu, 28 Nov 2013 09:09:24 +0000 (10:09 +0100)]
Add running configuration data to get netconf operation response

Change-Id: Ia268965a9ef64944138c3b6eb7313fd1ca606da4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoChoice and case resolving in JSON output 06/3206/2
Jozef Gloncak [Thu, 28 Nov 2013 14:00:45 +0000 (15:00 +0100)]
Choice and case resolving in JSON output

Searching via choices and cases which are defined in YANG when resolving
composite node to find elements with corresponding name.

Change-Id: I4b62b323676a2cdd8212f102bcd0dbbbaf9b6c10
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoMerge "Re-Enable the pax-exam execution in Eclipse"
Alessandro Boch [Thu, 28 Nov 2013 21:18:14 +0000 (21:18 +0000)]
Merge "Re-Enable the pax-exam execution in Eclipse"

10 years agoRefactor persister: require only capabilities referenced by the xml snapshot. 44/3144/4
Tomas Olvecky [Wed, 27 Nov 2013 17:04:40 +0000 (18:04 +0100)]
Refactor persister: require only capabilities referenced by the xml snapshot.
Also repair logback bug preventing it from taking snapshot configuration.

Change-Id: I48c0383441bfaee3c192159f5158f833e7e1d938
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>