mdsal.git
10 years agoRevert "Added ietf-restconf yang module"
Tony Tkacik [Fri, 14 Feb 2014 18:10:00 +0000 (18:10 +0000)]
Revert "Added ietf-restconf yang module"

This reverts commit 9003fb310abfa2773e570424dd4b38953beb0673.

Change-Id: Ifd9255b63b76fa1e697361a6b16826921999695a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Temporarily reverted "Update ietf-inet-types and ietf-yang-types with RFC6991""
Tony Tkacik [Fri, 14 Feb 2014 18:09:27 +0000 (18:09 +0000)]
Merge "Temporarily reverted "Update ietf-inet-types and ietf-yang-types with RFC6991""

10 years agoTemporarily reverted "Update ietf-inet-types and ietf-yang-types with RFC6991"
Tony Tkacik [Fri, 14 Feb 2014 17:55:38 +0000 (17:55 +0000)]
Temporarily reverted "Update ietf-inet-types and ietf-yang-types with RFC6991"

Upstream dependencies did not honor warnings which required them to specify model revision.

Change-Id: I7ac5d5820bf47fb2e429eb8b8c6ef060b6eab652
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Added ietf-restconf yang module"
Tony Tkacik [Fri, 14 Feb 2014 16:59:29 +0000 (16:59 +0000)]
Merge "Added ietf-restconf yang module"

10 years agoMerge "Update ietf-inet-types and ietf-yang-types with RFC6991"
Tony Tkacik [Fri, 14 Feb 2014 16:59:16 +0000 (16:59 +0000)]
Merge "Update ietf-inet-types and ietf-yang-types with RFC6991"

10 years agoUpdate ietf-inet-types and ietf-yang-types with RFC6991
Robert Varga [Thu, 19 Dec 2013 12:58:03 +0000 (13:58 +0100)]
Update ietf-inet-types and ietf-yang-types with RFC6991

Change-Id: Ie6f6891835f761c440650a2d0d7990db20f9d52f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdded ietf-restconf yang module
Martin Sunal [Fri, 31 Jan 2014 21:07:24 +0000 (22:07 +0100)]
Added ietf-restconf yang module

Change-Id: Ifd8012f2ba2b436b68d590caaed512900733fe17
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoFixed concurency bug when multiple threads tried to compute package name.
Tony Tkacik [Mon, 10 Feb 2014 19:11:15 +0000 (20:11 +0100)]
Fixed concurency bug when multiple threads tried to compute package name.

Change-Id: Ifed593dc386124a596cc85e6aea512360a9d942b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded utility functions which allows for resolving InstanceIdentifier against concret...
Tony Tkacik [Fri, 14 Feb 2014 05:02:12 +0000 (06:02 +0100)]
Added utility functions which allows for resolving InstanceIdentifier against concrete DataObject

Change-Id: I12c90a8f75782b9be524d33763ec012e8b0a31f3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed incorrect path construction in JUnit tests.
Tony Tkacik [Thu, 13 Feb 2014 17:37:06 +0000 (18:37 +0100)]
Fixed incorrect path construction in JUnit tests.

Change-Id: I8d10bd6aa6cc84e3435a438f7d4b2aa94a463259
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Added Export-Packages for propper bundle startup in osgi container"
Martin Vitez [Wed, 12 Feb 2014 10:08:24 +0000 (10:08 +0000)]
Merge "Added Export-Packages for propper bundle startup in osgi container"

10 years agoBug fixes for codecs.
Lukas Sedlak [Mon, 10 Feb 2014 06:51:33 +0000 (22:51 -0800)]
Bug fixes for codecs.

Added proper serialization of Empty Type Definitions into TransformerGenerator.xtend.
Added overload method "toDocument" which creates XML Document without schema definition for particular Data DOM tree.
This fix is primary needed for md-sal NetconfMapping. If this fix is NOT applied the toRpcMessage in NetconfMapping.xtend will NOT work properly.
Added javadocs for both toDocument methods.

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

10 years agoAdded Export-Packages for propper bundle startup in osgi container
Martin Bobak [Tue, 11 Feb 2014 15:03:41 +0000 (16:03 +0100)]
Added Export-Packages for propper bundle startup in osgi container

