1 module tr069-operations {
3 namespace "urn:tr069rpc:1.0";
9 "Radio access OneCell <5g@commscope.com>
17 "This module contains a YANG definition for the TR069 device operations.";
21 "PLEASE READ BELOW NOTES BEFORE USING THE RPCs:
22 1) All the RPCs supported by TR-069 protocol are translated to NETCONF
23 RPCs except following RPCs.
32 "Subset of TR-069 protocol RPCs mapped to NETCONF RPCs";
35 grouping add-object-output {
37 "Grouping for add-object rpc output";
42 "The Object has been created.";
46 "The Object creation has been validated and committed, but not yet applied (for example, if a reboot is required before the new Object can be applied).";
51 "Status of the addObject";
54 leaf instance-number {
57 "Instance Number when the status is passed.";
62 "label attribute for add-object output.";
66 grouping delete-object-output {
68 "Grouping for add-object rpc output";
73 "The Object has been deleted.";
77 "The Object deletion has been validated and committed, but not yet applied (for example, if a reboot is required before the Object can be deleted).";
82 "Status of the addObject";
86 grouping set-parameter-attributes-input {
88 "Grouping for set-parameter-attributes rpc input";
92 "config container object for set parameter attributes RPC.";
96 "keyindex for each set parameter attribute";
100 "parameter attribute";
106 "notification attribute for a set parameter attribute";
108 leaf notification-change {
111 "notification change attribute for a set parameter attribute";
113 leaf-list access-list {
116 "access list attributes for a set parameter attribute";
118 leaf access-list-change {
121 "access list change attribute for a set parameter attribute";
126 grouping get-parameter-attributes-output {
128 "Grouping for get-parameter-attributes rpc output";
132 "get parameter attribute configuration Object";
136 "keyindex attribute";
141 "parameter attribute";
147 "notification parameter";
149 leaf-list access-list {
152 "access list of a attribute";
157 grouping download-input {
159 "Grouping for download rpc input";
190 leaf target-file-name {
195 leaf delay-in-seconds {
214 "adds object for parameter on the device.";
218 "parameter attribute for add-object";
222 uses add-object-output;
228 "adds object for parameter on the device.";
232 "access container Object";
236 uses delete-object-output;
240 rpc set-parameter-attributes {
242 "SPA for parameter on the device.";
244 uses set-parameter-attributes-input;
248 rpc get-parameter-attributes {
250 "GPA for parameter on the device.";
255 "get-parameter-attributes Object as rpc input";
259 "keyindex attribute for a get parameter attribute";
263 "parameter GPA RPC input";
268 uses get-parameter-attributes-output;
274 "Reboots the device.";
279 "resets the device.";
282 rpc connection-status {
284 "device connection status.";
286 leaf last-contact-time {
290 "when device has last contacted the ONAP.";
292 leaf last-failure-attempt-time {
296 "when the last access attempt has failed from ONAP.";
298 leaf last-access-status {
302 "Last connection was successful.";
306 "Last device access was failed.";
311 "Status of last device access.";
314 when "../current-status = 'FAILED'";
317 "Detailed error Message when the status is failed.";