diff options
Diffstat (limited to 'vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang')
-rw-r--r-- | vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang b/vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang new file mode 100644 index 00000000..ffc5b6d2 --- /dev/null +++ b/vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang @@ -0,0 +1,19 @@ +<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="<MID>"> + <data xmlns="http://example.net/send-event-method/1.0"> + rpc send-event { + description + "The <send-event> operation takes in a content in JSON format and sends the entire content to the specified target address."; + + container config { + leaf target-name { + type string; + description "name of the target to which the content is to be sent"; + } + } + leaf content { + type string; + description "JSON string to be sent"; + } + } + </data> +</rpc-reply>
\ No newline at end of file |