Change-Id: I5f03ed56b1bd6cff36597bdf667b6042e1e9c046
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoAdded SchemaContextHolder interface to RuntimeGeneratedMappingServiceImpl to provide...
Tony Tkacik [Sat, 8 Feb 2014 04:11:07 +0000 (05:11 +0100)]
Added SchemaContextHolder interface to RuntimeGeneratedMappingServiceImpl to provide its schemaContext

Change-Id: Iceb5af637ba36ec23c8874a830b7d804ea7f345d
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed performance bug when Augmentation codecs we're not cached properly for fast...
Tony Tkacik [Fri, 7 Feb 2014 19:52:13 +0000 (20:52 +0100)]
Fixed performance bug when Augmentation codecs we're not cached properly for fast access.

Change-Id: I33e41bc778c4b11abded46650a2e4b0fcabb6519
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded test for OSGi metadata.
Martin Vitez [Fri, 4 Oct 2013 14:26:12 +0000 (16:26 +0200)]
Added test for OSGi metadata.

Change-Id: I225ffa4b5b85fda03e31b238f51151fd89bb6b17
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded support for discovering YangModuleInfo via ServiceLoader.
Tony Tkacik [Tue, 28 Jan 2014 16:43:08 +0000 (17:43 +0100)]
Added support for discovering YangModuleInfo via ServiceLoader.

  - Added ModuleInfoBackedContext which provides
     -  GeneratedClassLoadingStrategy which supports proactive search
     -  Creation of SchemaContext based on registered YangModuleInfo

Change-Id: I890c275031151b874b42b4e46bee4edcfce595ec
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed situation when xmlClass property was not serialized.
Tony Tkacik [Fri, 7 Feb 2014 01:55:16 +0000 (02:55 +0100)]
Fixed situation when xmlClass property was not serialized.

Change-Id: I8a226441bc1370bcf3e7e87b15caec1f17c06e5f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMake sure class loading strategy is initialized
Robert Varga [Wed, 5 Feb 2014 14:05:23 +0000 (15:05 +0100)]
Make sure class loading strategy is initialized

Fixes a failure to verify in the controller

Change-Id: I90a516c5a8d88e17b419db2bf02c02ee36eb6cd6
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoExtended BindingReflections to support detecting notification callbacks.
Tony Tkacik [Tue, 4 Feb 2014 19:16:31 +0000 (20:16 +0100)]
Extended BindingReflections to support detecting notification callbacks.

Change-Id: I406d92678b6784242d469d364053a588b76d1135
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded getServiceType and support for classloading strategies.
Tony Tkacik [Fri, 31 Jan 2014 13:09:51 +0000 (14:09 +0100)]
Added getServiceType and support for classloading strategies.

Change-Id: I8e43f66fd7d22f34aa0dbc4f89df07c3c0962cd2
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Renamed getLength() method to length() in classes generated from typedefs."
Robert Varga [Tue, 4 Feb 2014 18:53:25 +0000 (18:53 +0000)]
Merge "Renamed getLength() method to length() in classes generated from typedefs."

10 years agoMerge "Make sure builder-generated object do not emit null values"
Robert Varga [Tue, 4 Feb 2014 18:44:16 +0000 (18:44 +0000)]
Merge "Make sure builder-generated object do not emit null values"

10 years agoRenamed getLength() method to length() in classes generated from typedefs.
Martin Vitez [Tue, 28 Jan 2014 10:09:41 +0000 (11:09 +0100)]
Renamed getLength() method to length() in classes generated from typedefs.

Updated tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMake sure builder-generated object do not emit null values
Robert Varga [Fri, 31 Jan 2014 13:38:53 +0000 (14:38 +0100)]
Make sure builder-generated object do not emit null values

Change-Id: Ifff51ab174ca03df129943c67155082c363554b8
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Add default output base directory for generated sources as compile root folder...
Robert Varga [Mon, 3 Feb 2014 13:08:09 +0000 (13:08 +0000)]
Merge "Add default output base directory for generated sources as compile root folder for maven project in sal code generator."

10 years agoAdd default output base directory for generated sources as compile root folder for...
Maros Marsalek [Fri, 31 Jan 2014 10:42:11 +0000 (11:42 +0100)]
Add default output base directory for generated sources as compile root folder for maven project
in sal code generator.

Fixes: maven compilation fails with default outputBaseDir option.
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Change-Id: Ia6d84079dbb76eac5fcfbd29d93b451c0f7e14f9

