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 13:38:00 -0400
commit4d25c03d4f67171e44b05d7fe0451b2b60cc4574 (patch)
tree740f55219e70e589e62dc26bf723b441e9d9bc7a /plugins/restconf-client/provider/src/test/test-yang/notification
parentb8cd77554a20a0924276e4e05f401b7643685537 (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