diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-02-02 00:26:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-02 00:26:27 +0000 |
commit | 1863844414cf3837fc429a3271b9f116f200f170 (patch) | |
tree | 83984698531a264e5741e2d6ba32368f4ff400e5 /sdnr/wt/netconfnode-state-service/model/src/main/yang | |
parent | fb121a32b8b3431e37d2b73a63aac8055983f8f2 (diff) | |
parent | cbbc3520048bbc539b137cac011776506b3e0f70 (diff) |
Merge "SDN-R add updated app"
Diffstat (limited to 'sdnr/wt/netconfnode-state-service/model/src/main/yang')
-rw-r--r-- | sdnr/wt/netconfnode-state-service/model/src/main/yang/netconfnodestateservice.yang | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/sdnr/wt/netconfnode-state-service/model/src/main/yang/netconfnodestateservice.yang b/sdnr/wt/netconfnode-state-service/model/src/main/yang/netconfnodestateservice.yang new file mode 100644 index 000000000..737f858de --- /dev/null +++ b/sdnr/wt/netconfnode-state-service/model/src/main/yang/netconfnodestateservice.yang @@ -0,0 +1,64 @@ +module netconfnode-state { + + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:netconfnode-state"; + prefix "netconfnode-state"; + + import data-provider { prefix "data-provider"; } + + description + "sdnr-wt-netconfnode-state-service Api Module"; + + revision "2019-10-11" { + description + "Initial revision"; + } + + container fault-notification { + description + "Handle fault problem notification of a network-element"; + uses data-provider:object-change-reference; + uses data-provider:fault; + } + container attribute-change-notification { + description + "Handle attribute change notification of a network-element"; + uses data-provider:object-change-reference; + uses data-provider:attribute-change; + } + rpc push-fault-notification { + description + "Forward fault problem notification of a network-element"; + input { + uses data-provider:object-change-reference; + uses data-provider:fault; + } + } + rpc push-attribute-change-notification { + description + "Forward attribute change notification of a network-element"; + input { + uses data-provider:object-change-reference; + uses data-provider:attribute-change; + } + } + + rpc get-status { + description + "Returns status information"; + + output { + list status { + description "Provides a key value list with status information"; + key key; + leaf key { + type string; + } + leaf value { + type string; + } + } + } + } +} + |