10 years agoRemove CRLFs
Robert Varga [Fri, 31 Jan 2014 09:48:20 +0000 (10:48 +0100)]
Remove CRLFs

Change-Id: I3110b88c70a90797cf699709761c04ab05b7124f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFixed resolving of NotificationDefinition.
Tony Tkacik [Mon, 27 Jan 2014 16:39:21 +0000 (17:39 +0100)]
Fixed resolving of NotificationDefinition.

  - Deduplicated same code in TransformerGenerator

Change-Id: I1a422aa18d43b86a3132884e539cd65b90a64dfe
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed bug in generation of return type for list key properties."
Robert Varga [Fri, 31 Jan 2014 19:25:40 +0000 (19:25 +0000)]
Merge "Fixed bug in generation of return type for list key properties."

10 years agoMerge "Fixed missing slash in generated YangModuleInfo implementations"
Robert Varga [Fri, 31 Jan 2014 14:19:03 +0000 (14:19 +0000)]
Merge "Fixed missing slash in generated YangModuleInfo implementations"

10 years agoFixed missing slash in generated YangModuleInfo implementations
Tony Tkacik [Fri, 31 Jan 2014 13:09:34 +0000 (14:09 +0100)]
Fixed missing slash in generated YangModuleInfo implementations

Change-Id: I2d667fe8c7ddb9c18d521a314f9b00c133141b6a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Do not return null when no RPC is registered"
Tony Tkacik [Thu, 30 Jan 2014 16:15:35 +0000 (16:15 +0000)]
Merge "Do not return null when no RPC is registered"

10 years agoDo not return null when no RPC is registered
Robert Varga [Thu, 30 Jan 2014 14:23:37 +0000 (15:23 +0100)]
Do not return null when no RPC is registered

Change-Id: I6f416440d6a497d17050a1971e9a1eb111483e7a
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "BUG-374: cleanup error messages present in controller startup"
Robert Varga [Thu, 30 Jan 2014 10:43:55 +0000 (10:43 +0000)]
Merge "BUG-374: cleanup error messages present in controller startup"

10 years agoBUG-374: cleanup error messages present in controller startup
SahilShah [Mon, 27 Jan 2014 13:04:47 +0000 (18:34 +0530)]
BUG-374: cleanup error messages present in controller startup

This tones down the "BUG" word which may alarm a casual user. These
still indicate run-time problems which should not occur in a
deterministic run-time environment.

