Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 1 | module tapi-common {
|
| 2 | namespace "urn:onf:params:xml:ns:yang:tapi-common";
|
| 3 | prefix tapi-common;
|
| 4 | organization "Open Networking Foundation (ONF) / Open Transport Working Group(OTWG) / Transport API (TAPI) Project";
|
| 5 | contact "
|
| 6 | WG Web: TAPI SDK Project <http://opensourcesdn.org/projects/project-snowmass/>
|
| 7 | WG List: TAPI Discussion list <mailto: transport-api@login.opennetworking.org>,
|
| 8 | WG Chair: Karthik Sethuraman <mailto:karthik.sethuraman@necam.com>,
|
| 9 | Editor: Ricard Vilalta <mailto:ricard.vilalta@cttc.es>";
|
| 10 | description "none";
|
| 11 | revision 2017-05-31 {
|
| 12 | description "TAPI SDK 2.0-alpha";
|
| 13 | reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020 and RFC 6087";
|
| 14 | }
|
| 15 | /***********************
|
| 16 | * package object-classes
|
| 17 | **********************/
|
| 18 | grouping admin-state-pac {
|
| 19 | leaf administrative-state {
|
| 20 | type administrative-state;
|
| 21 | description "none";
|
| 22 | }
|
| 23 | leaf operational-state {
|
| 24 | type operational-state;
|
| 25 | config false;
|
| 26 | description "none";
|
| 27 | }
|
| 28 | leaf lifecycle-state {
|
| 29 | type lifecycle-state;
|
| 30 | config false;
|
| 31 | description "none";
|
| 32 | }
|
| 33 | description "Provides state attributes that are applicable to an entity that can be administered. Such an entity also has operational and lifecycle aspects.";
|
| 34 | }
|
| 35 | grouping global-class {
|
| 36 | leaf uuid {
|
| 37 | type uuid;
|
| 38 | 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.
|
| 39 | UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
|
| 40 | 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}
|
| 41 | Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
|
| 42 | }
|
| 43 | list name {
|
| 44 | key 'value-name';
|
| 45 | uses name-and-value;
|
| 46 | 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.";
|
| 47 | }
|
| 48 | 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. ";
|
| 49 | }
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 50 | grouping lifecycle-state-pac {
|
| 51 | leaf lifecycle-state {
|
| 52 | type lifecycle-state;
|
| 53 | config false;
|
| 54 | description "none";
|
| 55 | }
|
| 56 | description "Provides state attributes for an entity that has lifeccycle aspects only.";
|
| 57 | }
|
| 58 | grouping local-class {
|
| 59 | leaf local-id {
|
| 60 | type string;
|
| 61 | description "none";
|
| 62 | }
|
| 63 | list name {
|
| 64 | key 'value-name';
|
| 65 | uses name-and-value;
|
| 66 | 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.";
|
| 67 | }
|
| 68 | 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. ";
|
| 69 | }
|
| 70 | grouping operational-state-pac {
|
| 71 | leaf operational-state {
|
| 72 | type operational-state;
|
| 73 | config false;
|
| 74 | description "none";
|
| 75 | }
|
| 76 | leaf lifecycle-state {
|
| 77 | type lifecycle-state;
|
| 78 | config false;
|
| 79 | description "none";
|
| 80 | }
|
| 81 | description "Provides state attributes that are applicable to an entity that reflects operational aspects. Such an entity is expected to also have lifecycle aspects.";
|
| 82 | }
|
| 83 | container context {
|
| 84 | presence "TAPI";
|
hiroki | 4c3fbcf | 2018-02-09 15:45:18 -0800 | [diff] [blame] | 85 | uses _context;
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 86 | description "none";
|
| 87 | }
|
hiroki | 4c3fbcf | 2018-02-09 15:45:18 -0800 | [diff] [blame] | 88 | grouping _context {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 89 | list service-interface-point {
|
| 90 | key 'uuid';
|
| 91 | min-elements 2;
|
| 92 | uses service-interface-point;
|
| 93 | description "none";
|
| 94 | }
|
| 95 | uses global-class;
|
| 96 | 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).";
|
| 97 | }
|
| 98 | grouping resource-spec {
|
| 99 | uses global-class;
|
| 100 | description "none";
|
| 101 | }
|
| 102 | grouping service-spec {
|
| 103 | uses global-class;
|
| 104 | description "none";
|
| 105 | }
|
| 106 | grouping service-interface-point {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 107 | leaf-list layer-protocol-name {
|
| 108 | type layer-protocol-name;
|
| 109 | config false;
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 110 | min-elements 1;
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 111 | description "Usage of layerProtocolName [>1] in the ServiceInterfacePoint should be considered experimental";
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 112 | }
|
| 113 | uses resource-spec;
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 114 | uses tapi-common:admin-state-pac;
|
| 115 | uses tapi-common:capacity-pac;
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 116 | description "The LogicalTerminationPoint (LTP) object class encapsulates the termination and adaptation functions of one or more transport layers.
|
| 117 | The structure of LTP supports all transport protocols including circuit and packet forms.";
|
| 118 | }
|
| 119 | grouping capacity-pac {
|
| 120 | container total-potential-capacity {
|
| 121 | config false;
|
| 122 | uses capacity;
|
| 123 | description "An optimistic view of the capacity of the TopologicalEntity assuming that any shared capacity is available to be taken.";
|
| 124 | }
|
| 125 | container available-capacity {
|
| 126 | config false;
|
| 127 | uses capacity;
|
| 128 | description "Capacity available to be assigned.";
|
| 129 | }
|
| 130 | description "The TopologicalEntity derives capacity from the underlying realization.
|
| 131 | 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.
|
| 132 | A TopologicalEntity may be directly used in the view or may be assigned to another view for use.
|
| 133 | 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.
|
| 134 | Represents the capacity available to user (client) along with client interaction and usage.
|
| 135 | A TopologicalEntity may reflect one or more client protocols and one or more members for each profile.";
|
| 136 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 137 | grouping termination-pac {
|
| 138 | leaf termination-direction {
|
| 139 | type termination-direction;
|
| 140 | config false;
|
| 141 | description "The overall directionality of the LP.
|
| 142 | - A BIDIRECTIONAL LP will have some SINK and/or SOURCE flowss.
|
| 143 | - A SINK LP can only contain elements with SINK flows or CONTRA_DIRECTION_SOURCE flows
|
| 144 | - A SOURCE LP can only contain SOURCE flows or CONTRA_DIRECTION_SINK flows";
|
| 145 | }
|
| 146 | leaf termination-state {
|
| 147 | type termination-state;
|
| 148 | config false;
|
| 149 | description "Indicates whether the layer is terminated and if so how.";
|
| 150 | }
|
| 151 | description "Each transport layer is represented by a LayerProtocol (LP) instance. The LayerProtocol instances it can be used for controlling termination and monitoring functionality.
|
| 152 | 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.
|
| 153 | 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. ";
|
| 154 | }
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 155 |
|
| 156 | /***********************
|
| 157 | * package type-definitions
|
| 158 | **********************/
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 159 | typedef administrative-state {
|
| 160 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 161 | enum LOCKED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 162 | description "Users are administratively prohibited from making use of the resource.";
|
| 163 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 164 | enum UNLOCKED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 165 | description "Users are allowed to use the resource";
|
| 166 | }
|
| 167 | }
|
| 168 | description "The possible values of the administrativeState.";
|
| 169 | }
|
| 170 | typedef date-and-time {
|
| 171 | type string;
|
| 172 | description "This primitive type defines the date and time according to the following structure:
|
| 173 | yyyyMMddhhmmss.s[Z|{+|-}HHMm] where:
|
| 174 | yyyy 0000..9999 year
|
| 175 | MM 01..12 month
|
| 176 | dd 01..31 day
|
| 177 | hh 00..23 hour
|
| 178 | mm 00..59 minute
|
| 179 | ss 00..59 second
|
| 180 | s .0...9 tenth of second (set to .0 if EMS or NE cannot support this granularity)
|
| 181 | Z Z indicates UTC (rather than local time)
|
| 182 | {+|-} + or - delta from UTC
|
| 183 | HH 00..23 time zone difference in hours
|
| 184 | Mm 00..59 time zone difference in minutes.";
|
| 185 | }
|
| 186 | typedef directive-value {
|
| 187 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 188 | enum MINIMIZE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 189 | description "none";
|
| 190 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 191 | enum MAXIMIZE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 192 | description "none";
|
| 193 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 194 | enum ALLOW {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 195 | description "none";
|
| 196 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 197 | enum DISALLOW {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 198 | description "none";
|
| 199 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 200 | enum DONT_CARE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 201 | description "none";
|
| 202 | }
|
| 203 | }
|
| 204 | description "none";
|
| 205 | }
|
| 206 | typedef forwarding-direction {
|
| 207 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 208 | enum BIDIRECTIONAL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 209 | 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)";
|
| 210 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 211 | enum UNIDIRECTIONAL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 212 | description "The Forwarding entity has Ports that are either INPUT or OUTPUT. It has no BIDIRECTIONAL Ports.";
|
| 213 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 214 | enum UNDEFINED_OR_UNKNOWN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 215 | description "Not a normal state. The system is unable to determine the correct value.";
|
| 216 | }
|
| 217 | }
|
| 218 | description "The directionality of a Forwarding entity.";
|
| 219 | }
|
| 220 | typedef layer-protocol-name {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 221 | type enumeration {
|
| 222 | enum OTSiA {
|
| 223 | description "Models the OTSiA layer as per ITU-T G.872 (2017) version 4";
|
| 224 | }
|
| 225 | enum OCH {
|
| 226 | description "Models the legacy OCH layer as per ITU-T G.872";
|
| 227 | }
|
| 228 | enum OTU {
|
| 229 | description "Models the OTU layer as per ITU-T G.872";
|
| 230 | }
|
| 231 | enum ODU {
|
| 232 | description "Models the ODU layer as per ITU-T G.872";
|
| 233 | }
|
| 234 | enum ETH {
|
| 235 | description "Models the ETH layer as per ITU-T G.8010";
|
| 236 | }
|
| 237 | enum ETY {
|
| 238 | description "Models the ETY layer as per ITU-T G.8010";
|
| 239 | }
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 240 | }
|
| 241 | description "Provides a controlled list of layer protocol names and indicates the naming authority.
|
| 242 | 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.
|
| 243 | Layer protocol names include:
|
| 244 | - Layer 1 (L1): OTU, ODU
|
| 245 | - Layer 2 (L2): Carrier Grade Ethernet (ETY, ETH), MPLS-TP (MT)
|
| 246 | ";
|
| 247 | }
|
| 248 | typedef lifecycle-state {
|
| 249 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 250 | enum PLANNED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 251 | description "The resource is planned but is not present in the network.";
|
| 252 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 253 | enum POTENTIAL_AVAILABLE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 254 | 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.
|
| 255 | o When a potential resource is configured and allocated to a client it is moved to the “installed” state for that client.
|
| 256 | 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.";
|
| 257 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 258 | enum POTENTIAL_BUSY {
|
| 259 | 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.
|
| 260 | o When a potential resource is configured and allocated to a client it is moved to the “installed” state for that client.
|
| 261 | 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.";
|
| 262 | }
|
| 263 | enum INSTALLED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 264 | description "The resource is present in the network and is capable of providing the service expected.";
|
| 265 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 266 | enum PENDING_REMOVAL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 267 | description "The resource has been marked for removal";
|
| 268 | }
|
| 269 | }
|
| 270 | description "The possible values of the lifecycleState.";
|
| 271 | }
|
| 272 | grouping name-and-value {
|
| 273 | leaf value-name {
|
| 274 | type string;
|
| 275 | description "The name of the value. The value need not have a name.";
|
| 276 | }
|
| 277 | leaf value {
|
| 278 | type string;
|
| 279 | description "The value";
|
| 280 | }
|
| 281 | description "A scoped name-value pair";
|
| 282 | }
|
| 283 | typedef operational-state {
|
| 284 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 285 | enum DISABLED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 286 | 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.";
|
| 287 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 288 | enum ENABLED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 289 | description "The resource is partially or fully operable and available for use";
|
| 290 | }
|
| 291 | }
|
| 292 | description "The possible values of the operationalState.";
|
| 293 | }
|
| 294 | typedef port-direction {
|
| 295 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 296 | enum BIDIRECTIONAL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 297 | description "The Port has both an INPUT flow and an OUTPUT flow defined.";
|
| 298 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 299 | enum INPUT {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 300 | description "The Port only has definition for a flow into the Forwarding entity (i.e. an ingress flow).";
|
| 301 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 302 | enum OUTPUT {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 303 | description "The Port only has definition for a flow out of the Forwarding entity (i.e. an egress flow).";
|
| 304 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 305 | enum UNIDENTIFIED_OR_UNKNOWN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 306 | description "Not a normal state. The system is unable to determine the correct value.";
|
| 307 | }
|
| 308 | }
|
| 309 | description "The orientation of flow at the Port of a Forwarding entity";
|
| 310 | }
|
| 311 | typedef port-role {
|
| 312 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 313 | enum SYMMETRIC {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 314 | description "none";
|
| 315 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 316 | enum ROOT {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 317 | description "none";
|
| 318 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 319 | enum LEAF {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 320 | description "none";
|
| 321 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 322 | enum TRUNK {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 323 | description "none";
|
| 324 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 325 | enum UNKNOWN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 326 | description "none";
|
| 327 | }
|
| 328 | }
|
| 329 | description "The role of an end in the context of the function of the forwarding entity that it bounds";
|
| 330 | }
|
| 331 | typedef termination-direction {
|
| 332 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 333 | enum BIDIRECTIONAL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 334 | description "A Termination with both SINK and SOURCE flows.";
|
| 335 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 336 | enum SINK {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 337 | description "The flow is up the layer stack from the server side to the client side.
|
| 338 | Considering an example of a Termination function within the termination entity, a SINK flow:
|
| 339 | - will arrive at at the base of the termination function (the server side) where it is essentially at an INPUT to the termination component
|
| 340 | - then will be decoded and deconstructed
|
| 341 | - 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
|
| 342 | A SINK termination is one that only supports a SINK flow.
|
| 343 | A SINK termiation can be bound to an OUTPUT Port of a Forwarding entity";
|
| 344 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 345 | enum SOURCE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 346 | description "The flow is down the layer stack from the server side to the client side.
|
| 347 | Considering an example of a Termination function within the termination entity, a SOURCE flow:
|
| 348 | - will arrive at at the top of the termination function (the client side) where it is essentially at an INPUT to the termination component
|
| 349 | - then will be assembled with various overheads etc and will be coded
|
| 350 | - 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
|
| 351 | A SOURCE termination is one that only supports a SOURCE flow.
|
| 352 | A SOURCE termiation can be bound to an INPUT Port of a Forwarding entity";
|
| 353 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 354 | enum UNDEFINED_OR_UNKNOWN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 355 | description "Not a normal state. The system is unable to determine the correct value.";
|
| 356 | }
|
| 357 | }
|
| 358 | description "The directionality of a termination entity";
|
| 359 | }
|
| 360 | typedef termination-state {
|
| 361 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 362 | enum LP_CAN_NEVER_TERMINATE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 363 | description "A non-flexible case that can never be terminated.";
|
| 364 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 365 | enum LT_NOT_TERMINATED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 366 | description "A flexible termination that can terminate but is currently not terminated.";
|
| 367 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 368 | enum TERMINATED_SERVER_TO_CLIENT_FLOW {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 369 | description "A flexible termination that is currently terminated for server to client flow only.";
|
| 370 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 371 | enum TERMINATED_CLIENT_TO_SERVER_FLOW {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 372 | description "A flexible termination that is currently terminated for client to server flow only.";
|
| 373 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 374 | enum TERMINATED_BIDIRECTIONAL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 375 | description "A flexible termination that is currently terminated in both directions of flow.";
|
| 376 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 377 | enum LT_PERMENANTLY_TERMINATED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 378 | 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).";
|
| 379 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 380 | enum TERMINATION_STATE_UNKNOWN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 381 | description "There TerminationState cannot be determined.";
|
| 382 | }
|
| 383 | }
|
| 384 | description "Provides support for the range of behaviours and specific states that an LP can take with respect to termination of the signal.
|
| 385 | Indicates to what degree the LayerTermination is terminated.";
|
| 386 | }
|
| 387 | typedef uuid {
|
| 388 | type string;
|
| 389 | description "The univeral ID value where the mechanism for generation is defned by some authority not directly referenced in the structure.
|
| 390 | UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
|
| 391 | 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}
|
| 392 | Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
|
| 393 | }
|
| 394 | grouping capacity {
|
| 395 | container total-size {
|
| 396 | uses capacity-value;
|
| 397 | description "Total capacity of the TopologicalEntity in MB/s. In case of bandwidthProfile, this is expected to same as the committedInformationRate.";
|
| 398 | }
|
| 399 | container bandwidth-profile {
|
| 400 | uses bandwidth-profile;
|
| 401 | description "none";
|
| 402 | }
|
| 403 | description "Information on capacity of a particular TopologicalEntity.";
|
| 404 | }
|
| 405 | grouping bandwidth-profile {
|
| 406 | leaf bw-profile-type {
|
| 407 | type bandwidth-profile-type;
|
| 408 | description "none";
|
| 409 | }
|
| 410 | container committed-information-rate {
|
| 411 | uses capacity-value;
|
| 412 | description "none";
|
| 413 | }
|
| 414 | container committed-burst-size {
|
| 415 | uses capacity-value;
|
| 416 | description "none";
|
| 417 | }
|
| 418 | container peak-information-rate {
|
| 419 | uses capacity-value;
|
| 420 | description "none";
|
| 421 | }
|
| 422 | container peak-burst-size {
|
| 423 | uses capacity-value;
|
| 424 | description "none";
|
| 425 | }
|
| 426 | leaf color-aware {
|
| 427 | type boolean;
|
| 428 | description "none";
|
| 429 | }
|
| 430 | leaf coupling-flag {
|
| 431 | type boolean;
|
| 432 | description "none";
|
| 433 | }
|
| 434 | description "none";
|
| 435 | }
|
| 436 | grouping capacity-value {
|
| 437 | leaf value {
|
| 438 | type uint64;
|
| 439 | description "none";
|
| 440 | }
|
| 441 | leaf unit {
|
| 442 | type capacity-unit;
|
| 443 | description "none";
|
| 444 | }
|
| 445 | description "The Capacity (Bandwidth) values that are applicable for digital layers.";
|
| 446 | }
|
| 447 | typedef capacity-unit {
|
| 448 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 449 | enum TB {
|
| 450 | description "Indicates that the integer CapacityValue is in TeraBytes";
|
| 451 | }
|
| 452 | enum TBPS {
|
| 453 | description "Indicates that the integer CapacityValue is in Terabit-per-second";
|
| 454 | }
|
| 455 | enum GB {
|
| 456 | description "Indicates that the integer CapacityValue is in GigaBytes";
|
| 457 | }
|
| 458 | enum GBPS {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 459 | description "Indicates that the integer CapacityValue is in Gigabit-per-second";
|
| 460 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 461 | enum MB {
|
| 462 | description "Indicates that the integer CapacityValue is in MegaBytes";
|
| 463 | }
|
| 464 | enum MBPS {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 465 | description "Indicates that the integer CapacityValue is in Megabit-per-second";
|
| 466 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 467 | enum KB {
|
| 468 | description "Indicates that the integer CapacityValue is in KiloBytes";
|
| 469 | }
|
| 470 | enum KBPS {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 471 | description "Indicates that the integer CapacityValue is in Kilobit-per-second";
|
| 472 | }
|
| 473 | }
|
| 474 | description "none";
|
| 475 | }
|
| 476 | typedef bandwidth-profile-type {
|
| 477 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 478 | enum MEF_10.x {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 479 | description "none";
|
| 480 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 481 | enum RFC_2697 {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 482 | description "none";
|
| 483 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 484 | enum RFC_2698 {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 485 | description "none";
|
| 486 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 487 | enum RFC_4115 {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 488 | description "none";
|
| 489 | }
|
| 490 | }
|
| 491 | description "none";
|
| 492 | }
|
| 493 | grouping time-range {
|
| 494 | leaf end-time {
|
| 495 | type date-and-time;
|
| 496 | description "none";
|
| 497 | }
|
| 498 | leaf start-time {
|
| 499 | type date-and-time;
|
| 500 | description "none";
|
| 501 | }
|
| 502 | description "none";
|
| 503 | }
|
| 504 |
|
| 505 | /***********************
|
| 506 | * package interfaces
|
| 507 | **********************/
|
| 508 | rpc get-service-interface-point-details {
|
| 509 | description "none";
|
| 510 | input {
|
| 511 | leaf sip-id-or-name {
|
| 512 | type string;
|
| 513 | description "none";
|
| 514 | }
|
| 515 | }
|
| 516 | output {
|
| 517 | container sip {
|
| 518 | uses service-interface-point;
|
| 519 | description "none";
|
| 520 | }
|
| 521 | }
|
| 522 | }
|
| 523 | rpc get-service-interface-point-list {
|
| 524 | description "none";
|
| 525 | output {
|
| 526 | list sip {
|
| 527 | uses service-interface-point;
|
| 528 | description "none";
|
| 529 | }
|
| 530 | }
|
| 531 | }
|
| 532 | rpc update-service-interface-point {
|
| 533 | description "none";
|
| 534 | input {
|
| 535 | leaf sip-id-or-name {
|
| 536 | type string;
|
| 537 | description "none";
|
| 538 | }
|
| 539 | leaf state {
|
| 540 | type administrative-state;
|
| 541 | description "none";
|
| 542 | }
|
| 543 | }
|
| 544 | }
|
| 545 |
|
| 546 | }
|