1 module nts-network-function {
3 namespace "urn:o-ran-sc:params:xml:ns:yang:nts:network:function";
8 revision-date 2020-10-22;
14 " Web: <https://wiki.o-ran-sc.org/display/SIM/SIM>
16 Alex Stancu <mailto:alexandru.stancu@highstreet-technologies.com>
17 Adrian Lita <mailto:adrian.lita@highstreet-technologies.com>
18 Martin Skorupski <mailto:martin.skorupski@highstreet-technologies.com>";
20 "This module contains YANG definitions for the Network Topology Simulator - Network Functions";
24 "Add RPC for clearing the fault counters.";
26 "O-RAN-SC SIM project";
31 "Add RPC for datastore populating and feature control.";
33 "O-RAN-SC SIM project";
38 "Initial revision for the Network Topology Simulator - Next Generation";
40 "O-RAN-SC SIM project";
43 container simulation {
44 container network-function {
45 uses ntsc:mount-point-details-g;
47 uses ntsc:netconf-config-g;
48 uses ntsc:ves-config-g;
50 "Container which encompasses the details of the network function.";
52 container sdn-controller {
53 uses ntsc:controller-g;
55 "Groups details about the SDN Controller.";
57 container ves-endpoint {
58 uses ntsc:ves-endpoint-g;
60 "Groups details about the VES Collector endpoint.";
63 "Root level container which controls the Network Function.";
66 rpc datastore-random-populate {
68 "Operation to populate the datastore with random data for all the containing YANG models.";
71 uses ntsc:rpc-status-g;
77 "Operation to control the features in a Network Function.";
80 type ntsc:feature-type;
83 "A bit-wise list with features to be activated.";
87 uses ntsc:rpc-status-g;
91 rpc invoke-notification {
93 "Operation to control the features in a Network Function.";
95 leaf notification-format {
99 "The notification string is formatted as XML.";
103 "The notification string is formatted as JSON.";
108 "The format of the notification string.";
110 leaf notification-object {
114 "A JSON string containing the notification object to be sent by the device.";
118 uses ntsc:rpc-status-g;
122 rpc invoke-ves-pm-file-ready {
124 "Operation to generate a VES notification from a Network Function.";
130 "A string containing the location of the file on the server.";
134 uses ntsc:rpc-status-g;
138 rpc clear-fault-counters {
140 "Operation to clear the fault counters.";
143 uses ntsc:rpc-status-g;