Change-Id: I80871ea1999d2a92d6b343d83ddfc784e7e29ecc
Signed-off-by: SahilShah <sahil4.s@tcs.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years ago[maven-release-plugin] prepare for next development iteration
Jenkins yangtools silo [Mon, 27 Jan 2014 18:15:07 +0000 (18:15 +0000)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release yangtools-0.6.1
Jenkins yangtools silo [Mon, 27 Jan 2014 18:09:48 +0000 (18:09 +0000)]
[maven-release-plugin] prepare release yangtools-0.6.1

10 years agoRevert "Fixed resolving of NotificationDefinition."
Robert Varga [Mon, 27 Jan 2014 16:00:05 +0000 (17:00 +0100)]
Revert "Fixed resolving of NotificationDefinition."

This reverts commit 753056cd7ff59b415e6f916030b5ed38f9585e49.

Change-Id: Ife22a16ef87cfb2828b4209266d3d753c7bfd9f7
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years ago[maven-release-plugin] prepare for next development iteration
Jenkins yangtools silo [Mon, 27 Jan 2014 15:51:17 +0000 (15:51 +0000)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release yangtools-0.6.0
Jenkins yangtools silo [Mon, 27 Jan 2014 15:46:13 +0000 (15:46 +0000)]
[maven-release-plugin] prepare release yangtools-0.6.0

10 years agoFixed bug in generation of return type for list key properties.
Martin Vitez [Mon, 27 Jan 2014 14:25:11 +0000 (15:25 +0100)]
Fixed bug in generation of return type for list key properties.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed resolving of NotificationDefinition.
Lukas Sedlak [Mon, 27 Jan 2014 14:20:00 +0000 (15:20 +0100)]
Fixed resolving of NotificationDefinition.

Added dipsatch methods for handling of generating body for NotificationDefinition.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
10 years agoFix for bug #233
SahilShah [Thu, 23 Jan 2014 09:19:22 +0000 (14:49 +0530)]
Fix for bug #233
Have made changes in augment-monitoring.xml
Signed-off-by: SahilShah <sahil4.s@tcs.com>
Change-Id: Id1d031e4ce56c32a3b51d0eebc0ae6de9b56e6a2
Signed-off-by: SahilShah <sahil4.s@tcs.com>
10 years agoMerge "Fix YangModuleInfoImpl generation on windows"
Robert Varga [Mon, 27 Jan 2014 11:08:27 +0000 (11:08 +0000)]
Merge "Fix YangModuleInfoImpl generation on windows"

10 years agoFix YangModuleInfoImpl generation on windows
Robert Varga [Mon, 27 Jan 2014 10:51:50 +0000 (11:51 +0100)]
Fix YangModuleInfoImpl generation on windows

Turns out the generated module name contains backslashes on Windows.
Convert them to slashes before emitting the string.

Change-Id: I0e09bdcec769a82b3c72ccf6fcc4910c615f736f
Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoYang module source should be always available
Robert Varga [Mon, 27 Jan 2014 08:20:50 +0000 (09:20 +0100)]
Yang module source should be always available

Change-Id: Ifed7b030beccae2371c398186550b874d84eff7e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUpdate YangModuleInfo and its implementations
Robert Varga [Mon, 27 Jan 2014 06:57:29 +0000 (07:57 +0100)]
Update YangModuleInfo and its implementations

- Use Set, not ImmutableSet in return
- getModuleSourceStream() throws IOException when it fails to find the
  resource
- Force instantiation of imported modules on class load
- Force a call to getModuleSourceStream() on class load

Change-Id: I4f5454d92c049cecc834b37ef14784d70b036a8c
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoWrapped WeakHashMaps into Collections.synchronizedMap
Tony Tkacik [Sun, 26 Jan 2014 21:51:42 +0000 (22:51 +0100)]
Wrapped WeakHashMaps into Collections.synchronizedMap

Change-Id: Ib5dac831065b8d0efacbc2cca417cb8d14f02a56
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoImplemented support for generating YangModuleInfo implementation.
Martin Vitez [Tue, 14 Jan 2014 13:50:47 +0000 (14:50 +0100)]
Implemented support for generating YangModuleInfo implementation.

Change-Id: I6f1bc55b15490100522349e1121c758a6dc18976
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdd more explicit messages about the fact that a thread is blocked
Robert Varga [Sun, 26 Jan 2014 18:01:48 +0000 (19:01 +0100)]
Add more explicit messages about the fact that a thread is blocked

When a thread is hijacked we need to know why. Announce it loudly.

Change-Id: Ie06fe283c467233bf421a274bc521becc6a9db47
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBug 376: Added explicit wait for schema when generating augmentation codec.
Tony Tkacik [Sun, 26 Jan 2014 16:55:03 +0000 (17:55 +0100)]
Bug 376: Added explicit wait for schema when generating augmentation codec.

Change-Id: Ica7ecd53725f8e77fc0f7637e8deed6514b5a313
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdd copyright to test models
Robert Varga [Sun, 26 Jan 2014 16:45:48 +0000 (17:45 +0100)]
Add copyright to test models

Change-Id: I2fc423f32d7b3df4ff3e1aaadd040a0aec51fb5e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd copyright headers to test models
Robert Varga [Sun, 26 Jan 2014 16:29:35 +0000 (17:29 +0100)]
Add copyright headers to test models

Change-Id: I6e7fdbeb90532a4bf6b47a59055a73b37a3920d8
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBug 309 : Fixed incorrect serialization of instance identifier
Tony Tkacik [Sun, 26 Jan 2014 14:29:36 +0000 (15:29 +0100)]
Bug 309 : Fixed incorrect serialization of instance identifier
with augmented cases.

Added explicit search if child node is augmentation node added
via case.

Fixed serialization of data from grouping used inside augmentation.

Change-Id: I579a7ce46043379657b57135bf8a36601b3f747a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoRename IdentitityCodec to IdentityCodec
Robert Varga [Sun, 26 Jan 2014 01:31:46 +0000 (02:31 +0100)]
Rename IdentitityCodec to IdentityCodec

Change-Id: I623a9f207b9559475fc606e2c048232f2c0730bd
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Activate range checking"
Tony Tkacik [Sat, 25 Jan 2014 10:37:22 +0000 (10:37 +0000)]
Merge "Activate range checking"

10 years agoActivate range checking
Robert Varga [Wed, 22 Jan 2014 12:09:34 +0000 (13:09 +0100)]
Activate range checking

Commit this change just after the 0.6.0 release, as it has the potential
to break a lot of users.

Change-Id: Id5205b0be99187f2d2991c3c4f49eeb6a4d841c9
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd copyright headers
Robert Varga [Sat, 25 Jan 2014 06:53:37 +0000 (07:53 +0100)]
Add copyright headers

Change-Id: I98af3052912ea9eca7692e29ece196d5852c4253
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFixed bug in reading uses under augmentation.
Tony Tkacik [Fri, 24 Jan 2014 17:23:02 +0000 (18:23 +0100)]
Fixed bug in reading uses under augmentation.

Change-Id: I5f125c0ab08fe4c50d51240fbf06e3749fe329bc
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Add copyright headers to various XML files"
Robert Varga [Fri, 24 Jan 2014 14:44:50 +0000 (14:44 +0000)]
Merge "Add copyright headers to various XML files"

10 years agoMerge "Update .gitignore files"
Robert Varga [Fri, 24 Jan 2014 14:24:08 +0000 (14:24 +0000)]
Merge "Update .gitignore files"

10 years agoAdd copyright headers to various XML files
Robert Varga [Fri, 24 Jan 2014 08:40:15 +0000 (09:40 +0100)]
Add copyright headers to various XML files

Change-Id: I37d9093e1739abb41fca3013c25e415c63d801fd
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge changes I6265d077,I0be9473e,If481ebdb
Robert Varga [Fri, 24 Jan 2014 14:17:39 +0000 (14:17 +0000)]
Merge changes I6265d077,I0be9473e,If481ebdb

* changes:
  Add copyright headers to pom.xml files
  Add copyright headers to xtend files
  Add copything headers to java files

10 years agoUpdate .gitignore files
Robert Varga [Fri, 24 Jan 2014 14:14:15 +0000 (15:14 +0100)]
Update .gitignore files

Change-Id: If4683a0cce1c6c1aa6476cd90a51f22055960b08
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdded implementation of getQName for Identity classes
Tony Tkacik [Fri, 24 Jan 2014 11:08:10 +0000 (12:08 +0100)]
Added implementation of getQName for Identity classes

Change-Id: I469717a4602e34327dec8a9fa95deedd7037b1c3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdd copyright headers to pom.xml files
Robert Varga [Fri, 24 Jan 2014 08:31:32 +0000 (09:31 +0100)]
Add copyright headers to pom.xml files

Change-Id: I6265d077f47223d76da6ce08102024a8ab3e871e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd copyright headers to xtend files
Robert Varga [Fri, 24 Jan 2014 08:26:26 +0000 (09:26 +0100)]
Add copyright headers to xtend files

Change-Id: I0be9473e63200367539a5ed34d53756f54d05a19
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd copything headers to java files
Robert Varga [Fri, 24 Jan 2014 08:25:56 +0000 (09:25 +0100)]
Add copything headers to java files

Change-Id: If481ebdbad101ebaa7f1de7edb3d824ea978cc9f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Move RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs ...
Tony Tkacik [Fri, 24 Jan 2014 07:08:07 +0000 (07:08 +0000)]
Merge "Move RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs + apis) and binding-generator-impl(service implementation)"

10 years agoFix for Bug 294.
Martin Vitez [Thu, 23 Jan 2014 13:36:49 +0000 (14:36 +0100)]
Fix for Bug 294.

Added lookup of rpc statements when searching by augment target path.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMove RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs + apis)...
Maros Marsalek [Thu, 23 Jan 2014 09:01:05 +0000 (10:01 +0100)]
Move RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs + apis) and binding-generator-impl(service implementation)

Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Change-Id: I44b19aa5221baf8e954553789e96f0cb662703d9

