3 namespace "urn:o-ran:trace:1.0";
6 organization "O-RAN Alliance";
12 "This module defines the operations for the trace logs.
14 Copyright 2019 the O-RAN Alliance.
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
17 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 POSSIBILITY OF SUCH DAMAGE.
28 Redistribution and use in source and binary forms, with or without
29 modification, are permitted provided that the following conditions are met:
31 * Redistributions of source code must retain the above copyright notice,
32 this list of conditions and the above disclaimer.
33 * Redistributions in binary form must reproduce the above copyright notice,
34 this list of conditions and the above disclaimer in the documentation
35 and/or other materials provided with the distribution.
36 * Neither the Members of the O-RAN Alliance nor the names of its
37 contributors may be used to endorse or promote products derived from
38 this software without specific prior written permission.";
40 revision "2019-02-21" {
43 Initial module definition.";
45 reference "ORAN-WG4.M.0-v01.00";
49 grouping trace-status-grouping {
50 description "grouping used for trace RPCs";
54 description "rpc completed correctly";
57 description "rpc failed";
60 description "result of rpc operation";
63 when "../status = 'FAILURE'";
65 description "free form text description why error occurred";
69 rpc start-trace-logs {
71 "Management plane triggered to start collecting the trace logs files of O-RU.";
73 uses trace-status-grouping;
79 "Management plane triggered to stop collecting the trace logs files of O-RU.";
81 uses trace-status-grouping;
85 notification trace-log-generated {
87 "When new log file generated, send this notification.";
88 leaf-list log-file-name {
91 "The list of trace log file names on the O-RU.";
94 leaf is-notification-last {
98 "Informs if notification is last - the one after receiving stop-trace-logs rpc.";