diff options
author | 2016-05-18 09:36:32 +0200 | |
---|---|---|
committer | 2016-05-24 08:33:15 +0000 | |
commit | 5e1e4256dbd294cf2ccc3b0ad2435b403a420214 (patch) | |
tree | 6a930a9bcbddb93ae254164201848abb4e4250f2 /v3po/impl/src/main/config | |
parent | b2b20ea3fa79158dbb5e125bd564155b59d4235c (diff) |
HONEYCOMB-61: Provide context data in OPERATIONAL reads
+ Uncomment disabled reader for netconf monitoring
Change-Id: I8de1507d1999ff7fc64aa87dc9a1c0d2af454b0d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/impl/src/main/config')
-rw-r--r-- | v3po/impl/src/main/config/context-datatree-config.xml | 28 | ||||
-rw-r--r-- | v3po/impl/src/main/config/netconf-north-config.xml | 17 |
2 files changed, 35 insertions, 10 deletions
diff --git a/v3po/impl/src/main/config/context-datatree-config.xml b/v3po/impl/src/main/config/context-datatree-config.xml index 13da9ec65..a77813daf 100644 --- a/v3po/impl/src/main/config/context-datatree-config.xml +++ b/v3po/impl/src/main/config/context-datatree-config.xml @@ -89,11 +89,37 @@ </binding-mapping-service> </binding-forwarded-data-broker> </module> - </modules> + <!-- Special reader for Context data. Providing context data to outside users over NETCONF/RESTCONF --> + <module> + <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:v3po:impl">prefix:context-reader</type> + <name>context-reader</name> + <context-binding-broker> + <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type> + <name>honeycomb-context-binding-data-broker</name> + </context-binding-broker> + </module> + <module> + <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:utils">prefix:delegating-reader-registry</type> + <name>read-registry</name> + <root-readers> + <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-reader</type> + <name>context-reader</name> + </root-readers> + </module> + <!-- END: Special reader for Context --> + + </modules> <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config"> <service> + <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-reader</type> + <instance> + <name>context-reader</name> + <provider>/modules/module[type='context-reader'][name='context-reader']</provider> + </instance> + </service> + <service> <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:data:api">prefix:data-tree</type> <instance> <name>inmemory-context-data-tree</name> diff --git a/v3po/impl/src/main/config/netconf-north-config.xml b/v3po/impl/src/main/config/netconf-north-config.xml index f7f0629d4..b41aafeda 100644 --- a/v3po/impl/src/main/config/netconf-north-config.xml +++ b/v3po/impl/src/main/config/netconf-north-config.xml @@ -291,15 +291,14 @@ <name>netconf-binding-data-broker</name> </netconf-monitoring-binding-broker> </module> - <!--FIXME disable the reader until this patch is merged and released by ODL: TODO link --> - <!--<module>--> - <!--<type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:utils">prefix:delegating-reader-registry</type>--> - <!--<name>read-registry</name>--> - <!--<root-readers>--> - <!--<type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-reader</type>--> - <!--<name>netconf-monitoring-reader</name>--> - <!--</root-readers>--> - <!--</module>--> + <module> + <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:utils">prefix:delegating-reader-registry</type> + <name>read-registry</name> + <root-readers> + <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-reader</type> + <name>netconf-monitoring-reader</name> + </root-readers> + </module> <!-- END: Special reader for Netconf monitoring. --> </modules> |