10 years agoMerge "Fix bugs in yang files."
Tony Tkacik [Wed, 22 Jan 2014 21:25:45 +0000 (21:25 +0000)]
Merge "Fix bugs in yang files."

10 years agoFix bugs in yang files.
Tomas Olvecky [Wed, 22 Jan 2014 14:57:23 +0000 (15:57 +0100)]
Fix bugs in yang files.

Fix typo in ospf-topology and wrong prefix in isis-topology.

Change-Id: Ie40272b82bb2e210ee030cddf52faa9106d31bed
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoBump model versions to prevent clash with nexus
Robert Varga [Wed, 22 Jan 2014 10:00:01 +0000 (11:00 +0100)]
Bump model versions to prevent clash with nexus

It turns out the current -SNAPSHOT version were release on 9/30 into
nexus, but their versions were not bumpted. The released version does
not carry the latest generation rules, most notably DTO range checks and
it is tied to a historic (0.1.1) version of model parent.

This means we need to fix the historic mistake and do a fresh release.

Change-Id: Ia15862d880833bfc49cb42dd298a45c9b252fb32
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fix for bug : 234 Have made changes in controller-openflow.yang"
Robert Varga [Tue, 21 Jan 2014 22:10:16 +0000 (22:10 +0000)]
Merge "Fix for bug : 234 Have made changes in controller-openflow.yang"

