summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/netconfnode-state-service/model/src/main/yang
diff options
context:
space:
mode:
authorherbert <herbert.eiselt@highstreet-technologies.com>2019-12-14 00:36:01 +0100
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-12-16 11:22:50 +0000
commit2cf702de0b65fe132ec32b6abfffe4c2c976dca0 (patch)
tree43bdda96e1320969c08de301cd619ae29621386e /sdnr/wt/netconfnode-state-service/model/src/main/yang
parent3309d25d5883ebaa9db9fa10a81ff0779dcfb2a3 (diff)
Add netconfnode-state-service
v2 add new service to devicemanager Issue-ID: SDNC-1006 Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com> Change-Id: Iaba3d02e0ef6078cba57a33e03c2b2ad7aa0bacd 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.yang64
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;
+ }
+ }
+ }
+ }
+}
+