Merge "Update docs of User guide and API reference"
This commit is contained in:
@@ -40,11 +40,11 @@ Request Parameters
|
|||||||
- vnfInstanceId: vnf_instance_id
|
- vnfInstanceId: vnf_instance_id
|
||||||
- server_id: server_id
|
- server_id: server_id
|
||||||
- notification: notification
|
- notification: notification
|
||||||
- \>host_id: host_id
|
- host_id: host_id
|
||||||
- \>alarm_id: alarm_id
|
- alarm_id: alarm_id
|
||||||
- \>fault_id: fault_id
|
- fault_id: fault_id
|
||||||
- \>fault_type: fault_type
|
- fault_type: fault_type
|
||||||
- \>fault_option: fault_option
|
- fault_option: fault_option
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
|
@@ -47,4 +47,4 @@ notification:
|
|||||||
Fault notification event.
|
Fault notification event.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: Structure (inlined)
|
type: Structure
|
||||||
|
@@ -2,13 +2,13 @@ alert:
|
|||||||
description: alert message
|
description: alert message
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array(inlined)
|
type: array
|
||||||
annotations:
|
annotations:
|
||||||
description: |
|
description: |
|
||||||
dynamic properties.
|
dynamic properties.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: object (inlined)
|
type: object
|
||||||
aspect_id:
|
aspect_id:
|
||||||
description: |
|
description: |
|
||||||
aspectId of the scaling target.
|
aspectId of the scaling target.
|
||||||
@@ -80,7 +80,7 @@ labels:
|
|||||||
static properties.
|
static properties.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: object (inlined)
|
type: object
|
||||||
metric:
|
metric:
|
||||||
description: |
|
description: |
|
||||||
PerformanceMetric defined in ETSI PM interface.
|
PerformanceMetric defined in ETSI PM interface.
|
||||||
|
@@ -52,7 +52,7 @@ alarm_links:
|
|||||||
Links for this resource.
|
Links for this resource.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: object
|
||||||
alarm_raised_time:
|
alarm_raised_time:
|
||||||
description: |
|
description: |
|
||||||
Time stamp indicating when the alarm is raised by the managed object.
|
Time stamp indicating when the alarm is raised by the managed object.
|
||||||
@@ -83,7 +83,7 @@ correlated_alarm_ids:
|
|||||||
List of identifiers of other alarms correlated to this fault.
|
List of identifiers of other alarms correlated to this fault.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: array
|
||||||
event_time:
|
event_time:
|
||||||
description: |
|
description: |
|
||||||
Time stamp indicating when the fault was observed.
|
Time stamp indicating when the fault was observed.
|
||||||
@@ -101,7 +101,7 @@ fault_details:
|
|||||||
Provides additional information about the fault.
|
Provides additional information about the fault.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: array
|
||||||
fault_type:
|
fault_type:
|
||||||
description: |
|
description: |
|
||||||
Additional information to clarify the type of the fault.
|
Additional information to clarify the type of the fault.
|
||||||
@@ -294,7 +294,7 @@ subscription_links:
|
|||||||
Links for this resource.
|
Links for this resource.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: object
|
||||||
subscription_self:
|
subscription_self:
|
||||||
description: |
|
description: |
|
||||||
URI of this resource.
|
URI of this resource.
|
||||||
|
@@ -201,8 +201,10 @@ reports_ready_time:
|
|||||||
vnf_pm_job_create_callback_uri:
|
vnf_pm_job_create_callback_uri:
|
||||||
description: |
|
description: |
|
||||||
The URI of the endpoint to send the notification to.
|
The URI of the endpoint to send the notification to.
|
||||||
|
At least one of the "callbackUri" and "authentication"
|
||||||
|
attributes shall be present in request body.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
vnf_pm_job_create_criteria:
|
vnf_pm_job_create_criteria:
|
||||||
description: |
|
description: |
|
||||||
@@ -233,6 +235,8 @@ vnf_pm_job_create_request_authentication:
|
|||||||
description: |
|
description: |
|
||||||
Authentication parameters to configure the use of Authorization when
|
Authentication parameters to configure the use of Authorization when
|
||||||
sending notifications corresponding to this subscription.
|
sending notifications corresponding to this subscription.
|
||||||
|
At least one of the "callbackUri" and "authentication"
|
||||||
|
attributes shall be present in request body.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: object
|
type: object
|
||||||
@@ -281,6 +285,12 @@ vnf_pm_job_reports:
|
|||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: array
|
type: array
|
||||||
|
vnf_pm_job_response_callback_uri:
|
||||||
|
description: |
|
||||||
|
The URI of the endpoint to send the notification to.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
vnf_pm_job_response_id:
|
vnf_pm_job_response_id:
|
||||||
description: |
|
description: |
|
||||||
Identifier of this PM job.
|
Identifier of this PM job.
|
||||||
|
@@ -39,19 +39,19 @@ Request Parameters
|
|||||||
.. rest_parameters:: parameters_prometheus_plugin.yaml
|
.. rest_parameters:: parameters_prometheus_plugin.yaml
|
||||||
|
|
||||||
- alert: alert
|
- alert: alert
|
||||||
- \>status: status
|
- status: status
|
||||||
- \>labels: labels
|
- labels: labels
|
||||||
- \>\>receiver_type: receiver_type
|
- receiver_type: receiver_type
|
||||||
- \>\>function_type: function_type_pm
|
- function_type: function_type_pm
|
||||||
- \>\>job_id: job_id
|
- job_id: job_id
|
||||||
- \>\>object_instance_id: object_instance_id
|
- object_instance_id: object_instance_id
|
||||||
- \>\>sub_object_instance_id: sub_object_instance_id
|
- sub_object_instance_id: sub_object_instance_id
|
||||||
- \>\>metric: metric
|
- metric: metric
|
||||||
- \>annotations: annotations
|
- annotations: annotations
|
||||||
- \>\>value: value
|
- value: value
|
||||||
- \>startsAt: startsAt
|
- startsAt: startsAt
|
||||||
- \>endsAt: endsAt
|
- endsAt: endsAt
|
||||||
- \>fingerprint: fingerprint
|
- fingerprint: fingerprint
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
@@ -85,21 +85,21 @@ Request Parameters
|
|||||||
.. rest_parameters:: parameters_prometheus_plugin.yaml
|
.. rest_parameters:: parameters_prometheus_plugin.yaml
|
||||||
|
|
||||||
- alert: alert
|
- alert: alert
|
||||||
- \>status: status
|
- status: status
|
||||||
- \>labels: labels
|
- labels: labels
|
||||||
- \>\>receiver_type: receiver_type
|
- receiver_type: receiver_type
|
||||||
- \>\>function_type: function_type_fm
|
- function_type: function_type_fm
|
||||||
- \>\>vnf_instance_id: vnf_instance_id
|
- vnf_instance_id: vnf_instance_id
|
||||||
- \>\>pod: pod
|
- pod: pod
|
||||||
- \>\>perceived_severity: perceived_severity
|
- perceived_severity: perceived_severity
|
||||||
- \>\>event_type: event_type
|
- event_type: event_type
|
||||||
- \>annotations: annotations
|
- annotations: annotations
|
||||||
- \>\>probable_cause: probable_cause
|
- probable_cause: probable_cause
|
||||||
- \>\>fault_type: fault_type
|
- fault_type: fault_type
|
||||||
- \>\>fault_details: fault_details
|
- fault_details: fault_details
|
||||||
- \>startsAt: startsAt
|
- startsAt: startsAt
|
||||||
- \>endsAt: endsAt
|
- endsAt: endsAt
|
||||||
- \>fingerprint: fingerprint
|
- fingerprint: fingerprint
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
@@ -132,17 +132,17 @@ Request Parameters
|
|||||||
.. rest_parameters:: parameters_prometheus_plugin.yaml
|
.. rest_parameters:: parameters_prometheus_plugin.yaml
|
||||||
|
|
||||||
- alert: alert
|
- alert: alert
|
||||||
- \>status: status
|
- status: status
|
||||||
- \>labels: labels
|
- labels: labels
|
||||||
- \>\>receiver_type: receiver_type
|
- receiver_type: receiver_type
|
||||||
- \>\>function_type: function_type_auto_scale
|
- function_type: function_type_auto_scale
|
||||||
- \>\>vnf_instance_id: vnf_instance_id
|
- vnf_instance_id: vnf_instance_id
|
||||||
- \>\>auto_scale_type: auto_scale_type
|
- auto_scale_type: auto_scale_type
|
||||||
- \>\>aspect_id: aspect_id
|
- aspect_id: aspect_id
|
||||||
- \>annotations: annotations
|
- annotations: annotations
|
||||||
- \>startsAt: startsAt
|
- startsAt: startsAt
|
||||||
- \>endsAt: endsAt
|
- endsAt: endsAt
|
||||||
- \>fingerprint: fingerprint
|
- fingerprint: fingerprint
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
|
@@ -92,7 +92,10 @@ The GET method gets the alarm specified in the Tacker.
|
|||||||
|
|
||||||
If the API consumer intends to read a particular alarm, it sends a GET request
|
If the API consumer intends to read a particular alarm, it sends a GET request
|
||||||
to the "Individual alarm" resource, addressed by the appropriate alarm
|
to the "Individual alarm" resource, addressed by the appropriate alarm
|
||||||
identifier in its resource URI. In case of failure, appropriate error
|
identifier in its resource URI.
|
||||||
|
The VNFM returns a "200 OK" response to the API consumer,
|
||||||
|
and includes the data structure of type "Alarm" in the payload body.
|
||||||
|
In case of failure, appropriate error
|
||||||
information is provided in the response.
|
information is provided in the response.
|
||||||
|
|
||||||
Response Codes
|
Response Codes
|
||||||
@@ -312,7 +315,8 @@ If desired, e.g. to recover from an error situation, the API consumer can query
|
|||||||
information about its subscriptions by sending a GET request to the
|
information about its subscriptions by sending a GET request to the
|
||||||
"Subscriptions" resource. In that case, the VNFM returns a "200 OK" response
|
"Subscriptions" resource. In that case, the VNFM returns a "200 OK" response
|
||||||
that contains the list of representations of all existing subscriptions that
|
that contains the list of representations of all existing subscriptions that
|
||||||
were created by the API consumer.
|
were created by the API consumer, and includes zero or more data structures
|
||||||
|
of type "FmSubscription" in the payload body.
|
||||||
|
|
||||||
An attribute selector allows the API consumer to choose which attributes it
|
An attribute selector allows the API consumer to choose which attributes it
|
||||||
wants to be contained in the response. *all_fields*, *fields*, *exclude_fields*
|
wants to be contained in the response. *all_fields*, *fields*, *exclude_fields*
|
||||||
@@ -337,7 +341,6 @@ Response Codes
|
|||||||
- 401
|
- 401
|
||||||
- 404
|
- 404
|
||||||
- 406
|
- 406
|
||||||
- 409
|
|
||||||
|
|
||||||
Response Parameters
|
Response Parameters
|
||||||
-------------------
|
-------------------
|
||||||
@@ -377,7 +380,7 @@ Get a subscription (v1)
|
|||||||
|
|
||||||
.. rest_method:: GET /vnffm/v1/subscriptions/{subscriptionId}
|
.. rest_method:: GET /vnffm/v1/subscriptions/{subscriptionId}
|
||||||
|
|
||||||
The POST method gets the subscription in the Tacker.
|
The GET method gets the subscription in the Tacker.
|
||||||
|
|
||||||
If desired, e.g. to recover from an error situation, the API consumer can read
|
If desired, e.g. to recover from an error situation, the API consumer can read
|
||||||
information about a particular subscription by sending a GET request to the
|
information about a particular subscription by sending a GET request to the
|
||||||
|
@@ -495,7 +495,7 @@ Response Parameters
|
|||||||
|
|
||||||
.. rest_parameters:: parameters_vnflcm.yaml
|
.. rest_parameters:: parameters_vnflcm.yaml
|
||||||
|
|
||||||
- id: vnf_instance_id
|
- id: vnf_instance_id_response
|
||||||
- vnfInstanceName: vnf_instance_name
|
- vnfInstanceName: vnf_instance_name
|
||||||
- vnfInstanceDescription: vnf_instance_description
|
- vnfInstanceDescription: vnf_instance_description
|
||||||
- vnfdId: vnf_instance_vnfd_id
|
- vnfdId: vnf_instance_vnfd_id
|
||||||
|
@@ -89,7 +89,7 @@ Response Parameters
|
|||||||
- collectionPeriod: criteria_collection_period
|
- collectionPeriod: criteria_collection_period
|
||||||
- reportingPeriod: criteria_reporting_period
|
- reportingPeriod: criteria_reporting_period
|
||||||
- reportingBoundary: criteria_reporting_boundary
|
- reportingBoundary: criteria_reporting_boundary
|
||||||
- callbackUri: vnf_pm_job_create_callback_uri
|
- callbackUri: vnf_pm_job_response_callback_uri
|
||||||
- reports: vnf_pm_job_reports
|
- reports: vnf_pm_job_reports
|
||||||
- href: reports_href
|
- href: reports_href
|
||||||
- readyTime: reports_ready_time
|
- readyTime: reports_ready_time
|
||||||
@@ -134,7 +134,6 @@ Response Codes
|
|||||||
- 400
|
- 400
|
||||||
- 401
|
- 401
|
||||||
- 406
|
- 406
|
||||||
- 409
|
|
||||||
|
|
||||||
Response Parameters
|
Response Parameters
|
||||||
-------------------
|
-------------------
|
||||||
@@ -151,7 +150,7 @@ Response Parameters
|
|||||||
- collectionPeriod: criteria_collection_period
|
- collectionPeriod: criteria_collection_period
|
||||||
- reportingPeriod: criteria_reporting_period
|
- reportingPeriod: criteria_reporting_period
|
||||||
- reportingBoundary: criteria_reporting_boundary
|
- reportingBoundary: criteria_reporting_boundary
|
||||||
- callbackUri: vnf_pm_job_create_callback_uri
|
- callbackUri: vnf_pm_job_response_callback_uri
|
||||||
- reports: vnf_pm_job_reports
|
- reports: vnf_pm_job_reports
|
||||||
- href: reports_href
|
- href: reports_href
|
||||||
- readyTime: reports_ready_time
|
- readyTime: reports_ready_time
|
||||||
@@ -216,7 +215,7 @@ Response Parameters
|
|||||||
- collectionPeriod: criteria_collection_period
|
- collectionPeriod: criteria_collection_period
|
||||||
- reportingPeriod: criteria_reporting_period
|
- reportingPeriod: criteria_reporting_period
|
||||||
- reportingBoundary: criteria_reporting_boundary
|
- reportingBoundary: criteria_reporting_boundary
|
||||||
- callbackUri: vnf_pm_job_create_callback_uri
|
- callbackUri: vnf_pm_job_response_callback_uri
|
||||||
- reports: vnf_pm_job_reports
|
- reports: vnf_pm_job_reports
|
||||||
- href: reports_href
|
- href: reports_href
|
||||||
- readyTime: reports_ready_time
|
- readyTime: reports_ready_time
|
||||||
@@ -245,6 +244,7 @@ a PATCH request to the "Individual PM job" resource, including a data
|
|||||||
structure of type "PmJobModifications" in the payload body. The VNFM returns
|
structure of type "PmJobModifications" in the payload body. The VNFM returns
|
||||||
a "200 OK" response to the API consumer and includes in the payload body a data
|
a "200 OK" response to the API consumer and includes in the payload body a data
|
||||||
structure of type "PmJobModifications" to indicate the performed modifications.
|
structure of type "PmJobModifications" to indicate the performed modifications.
|
||||||
|
However the authentication parameter shall not be present in response body.
|
||||||
|
|
||||||
Response Codes
|
Response Codes
|
||||||
--------------
|
--------------
|
||||||
@@ -287,7 +287,7 @@ Response Parameters
|
|||||||
|
|
||||||
.. rest_parameters:: parameters_vnfpm.yaml
|
.. rest_parameters:: parameters_vnfpm.yaml
|
||||||
|
|
||||||
- callbackUri: vnf_pm_job_create_callback_uri
|
- callbackUri: vnf_pm_job_response_callback_uri
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
@@ -18,25 +18,19 @@ CLI Reference for VNF Lifecycle Management
|
|||||||
------------------------------------------
|
------------------------------------------
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Commands call version 1 vnflcm APIs by default.
|
Commands call version 1 VNF LCM APIs by default.
|
||||||
You can call the specific version of vnflcm APIs
|
You can call the specific version of VNF LCM APIs
|
||||||
by using the option **\-\-os-tacker-api-version**.
|
by using the option **\-\-os-tacker-api-version**.
|
||||||
Commands with **\-\-os-tacker-api-version 2** call version 2 vnflcm APIs.
|
Commands with **\-\-os-tacker-api-version 2** call version 2 VNF LCM APIs.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
In Yoga release, version 2 vnflcm APIs of instantiate vnf,
|
In Antelope release, version 2 VNF LCM APIs of Update
|
||||||
terminate vnf, change current vnf package and fail both support VNF and
|
and Change External VNF Connectivity only support VNF, not CNF.
|
||||||
CNF. Version 2 vnflcm APIs of scale vnf, heal vnf and
|
|
||||||
change external vnf connectivity only support VNF, not CNF. Rollback and
|
|
||||||
retry with all lifecycle only support VNF, rollback change current vnf
|
|
||||||
package support CNF, and retry change current vnf package and retry
|
|
||||||
terminate support CNF. Other operation by version 2 vnflcm APIs
|
|
||||||
will support CNF in future releases.
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Change current vnf package only support version 2 vnflcm APIs. In Yoga
|
Change Current VNF Package only support version 2 VNF LCM APIs.
|
||||||
release, it only support ``RollingUpdate`` upgrade type, ``BlueGreen``
|
In Antelope release, it only support ``RollingUpdate`` upgrade type,
|
||||||
will be supported in future releases.
|
``BlueGreen`` will be supported in future releases.
|
||||||
|
|
||||||
1. Create VNF Identifier
|
1. Create VNF Identifier
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@@ -78,6 +78,21 @@ definition file before running command for changing the VNF package.
|
|||||||
"vdu_params": [{
|
"vdu_params": [{
|
||||||
"vdu_id": "VDU1"
|
"vdu_id": "VDU1"
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
"vimConnectionInfo": {
|
||||||
|
"vim1": {
|
||||||
|
"vimId": "8bc6f536-e5fb-4e4f-96f7-f55b16d35850",
|
||||||
|
"vimType": "ETSINFV.KUBERNETES.V_1",
|
||||||
|
"interfaceInfo": {
|
||||||
|
"endpoint": "https://192.168.56.10:6443"
|
||||||
|
},
|
||||||
|
"accessInfo": {
|
||||||
|
"bearer_token": "bearer_token"
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"dummy-key": "dummy-val"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -125,6 +140,13 @@ You can set following parameter in additionalParams:
|
|||||||
OpenStack VIM. And you only need to set this parameter when you need to
|
OpenStack VIM. And you only need to set this parameter when you need to
|
||||||
update the path of the manifest file of the deployment resource.
|
update the path of the manifest file of the deployment resource.
|
||||||
* ``vdu_params`` is VDU information of target VDU to update.
|
* ``vdu_params`` is VDU information of target VDU to update.
|
||||||
|
* ``vimConnectionInfo`` is an optional parameter.
|
||||||
|
This operation can specify the ``vimConnectionInfo`` for
|
||||||
|
the VNF instance.
|
||||||
|
Even if this operation specify multiple ``vimConnectionInfo``
|
||||||
|
associated with one VNF instance, only one of them will be used
|
||||||
|
for life cycle management operations.
|
||||||
|
It is not possible to delete the key of registered ``vimConnectionInfo``.
|
||||||
|
|
||||||
.. note:: Currently, this operation only supports some functions of
|
.. note:: Currently, this operation only supports some functions of
|
||||||
``Change Current VNF Package``.
|
``Change Current VNF Package``.
|
||||||
|
@@ -169,6 +169,11 @@ includes path of Kubernetes resource definition file and that
|
|||||||
$ openstack vnflcm instantiate 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 instance_kubernetes.json
|
$ openstack vnflcm instantiate 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 instance_kubernetes.json
|
||||||
Instantiate request for VNF Instance 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 has been accepted.
|
Instantiate request for VNF Instance 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 has been accepted.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
In the case of version 2 API, you can also set
|
||||||
|
``vimType`` as ``ETSINFV.KUBERNETES.V_1`` in ``vimConnectionInfo``.
|
||||||
|
|
||||||
CNF Healing Procedure
|
CNF Healing Procedure
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
@@ -315,7 +320,7 @@ Pod information after heal:
|
|||||||
vdu1-heal-simple-75b5566444-ks785 1/1 Running 0 60s
|
vdu1-heal-simple-75b5566444-ks785 1/1 Running 0 60s
|
||||||
vdu1-heal-simple-75b5566444-p5mjv 1/1 Running 0 60s
|
vdu1-heal-simple-75b5566444-p5mjv 1/1 Running 0 60s
|
||||||
|
|
||||||
All ``vnfcResourcecInfo`` in ``Instnatiated Vnf Info`` will be updated from
|
All ``vnfcResourceInfo`` in ``Instantiated Vnf Info`` will be updated from
|
||||||
the VNF Instance displayed in :ref:`labelCapHealingtargetVNFinstance`.
|
the VNF Instance displayed in :ref:`labelCapHealingtargetVNFinstance`.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
@@ -415,7 +420,7 @@ Heal specified with VNFC instances can be executed by running
|
|||||||
|
|
||||||
In the example of this procedure, specify the ID
|
In the example of this procedure, specify the ID
|
||||||
``686b356f-8096-4e24-99e5-3c81d36341be`` of the first ``vnfcResourceInfo`` as
|
``686b356f-8096-4e24-99e5-3c81d36341be`` of the first ``vnfcResourceInfo`` as
|
||||||
``VNFC_INATANCE_ID``.
|
``VNFC_INSTANCE_ID``.
|
||||||
|
|
||||||
.. note:: In the case of version 1 API,
|
.. note:: In the case of version 1 API,
|
||||||
``VNFC_INSTANCE_ID`` is ``instantiatedVnfInfo.vnfcResourceInfo.id``.
|
``VNFC_INSTANCE_ID`` is ``instantiatedVnfInfo.vnfcResourceInfo.id``.
|
||||||
@@ -441,8 +446,8 @@ Pod information after heal:
|
|||||||
vdu1-heal-simple-75b5566444-ks785 1/1 Running 0 24s
|
vdu1-heal-simple-75b5566444-ks785 1/1 Running 0 24s
|
||||||
vdu1-heal-simple-75b5566444-wwzcm 1/1 Running 0 20m
|
vdu1-heal-simple-75b5566444-wwzcm 1/1 Running 0 20m
|
||||||
|
|
||||||
Only the ``resourceId`` of target ``vnfcResourcecInfo`` in
|
Only the ``resourceId`` of target ``vnfcResourceInfo`` in
|
||||||
``Instnatiated Vnf Info`` will be updated from the VNF Instance displayed in
|
``Instantiated Vnf Info`` will be updated from the VNF Instance displayed in
|
||||||
:ref:`labelCapHealingtargetVNFinstance`.
|
:ref:`labelCapHealingtargetVNFinstance`.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
@@ -719,7 +719,7 @@ The following shows a sample json file.
|
|||||||
"vimConnectionInfo": {
|
"vimConnectionInfo": {
|
||||||
"vim1": {
|
"vim1": {
|
||||||
"vimId": "d0f0cef9-5890-4a68-8974-61ed71b9f5d9",
|
"vimId": "d0f0cef9-5890-4a68-8974-61ed71b9f5d9",
|
||||||
"vimType": "kubernetes"
|
"vimType": "ETSINFV.KUBERNETES.V_1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalParams": {
|
"additionalParams": {
|
||||||
@@ -744,7 +744,7 @@ In the case of specifying ``vimId`` in the ``vimConnectionInfo``,
|
|||||||
vim information is complemented by registered vim information.
|
vim information is complemented by registered vim information.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
When using Helm, ``vimType`` shall be set as ``kubernetes``.
|
When using Helm, ``vimType`` shall be set as ``ETSINFV.KUBERNETES.V_1``.
|
||||||
It is treated as Helm VIM inside tacker on the basis of
|
It is treated as Helm VIM inside tacker on the basis of
|
||||||
the value of ``extra.use_helm``.
|
the value of ``extra.use_helm``.
|
||||||
|
|
||||||
@@ -770,6 +770,10 @@ The following shows the sample json.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Even if this operation specify multiple ``vimConnectionInfo``
|
||||||
|
associated with one VNF instance, only one of them will be used for
|
||||||
|
life cycle management operations.
|
||||||
|
|
||||||
Also, a json file must include some parameters for Helm
|
Also, a json file must include some parameters for Helm
|
||||||
as additional parameters
|
as additional parameters
|
||||||
|
@@ -168,6 +168,11 @@ includes path of Kubernetes resource definition file and that
|
|||||||
$ openstack vnflcm instantiate 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 instance_kubernetes.json
|
$ openstack vnflcm instantiate 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 instance_kubernetes.json
|
||||||
Instantiate request for VNF Instance 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 has been accepted.
|
Instantiate request for VNF Instance 92cf0ccb-e575-46e2-9c0d-30c67e75aaf6 has been accepted.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
In the case of version 2 API, you can also set
|
||||||
|
``vimType`` as ``ETSINFV.KUBERNETES.V_1`` in ``vimConnectionInfo``.
|
||||||
|
|
||||||
CNF Scaling Procedure
|
CNF Scaling Procedure
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
@@ -799,6 +799,12 @@ vimId and vimType.
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
This operation can specify the ``vimConnectionInfo``
|
||||||
|
for the VNF instance.
|
||||||
|
Even if this operation specify multiple ``vimConnectionInfo``
|
||||||
|
associated with one VNF instance, only one of them will be used for
|
||||||
|
life cycle management operations.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
@@ -821,6 +827,10 @@ In this case, specify the type and name of the resource corresponding to the
|
|||||||
Although specifying it does not cause an error,
|
Although specifying it does not cause an error,
|
||||||
it is meaningless.
|
it is meaningless.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
In the case of version 2 API, you can also set
|
||||||
|
``vimType`` as ``ETSINFV.KUBERNETES.V_1`` in ``vimConnectionInfo``.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
@@ -109,6 +109,26 @@ definition file before running command for changing the VNF package.
|
|||||||
"password": "ubuntu"
|
"password": "ubuntu"
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
"vimConnectionInfo": {
|
||||||
|
"vim1": {
|
||||||
|
"accessInfo": {
|
||||||
|
"password": "devstack",
|
||||||
|
"project": "nfv",
|
||||||
|
"projectDomain": "Default",
|
||||||
|
"region": "RegionOne",
|
||||||
|
"userDomain": "Default",
|
||||||
|
"username": "nfv_user"
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"new-key": "new-val"
|
||||||
|
},
|
||||||
|
"interfaceInfo": {
|
||||||
|
"endpoint": "http://localhost/identity/v3"
|
||||||
|
},
|
||||||
|
"vimId": "defb2f96-5670-4bef-8036-27bf61267fc1",
|
||||||
|
"vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_3"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -211,6 +231,13 @@ You can set following parameter in additionalParams:
|
|||||||
to simulate the coordination interface in `ETSI SOL002 v3.5.1`_. Mainly a
|
to simulate the coordination interface in `ETSI SOL002 v3.5.1`_. Mainly a
|
||||||
script that can communicate with the VM after the VM is created, perform
|
script that can communicate with the VM after the VM is created, perform
|
||||||
special customization of the VM or confirm the status of the VM.
|
special customization of the VM or confirm the status of the VM.
|
||||||
|
* ``vimConnectionInfo`` is an optional parameter.
|
||||||
|
This operation can specify the ``vimConnectionInfo`` for
|
||||||
|
the VNF instance.
|
||||||
|
Even if this operation specify multiple ``vimConnectionInfo``
|
||||||
|
associated with one VNF instance, only one of them will be used
|
||||||
|
for life cycle management operations.
|
||||||
|
It is not possible to delete the key of registered ``vimConnectionInfo``.
|
||||||
|
|
||||||
.. note:: Currently, this operation only supports some functions of
|
.. note:: Currently, this operation only supports some functions of
|
||||||
``Change Current VNF Package``.
|
``Change Current VNF Package``.
|
||||||
|
@@ -94,6 +94,13 @@ definition file before running command for changing the connectivity.
|
|||||||
.. note:: sample_param_file.json contains all the data of port resource information.
|
.. note:: sample_param_file.json contains all the data of port resource information.
|
||||||
if no setting is contained, it is treated as a change in information.
|
if no setting is contained, it is treated as a change in information.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The change external VNF Connectivity operation can change the
|
||||||
|
``vimConnectionInfo`` associated with an existing VNF instance.
|
||||||
|
Even if change external VNF Connectivity operation specify multiple
|
||||||
|
``vimConnectionInfo`` associated with one VNF instance, only one of
|
||||||
|
them will be used for life cycle management operations.
|
||||||
|
It is not possible to delete the key of registered ``vimConnectionInfo``.
|
||||||
|
|
||||||
How to Change the Specific Port Setting
|
How to Change the Specific Port Setting
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@@ -259,9 +259,17 @@ Optional parameters:
|
|||||||
* vimConnectionInfo
|
* vimConnectionInfo
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
You can skip `vimConnectionInfo` only when you have
|
You can skip ``vimConnectionInfo`` only when you have
|
||||||
the default VIM described in :doc:`../cli/cli-legacy-vim`.
|
the default VIM described in :doc:`../cli/cli-legacy-vim`.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
This operation can specify the ``vimConnectionInfo``
|
||||||
|
for the VNF instance.
|
||||||
|
Even if this operation specify multiple ``vimConnectionInfo``
|
||||||
|
associated with one VNF instance, only one of them will be used for
|
||||||
|
life cycle management operations.
|
||||||
|
|
||||||
|
|
||||||
Param file with only required parameters:
|
Param file with only required parameters:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
@@ -129,9 +129,16 @@ Optional parameters:
|
|||||||
* vimConnectionInfo
|
* vimConnectionInfo
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
You can skip `vimConnectionInfo` only when you have
|
You can skip ``vimConnectionInfo`` only when you have
|
||||||
the default VIM described in :doc:`../cli/cli-legacy-vim`.
|
the default VIM described in :doc:`../cli/cli-legacy-vim`.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
This operation can specify the ``vimConnectionInfo``
|
||||||
|
for the VNF instance.
|
||||||
|
Even if this operation specify multiple ``vimConnectionInfo``
|
||||||
|
associated with one VNF instance, only one of them will be used for
|
||||||
|
life cycle management operations.
|
||||||
|
|
||||||
Param file with only required parameters:
|
Param file with only required parameters:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
@@ -96,12 +96,12 @@ Result:
|
|||||||
Tacker does not refer the value of these parameters specified in VNFD.
|
Tacker does not refer the value of these parameters specified in VNFD.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The update operation can change the vimConnectionInfo associated with an
|
The update operation can change the ``vimConnectionInfo``
|
||||||
existing VNF instance.
|
associated with an existing VNF instance.
|
||||||
Even if instantiate operation and update operation specify multiple
|
Even if update operation specify multiple ``vimConnectionInfo``
|
||||||
vimConnectionInfo associated with one VNF instance, only one of them will
|
associated with one VNF instance, only one of them will be used for life
|
||||||
be used for life cycle management operations.
|
cycle management operations.
|
||||||
It is not possible to delete the key of registered vimConnectionInfo.
|
It is not possible to delete the key of registered ``vimConnectionInfo``.
|
||||||
|
|
||||||
|
|
||||||
VNF instance name after operation:
|
VNF instance name after operation:
|
||||||
|
Reference in New Issue
Block a user