aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/websocketmanager2/model/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/websocketmanager2/model/src/main')
-rw-r--r--sdnr/wt/websocketmanager2/model/src/main/yang/websocketmanager.yang38
1 files changed, 38 insertions, 0 deletions
diff --git a/sdnr/wt/websocketmanager2/model/src/main/yang/websocketmanager.yang b/sdnr/wt/websocketmanager2/model/src/main/yang/websocketmanager.yang
new file mode 100644
index 000000000..dd0297830
--- /dev/null
+++ b/sdnr/wt/websocketmanager2/model/src/main/yang/websocketmanager.yang
@@ -0,0 +1,38 @@
+module websocketmanager {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:websocketmanager";
+ prefix "websocketmanager";
+
+ revision "2015-01-05" {
+ description "Initial revision of websocketmanager model";
+ }
+
+ rpc websocket-event {
+ input {
+ leaf nodeName {
+ type string;
+ }
+
+ leaf eventType {
+ type string;
+ }
+
+ leaf xmlEvent {
+ type string;
+ }
+ }
+ output {
+ leaf response {
+ type string;
+ }
+ }
+ }
+
+ notification messagePushed {
+ leaf message {
+ type string;
+ }
+
+ }
+}
+