diff options
author | a.sreekumar <ajith.sreekumar@ericsson.com> | 2018-10-24 16:07:36 +0100 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@ericsson.com> | 2018-10-24 16:08:17 +0100 |
commit | f46c20006c23d119ffc1c83117d203ed649f687c (patch) | |
tree | a04482e2a418f557e7423f7cacd375db7c318687 /vnfs/TestVNF/sample rpc requests/send_event_sample_request.xml | |
parent | 2233d21abae761e91d7b056644c6ac972e662d57 (diff) |
Adding TestVNF netconf server
TestVNF netconf server is a partial implementation of a netconfserver for netconf termination.
TestVNF is configurable and can be used for testing purposes.
Issue-ID: INT-355
Change-Id: I98594d7df57ca14582159bb006d8df51dca74ec7
Signed-off-by: a.sreekumar <ajith.sreekumar@ericsson.com>
Diffstat (limited to 'vnfs/TestVNF/sample rpc requests/send_event_sample_request.xml')
-rw-r--r-- | vnfs/TestVNF/sample rpc requests/send_event_sample_request.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/vnfs/TestVNF/sample rpc requests/send_event_sample_request.xml b/vnfs/TestVNF/sample rpc requests/send_event_sample_request.xml new file mode 100644 index 00000000..8bd64aea --- /dev/null +++ b/vnfs/TestVNF/sample rpc requests/send_event_sample_request.xml @@ -0,0 +1,39 @@ +<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-2"> + <send-event xmlns="http://example.net/send-event-method/1.0"> + <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> + <target-name>eth5</target-name> + </config> + <content> + { + "event": { + "commonEventHeader": { + "startEpochMicrosec": 1.23456814897E12, + "sourceId": "mmisVnfName", + "sequence": 1910, + "eventId": "ManagedElement=1", + "domain": "other", + "lastEpochMicrosec": 1.53805814897E12, + "eventName": "PM_ManagedElement=1", + "internalHeaderFields": { + "collectorTimeStamp": "Thu, 09 27 2018 02:22:38 GMT" + }, + "sourceName": "131.160.203.248:7af9d6a3-5269-4c45-9060-c6ac6f9f3153", + "priority": "Low", + "version": 2, + "reportingEntityName": "ManagedElement=1" + }, + "otherField": { + "nameValuePairs": [{ + "name": "StartTime", + "value": "2018-1-26 8:49:50" + }, { + "name": "WEB04NY_tej", + "value": "350" + }], + "otherFieldVersion": 2 + } + } + } +</content> +</send-event> +</rpc> |