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/yang | |
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/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; + } + } + } + + } + } } |