blob: 6a21829a2a04b2c0cb37ee08e71141d715c4ec02 [file] [log] [blame]
Toru Furusawa28988892017-10-30 17:28:40 -07001module tapi-common {
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -08002 namespace "urn:onf:otcc:yang:tapi-common";
Toru Furusawa28988892017-10-30 17:28:40 -07003 prefix tapi-common;
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -08004 organization "ONF OTCC (Open Transport Configuration & Control) Project";
5 contact "
6 Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
7 Project List: <mailto:transport-api@opennetworking.org>
8 Editor: Karthik Sethuraman
9 <mailto:karthik.sethuraman@necam.com>";
10 description "
11 This module contains TAPI Common Model definitions.
12 Source: TapiCommon.uml
13 Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
14 License: This module is distributed under the Apache License 2.0
15 ";
16 revision 2018-02-16 {
17 description "ONF Transport API version 2.0.1
18 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool version .
19 <https://wiki.opennetworking.org/display/OIMT/IISOMI>
20 Changes in this revision: <https://github.com/OpenNetworkingFoundation/Snowmass-ONFOpenTransport/blob/develop/change-log.md>";
21 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
22 <https://github.com/OpenNetworkingFoundation/Snowmass-ONFOpenTransport/tree/develop/UML>";
Toru Furusawa28988892017-10-30 17:28:40 -070023 }
24 /***********************
25 * package object-classes
26 **********************/
27 grouping admin-state-pac {
28 leaf administrative-state {
29 type administrative-state;
30 description "none";
31 }
32 leaf operational-state {
33 type operational-state;
34 config false;
35 description "none";
36 }
37 leaf lifecycle-state {
38 type lifecycle-state;
39 config false;
40 description "none";
41 }
42 description "Provides state attributes that are applicable to an entity that can be administered. Such an entity also has operational and lifecycle aspects.";
43 }
44 grouping global-class {
45 leaf uuid {
46 type uuid;
47 description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable. An UUID carries no semantics with respect to the purpose or state of the entity.
48 UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
49 Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
50 Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
51 }
52 list name {
53 key 'value-name';
54 uses name-and-value;
55 description "List of names. A property of an entity with a value that is unique in some namespace but may change during the life of the entity. A name carries no semantics with respect to the purpose of the entity.";
56 }
57 description "The TAPI GlobalComponent serves as the super class for all TAPI entities that can be directly retrieved by their ID. As such, these are first class entities and their ID is expected to be globally unique. ";
58 }
Toru Furusawa28988892017-10-30 17:28:40 -070059 grouping lifecycle-state-pac {
60 leaf lifecycle-state {
61 type lifecycle-state;
62 config false;
63 description "none";
64 }
65 description "Provides state attributes for an entity that has lifeccycle aspects only.";
66 }
67 grouping local-class {
68 leaf local-id {
69 type string;
70 description "none";
71 }
72 list name {
73 key 'value-name';
74 uses name-and-value;
75 description "List of names. A property of an entity with a value that is unique in some namespace but may change during the life of the entity. A name carries no semantics with respect to the purpose of the entity.";
76 }
77 description "The TAPI GlobalComponent serves as the super class for all TAPI entities that can be directly retrieved by their ID. As such, these are first class entities and their ID is expected to be globally unique. ";
78 }
79 grouping operational-state-pac {
80 leaf operational-state {
81 type operational-state;
82 config false;
83 description "none";
84 }
85 leaf lifecycle-state {
86 type lifecycle-state;
87 config false;
88 description "none";
89 }
90 description "Provides state attributes that are applicable to an entity that reflects operational aspects. Such an entity is expected to also have lifecycle aspects.";
91 }
92 container context {
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -080093 uses tapi-context;
94 presence "Root container for all TAPI interaction";
Toru Furusawa28988892017-10-30 17:28:40 -070095 description "none";
96 }
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -080097 grouping tapi-context {
Toru Furusawa28988892017-10-30 17:28:40 -070098 list service-interface-point {
99 key 'uuid';
100 min-elements 2;
101 uses service-interface-point;
102 description "none";
103 }
104 uses global-class;
105 description "The Network Control Domain (NCD) object class represents the scope of control that a particular SDN controller has with respect to a particular network, (i.e., encompassing a designated set of interconnected (virtual) network elements).";
106 }
107 grouping resource-spec {
108 uses global-class;
109 description "none";
110 }
111 grouping service-spec {
112 uses global-class;
113 description "none";
114 }
115 grouping service-interface-point {
wu6a418d22018-02-02 01:49:21 -0500116 leaf-list layer-protocol-name {
117 type layer-protocol-name;
118 config false;
Toru Furusawa28988892017-10-30 17:28:40 -0700119 min-elements 1;
wu6a418d22018-02-02 01:49:21 -0500120 description "Usage of layerProtocolName [>1] in the ServiceInterfacePoint should be considered experimental";
Toru Furusawa28988892017-10-30 17:28:40 -0700121 }
122 uses resource-spec;
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -0800123 uses admin-state-pac;
124 uses capacity-pac;
Toru Furusawa28988892017-10-30 17:28:40 -0700125 description "The LogicalTerminationPoint (LTP) object class encapsulates the termination and adaptation functions of one or more transport layers.
126 The structure of LTP supports all transport protocols including circuit and packet forms.";
127 }
128 grouping capacity-pac {
129 container total-potential-capacity {
130 config false;
131 uses capacity;
132 description "An optimistic view of the capacity of the TopologicalEntity assuming that any shared capacity is available to be taken.";
133 }
134 container available-capacity {
135 config false;
136 uses capacity;
137 description "Capacity available to be assigned.";
138 }
139 description "The TopologicalEntity derives capacity from the underlying realization.
140 A TopologicalEntity may be an abstraction and virtualization of a subset of the underlying capability offered in a view or may be directly reflecting the underlying realization.
141 A TopologicalEntity may be directly used in the view or may be assigned to another view for use.
142 The clients supported by a multi-layer TopologicalEntity may interact such that the resources used by one client may impact those available to another. This is derived from the LTP spec details.
143 Represents the capacity available to user (client) along with client interaction and usage.
144 A TopologicalEntity may reflect one or more client protocols and one or more members for each profile.";
145 }
wu6a418d22018-02-02 01:49:21 -0500146 grouping termination-pac {
147 leaf termination-direction {
148 type termination-direction;
149 config false;
150 description "The overall directionality of the LP.
151 - A BIDIRECTIONAL LP will have some SINK and/or SOURCE flowss.
152 - A SINK LP can only contain elements with SINK flows or CONTRA_DIRECTION_SOURCE flows
153 - A SOURCE LP can only contain SOURCE flows or CONTRA_DIRECTION_SINK flows";
154 }
155 leaf termination-state {
156 type termination-state;
157 config false;
158 description "Indicates whether the layer is terminated and if so how.";
159 }
160 description "Each transport layer is represented by a LayerProtocol (LP) instance. The LayerProtocol instances it can be used for controlling termination and monitoring functionality.
161 It can also be used for controlling the adaptation (i.e. encapsulation and/or multiplexing of client signal), tandem connection monitoring, traffic conditioning and/or shaping functionality at an intermediate point along a connection.
162 Where the client – server relationship is fixed 1:1 and immutable, the layers can be encapsulated in a single LTP instance. Where the is a n:1 relationship between client and server, the layers must be split over two separate instances of LTP. ";
163 }
Toru Furusawa28988892017-10-30 17:28:40 -0700164
165 /***********************
166 * package type-definitions
167 **********************/
Toru Furusawa28988892017-10-30 17:28:40 -0700168 typedef administrative-state {
169 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500170 enum LOCKED {
Toru Furusawa28988892017-10-30 17:28:40 -0700171 description "Users are administratively prohibited from making use of the resource.";
172 }
wu6a418d22018-02-02 01:49:21 -0500173 enum UNLOCKED {
Toru Furusawa28988892017-10-30 17:28:40 -0700174 description "Users are allowed to use the resource";
175 }
176 }
177 description "The possible values of the administrativeState.";
178 }
179 typedef date-and-time {
180 type string;
181 description "This primitive type defines the date and time according to the following structure:
182 yyyyMMddhhmmss.s[Z|{+|-}HHMm] where:
183 yyyy 0000..9999 year
184 MM 01..12 month
185 dd 01..31 day
186 hh 00..23 hour
187 mm 00..59 minute
188 ss 00..59 second
189 s .0...9 tenth of second (set to .0 if EMS or NE cannot support this granularity)
190 Z Z indicates UTC (rather than local time)
191 {+|-} + or - delta from UTC
192 HH 00..23 time zone difference in hours
193 Mm 00..59 time zone difference in minutes.";
194 }
195 typedef directive-value {
196 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500197 enum MINIMIZE {
Toru Furusawa28988892017-10-30 17:28:40 -0700198 description "none";
199 }
wu6a418d22018-02-02 01:49:21 -0500200 enum MAXIMIZE {
Toru Furusawa28988892017-10-30 17:28:40 -0700201 description "none";
202 }
wu6a418d22018-02-02 01:49:21 -0500203 enum ALLOW {
Toru Furusawa28988892017-10-30 17:28:40 -0700204 description "none";
205 }
wu6a418d22018-02-02 01:49:21 -0500206 enum DISALLOW {
Toru Furusawa28988892017-10-30 17:28:40 -0700207 description "none";
208 }
wu6a418d22018-02-02 01:49:21 -0500209 enum DONT_CARE {
Toru Furusawa28988892017-10-30 17:28:40 -0700210 description "none";
211 }
212 }
213 description "none";
214 }
215 typedef forwarding-direction {
216 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500217 enum BIDIRECTIONAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700218 description "The Fowarding entity supports both BIDIRECTIONAL flows at all Ports (i.e. all Ports have both an INPUT flow and an OUTPUT flow defined)";
219 }
wu6a418d22018-02-02 01:49:21 -0500220 enum UNIDIRECTIONAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700221 description "The Forwarding entity has Ports that are either INPUT or OUTPUT. It has no BIDIRECTIONAL Ports.";
222 }
wu6a418d22018-02-02 01:49:21 -0500223 enum UNDEFINED_OR_UNKNOWN {
Toru Furusawa28988892017-10-30 17:28:40 -0700224 description "Not a normal state. The system is unable to determine the correct value.";
225 }
226 }
227 description "The directionality of a Forwarding entity.";
228 }
229 typedef layer-protocol-name {
wu6a418d22018-02-02 01:49:21 -0500230 type enumeration {
231 enum OTSiA {
232 description "Models the OTSiA layer as per ITU-T G.872 (2017) version 4";
233 }
234 enum OCH {
235 description "Models the legacy OCH layer as per ITU-T G.872";
236 }
237 enum OTU {
238 description "Models the OTU layer as per ITU-T G.872";
239 }
240 enum ODU {
241 description "Models the ODU layer as per ITU-T G.872";
242 }
243 enum ETH {
244 description "Models the ETH layer as per ITU-T G.8010";
245 }
246 enum ETY {
247 description "Models the ETY layer as per ITU-T G.8010";
248 }
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -0800249 enum DSR {
250 description "Models a Digital Signal of an unspecified rate. This value can be used when the intent is to respresent an generic digital layer signal without making any statement on its format or overhead (processing) capabilities.";
251 }
Toru Furusawa28988892017-10-30 17:28:40 -0700252 }
253 description "Provides a controlled list of layer protocol names and indicates the naming authority.
254 Note that it is expected that attributes will be added to this structure to convey the naming authority name, the name of the layer protocol using a human readable string and any particular standard reference.
255 Layer protocol names include:
256 - Layer 1 (L1): OTU, ODU
257 - Layer 2 (L2): Carrier Grade Ethernet (ETY, ETH), MPLS-TP (MT)
258 ";
259 }
260 typedef lifecycle-state {
261 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500262 enum PLANNED {
Toru Furusawa28988892017-10-30 17:28:40 -0700263 description "The resource is planned but is not present in the network.";
264 }
wu6a418d22018-02-02 01:49:21 -0500265 enum POTENTIAL_AVAILABLE {
Toru Furusawa28988892017-10-30 17:28:40 -0700266 description "The supporting resources are present in the network but are shared with other clients; or require further configuration before they can be used; or both.
267 o When a potential resource is configured and allocated to a client it is moved to the “installed” state for that client.
268 o If the potential resource has been consumed (e.g. allocated to another client) it is moved to the “planned” state for all other clients.";
269 }
wu6a418d22018-02-02 01:49:21 -0500270 enum POTENTIAL_BUSY {
271 description "The supporting resources are present in the network but are shared with other clients; or require further configuration before they can be used; or both.
272 o When a potential resource is configured and allocated to a client it is moved to the “installed” state for that client.
273 o If the potential resource has been consumed (e.g. allocated to another client) it is moved to the “planned” state for all other clients.";
274 }
275 enum INSTALLED {
Toru Furusawa28988892017-10-30 17:28:40 -0700276 description "The resource is present in the network and is capable of providing the service expected.";
277 }
wu6a418d22018-02-02 01:49:21 -0500278 enum PENDING_REMOVAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700279 description "The resource has been marked for removal";
280 }
281 }
282 description "The possible values of the lifecycleState.";
283 }
284 grouping name-and-value {
285 leaf value-name {
286 type string;
287 description "The name of the value. The value need not have a name.";
288 }
289 leaf value {
290 type string;
291 description "The value";
292 }
293 description "A scoped name-value pair";
294 }
295 typedef operational-state {
296 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500297 enum DISABLED {
Toru Furusawa28988892017-10-30 17:28:40 -0700298 description "The resource is unable to meet the SLA of the user of the resource. If no (explicit) SLA is defined the resource is disabled if it is totally inoperable and unable to provide service to the user.";
299 }
wu6a418d22018-02-02 01:49:21 -0500300 enum ENABLED {
Toru Furusawa28988892017-10-30 17:28:40 -0700301 description "The resource is partially or fully operable and available for use";
302 }
303 }
304 description "The possible values of the operationalState.";
305 }
306 typedef port-direction {
307 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500308 enum BIDIRECTIONAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700309 description "The Port has both an INPUT flow and an OUTPUT flow defined.";
310 }
wu6a418d22018-02-02 01:49:21 -0500311 enum INPUT {
Toru Furusawa28988892017-10-30 17:28:40 -0700312 description "The Port only has definition for a flow into the Forwarding entity (i.e. an ingress flow).";
313 }
wu6a418d22018-02-02 01:49:21 -0500314 enum OUTPUT {
Toru Furusawa28988892017-10-30 17:28:40 -0700315 description "The Port only has definition for a flow out of the Forwarding entity (i.e. an egress flow).";
316 }
wu6a418d22018-02-02 01:49:21 -0500317 enum UNIDENTIFIED_OR_UNKNOWN {
Toru Furusawa28988892017-10-30 17:28:40 -0700318 description "Not a normal state. The system is unable to determine the correct value.";
319 }
320 }
321 description "The orientation of flow at the Port of a Forwarding entity";
322 }
323 typedef port-role {
324 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500325 enum SYMMETRIC {
Toru Furusawa28988892017-10-30 17:28:40 -0700326 description "none";
327 }
wu6a418d22018-02-02 01:49:21 -0500328 enum ROOT {
Toru Furusawa28988892017-10-30 17:28:40 -0700329 description "none";
330 }
wu6a418d22018-02-02 01:49:21 -0500331 enum LEAF {
Toru Furusawa28988892017-10-30 17:28:40 -0700332 description "none";
333 }
wu6a418d22018-02-02 01:49:21 -0500334 enum TRUNK {
Toru Furusawa28988892017-10-30 17:28:40 -0700335 description "none";
336 }
wu6a418d22018-02-02 01:49:21 -0500337 enum UNKNOWN {
Toru Furusawa28988892017-10-30 17:28:40 -0700338 description "none";
339 }
340 }
341 description "The role of an end in the context of the function of the forwarding entity that it bounds";
342 }
343 typedef termination-direction {
344 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500345 enum BIDIRECTIONAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700346 description "A Termination with both SINK and SOURCE flows.";
347 }
wu6a418d22018-02-02 01:49:21 -0500348 enum SINK {
Toru Furusawa28988892017-10-30 17:28:40 -0700349 description "The flow is up the layer stack from the server side to the client side.
350 Considering an example of a Termination function within the termination entity, a SINK flow:
351 - will arrive at at the base of the termination function (the server side) where it is essentially at an INPUT to the termination component
352 - then will be decoded and deconstructed
353 - then relevant parts of the flow will be sent out of the termination function (the client side) where it is essentially at an OUTPUT from the termination component
354 A SINK termination is one that only supports a SINK flow.
355 A SINK termiation can be bound to an OUTPUT Port of a Forwarding entity";
356 }
wu6a418d22018-02-02 01:49:21 -0500357 enum SOURCE {
Toru Furusawa28988892017-10-30 17:28:40 -0700358 description "The flow is down the layer stack from the server side to the client side.
359 Considering an example of a Termination function within the termination entity, a SOURCE flow:
360 - will arrive at at the top of the termination function (the client side) where it is essentially at an INPUT to the termination component
361 - then will be assembled with various overheads etc and will be coded
362 - then coded form of the assembly of flow will be sent out of the termination function (the server side) where it is essentially at an OUTPUT from the termination component
363 A SOURCE termination is one that only supports a SOURCE flow.
364 A SOURCE termiation can be bound to an INPUT Port of a Forwarding entity";
365 }
wu6a418d22018-02-02 01:49:21 -0500366 enum UNDEFINED_OR_UNKNOWN {
Toru Furusawa28988892017-10-30 17:28:40 -0700367 description "Not a normal state. The system is unable to determine the correct value.";
368 }
369 }
370 description "The directionality of a termination entity";
371 }
372 typedef termination-state {
373 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500374 enum LP_CAN_NEVER_TERMINATE {
Toru Furusawa28988892017-10-30 17:28:40 -0700375 description "A non-flexible case that can never be terminated.";
376 }
wu6a418d22018-02-02 01:49:21 -0500377 enum LT_NOT_TERMINATED {
Toru Furusawa28988892017-10-30 17:28:40 -0700378 description "A flexible termination that can terminate but is currently not terminated.";
379 }
wu6a418d22018-02-02 01:49:21 -0500380 enum TERMINATED_SERVER_TO_CLIENT_FLOW {
Toru Furusawa28988892017-10-30 17:28:40 -0700381 description "A flexible termination that is currently terminated for server to client flow only.";
382 }
wu6a418d22018-02-02 01:49:21 -0500383 enum TERMINATED_CLIENT_TO_SERVER_FLOW {
Toru Furusawa28988892017-10-30 17:28:40 -0700384 description "A flexible termination that is currently terminated for client to server flow only.";
385 }
wu6a418d22018-02-02 01:49:21 -0500386 enum TERMINATED_BIDIRECTIONAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700387 description "A flexible termination that is currently terminated in both directions of flow.";
388 }
wu6a418d22018-02-02 01:49:21 -0500389 enum LT_PERMENANTLY_TERMINATED {
Toru Furusawa28988892017-10-30 17:28:40 -0700390 description "A non-flexible termination that is always terminated (in both directions of flow for a bidirectional case and in the one direction of flow for both unidirectional cases).";
391 }
wu6a418d22018-02-02 01:49:21 -0500392 enum TERMINATION_STATE_UNKNOWN {
Toru Furusawa28988892017-10-30 17:28:40 -0700393 description "There TerminationState cannot be determined.";
394 }
395 }
396 description "Provides support for the range of behaviours and specific states that an LP can take with respect to termination of the signal.
397 Indicates to what degree the LayerTermination is terminated.";
398 }
399 typedef uuid {
400 type string;
401 description "The univeral ID value where the mechanism for generation is defned by some authority not directly referenced in the structure.
402 UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
403 Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
404 Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
405 }
406 grouping capacity {
407 container total-size {
408 uses capacity-value;
409 description "Total capacity of the TopologicalEntity in MB/s. In case of bandwidthProfile, this is expected to same as the committedInformationRate.";
410 }
411 container bandwidth-profile {
412 uses bandwidth-profile;
413 description "none";
414 }
415 description "Information on capacity of a particular TopologicalEntity.";
416 }
417 grouping bandwidth-profile {
418 leaf bw-profile-type {
419 type bandwidth-profile-type;
420 description "none";
421 }
422 container committed-information-rate {
423 uses capacity-value;
424 description "none";
425 }
426 container committed-burst-size {
427 uses capacity-value;
428 description "none";
429 }
430 container peak-information-rate {
431 uses capacity-value;
432 description "none";
433 }
434 container peak-burst-size {
435 uses capacity-value;
436 description "none";
437 }
438 leaf color-aware {
439 type boolean;
440 description "none";
441 }
442 leaf coupling-flag {
443 type boolean;
444 description "none";
445 }
446 description "none";
447 }
448 grouping capacity-value {
449 leaf value {
450 type uint64;
451 description "none";
452 }
453 leaf unit {
454 type capacity-unit;
455 description "none";
456 }
457 description "The Capacity (Bandwidth) values that are applicable for digital layers.";
458 }
459 typedef capacity-unit {
460 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500461 enum TB {
462 description "Indicates that the integer CapacityValue is in TeraBytes";
463 }
464 enum TBPS {
465 description "Indicates that the integer CapacityValue is in Terabit-per-second";
466 }
467 enum GB {
468 description "Indicates that the integer CapacityValue is in GigaBytes";
469 }
470 enum GBPS {
Toru Furusawa28988892017-10-30 17:28:40 -0700471 description "Indicates that the integer CapacityValue is in Gigabit-per-second";
472 }
wu6a418d22018-02-02 01:49:21 -0500473 enum MB {
474 description "Indicates that the integer CapacityValue is in MegaBytes";
475 }
476 enum MBPS {
Toru Furusawa28988892017-10-30 17:28:40 -0700477 description "Indicates that the integer CapacityValue is in Megabit-per-second";
478 }
wu6a418d22018-02-02 01:49:21 -0500479 enum KB {
480 description "Indicates that the integer CapacityValue is in KiloBytes";
481 }
482 enum KBPS {
Toru Furusawa28988892017-10-30 17:28:40 -0700483 description "Indicates that the integer CapacityValue is in Kilobit-per-second";
484 }
485 }
486 description "none";
487 }
488 typedef bandwidth-profile-type {
489 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500490 enum MEF_10.x {
Toru Furusawa28988892017-10-30 17:28:40 -0700491 description "none";
492 }
wu6a418d22018-02-02 01:49:21 -0500493 enum RFC_2697 {
Toru Furusawa28988892017-10-30 17:28:40 -0700494 description "none";
495 }
wu6a418d22018-02-02 01:49:21 -0500496 enum RFC_2698 {
Toru Furusawa28988892017-10-30 17:28:40 -0700497 description "none";
498 }
wu6a418d22018-02-02 01:49:21 -0500499 enum RFC_4115 {
Toru Furusawa28988892017-10-30 17:28:40 -0700500 description "none";
501 }
502 }
503 description "none";
504 }
505 grouping time-range {
506 leaf end-time {
507 type date-and-time;
508 description "none";
509 }
510 leaf start-time {
511 type date-and-time;
512 description "none";
513 }
514 description "none";
515 }
516
517 /***********************
518 * package interfaces
519 **********************/
520 rpc get-service-interface-point-details {
521 description "none";
522 input {
523 leaf sip-id-or-name {
524 type string;
525 description "none";
526 }
527 }
528 output {
529 container sip {
530 uses service-interface-point;
531 description "none";
532 }
533 }
534 }
535 rpc get-service-interface-point-list {
536 description "none";
537 output {
538 list sip {
539 uses service-interface-point;
540 description "none";
541 }
542 }
543 }
544 rpc update-service-interface-point {
545 description "none";
546 input {
547 leaf sip-id-or-name {
548 type string;
549 description "none";
550 }
551 leaf state {
552 type administrative-state;
553 description "none";
554 }
555 }
556 }
557
558}