summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-sparky-be/requirements.yaml
blob: 5a41aefe84663f5ac09a6974a01fc32476927356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright © 2018 Amdocs, AT&T
# Modifications Copyright © 2018 Bell Canada
# Modifications Copyright © 2020-2021 Orange
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

dependencies:
  - name: common
    version: ~9.x-0
    # local reference to common chart, as it is
    # a part of this chart's package and will not
    # be published independently to a repo (at this point)
    repository: '@local'
  - name: certInitializer
    version: ~9.x-0
    repository: '@local'
  - name: repositoryGenerator
    version: ~9.x-0
    repository: '@local'
  - name: serviceAccount
    version: ~9.x-0
    repository: '@local'
>425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768
=================================================
ONAP VFC Network Service Lifecycle Management API
=================================================

:Date:   2017-10-09

.. contents::
   :depth: 3
..

Overview
========

VFC Network Service Lifecycle Management Rest API.

Version information
-------------------

*Version* : 1.0.0

Contact information
-------------------

| *Contact* : ONAP VFC team
| *Contact Email* : onap-discuss@lists.onap.org

URI scheme
----------

| *BasePath* : /api/nslcm/v1
| *Schemes* : HTTP, HTTPS

Consumes
--------

-  ``application/json``

Produces
--------

-  ``application/json``

Paths
=====

jobstatus
---------

::

    GET /jobs/{jobId}

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Path* | | **jobId** | job Id                               | string           |
| *       | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+
| **Query | | **respons | job response message id              | string           |
| **      | eId**       |                                      |                  |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+-------------------------+--------------------------------------------------+
| HTTP Code               | Schema                                           |
+=========================+==================================================+
| **202**                 | `JobDetailInfo <#_jobdetailinfo>`__              |
+-------------------------+--------------------------------------------------+

Tags
~~~~

-  job

ns create
---------

::

    POST /ns

Description
~~~~~~~~~~~

ns create

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Body* | | **NSCreat | NS Instance Create Request           | `NsCreateRequest |
| *       | eRequest**  |                                      |  <#_nscreaterequ |
|         | | *required |                                      | est>`__          |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **200** | successful operation                               | `NsCreateRespo |
|         |                                                    | nse <#_nscreat |
|         |                                                    | eresponse>`__  |
+---------+----------------------------------------------------+----------------+
| **404** | URL not found                                      | No Content     |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

ns get
------

::

    GET /ns

Description
~~~~~~~~~~~

ns get

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Query | | **csarId* | job response message id              | string           |
| **      | *           |                                      |                  |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **200** | successful operation                               | `NsInstancesIn |
|         |                                                    | fo <#_nsinstan |
|         |                                                    | cesinfo>`__    |
+---------+----------------------------------------------------+----------------+
| **404** | URL not found                                      | No Content     |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

ns Instantiate
--------------

::

    POST /ns/{nsInstanceId}/Instantiate

Description
~~~~~~~~~~~

ns Instantiate

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Path* | | **nsInsta |                                      | string           |
| *       | nceId**     |                                      |                  |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+
| **Body* | | **NSInsta | NS Instantiate Request Body          | `NsInstantiateRe |
| *       | ntiateReque |                                      | quest <#_nsinsta |
|         | st**        |                                      | ntiaterequest>`_ |
|         | | *required |                                      | _                |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **200** |                                                    | `JobInfo <#_jo |
|         |                                                    | binfo>`__      |
+---------+----------------------------------------------------+----------------+
| **201** | Invalid Request                                    | No Content     |
+---------+----------------------------------------------------+----------------+
| **404** | URL not found                                      | No Content     |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

ns scale
--------

::

    POST /ns/{nsInstanceId}/scale

Description
~~~~~~~~~~~

ns scale

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Path* | | **nsInsta |                                      | string           |
| *       | nceId**     |                                      |                  |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+
| **Body* | | **ScaleNS | Scale NS Request Body                | `NsScaleRequest  |
| *       | Request**   |                                      | <#_nsscalereques |
|         | | *required |                                      | t>`__            |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **200** |                                                    | `JobInfo <#_jo |
|         |                                                    | binfo>`__      |
+---------+----------------------------------------------------+----------------+
| **201** | Invalid Request                                    | No Content     |
+---------+----------------------------------------------------+----------------+
| **404** | URL not found                                      | No Content     |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

ns get
------

::

    GET /ns/{ns_instance_id}

Description
~~~~~~~~~~~

ns get

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **200** | successful operation                               | `NsInstanceInf |
|         |                                                    | o <#_nsinstanc |
|         |                                                    | einfo>`__      |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

ns delete
---------

::

    DELETE /ns/{ns_instance_id}

Description
~~~~~~~~~~~

ns delete

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Path* | | **ns\_ins | Identifier of the NS instance.       | string           |
| *       | tance\_id** |                                      |                  |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **204** | The NS instance resource and the associated NS     | No Content     |
|         | identifier were deleted successfully.              |                |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

ns heal
-------

::

    POST /ns/{ns_instance_id}/heal

Description
~~~~~~~~~~~

ns heal

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Path* | | **ns\_ins | Identifier of the NS instance.       | string           |
| *       | tance\_id** |                                      |                  |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+
| **Body* | | **healVnf | healVnfData                          | `NsHealRequest < |
| *       | Data**      |                                      | #_nshealrequest> |
|         | | *required |                                      | `__              |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **202** |                                                    | `JobInfo <#_jo |
|         |                                                    | binfo>`__      |
+---------+----------------------------------------------------+----------------+
| **404** | URL not found                                      | No Content     |
+---------+----------------------------------------------------+----------------+
| **500** | the url is invalid                                 | No Content     |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

ns terminate
------------

