summaryrefslogtreecommitdiffstats
path: root/plugins/restconf-client/provider/src/test/test-yang/notification
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-04-14 14:15:41 -0400
committerDan Timoney <dtimoney@att.com>2021-04-19 17:45:33 +0000
commit43228cc2a7f06d5e1b6e398023684c80d9ed1270 (patch)
tree1128649a01f6da9e4941adfb30f1e95715aa14d9 /plugins/restconf-client/provider/src/test/test-yang/notification
parent19c7de1f524478ea351f4d2dcd76508455a75ba8 (diff)
Fix yangparser invocation
Fix YangParser invocation in restconf-provider to address breaking change in ODL Aluminum release. Issue-ID: SDNC-1515 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I9974889bfa9bbd11077c95275c0cb8ba59b1b0bb
Diffstat (limited to 'plugins/restconf-client/provider/src/test/test-yang/notification')
-rw-r--r--plugins/restconf-client/provider/src/test/test-yang/notification/ietf-subscribed-notifications.yang21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/restconf-client/provider/src/test/test-yang/notification/ietf-subscribed-notifications.yang b/plugins/restconf-client/provider/src/test/test-yang/notification/ietf-subscribed-notifications.yang
new file mode 100644
index 000000000..f7e01be50
--- /dev/null
+++ b/plugins/restconf-client/provider/src/test/test-yang/notification/ietf-subscribed-notifications.yang
@@ -0,0 +1,21 @@
+module ietf-subscribed-notifications {
+ yang-version 1;
+ namespace "ietf:subscribed:notifications:huawei";
+ prefix "notif";
+
+ revision 2018-09-08;
+
+ rpc establish-subscription {
+ input {
+ leaf encoding {
+ type string;
+ }
+ }
+
+ output {
+ leaf identifier {
+ type int16;
+ }
+ }
+ }
+} \ No newline at end of file