Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconftemplates / netconftemplates / send-event-schema.yang
diff --git a/vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang b/vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang
new file mode 100644 (file)
index 0000000..ffc5b6d
--- /dev/null
@@ -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 &lt;send-event&gt; 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