diff options
author | gaurav <gaurav.agrawal@huawei.com> | 2018-10-05 10:08:34 +0530 |
---|---|---|
committer | gaurav <gaurav.agrawal@huawei.com> | 2018-10-05 10:08:34 +0530 |
commit | 2b5c534429df9abf2d6435959a17c9deaab8de7a (patch) | |
tree | 7f20af9fcfe8bb1db69af219684854837570bec6 /platform-logic/restconfapi-yang/src/main/yang/notification | |
parent | 9c6b8f607007cd5236b5e4904647d1f9ea454df3 (diff) |
Allow YANG sub directories
Allow grouping of related YANG in a sub directory. This will ease out
the maintainability and enable compiling of speific YANG for a feature.
Change-Id: Ic07fdd16c73e8dddd0eca2d0d100d96c42e7e696
Issue-ID: SDNC-350
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: 5bda05da77cf2df0858c34c7942e92f95552c23a
Diffstat (limited to 'platform-logic/restconfapi-yang/src/main/yang/notification')
-rw-r--r-- | platform-logic/restconfapi-yang/src/main/yang/notification/ietf-subscribed-notifications.yang | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/platform-logic/restconfapi-yang/src/main/yang/notification/ietf-subscribed-notifications.yang b/platform-logic/restconfapi-yang/src/main/yang/notification/ietf-subscribed-notifications.yang new file mode 100644 index 00000000..f7e01be5 --- /dev/null +++ b/platform-logic/restconfapi-yang/src/main/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 |