diff options
author | herbert <herbert.eiselt@highstreet-technologies.com> | 2020-01-30 10:39:37 +0100 |
---|---|---|
committer | herbert <herbert.eiselt@highstreet-technologies.com> | 2020-02-01 13:30:27 +0100 |
commit | cbbc3520048bbc539b137cac011776506b3e0f70 (patch) | |
tree | 8b72e076b091001e88286a59e5b79479a9194560 /sdnr/wt/netconfnode-state-service/model/src/main/yang | |
parent | 84cf604e3f06942a62ae0478327ec6100787761e (diff) |
SDN-R add updated app
add updated netconfnode-state-service
Issue-ID: SDNC-1033
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
Change-Id: If1639bb61dc58e90b769c0dd100d49eeddf83fc9
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
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; + } + } + } + } +} + |