diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-05-18 09:36:32 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-05-24 08:33:15 +0000 |
commit | d421438681e97ef7213a5cb925c49755cd9fb4b6 (patch) | |
tree | eec68eb4a7f5ca200270506a775ac7bc3b31e627 /v3po/impl/src/main/yang | |
parent | 3f3dfefae447342188804d2f628689e34350945e (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/yang')
-rw-r--r-- | v3po/impl/src/main/yang/v3po-impl.yang | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/v3po/impl/src/main/yang/v3po-impl.yang b/v3po/impl/src/main/yang/v3po-impl.yang index 3f7af6185..3ab69f4e9 100644 --- a/v3po/impl/src/main/yang/v3po-impl.yang +++ b/v3po/impl/src/main/yang/v3po-impl.yang @@ -143,4 +143,26 @@ module v3po-impl { } } + + identity context-reader { + base config:module-type; + config:provided-service tapi:honeycomb-reader; + description "A reader to provide mapping context related data"; + } + + augment "/config:modules/config:module/config:configuration" { + case context-reader { + when "/config:modules/config:module/config:type = 'context-reader'"; + + container context-binding-broker { + uses config:service-ref { + refine type { + mandatory true; + config:required-identity md-sal-binding:binding-async-data-broker; + } + } + } + + } + } } |