10 years agoFix a logic mistake
Robert Varga [Tue, 21 Jan 2014 14:54:46 +0000 (15:54 +0100)]
Fix a logic mistake

Change-Id: Id034f54bb3873d0d6f2fca3ee3ba0c9ad7eca1a3
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fix network-topology yang files xpath syntax."
Martin Vitez [Tue, 21 Jan 2014 15:31:20 +0000 (15:31 +0000)]
Merge "Fix network-topology yang files xpath syntax."

10 years agoMerge "Improve generated toString() methods to skip null fields"
Tony Tkacik [Tue, 21 Jan 2014 15:24:23 +0000 (15:24 +0000)]
Merge "Improve generated toString() methods to skip null fields"

10 years agoMerge "Fix for Bug 308."
Tony Tkacik [Tue, 21 Jan 2014 15:23:17 +0000 (15:23 +0000)]
Merge "Fix for Bug 308."

10 years agoImprove generated toString() methods to skip null fields
Robert Varga [Tue, 21 Jan 2014 14:54:46 +0000 (15:54 +0100)]
Improve generated toString() methods to skip null fields

This checks if the field is set to null and if it is, it does not add it
to the resulting string.

Change-Id: If3e88f0ce1f73d1ca2cbc38cecfaf1f7a64d108a
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix network-topology yang files xpath syntax.
Tomas Olvecky [Tue, 21 Jan 2014 09:17:32 +0000 (10:17 +0100)]
Fix network-topology yang files xpath syntax.

Add braces to XPath in order for yuma to parse configuration.

Change-Id: I6919a10ad4436a154975fdd2c3c9e1a6bf7f0e54
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFix for Bug 308.
Martin Vitez [Tue, 21 Jan 2014 09:08:25 +0000 (10:08 +0100)]
Fix for Bug 308.

Fixed searching in context by qname instead of local name.
Fixed SchemaNodeComparator.
Updated child nodes storing in implementations.

Change-Id: I5c47fea79b227b3351ab558fca93671308af566c
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFix for bug : 234
deepankar [Tue, 21 Jan 2014 07:26:48 +0000 (12:56 +0530)]
Fix for bug : 234
Have made changes in controller-openflow.yang

Change-Id: Ia68a062934ffaca9eefcb9ba1f1457b76f83d1d3
Signed-off-by: deepankar <deepankar.gupta@tcs.com>
10 years agoMerge "Changed generation of POST operation block"
Tony Tkacik [Mon, 20 Jan 2014 08:46:57 +0000 (08:46 +0000)]
Merge "Changed generation of POST operation block"

10 years agoRevert "Revert "Bump all artifacts to 0.6.0-SNAPSHOT""
Robert Varga [Sun, 19 Jan 2014 20:22:23 +0000 (21:22 +0100)]
Revert "Revert "Bump all artifacts to 0.6.0-SNAPSHOT""

This reverts commit e83067e904d17644813311d6b184aaa9acfa93f8.