::

    POST /ns/{ns_instance_id}/terminate

Description
~~~~~~~~~~~

ns terminate

Parameters
~~~~~~~~~~

+---------+-------------+--------------------------------------+------------------+
| Type    | Name        | Description                          | Schema           |
+=========+=============+======================================+==================+
| **Path* | | **ns\_ins | Identifier of the NS instance.       | string           |
| *       | tance\_id** |                                      |                  |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+
| **Body* | | **NsTermi | NsTerminateRequest                   | `NsTerminateRequ |
| *       | nateRequest |                                      | est <#_nstermina |
|         | **          |                                      | terequest>`__    |
|         | | *required |                                      |                  |
|         | *           |                                      |                  |
+---------+-------------+--------------------------------------+------------------+

Responses
~~~~~~~~~

+---------+----------------------------------------------------+----------------+
| HTTP    | Description                                        | Schema         |
| Code    |                                                    |                |
+=========+====================================================+================+
| **202** |                                                    | `JobInfo <#_jo |
|         |                                                    | binfo>`__      |
+---------+----------------------------------------------------+----------------+
| **500** | the url is invalid                                 | No Content     |
+---------+----------------------------------------------------+----------------+

Tags
~~~~

-  ns

Definitions
===========

JobDetailInfo
-------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **jobId**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **responseDescriptor**       | `responseDescriptor <#_jobdetailinfo_resp |
| | *optional*                   | onsedescriptor>`__                        |
+--------------------------------+-------------------------------------------+

**responseDescriptor**

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **errorCode**                | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **progress**                 | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **responseHistoryList**      | < `jobResponseInfo <#_jobresponseinfo>`__ |
| | *optional*                   | > array                                   |
+--------------------------------+-------------------------------------------+
| | **responseId**               | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **status**                   | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **statusDescription**        | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

JobInfo
-------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **jobId**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

LocationConstraint
------------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **locationConstraints**      | `locationConstraints <#_locationconstrain |
| | *optional*                   | t_locationconstraints>`__                 |
+--------------------------------+-------------------------------------------+
| | **vnfProfileId**             | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

**locationConstraints**

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **vimid**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

NsCreateRequest
---------------

+-------------+---------------------------------------------+------------------+
| Name        | Description                                 | Schema           |
+=============+=============================================+==================+
| | **csarId* | the NS package ID                           | string           |
| *           |                                             |                  |
| | *optional |                                             |                  |
| *           |                                             |                  |
+-------------+---------------------------------------------+------------------+
| | **descrip |                                             | string           |
| tion**      |                                             |                  |
| | *optional |                                             |                  |
| *           |                                             |                  |
+-------------+---------------------------------------------+------------------+
| | **nsName* |                                             | string           |
| *           |                                             |                  |
| | *optional |                                             |                  |
| *           |                                             |                  |
+-------------+---------------------------------------------+------------------+

NsCreateResponse
----------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **nsInstanceId**             | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

NsHealRequest
-------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **additionalParams**         | `additionalParams <#_nshealrequest_additi |
| | *optional*                   | onalparams>`__                            |
+--------------------------------+-------------------------------------------+
| | **cause**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vnfInstanceId**            | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

**additionalParams**

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **action**                   | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **actionvminfo**             | `actionvminfo <#_nshealrequest_actionvmin |
| | *optional*                   | fo>`__                                    |
+--------------------------------+-------------------------------------------+

**actionvminfo**

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **vmid**                     | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vmname**                   | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

NsInstanceInfo
--------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **description**              | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **nsInstanceId**             | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **nsName**                   | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **nsState**                  | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **nsdId**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vlInfo**                   | < `vlInfo <#_vlinfo>`__ > array           |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vnfInfo**                  | < `vnfInfo <#_vnfinfo>`__ > array         |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vnffgInfo**                | < `vnffgInfo <#_vnffginfo>`__ > array     |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

NsInstancesInfo
---------------

*Type* : < `NsInstanceInfo <#_nsinstanceinfo>`__ > array

NsInstantiateRequest
--------------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **LocationConstraints**      | <                                         |
| | *optional*                   | `LocationConstraint <#_locationconstraint |
|                                | >`__                                      |
|                                | > array                                   |
+--------------------------------+-------------------------------------------+
| | **additionalParamForNs**     | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

NsScaleByStepsData
------------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **aspectId**                 | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **numberOfSteps**            | integer                                   |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **scalingDirection**         | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

NsScaleRequest
--------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **scaleNsByStepsData**       | `NsScaleByStepsData <#_nsscalebystepsdata |
| | *optional*                   | >`__                                      |
+--------------------------------+-------------------------------------------+
| | **scaleType**                | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

NsTerminateRequest
------------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **gracefulTerminationTimeout | string                                    |
| **                             |                                           |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **terminationType**          | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

cpInfo
------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **cpInstanceId**             | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **cpInstanceName**           | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **cpdId**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

jobResponseInfo
---------------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **errorCode**                | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **progress**                 | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **responseId**               | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **status**                   | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **statusDescription**        | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

vlInfo
------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **relatedCpInstanceId**      | < `cpInfo <#_cpinfo>`__ > array           |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vlInstanceId**             | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vlInstanceName**           | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vldId**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

vnfInfo
-------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **vnfInstanceId**            | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vnfInstanceName**          | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vnfdId**                   | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+

vnffgInfo
---------

+--------------------------------+-------------------------------------------+
| Name                           | Schema                                    |
+================================+===========================================+
| | **cpId**                     | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **nfp**                      | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **pnfId**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **virtualLinkId**            | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vnfId**                    | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+
| | **vnffgInstanceId**          | string                                    |
| | *optional*                   |                                           |
+--------------------------------+-------------------------------------------+