Konstantinos Kanonakis | 0c37448 | 2017-01-18 15:03:47 -0600 | [diff] [blame] | 1 | |
| 2 | |
| 3 | { |
| 4 | "swagger": "2.0", |
| 5 | "info": { |
| 6 | "description": "MEF Forum Service Configuration and Activation API", |
| 7 | "version": "1.0", |
| 8 | "title": "MEF SCA API" |
| 9 | }, |
| 10 | "basePath": "\/onos\/mef-sca-api", |
| 11 | "schemes": [ |
| 12 | "http" |
| 13 | ], |
| 14 | "produces": [ |
| 15 | "application\/json" |
| 16 | ], |
| 17 | "paths": { |
| 18 | "\/SCA_ETH_FDFr_EC": { |
| 19 | "post": { |
| 20 | "tags": [ |
| 21 | "SCA_ETH_FDFr_EC" |
| 22 | ], |
| 23 | "description": "Create, Create and Activate Ethernet Flow Domain Fragment. Use state variable for action. ", |
| 24 | "deprecated": false, |
| 25 | "parameters": [ |
| 26 | { |
| 27 | "name": "SCA_ETH_FDFr_EC", |
| 28 | "required": true, |
| 29 | "in": "body", |
| 30 | "description": "SCA_ETH_FDFr_EC", |
| 31 | "schema": { |
| 32 | "$ref": "#\/definitions\/SCA_ETH_FDFr_EC" |
| 33 | } |
| 34 | } |
| 35 | ], |
| 36 | "responses": { |
| 37 | "200": { |
| 38 | "description": "Ethernet Flow Domain Fragment EC", |
| 39 | "schema": { |
| 40 | "$ref": "#\/definitions\/SCA_ETH_FDFr_EC" |
| 41 | } |
| 42 | }, |
| 43 | "400": { |
| 44 | "description": "Error has occurred", |
| 45 | "schema": { |
| 46 | "$ref": "#\/definitions\/SCA_Error_Response" |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | }, |
| 52 | "\/SCA_ETH_FDFr_EC\/{id}": { |
| 53 | "patch": { |
| 54 | "tags": [ |
| 55 | "SCA_ETH_FDFr_EC" |
| 56 | ], |
| 57 | "description": "Activate or Deactivate an existing Ethernet Flow Domain Fragment (SCA_ETH_FDFr_EC) identified with {id}. Use state variable for action. ", |
| 58 | "deprecated": false, |
| 59 | "parameters": [ |
| 60 | { |
| 61 | "name": "id", |
| 62 | "in": "path", |
| 63 | "required": true, |
| 64 | "description": "id of Ethernet Flow Domain Fragment", |
| 65 | "type": "string" |
| 66 | }, |
| 67 | { |
| 68 | "name": "state", |
| 69 | "in": "query", |
| 70 | "description": "state of SCA_ETH_FDFr_EC", |
| 71 | "type": "string", |
| 72 | "enum": [ |
| 73 | "active", |
| 74 | "inactive", |
| 75 | "suspended", |
| 76 | "terminated" |
| 77 | ], |
| 78 | "required": true |
| 79 | } |
| 80 | ], |
| 81 | "responses": { |
| 82 | "200": { |
| 83 | "description": "Ethernet Flow Domain Fragment EC", |
| 84 | "schema": { |
| 85 | "$ref": "#\/definitions\/SCA_ETH_FDFr_EC" |
| 86 | } |
| 87 | }, |
| 88 | "400": { |
| 89 | "description": "Invalid SCA_ETH_FDFr PATCH" |
| 90 | } |
| 91 | } |
| 92 | }, |
| 93 | "delete": { |
| 94 | "tags": [ |
| 95 | "SCA_ETH_FDFr_EC" |
| 96 | ], |
| 97 | "operationId": "deleteSCA_ETH_FDFr_EC", |
| 98 | "summary": "Delete SCA_ETH_FDFr_EC with {id}", |
| 99 | "description": "Delete Ethernet Flow Domain Fragment with {id}", |
| 100 | "deprecated": false, |
| 101 | "parameters": [ |
| 102 | { |
| 103 | "name": "id", |
| 104 | "in": "path", |
| 105 | "required": true, |
| 106 | "description": "id of Ethernet Flow Domain Fragment", |
| 107 | "type": "string" |
| 108 | } |
| 109 | ], |
| 110 | "responses": { |
| 111 | "200": { |
| 112 | "description": "Delete SCA_ETH_FDFr_EC uniquely identified by id", |
| 113 | "schema": { |
| 114 | "$ref": "#\/definitions\/SCA_ETH_FDFr_EC" |
| 115 | } |
| 116 | }, |
| 117 | "400": { |
| 118 | "description": "Invalid SCA_ETH_FDFr_EC identifier" |
| 119 | } |
| 120 | } |
| 121 | }, |
| 122 | "get": { |
| 123 | "tags": [ |
| 124 | "SCA_ETH_FDFr_EC" |
| 125 | ], |
| 126 | "operationId": "findSCA_ETH_FDFr_EC_ById", |
| 127 | "summary": "Finds SCA_ETH_FDFr by id", |
| 128 | "description": "Finds Ethernet Flow Domain Fragment by id", |
| 129 | "deprecated": false, |
| 130 | "parameters": [ |
| 131 | { |
| 132 | "name": "id", |
| 133 | "in": "path", |
| 134 | "required": true, |
| 135 | "description": "id of Ethernet Flow Domain Fragment", |
| 136 | "type": "string" |
| 137 | } |
| 138 | ], |
| 139 | "responses": { |
| 140 | "200": { |
| 141 | "description": "SCA_ETH_FDFr_EC", |
| 142 | "schema": { |
| 143 | "$ref": "#\/definitions\/SCA_ETH_FDFr_EC" |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | }, |
| 149 | "\/SCA_ETH_FDFr_EC\/findByState": { |
| 150 | "get": { |
| 151 | "tags": [ |
| 152 | "SCA_ETH_FDFr_EC" |
| 153 | ], |
| 154 | "operationId": "findSCA_ETH_FDFr_EC_ByState", |
| 155 | "summary": "Find SCA_ETH_FDFr_EC by state", |
| 156 | "description": "Finds Ethernet Flow Domain Fragments based on state", |
| 157 | "deprecated": false, |
| 158 | "parameters": [ |
| 159 | { |
| 160 | "name": "state", |
| 161 | "in": "query", |
| 162 | "required": false, |
| 163 | "description": "", |
| 164 | "type": "string" |
| 165 | } |
| 166 | ], |
| 167 | "responses": { |
| 168 | "200": { |
| 169 | "description": "SCA_ETH_FDFr_EC", |
| 170 | "schema": { |
| 171 | "type": "array", |
| 172 | "items": { |
| 173 | "$ref": "#\/definitions\/SCA_ETH_FDFr_EC" |
| 174 | } |
| 175 | } |
| 176 | } |
| 177 | } |
| 178 | } |
| 179 | }, |
| 180 | "\/SCA_ETH_FPP_UNI_N": { |
| 181 | "post": { |
| 182 | "tags": [ |
| 183 | "SCA_ETH_FPP_UNI_N" |
| 184 | ], |
| 185 | "operationId": "createSCA_ETH_FPP_UNI_N", |
| 186 | "summary": "Create\/Create and Activate a SCA_ETH_FPP_UNI_N", |
| 187 | "description": "Create or Create and Activate an Ethernet Flow Point Pool UNI_N", |
| 188 | "deprecated": false, |
| 189 | "parameters": [ |
| 190 | { |
| 191 | "name": "uni", |
| 192 | "in": "body", |
| 193 | "required": true, |
| 194 | "schema": { |
| 195 | "$ref": "#\/definitions\/SCA_ETH_FPP_UNI_N" |
| 196 | } |
| 197 | } |
| 198 | ], |
| 199 | "responses": { |
| 200 | "201": { |
| 201 | "description": "uni", |
| 202 | "schema": { |
| 203 | "$ref": "#\/definitions\/SCA_ETH_FPP_UNI_N" |
| 204 | } |
| 205 | } |
| 206 | } |
| 207 | }, |
| 208 | "get": { |
| 209 | "tags": [ |
| 210 | "SCA_ETH_FPP_UNI_N" |
| 211 | ], |
| 212 | "operationId": "findSCA_ETH_FPP_UNI_N", |
| 213 | "summary": "Find SCA_ETH_FPP_UNI_N(s) managed by Domain Controller", |
| 214 | "description": "Find all Ethernet Flow Point Pool UNI_Ns managed b Domain Controller", |
| 215 | "deprecated": false, |
| 216 | "parameters": [ |
| 217 | { |
| 218 | "name": "fields", |
| 219 | "in": "query", |
| 220 | "required": false, |
| 221 | "description": "", |
| 222 | "type": "string" |
| 223 | } |
| 224 | ], |
| 225 | "responses": { |
| 226 | "200": { |
| 227 | "description": "List of SCA_ETH_FPP_UNI_N", |
| 228 | "schema": { |
| 229 | "type": "array", |
| 230 | "items": { |
| 231 | "$ref": "#\/definitions\/SCA_ETH_FPP_UNI_N" |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | } |
| 236 | } |
| 237 | }, |
| 238 | "\/SCA_ETH_FPP_UNI_N\/{uniID}": { |
| 239 | "delete": { |
| 240 | "tags": [ |
| 241 | "SCA_ETH_FPP_UNI_N" |
| 242 | ], |
| 243 | "operationId": "deleteSCA_ETH_FPP_UNI_N", |
| 244 | "summary": "Delete SCA_ETH_FPP_UNI_N with {id}", |
| 245 | "description": "Delete Ethernet Flow Point Pool UNI_N with {id}", |
| 246 | "deprecated": false, |
| 247 | "parameters": [ |
| 248 | { |
| 249 | "name": "uniID", |
| 250 | "in": "path", |
| 251 | "required": true, |
| 252 | "type": "string" |
| 253 | } |
| 254 | ], |
| 255 | "responses": { |
| 256 | "204": { |
| 257 | "description": "Success" |
| 258 | } |
| 259 | } |
| 260 | }, |
| 261 | "get": { |
| 262 | "tags": [ |
| 263 | "SCA_ETH_FPP_UNI_N" |
| 264 | ], |
| 265 | "operationId": "getSCA_ETH_FPP_UNI_N", |
| 266 | "summary": "Get all SCA_ETH_FPP_UNI_N managed by Domain Controller", |
| 267 | "description": "Get all Ethernet Flow Point Pool UNI_Ns managed by Domain Controller", |
| 268 | "deprecated": false, |
| 269 | "parameters": [ |
| 270 | { |
| 271 | "name": "uniID", |
| 272 | "in": "path", |
| 273 | "required": true, |
| 274 | "type": "string" |
| 275 | }, |
| 276 | { |
| 277 | "name": "fields", |
| 278 | "in": "query", |
| 279 | "required": false, |
| 280 | "description": "", |
| 281 | "type": "string" |
| 282 | } |
| 283 | ], |
| 284 | "responses": { |
| 285 | "200": { |
| 286 | "description": "SCA_ETH_FPP_UNI_N", |
| 287 | "schema": { |
| 288 | "$ref": "#\/definitions\/SCA_ETH_FPP_UNI_N" |
| 289 | } |
| 290 | } |
| 291 | } |
| 292 | }, |
| 293 | "patch": { |
| 294 | "tags": [ |
| 295 | "SCA_ETH_FPP_UNI_N" |
| 296 | ], |
| 297 | "operationId": "patchSCA_ETH_FPP_UNI_N", |
| 298 | "summary": "Modify SCA_ETH_FPP_UNI_N", |
| 299 | "description": "Modify Ethernet Flow Point Pool UNI_N", |
| 300 | "deprecated": false, |
| 301 | "parameters": [ |
| 302 | { |
| 303 | "name": "uniID", |
| 304 | "in": "path", |
| 305 | "required": true, |
| 306 | "type": "string" |
| 307 | }, |
| 308 | { |
| 309 | "name": "individual", |
| 310 | "in": "body", |
| 311 | "required": true, |
| 312 | "schema": { |
| 313 | "$ref": "#\/definitions\/SCA_ETH_FPP_UNI_N" |
| 314 | } |
| 315 | } |
| 316 | ], |
| 317 | "responses": { |
| 318 | "200": { |
| 319 | "description": "Success Individual", |
| 320 | "schema": { |
| 321 | "$ref": "#\/definitions\/SCA_ETH_FPP_UNI_N" |
| 322 | } |
| 323 | } |
| 324 | } |
| 325 | } |
| 326 | }, |
| 327 | "\/SCA_ETH_Flow_Domain": { |
| 328 | "get": { |
| 329 | "tags": [ |
| 330 | "SCA_ETH_Flow_Domain" |
| 331 | ], |
| 332 | "operationId": "getSCA_ETH_Flow_Domain", |
| 333 | "summary": "Get all SCA_ETH_Flow_Domains", |
| 334 | "description": "List all of Ethernet Flow Domains managed by Domain Controller", |
| 335 | "deprecated": false, |
| 336 | "responses": { |
| 337 | "200": { |
| 338 | "description": "List of SCA_ETH_Flow_Domains", |
| 339 | "schema": { |
| 340 | "type": "array", |
| 341 | "items": { |
| 342 | "$ref": "#\/definitions\/SCA_ETH_Flow_Domain" |
| 343 | } |
| 344 | } |
| 345 | } |
| 346 | } |
| 347 | } |
| 348 | }, |
| 349 | "\/SCA_ETH_Flow_Domain\/{id}": { |
| 350 | "get": { |
| 351 | "tags": [ |
| 352 | "SCA_ETH_Flow_Domain" |
| 353 | ], |
| 354 | "operationId": "getSCA_ETH_Flow_DomainById", |
| 355 | "summary": "Get the SCA_ETH_Flow_Domain identified by {id}", |
| 356 | "description": "List the SCA Ethernet Flow Domain managed by Domain Controller with {id}", |
| 357 | "deprecated": false, |
| 358 | "parameters": [ |
| 359 | { |
| 360 | "name": "id", |
| 361 | "in": "path", |
| 362 | "required": true, |
| 363 | "type": "string" |
| 364 | } |
| 365 | ], |
| 366 | "responses": { |
| 367 | "200": { |
| 368 | "description": "List of SCA_Flow_Domains", |
| 369 | "schema": { |
| 370 | "type": "array", |
| 371 | "items": { |
| 372 | "$ref": "#\/definitions\/SCA_ETH_Flow_Domain" |
| 373 | } |
| 374 | } |
| 375 | } |
| 376 | } |
| 377 | } |
| 378 | } |
| 379 | }, |
| 380 | "definitions": { |
| 381 | "SCA_ETH_Flow_Point": { |
| 382 | "type": "object", |
| 383 | "properties": { |
| 384 | "evcPerUniCfgIdentifier": { |
| 385 | "type": "string" |
| 386 | }, |
| 387 | "scaEthFppUniN": { |
| 388 | "type": "object", |
| 389 | "$ref": "#\/definitions\/SCA_ETH_FPP_UNI_N" |
| 390 | }, |
| 391 | "classOfServiceIdentifierEvc": { |
| 392 | "type": "object", |
| 393 | "properties": { |
| 394 | "evc": { |
| 395 | "type": "string" |
| 396 | }, |
| 397 | "classOfServiceName": { |
| 398 | "type": "string" |
| 399 | } |
| 400 | } |
| 401 | }, |
| 402 | "classOfServiceIdentifierPcp": { |
| 403 | "type": "object", |
| 404 | "properties": { |
| 405 | "cosId": { |
| 406 | "type": "string" |
| 407 | }, |
| 408 | "classOfServiceName": { |
| 409 | "type": "string" |
| 410 | } |
| 411 | } |
| 412 | }, |
| 413 | "classOfServiceIdentifierIp": { |
| 414 | "type": "object", |
| 415 | "properties": { |
| 416 | "ipv4": { |
| 417 | "type": "string" |
| 418 | }, |
| 419 | "ipv6": { |
| 420 | "type": "string" |
| 421 | }, |
| 422 | "classOfServiceName": { |
| 423 | "type": "string" |
| 424 | } |
| 425 | } |
| 426 | }, |
| 427 | "classOfServiceIdentifierL2CP": { |
| 428 | "type": "object", |
| 429 | "properties": { |
| 430 | "L2cpEvcGrpEntry": { |
| 431 | "type": "string" |
| 432 | }, |
| 433 | "classOfServiceName": { |
| 434 | "type": "string" |
| 435 | } |
| 436 | } |
| 437 | }, |
| 438 | "classOfServiceIdentifierSOAM": { |
| 439 | "type": "object", |
| 440 | "properties": { |
| 441 | "classOfServiceName": { |
| 442 | "type": "string" |
| 443 | } |
| 444 | } |
| 445 | }, |
| 446 | "colorIdentifier": { |
| 447 | "type": "object", |
| 448 | "properties": { |
| 449 | "colorIdentifierBasedOnEvc": { |
| 450 | "type": "object", |
| 451 | "properties": { |
| 452 | "evcId": { |
| 453 | "type": "string" |
| 454 | }, |
| 455 | "color": { |
| 456 | "type": "string" |
| 457 | } |
| 458 | } |
| 459 | } |
| 460 | } |
| 461 | }, |
| 462 | "egressEquivalenceClassIdentifierEvc": { |
| 463 | "type": "object", |
| 464 | "properties": { |
| 465 | "evc": { |
| 466 | "type": "string" |
| 467 | }, |
| 468 | "egressEquivalenceClass": { |
| 469 | "type": "string" |
| 470 | } |
| 471 | } |
| 472 | }, |
| 473 | "egressEquivalenceClassIdentifierCos": { |
| 474 | "type": "object", |
| 475 | "properties": { |
| 476 | "cosId": { |
| 477 | "type": "string" |
| 478 | }, |
| 479 | "egressEquivalenceClass": { |
| 480 | "type": "string" |
| 481 | } |
| 482 | } |
| 483 | }, |
| 484 | "egressEquivalenceClassIdentifierIp": { |
| 485 | "type": "object", |
| 486 | "properties": { |
| 487 | "ipv4": { |
| 488 | "type": "string" |
| 489 | }, |
| 490 | "ipv6": { |
| 491 | "type": "string" |
| 492 | }, |
| 493 | "egressEquivalenceClass": { |
| 494 | "type": "string" |
| 495 | } |
| 496 | } |
| 497 | }, |
| 498 | "egressEquivalenceClassIdentifierL2CP": { |
| 499 | "type": "object", |
| 500 | "properties": { |
| 501 | "L2cpEvcGrpEntry": { |
| 502 | "type": "string" |
| 503 | }, |
| 504 | "egressEquivalenceClass": { |
| 505 | "type": "string" |
| 506 | } |
| 507 | } |
| 508 | }, |
| 509 | "egressEquivalenceClassIdentifierSOAM": { |
| 510 | "type": "object", |
| 511 | "properties": { |
| 512 | "egressEquivalenceClass": { |
| 513 | "type": "string" |
| 514 | } |
| 515 | } |
| 516 | }, |
| 517 | "ingressBandwidthProfilePerEvc": { |
| 518 | "type": "object", |
| 519 | "properties": { |
| 520 | "envelopeId": { |
| 521 | "type": "string" |
| 522 | }, |
| 523 | "rank": { |
| 524 | "type": "string" |
| 525 | }, |
| 526 | "bwpCfgEirMax": { |
| 527 | "type": "integer" |
| 528 | }, |
| 529 | "bwpCfgIdentifier": { |
| 530 | "type": "string" |
| 531 | }, |
| 532 | "bwpCfgCir": { |
| 533 | "type": "integer" |
| 534 | }, |
| 535 | "bwpCfgCirMax": { |
| 536 | "type": "integer" |
| 537 | }, |
| 538 | "bwpCfgCbs": { |
| 539 | "type": "integer" |
| 540 | }, |
| 541 | "bwpCfgEir": { |
| 542 | "type": "integer" |
| 543 | }, |
| 544 | "bwpCfgEbs": { |
| 545 | "type": "integer" |
| 546 | }, |
| 547 | "bwpCfgCm": { |
| 548 | "type": "string" |
| 549 | }, |
| 550 | "bwpCfgCf": { |
| 551 | "type": "string" |
| 552 | } |
| 553 | } |
| 554 | }, |
| 555 | "ingressBandwidthProfilePerClassOfServiceIdentifier": { |
| 556 | "type": "object", |
| 557 | "properties": { |
| 558 | "envelopeId": { |
| 559 | "type": "string" |
| 560 | }, |
| 561 | "rank": { |
| 562 | "type": "string" |
| 563 | }, |
| 564 | "bwpCfgEirMax": { |
| 565 | "type": "integer" |
| 566 | }, |
| 567 | "bwpCfgIdentifier": { |
| 568 | "type": "string" |
| 569 | }, |
| 570 | "bwpCfgCir": { |
| 571 | "type": "integer" |
| 572 | }, |
| 573 | "bwpCfgCirMax": { |
| 574 | "type": "integer" |
| 575 | }, |
| 576 | "bwpCfgCbs": { |
| 577 | "type": "integer" |
| 578 | }, |
| 579 | "bwpCfgEir": { |
| 580 | "type": "integer" |
| 581 | }, |
| 582 | "BwpCfgEbs": { |
| 583 | "type": "integer" |
| 584 | }, |
| 585 | "bwpCfgCm": { |
| 586 | "type": "string" |
| 587 | }, |
| 588 | "bwpCfgCf": { |
| 589 | "type": "string" |
| 590 | }, |
| 591 | "coS": { |
| 592 | "type": "string" |
| 593 | } |
| 594 | } |
| 595 | }, |
| 596 | "egressBandwidthProfilePerEvc": { |
| 597 | "type": "object", |
| 598 | "properties": { |
| 599 | "envelopeId": { |
| 600 | "type": "string" |
| 601 | }, |
| 602 | "rank": { |
| 603 | "type": "string" |
| 604 | }, |
| 605 | "bwpCfgEirMax": { |
| 606 | "type": "integer" |
| 607 | }, |
| 608 | "bwpCfgIdentifier": { |
| 609 | "type": "string" |
| 610 | }, |
| 611 | "bwpCfgCir": { |
| 612 | "type": "integer" |
| 613 | }, |
| 614 | "bwpCfgCirMax": { |
| 615 | "type": "integer" |
| 616 | }, |
| 617 | "bwpCfgCbs": { |
| 618 | "type": "integer" |
| 619 | }, |
| 620 | "bwpCfgEir": { |
| 621 | "type": "integer" |
| 622 | }, |
| 623 | "bwpCfgEbs": { |
| 624 | "type": "integer" |
| 625 | }, |
| 626 | "bwpCfgCm": { |
| 627 | "type": "string" |
| 628 | }, |
| 629 | "bwpCfgCf": { |
| 630 | "type": "string" |
| 631 | } |
| 632 | } |
| 633 | }, |
| 634 | "egressBandwidthProfilePerEgressEquivalenceClassIdentifier": { |
| 635 | "type": "object", |
| 636 | "properties": { |
| 637 | "envelopeId": { |
| 638 | "type": "string" |
| 639 | }, |
| 640 | "rank": { |
| 641 | "type": "string" |
| 642 | }, |
| 643 | "bwpCfgEirMax": { |
| 644 | "type": "integer" |
| 645 | }, |
| 646 | "bwpCfgIdentifier": { |
| 647 | "type": "string" |
| 648 | }, |
| 649 | "bwpCfgCir": { |
| 650 | "type": "integer" |
| 651 | }, |
| 652 | "bwpCfgCirMax": { |
| 653 | "type": "integer" |
| 654 | }, |
| 655 | "bwpCfgCbs": { |
| 656 | "type": "integer" |
| 657 | }, |
| 658 | "bwpCfgEir": { |
| 659 | "type": "integer" |
| 660 | }, |
| 661 | "bwpCfgEbs": { |
| 662 | "type": "integer" |
| 663 | }, |
| 664 | "bwpCfgCm": { |
| 665 | "type": "string" |
| 666 | }, |
| 667 | "bwpCfgCf": { |
| 668 | "type": "string" |
| 669 | }, |
| 670 | "coS": { |
| 671 | "type": "string" |
| 672 | } |
| 673 | } |
| 674 | }, |
| 675 | "sourceMacAddressLimit": { |
| 676 | "type": "string" |
| 677 | }, |
| 678 | "sourceMacAddressLimitN": { |
| 679 | "type": "integer" |
| 680 | }, |
| 681 | "sourceMacAddressLimitT": { |
| 682 | "type": "integer" |
| 683 | }, |
| 684 | "testMeg": { |
| 685 | "type": "string" |
| 686 | }, |
| 687 | "subscriberMegMip": { |
| 688 | "type": "string" |
| 689 | } |
| 690 | }, |
| 691 | "required": [ |
| 692 | "evcPerUniCfgIdentifier", |
| 693 | "classOfServiceIdentifierEvc", |
| 694 | "classOfServiceIdentifierPcp", |
| 695 | "classOfServiceIdentifierIp", |
| 696 | "classOfServiceIdentifierL2CP", |
| 697 | "classOfServiceIdentifierSOAM", |
| 698 | "colorIdentifier", |
| 699 | "egressEquivalenceClassIdentifierEvc", |
| 700 | "egressEquivalenceClassIdentifierCos", |
| 701 | "egressEquivalenceClassIdentifierIp", |
| 702 | "egressEquivalenceClassIdentifierL2CP", |
| 703 | "egressEquivalenceClassIdentifierSOAM", |
| 704 | "ingressBandwidthProfilePerEvc", |
| 705 | "ingressBandwidthProfilePerClassOfServiceIdentifier", |
| 706 | "egressBandwidthProfilePerEvc", |
| 707 | "egressBandwidthProfilePerEgressEquivalenceClassIdentifier", |
| 708 | "sourceMacAddressLimit", |
| 709 | "sourceMacAddressLimitN", |
| 710 | "sourceMacAddressLimitT", |
| 711 | "testMeg", |
| 712 | "subscriberMegMip" |
| 713 | ] |
| 714 | }, |
| 715 | "SCA_ETH_IVC_End_Point": { |
| 716 | "type": "object", |
| 717 | "properties": { |
| 718 | "interfaceDescription": { |
| 719 | "type": "string" |
| 720 | }, |
| 721 | "scaEthFppInniN": { |
| 722 | "type": "object", |
| 723 | "$ref": "#\/definitions\/SCA_ETH_FPP_INNI_N" |
| 724 | }, |
| 725 | "stag": { |
| 726 | "type": "string" |
| 727 | }, |
| 728 | "tpid": { |
| 729 | "type": "string" |
| 730 | }, |
| 731 | "mtu": { |
| 732 | "type": "string" |
| 733 | }, |
| 734 | "speed": { |
| 735 | "type": "string" |
| 736 | } |
| 737 | }, |
| 738 | "required": [ |
| 739 | "interfaceDescription", |
| 740 | "stag", |
| 741 | "tpid", |
| 742 | "mtu", |
| 743 | "speed" |
| 744 | ] |
| 745 | }, |
| 746 | "SCA_ETH_FPP_UNI_N": { |
| 747 | "type": "object", |
| 748 | "properties": { |
| 749 | "transportPort": { |
| 750 | "type": "object", |
| 751 | "properties": { |
| 752 | "href": { |
| 753 | "type": "string" |
| 754 | }, |
| 755 | "CLLI": { |
| 756 | "type": "string" |
| 757 | }, |
| 758 | "Vendor": { |
| 759 | "type": "string" |
| 760 | }, |
| 761 | "Hostname": { |
| 762 | "type": "string" |
| 763 | }, |
| 764 | "Shelf": { |
| 765 | "type": "string" |
| 766 | }, |
| 767 | "Slot": { |
| 768 | "type": "string" |
| 769 | }, |
| 770 | "Subslot": { |
| 771 | "type": "string" |
| 772 | }, |
| 773 | "Port": { |
| 774 | "type": "string" |
| 775 | }, |
| 776 | "Rack": { |
| 777 | "type": "string" |
| 778 | }, |
| 779 | "RemoteUnit": { |
| 780 | "type": "string" |
| 781 | }, |
| 782 | "RemoteUnitSlot": { |
| 783 | "type": "string" |
| 784 | }, |
| 785 | "RemoteUnitPort": { |
| 786 | "type": "string" |
| 787 | } |
| 788 | }, |
| 789 | "required": [ |
| 790 | "CLLI", |
| 791 | "Hostname", |
| 792 | "Port" |
| 793 | ] |
| 794 | }, |
| 795 | "interfaceCfgIdentifier": { |
| 796 | "description": "MEF 10.3 Section 9.1 UNI ID Service attribute", |
| 797 | "type": "string" |
| 798 | }, |
| 799 | "physicalLayer": { |
| 800 | "description": "MEF 10.3, Section 9.2 Physical Layer Service attribute", |
| 801 | "type": "string" |
| 802 | }, |
| 803 | "physicalLayerDuplexMode": { |
| 804 | "description": "MEF 10.3, Section 9.2 Physical Layer Service attribute Duplex Mode", |
| 805 | "type": "string" |
| 806 | }, |
| 807 | "synchronousMode": { |
| 808 | "description": "MEF 10.3, Section 9.3 Synchronous Mode Service Attribute", |
| 809 | "type": "string" |
| 810 | }, |
| 811 | "numberOfLinks": { |
| 812 | "description": "MEF 10.3, Section 9.4 Number of Links Service Attribute", |
| 813 | "type": "integer" |
| 814 | }, |
| 815 | "uniResiliency": { |
| 816 | "description": "MEF 10.3, Section 9.5 UNI Resiliency Service Attribute", |
| 817 | "type": "string" |
| 818 | }, |
| 819 | "frameFormat": { |
| 820 | "type": "string" |
| 821 | }, |
| 822 | "uniMaximumServiceFrameSize": { |
| 823 | "type": "integer" |
| 824 | }, |
| 825 | "multiplexing": { |
| 826 | "type": "string" |
| 827 | }, |
| 828 | "uniCfgCeVidUntagged": { |
| 829 | "type": "integer" |
| 830 | }, |
| 831 | "uniCfgCePriorityUntagged": { |
| 832 | "type": "integer" |
| 833 | }, |
| 834 | "ceVlanId": { |
| 835 | "type": "string" |
| 836 | }, |
| 837 | "evcId": { |
| 838 | "type": "string" |
| 839 | }, |
| 840 | "interfaceStatusMaxVc": { |
| 841 | "type": "integer" |
| 842 | }, |
| 843 | "bundling": { |
| 844 | "type": "string" |
| 845 | }, |
| 846 | "allToOneBundling": { |
| 847 | "type": "string" |
| 848 | }, |
| 849 | "interfaceCfgIngressBwp": { |
| 850 | "type": "object", |
| 851 | "properties": { |
| 852 | "envelopeId": { |
| 853 | "type": "string" |
| 854 | }, |
| 855 | "rank": { |
| 856 | "type": "string" |
| 857 | }, |
| 858 | "bwpCfgEirMax": { |
| 859 | "type": "integer" |
| 860 | }, |
| 861 | "bwpCfgIdentifier": { |
| 862 | "type": "string" |
| 863 | }, |
| 864 | "bwpCfgCir": { |
| 865 | "type": "integer" |
| 866 | }, |
| 867 | "bwpCfgCirMax": { |
| 868 | "type": "integer" |
| 869 | }, |
| 870 | "bwpCfgCbs": { |
| 871 | "type": "integer" |
| 872 | }, |
| 873 | "bwpCfgEir": { |
| 874 | "type": "integer" |
| 875 | }, |
| 876 | "bwpCfgEbs": { |
| 877 | "type": "integer" |
| 878 | }, |
| 879 | "bwpCfgCm": { |
| 880 | "type": "string" |
| 881 | }, |
| 882 | "bwpCfgCf": { |
| 883 | "type": "string" |
| 884 | } |
| 885 | } |
| 886 | }, |
| 887 | "interfaceCfgEgressBwp": { |
| 888 | "type": "object", |
| 889 | "properties": { |
| 890 | "envelopeId": { |
| 891 | "type": "string" |
| 892 | }, |
| 893 | "rank": { |
| 894 | "type": "string" |
| 895 | }, |
| 896 | "bwpCfgEirMax": { |
| 897 | "type": "integer" |
| 898 | }, |
| 899 | "bwpCfgIdentifier": { |
| 900 | "type": "string" |
| 901 | }, |
| 902 | "bwpCfgCir": { |
| 903 | "type": "integer" |
| 904 | }, |
| 905 | "bwpCfgCirMax": { |
| 906 | "type": "integer" |
| 907 | }, |
| 908 | "bwpCfgCbs": { |
| 909 | "type": "integer" |
| 910 | }, |
| 911 | "BwpCfgEir": { |
| 912 | "type": "integer" |
| 913 | }, |
| 914 | "bwpCfgEbs": { |
| 915 | "type": "integer" |
| 916 | }, |
| 917 | "BwpCfgCm": { |
| 918 | "type": "string" |
| 919 | }, |
| 920 | "bwpCfgCf": { |
| 921 | "type": "string" |
| 922 | } |
| 923 | } |
| 924 | }, |
| 925 | "linkOam": { |
| 926 | "type": "string" |
| 927 | }, |
| 928 | "uniMeg": { |
| 929 | "type": "string" |
| 930 | }, |
| 931 | "eLMI": { |
| 932 | "type": "string" |
| 933 | }, |
| 934 | "uniL2cpServiceAttributes": { |
| 935 | "type": "object", |
| 936 | "properties": { |
| 937 | "uniL2cpPeering": { |
| 938 | "type": "object", |
| 939 | "properties": { |
| 940 | "protocolToBePeered": { |
| 941 | "type": "string" |
| 942 | }, |
| 943 | "protocolIdentifier": { |
| 944 | "type": "object", |
| 945 | "properties": { |
| 946 | "Ethertype": { |
| 947 | "type": "string" |
| 948 | }, |
| 949 | "Subtypes": { |
| 950 | "type": "string" |
| 951 | } |
| 952 | } |
| 953 | }, |
| 954 | "l2cpDestinationAddress": { |
| 955 | "type": "string" |
| 956 | }, |
| 957 | "linkIdentifier": { |
| 958 | "type": "string" |
| 959 | } |
| 960 | } |
| 961 | }, |
| 962 | "unilL2cpAddressSet": { |
| 963 | "type": "object", |
| 964 | "properties": { |
| 965 | "l2cpDestinationAddress": { |
| 966 | "type": "string" |
| 967 | }, |
| 968 | "assignment8021Q": { |
| 969 | "type": "string" |
| 970 | }, |
| 971 | "filteredBy": { |
| 972 | "type": "object", |
| 973 | "properties": { |
| 974 | "CTA": { |
| 975 | "type": "boolean" |
| 976 | }, |
| 977 | "CTB": { |
| 978 | "type": "boolean" |
| 979 | }, |
| 980 | "CTB2": { |
| 981 | "type": "boolean" |
| 982 | } |
| 983 | } |
| 984 | } |
| 985 | } |
| 986 | } |
| 987 | } |
| 988 | }, |
| 989 | "ethOvcEndPoint": { |
| 990 | "type": "object", |
| 991 | "properties": { |
| 992 | "ovcEndPtPerUniCfgIdentifier": { |
| 993 | "type": "string" |
| 994 | }, |
| 995 | "ovcEndPtPerUniCfgCeVlanMap": { |
| 996 | "type": "object", |
| 997 | "properties": { |
| 998 | "CeVlanId": { |
| 999 | "type": "string" |
| 1000 | }, |
| 1001 | "EvcId": { |
| 1002 | "type": "string" |
| 1003 | } |
| 1004 | } |
| 1005 | }, |
| 1006 | "ovcEndPtPerUniCfgRole": { |
| 1007 | "type": "string" |
| 1008 | }, |
| 1009 | "cosCfgOvcEp": { |
| 1010 | "type": "object", |
| 1011 | "properties": { |
| 1012 | "ovc": { |
| 1013 | "type": "string" |
| 1014 | }, |
| 1015 | "classOfServiceName": { |
| 1016 | "type": "string" |
| 1017 | } |
| 1018 | } |
| 1019 | }, |
| 1020 | "cosCfgPcp": { |
| 1021 | "type": "object", |
| 1022 | "properties": { |
| 1023 | "cosId": { |
| 1024 | "type": "string" |
| 1025 | }, |
| 1026 | "classOfServiceName": { |
| 1027 | "type": "string" |
| 1028 | } |
| 1029 | } |
| 1030 | }, |
| 1031 | "cosCfgDscp": { |
| 1032 | "type": "object", |
| 1033 | "properties": { |
| 1034 | "ipv4": { |
| 1035 | "type": "string" |
| 1036 | }, |
| 1037 | "ipv6": { |
| 1038 | "type": "string" |
| 1039 | }, |
| 1040 | "classOfServiceName": { |
| 1041 | "type": "string" |
| 1042 | } |
| 1043 | } |
| 1044 | }, |
| 1045 | "ovcEndPtPerUniCfgIngressBwp": { |
| 1046 | "type": "object", |
| 1047 | "properties": { |
| 1048 | "bwpCfgCir": { |
| 1049 | "type": "integer" |
| 1050 | }, |
| 1051 | "bwpCfgCbs": { |
| 1052 | "type": "integer" |
| 1053 | }, |
| 1054 | "bwpCfgEir": { |
| 1055 | "type": "integer" |
| 1056 | }, |
| 1057 | "bwpCfgEbs": { |
| 1058 | "type": "integer" |
| 1059 | }, |
| 1060 | "bwpCfgCm": { |
| 1061 | "type": "string" |
| 1062 | }, |
| 1063 | "bwpCfgCf": { |
| 1064 | "type": "string" |
| 1065 | } |
| 1066 | } |
| 1067 | }, |
| 1068 | "ovcEndPtPerCosCfgIngressBwp": { |
| 1069 | "type": "object", |
| 1070 | "properties": { |
| 1071 | "cosId": { |
| 1072 | "type": "string" |
| 1073 | }, |
| 1074 | "bwpCfgCir": { |
| 1075 | "type": "integer" |
| 1076 | }, |
| 1077 | "bwpCfgCbs": { |
| 1078 | "type": "integer" |
| 1079 | }, |
| 1080 | "bwpCfgEir": { |
| 1081 | "type": "integer" |
| 1082 | }, |
| 1083 | "bwpCfgEbs": { |
| 1084 | "type": "integer" |
| 1085 | }, |
| 1086 | "bwpCfgCm": { |
| 1087 | "type": "string" |
| 1088 | }, |
| 1089 | "bwpCfgCf": { |
| 1090 | "type": "string" |
| 1091 | } |
| 1092 | } |
| 1093 | }, |
| 1094 | "ovcEndPtPerUniCfgEgressBwp": { |
| 1095 | "type": "object", |
| 1096 | "properties": { |
| 1097 | "bwpCfgCir": { |
| 1098 | "type": "integer" |
| 1099 | }, |
| 1100 | "bwpCfgCbs": { |
| 1101 | "type": "integer" |
| 1102 | }, |
| 1103 | "bwpCfgEir": { |
| 1104 | "type": "integer" |
| 1105 | }, |
| 1106 | "bwpCfgEbs": { |
| 1107 | "type": "integer" |
| 1108 | }, |
| 1109 | "bwpCfgCm": { |
| 1110 | "type": "string" |
| 1111 | }, |
| 1112 | "bwpCfgCf": { |
| 1113 | "type": "string" |
| 1114 | } |
| 1115 | } |
| 1116 | }, |
| 1117 | "ovcEndPtPerCosCfgEgressBwp": { |
| 1118 | "type": "object", |
| 1119 | "properties": { |
| 1120 | "cosId": { |
| 1121 | "type": "string" |
| 1122 | }, |
| 1123 | "bwpCfgCir": { |
| 1124 | "type": "integer" |
| 1125 | }, |
| 1126 | "bwpCfgCbs": { |
| 1127 | "type": "integer" |
| 1128 | }, |
| 1129 | "bwpCfgEir": { |
| 1130 | "type": "integer" |
| 1131 | }, |
| 1132 | "bwpCfgEbs": { |
| 1133 | "type": "integer" |
| 1134 | }, |
| 1135 | "bwpCfgCm": { |
| 1136 | "type": "string" |
| 1137 | }, |
| 1138 | "bwpCfgCf": { |
| 1139 | "type": "string" |
| 1140 | } |
| 1141 | } |
| 1142 | } |
| 1143 | } |
| 1144 | } |
| 1145 | }, |
| 1146 | "required": [ |
| 1147 | "transportPort", |
| 1148 | "interfaceCfgIdentifier" |
| 1149 | ] |
| 1150 | }, |
| 1151 | "SCA_ETH_FPP_INNI_N": { |
| 1152 | "type": "object", |
| 1153 | "properties": { |
| 1154 | "transport": { |
| 1155 | "type": "object", |
| 1156 | "properties": { |
| 1157 | "CLLI": { |
| 1158 | "type": "string" |
| 1159 | }, |
| 1160 | "Vendor": { |
| 1161 | "type": "string" |
| 1162 | }, |
| 1163 | "Hostname": { |
| 1164 | "type": "string" |
| 1165 | }, |
| 1166 | "Shelf": { |
| 1167 | "type": "string" |
| 1168 | }, |
| 1169 | "Slot": { |
| 1170 | "type": "string" |
| 1171 | }, |
| 1172 | "Subslot": { |
| 1173 | "type": "string" |
| 1174 | }, |
| 1175 | "Port": { |
| 1176 | "type": "string" |
| 1177 | }, |
| 1178 | "Rack": { |
| 1179 | "type": "string" |
| 1180 | }, |
| 1181 | "RemoteUnit": { |
| 1182 | "type": "string" |
| 1183 | }, |
| 1184 | "RemoteUnitSlot": { |
| 1185 | "type": "string" |
| 1186 | }, |
| 1187 | "RemoteUnitPort": { |
| 1188 | "type": "string" |
| 1189 | } |
| 1190 | }, |
| 1191 | "required": [ |
| 1192 | "CLLI", |
| 1193 | "Hostname", |
| 1194 | "Port" |
| 1195 | ] |
| 1196 | }, |
| 1197 | "interfaceDescription": { |
| 1198 | "type": "string" |
| 1199 | }, |
| 1200 | "mtu": { |
| 1201 | "type": "string" |
| 1202 | }, |
| 1203 | "speed": { |
| 1204 | "type": "string" |
| 1205 | } |
| 1206 | }, |
| 1207 | "required": [ |
| 1208 | "transport", |
| 1209 | "interfaceDescription", |
| 1210 | "mtu", |
| 1211 | "speed" |
| 1212 | ] |
| 1213 | }, |
| 1214 | "SCA_ETH_Flow_Domain": { |
| 1215 | "type": "object", |
| 1216 | "properties": { |
| 1217 | "id": { |
| 1218 | "type": "string" |
| 1219 | }, |
| 1220 | "SCA_ETH_FDFr_EC": { |
| 1221 | "description": "List of SCA_ETH_FDFr_EC objects", |
| 1222 | "type": "array", |
| 1223 | "items": { |
| 1224 | "$ref": "#\/definitions\/SCA_ETH_FDFr_EC" |
| 1225 | } |
| 1226 | }, |
| 1227 | "SCA_ETH_FPP_Link": { |
| 1228 | "description": "List of SCA_ETH_FPP_Link objects", |
| 1229 | "type": "array", |
| 1230 | "items": { |
| 1231 | "$ref": "#\/definitions\/SCA_ETH_FPP_Link" |
| 1232 | } |
| 1233 | } |
| 1234 | } |
| 1235 | }, |
| 1236 | "SCA_ETH_FPP_Link": { |
| 1237 | "type": "object", |
| 1238 | "properties": { |
| 1239 | "id": { |
| 1240 | "type": "string" |
| 1241 | } |
| 1242 | } |
| 1243 | }, |
| 1244 | "SCA_ETH_FDFr_EC": { |
| 1245 | "type": "object", |
| 1246 | "properties": { |
| 1247 | "id": { |
| 1248 | "type": "string" |
| 1249 | }, |
| 1250 | "flowDomainId": { |
| 1251 | "type": "string" |
| 1252 | }, |
| 1253 | "state": { |
| 1254 | "description": "state of SCA_ETH_FDFr_EC", |
| 1255 | "type": "string", |
| 1256 | "enum": [ |
| 1257 | "active", |
| 1258 | "inactive" |
| 1259 | ] |
| 1260 | }, |
| 1261 | "evcServiceType": { |
| 1262 | "description": "MEF 10.3, Section 8.1", |
| 1263 | "type": "string", |
| 1264 | "enum": [ |
| 1265 | "Point_To_Point", |
| 1266 | "Multipoint_To_Multipoint", |
| 1267 | "Root_Multipoint" |
| 1268 | ] |
| 1269 | }, |
| 1270 | "evcCfgIdentifier": { |
| 1271 | "description": "MEF 10.3, Section 8.2", |
| 1272 | "type": "string" |
| 1273 | }, |
| 1274 | "evcStatusMaxNumUni": { |
| 1275 | "description": "MEF 10.3, Section 8.4", |
| 1276 | "type": "integer" |
| 1277 | }, |
| 1278 | "evcCfgMtuSize": { |
| 1279 | "description": "MEF 10.3, Section 8.9", |
| 1280 | "type": "integer" |
| 1281 | }, |
| 1282 | "evcCfgCeVlanIdPreservation": { |
| 1283 | "description": "MEF 10.3, Section 8.6.1", |
| 1284 | "type": "string", |
| 1285 | "enum": [ |
| 1286 | "Enabled", |
| 1287 | "Disabled" |
| 1288 | ] |
| 1289 | }, |
| 1290 | "evcCfgCeVlanCosPreservation": { |
| 1291 | "description": "MEF 10.3, Section 8.6.2", |
| 1292 | "type": "string", |
| 1293 | "enum": [ |
| 1294 | "Enabled", |
| 1295 | "Disabled" |
| 1296 | ] |
| 1297 | }, |
| 1298 | "SCA_ETH_Flow_Points": { |
| 1299 | "description": "List of SCA_ETH_Flow_Point objects", |
| 1300 | "type": "array", |
| 1301 | "items": { |
| 1302 | "$ref": "#\/definitions\/SCA_ETH_Flow_Point" |
| 1303 | } |
| 1304 | }, |
| 1305 | "SCA_ETH_IVC_End_Points": { |
| 1306 | "description": "List of SCA_ETH_IVC_End_Point objects", |
| 1307 | "type": "array", |
| 1308 | "items": { |
| 1309 | "$ref": "#\/definitions\/SCA_ETH_IVC_End_Point" |
| 1310 | } |
| 1311 | } |
| 1312 | } |
| 1313 | }, |
| 1314 | "SCA_Error_Response": { |
| 1315 | "description": "SCA Error addition information", |
| 1316 | "type": "object", |
| 1317 | "properties": { |
| 1318 | "code": { |
| 1319 | "type": "integer" |
| 1320 | }, |
| 1321 | "message": { |
| 1322 | "type": "string" |
| 1323 | } |
| 1324 | } |
| 1325 | } |
| 1326 | } |
| 1327 | } |
| 1328 | |