1 module nts-network-function {
3 namespace "urn:o-ran-sc:params:xml:ns:yang:nts:network:function";
13 " Web: <https://wiki.o-ran-sc.org/display/SIM/SIM>
15 Alex Stancu <mailto:alexandru.stancu@highstreet-technologies.com>
16 Adrian Lita <mailto:adrian.lita@highstreet-technologies.com>
17 Martin Skorupski <mailto:martin.skorupski@highstreet-technologies.com>";
19 "This module contains YANG definitions for the Network Topology Simulator - Network Functions";
23 "Cleared revision for nts-common import.";
25 "O-RAN-SC SIM project";
30 "Add RPC for clearing the fault counters.";
32 "O-RAN-SC SIM project";
37 "Add RPC for datastore populating and feature control.";
39 "O-RAN-SC SIM project";
44 "Initial revision for the Network Topology Simulator - Next Generation";
46 "O-RAN-SC SIM project";
49 container simulation {
50 container network-function {
51 uses ntsc:mount-point-details-g;
53 uses ntsc:netconf-config-g;
54 uses ntsc:ves-config-g;
56 "Container which encompasses the details of the network function.";
58 container sdn-controller {
59 uses ntsc:controller-g;
61 "Groups details about the SDN Controller.";
63 container ves-endpoint {
64 uses ntsc:ves-endpoint-g;
66 "Groups details about the VES Collector endpoint.";
69 "Root level container which controls the Network Function.";
72 rpc datastore-random-populate {
74 "Operation to populate the datastore with random data for all the containing YANG models.";
77 uses ntsc:rpc-status-g;
83 "Operation to control the features in a Network Function.";
86 type ntsc:feature-type;
89 "A bit-wise list with features to be activated.";
93 uses ntsc:rpc-status-g;
97 rpc invoke-notification {
99 "Operation to control the features in a Network Function.";
101 leaf notification-format {
105 "The notification string is formatted as XML.";
109 "The notification string is formatted as JSON.";
114 "The format of the notification string.";
116 leaf notification-object {
120 "A JSON string containing the notification object to be sent by the device.";
124 uses ntsc:rpc-status-g;
128 rpc invoke-ves-pm-file-ready {
130 "Operation to generate a VES notification from a Network Function.";
136 "A string containing the location of the file on the server.";
140 uses ntsc:rpc-status-g;
144 rpc clear-fault-counters {
146 "Operation to clear the fault counters.";
149 uses ntsc:rpc-status-g;