X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vnfs%2FTestVNF%2Fnetconftemplates%2Fnetconftemplates%2Fsend-event-schema.yang;fp=vnfs%2FTestVNF%2Fnetconftemplates%2Fnetconftemplates%2Fsend-event-schema.yang;h=ffc5b6d2660d22359a65c9b946848f9c993a2ef7;hb=f46c20006c23d119ffc1c83117d203ed649f687c;hp=0000000000000000000000000000000000000000;hpb=2233d21abae761e91d7b056644c6ac972e662d57;p=demo.git 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 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"; + } + } + + \ No newline at end of file