aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/TestVNF/netconftemplates/netconftemplates/send-event-schema.yang
blob: ffc5b6d2660d22359a65c9b946848f9c993a2ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>