The controller is now ready to receive the revved-up version, except it
fails on a fix which is already present in the repository. Re-bump the
revision such that the controller-side patch
(https://git.opendaylight.org/gerrit/#/c/4298/) can succeed.

Change-Id: Ieca16ad1393d534791643942aeee593e15188802
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBump build helper plugin version to 1.8
Robert Varga [Sun, 19 Jan 2014 11:59:57 +0000 (12:59 +0100)]
Bump build helper plugin version to 1.8

Change-Id: Ibc436b49809b171602f1a593c2d293254defe928
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoEnsure all pom.xml files have UNIX encoding
Robert Varga [Sun, 19 Jan 2014 11:14:39 +0000 (12:14 +0100)]
Ensure all pom.xml files have UNIX encoding

Change-Id: I799a155c6e4a33bbb0acc5164c9e94dc143a1671
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd missing copyright headers
Robert Varga [Sun, 19 Jan 2014 10:07:47 +0000 (11:07 +0100)]
Add missing copyright headers

Change-Id: I5562ff8eb78c200652a96fd506c8c96d50ec4d5d
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove unused imports
Robert Varga [Sun, 19 Jan 2014 09:48:11 +0000 (10:48 +0100)]
Remove unused imports

Change-Id: I14939b41b5f902df838665897a8d077b31428e63
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoChanged generation of POST operation block
Martin Sunal [Mon, 13 Jan 2014 11:34:22 +0000 (12:34 +0100)]
Changed generation of POST operation block

- POST block was changed according to changes in RESTCONF https://git.opendaylight.org/gerrit/#/c/4081/
- added block for DELETE operation
- refactoring

Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoRevert "Bump all artifacts to 0.6.0-SNAPSHOT"
Tony Tkacik [Thu, 16 Jan 2014 09:43:09 +0000 (09:43 +0000)]
Revert "Bump all artifacts to 0.6.0-SNAPSHOT"

This reverts commit f5e9689b95d945c22c7a38870681cab899326de9.

Change-Id: I5ca4ae9c8a46b5af8244780cb04ec568b30335d3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoBump all artifacts to 0.6.0-SNAPSHOT
Robert Varga [Wed, 15 Jan 2014 21:44:31 +0000 (22:44 +0100)]
Bump all artifacts to 0.6.0-SNAPSHOT

Change-Id: Ie5a279943f7db817af7c94b017103bd7e6fd1d84
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fixed bug when getter for YANG leaf named class colided with getClass()"
Tony Tkacik [Wed, 15 Jan 2014 13:05:59 +0000 (13:05 +0000)]
Merge "Fixed bug when getter for YANG leaf named class colided with getClass()"

10 years agoMerge "Added support for parsing submodules & added dependency utility parser"
Tony Tkacik [Wed, 15 Jan 2014 12:40:29 +0000 (12:40 +0000)]
Merge "Added support for parsing submodules & added dependency utility parser"

10 years agoFixed bug when getter for YANG leaf named class colided with getClass()
Tony Tkacik [Wed, 15 Jan 2014 10:55:29 +0000 (11:55 +0100)]
Fixed bug when getter for YANG leaf named class colided with getClass()

  - Updated imports generation to explicitly import also files from same
    package.

Change-Id: Iadbdb2322b50e1b25c9be632960f6298bb654192
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded support for parsing submodules & added dependency utility parser
Martin Vitez [Mon, 13 Jan 2014 10:06:22 +0000 (11:06 +0100)]
Added support for parsing submodules & added dependency utility parser

All nodes defined in submodule are added to module to which submodule belongs.

Dependency utility parser is small YANG parser which extracts module identifier
(module name,revision) and all imports / includes, so it is easier for
implementations using YANG parser to check if all dependencies are available.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Revert "Added support for parsing submodules & added dependency utility parser""
Tony Tkacik [Tue, 14 Jan 2014 15:38:46 +0000 (15:38 +0000)]
Merge "Revert "Added support for parsing submodules & added dependency utility parser""

10 years agoRevert "Added support for parsing submodules & added dependency utility parser"
Tony Tkacik [Tue, 14 Jan 2014 15:31:21 +0000 (15:31 +0000)]
Revert "Added support for parsing submodules & added dependency utility parser"

This change breaked transient dependencies in other projects.

Change-Id: I61ffac622ba14fa113389164f5f2cd350f41818e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded YangModuleInfo interface.
Tony Tkacik [Tue, 14 Jan 2014 11:43:45 +0000 (12:43 +0100)]
Added YangModuleInfo interface.

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