3 namespace "urn:cisco:params:xml:ns:yang:ioam-sb-trace";
6 import ietf-interfaces { prefix ietf-if; }
8 organization "Cisco Systems, Inc.";
11 "Author: Srihari Raghavan
15 "This YANG module defines a component that describing the
16 configuration of in-band OAM device configuration for
22 "Base model for in-band OAM trace device configuration.";
27 container ioam-trace-config {
29 "Device specific configuration for in-band OAM trace.";
32 key "trace-config-name";
35 "Set of ioam trace configurations that group parameters
36 required to enable iOAM6 tracing at a service node";
38 leaf trace-config-name {
44 "Unique identifier for each node tracing configuration";
50 "The ACL name associated to classify and apply this
56 range "3|7|9|17|25|31";
61 "Trace type that defines the trace element variant. Moving
62 from LSB to MSB, each bit represents node_id, ingress_if_id,
63 egress_if_id, timestamp, app_data and others are undefined.
64 Currently, the supported values are 0x03, 0x07, 0x09,
65 0x11, 0x19 and 0x1f.";
73 "Number of trace elements to be inserted in the tracing
81 description "Timestamp in seconds.";
85 description "Timestamp in milli seconds.";
89 description "Timestamp in micro seconds.";
93 description "Timestamp in nano seconds.";
99 "This field depicts the delay domain of the trace path,
100 whether it is in seconds, milliseconds, microseconds
108 description "Add new and fill trace information.";
112 description "Update existing trace information.";
116 description "Decap or remove existing trace information.";
122 "The type of trace element operation that the service node
123 handling this profile should do. The options are to add the
124 trace elements, update the trace elements or to remove the
128 leaf trace-app-data {
131 "Application specific data to be added by the node";
138 "iOAM Service Node id assigned to this node";
141 list node-interfaces {
145 "List of node's interfaces on which the trace configuration
146 need to be applied. Typically this is to all interfaces
147 but can be filtered.";
153 "Index for the interfaces list";
157 type ietf-if:interface-ref;
160 "Instance of ietf-interfaces:interface-ref";
164 /*** links to ioam-sb-data-export ***/
165 leaf data-export-profile-name {
168 "The data export profile name with server information to
172 /*** Transport encap profiles. Not used currently ***/
173 leaf transport-encap-profile-name {
176 "The transport encap profile name with sub configurations for
177 handling transport encap.";
181 /*** container: end ***/
183 /*** module: end ***/