Shall be returned when the operation has been completed successfully.
The response body shall contain attribute
The response body shall contain attribute modifications for an "Individual VNF package" resource.
modifications for an "Individual VNF
package" resource
headers:
headers:
Content-Type:
Content-Type:
description:The MIME type of the body of the response.
description:The MIME type of the body of the response.
...
@@ -487,14 +503,11 @@ paths:
...
@@ -487,14 +503,11 @@ paths:
description:>
description:>
200 OK
200 OK
On success, the content of the VNFD is returned.
Shall be returned when the content of the VNFD has been read successfully.
The payload body shall contain a copy of the file
The payload body shall contain a copy of the file representing the VNFD or a ZIP file that
representing the VNFD or a ZIP file that contains the
contains the file or multiple files representing the VNFD, as specified above.
file or multiple files representing the VNFD, as
The "Content-Type" HTTP header shall be set according to the format of the returned file,
specified above.
i.e. to "text/plain" for a YAML file or to "application/zip" for a ZIP file.
The "Content-Type" HTTP header shall be set
according to the format of the returned file, i.e. to
"text/plain" for a YAML file or to "application/zip" for a ZIP file.
headers:
headers:
Content-Type:
Content-Type:
description:The MIME type of the body of the response.
description:The MIME type of the body of the response.
...
@@ -592,12 +605,10 @@ paths:
...
@@ -592,12 +605,10 @@ paths:
description:>
description:>
200 OK
200 OK
On success, a copy of the VNF package file is returned.
Shall be returned when the whole content of the VNF package file has been read successfully.
The response body shall include a copy of the VNF package file.
The response body shall include a copy of the VNF package file.
The "Content-Type" HTTP header shall be set
The "Content-Type" HTTP header shall be set according to the type of the file, i.e. to
according to the type of the file, i.e. to "application/zip"
"application/zip" for a VNF Package as defined in ETSI GS NFV-SOL 004.
for a VNF Package as defined in ETSI
GS NFV-SOL 004 [5].
headers:
headers:
Content-Type:
Content-Type:
description:The MIME type of the body of the response.
description:The MIME type of the body of the response.
...
@@ -665,18 +676,18 @@ paths:
...
@@ -665,18 +676,18 @@ paths:
type:file
type:file
description:>
description:>
The payload body contains a ZIP file that represents the VNF package.
The payload body contains a ZIP file that represents the VNF package.
The "Content-Type" HTTP header shall be set according to the
The "Content-Type" HTTP header shall be set according to the type of the file,
type of the file, i.e. to "application/zip" for a VNF Package as
i.e. to "application/zip" for a VNF Package as defined in ETSI GS NFV-SOL 004.
defined in ETSI GS NFV-SOL 004 [5].
responses:
responses:
202:
202:
description:>
description:>
202 Accepted
202 Accepted
The VNF package was accepted for uploading, but the
The VNF package has been accepted for uploading, but the processing has not been completed.
processing has not been completed. It is expected to
It is expected to take some time for processing.
take some time for processing.
The response body shall be empty.
The response body shall be empty.
The client can track the uploading progress by receiving the "VnfPackageOnBoardingNotification"
from the NFVO or by reading the status of the individual VNF package resource using the GET method.
headers:
headers:
Version:
Version:
description:>
description:>
...
@@ -756,9 +767,8 @@ paths:
...
@@ -756,9 +767,8 @@ paths:
description:>
description:>
202 Accepted
202 Accepted
The information about the VNF package was received
The information about the VNF package has been received successfully, but the on-boarding
successfully, but the on-boarding has not been
has not been completed. It is expected to take some time for processing.
completed. It is expected to take some time for processing.
The response body shall be empty.
The response body shall be empty.
headers:
headers:
Version:
Version:
...
@@ -803,10 +813,11 @@ paths:
...
@@ -803,10 +813,11 @@ paths:
required:true
required:true
-name:artifactPath
-name:artifactPath
description:>
description:>
Path of the artifact within the VNF package.
Sequence of one or path segments representing the path of the artifact within the VNF package,
This identifier can be retrieved from the "artifactPath" attribute of the applicable "additionalArtifacts" entry in
relative to the root of the package.
the body of the response to a GET request querying the "Individual VNF package" or the "VNF packages"
This identifier can be retrieved from the "artifactPath" attribute of the applicable
resource.
"additionalArtifacts" entry in the body of the response to a GET request querying the
"Individual VNF package" or the "VNF packages" resource.
in:path
in:path
type:string
type:string
required:true
required:true
...
@@ -850,13 +861,12 @@ paths:
...
@@ -850,13 +861,12 @@ paths:
200:
200:
description:>
description:>
200 OK
200 OK
On success, the content of the artifact is returned.
Shall be returned when the whole content of the artifact file has been read successfully.
The payload body shall contain a copy of the artifact file from
The payload body shall contain a copy of the artifact file from the VNF package,
the VNF package, as defined by ETSI GS NFV-SOL 004.
as defined by ETSI GS NFV-SOL 004.
The "Content-Type" HTTP header shall be set according to the
The "Content-Type" HTTP header shall be set according to the content
content type of the artifact file. If the content type cannot be
type of the artifact file. If the content type cannot be determined, the header shall
determined, the header shall be set to the value
be set to the value "application/octet-stream.
"application/octet-stream".
headers:
headers:
Content-Type:
Content-Type:
description:The MIME type of the body of the response.
description:The MIME type of the body of the response.
...
@@ -880,15 +890,14 @@ paths:
...
@@ -880,15 +890,14 @@ paths:
206:
206:
description:>
description:>
Partial Content.
Partial Content.
On success, if the NFVO supports range requests, a single
consecutive byte range from the content of the VNF package file is
If the NFVO supports range requests, this response shall be returned when a single consecutive byte
returned.
range from the content of the artifact file has been read successfully according to the request.
The response body shall contain the requested part of the VNF
The response body shall contain the requested part of the artifact file from the VNF package, as defined
package file.
by ETSI GS NFV-SOL 004.
The "Content-Range" HTTP header shall be provided according to
The "Content-Type" HTTP header shall be set according to the content type of the artifact file.
IETF RFC 7233.
If the content type cannot be determined, the header shall be set to the value "application/octet-stream".
The "Content-Type" HTTP header shall be set as defined above for
The "Content-Range" HTTP header shall be provided according to IETF RFC 7233.
the "200 OK" response.
headers:
headers:
Content-Range:
Content-Range:
type:string
type:string
...
@@ -951,14 +960,17 @@ paths:
...
@@ -951,14 +960,17 @@ paths:
summary:Subscribe to notifications related to on-boarding and/or changes of VNF packages.
summary:Subscribe to notifications related to on-boarding and/or changes of VNF packages.
description:>
description:>
The POST method creates a new subscription.
The POST method creates a new subscription.
This method shall follow the provisions specified in the Tables 9.4.8.3.1-1 and 9.4.8.3.1-2 for URI query parameters,
This method shall follow the provisions specified in the Tables 9.4.8.3.1-1 and 9.4.8.3.1-2 for URI
request and response data structures, and response codes.
query parameters, request and response data structures, and response codes.
Creation of two subscription resources with the same callbackURI and the same filter can result in performance
As the result of successfully executing this method, a new "Individual subscription" resource shall exist
degradation and will provide duplicates of notifications to the OSS, and might make sense only in very rare use cases.
as defined in clause 9.4.9. This method shall not trigger any notification.
Consequently, the NFVO may either allow creating a subscription resource if another subscription resource with the
Creation of two subscription resources with the same callbackURI and the same filter can result in
same filter and callbackUri already exists (in which case it shall return the "201 Created" response code), or may decide
performance degradation and will provide duplicates of notifications to the OSS, and might make sense
to not create a duplicate subscription resource (in which case it shall return a "303 See Other" response code referencing
only in very rare use cases. Consequently, the NFVO may either allow creating a subscription resource
the existing subscription resource with the same filter and callbackUri).
if another subscription resource with the same filter and callbackUri already exists (in which case it
shall return the "201 Created" response code), or may decide to not create a duplicate subscription resource
(in which case it shall return a "303 See Other" response code referencing the existing subscription resource
with the same filter and callbackUri).
parameters:
parameters:
-name:Accept
-name:Accept
description:>
description:>
...
@@ -988,9 +1000,9 @@ paths:
...
@@ -988,9 +1000,9 @@ paths:
description:>
description:>
201 Created
201 Created
Representation of the created subscription resource.
Shall be returned when the subscription has been created successfully.
The HTTP response shall include a "Location"
The response body shall contain a representation of the created subscription resource.
HTTP header that points to the created subscription resource.
The HTTP response shall include a "Location" HTTP header that points to the created subscription resource.
headers:
headers:
Content-Type:
Content-Type:
description:The MIME type of the body of the response.
description:The MIME type of the body of the response.
...
@@ -1049,11 +1061,18 @@ paths:
...
@@ -1049,11 +1061,18 @@ paths:
required:false
required:false
type:string
type:string
description:>
description:>
Attribute-based filtering parameters according to clause 4.3.2.
Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV SOL 013.
The NFVO shall support receiving filtering parameters as part of the URI query
The NFVO shall support receiving this filtering parameter as part of the URI query string.
string. The OSS/BSS may supply filtering parameters.
The OSS/BSS may supply this filtering parameter.
All attribute names that appear in the PkgmSubscription and in data types
All attribute names that appear in the PkgmSubscription and in data types referenced from it
referenced from it shall be supported in attribute-based filtering parameters
shall be supported by the NFVO in the filtering expression
-name:nextpage_opaque_marker
in:query
required:false
type:string
description:>
Marker to obtain the next page of a paged response. Shall be supported by the NFVO if the NFVO
supports alternative 2 (paging) according to clause 5.4.2.1 of ETSI GS NFV-SOL 013 for this resource.
-name:Accept
-name:Accept
description:>
description:>
Content-Types that are acceptable for the response.
Content-Types that are acceptable for the response.
...
@@ -1066,7 +1085,15 @@ paths:
...
@@ -1066,7 +1085,15 @@ paths:
description:>
description:>
200 OK
200 OK
Active subscriptions of the functional block that invokes the method.
Shall be returned when the list of subscriptions has been queried successfully.
The response body shall contain in an array the representations of all active subscriptions of the
functional block that invokes the method, i.e. zero or more representations of VNF package management
subscriptions, as defined in clause 9.5.2.7.
If the "filter" URI parameter was supplied in the request, the data in the response body shall have been
transformed according to the rules specified in clause 5.2.2 of ETSI GS NFV-SOL 013.
If the NFVO supports alternative 2 (paging) according to clause 5.4.2.1 of ETSI GS NFV SOL 013 for
this resource, inclusion of the Link HTTP header in this response shall follow the provisions in clause
5.4.2.3 of ETSI GS NFV SOL 013.
headers:
headers:
Content-Type:
Content-Type:
description:The MIME type of the body of the response.
description:The MIME type of the body of the response.
...
@@ -1157,7 +1184,8 @@ paths:
...
@@ -1157,7 +1184,8 @@ paths:
description:>
description:>
200 OK
200 OK
Representation of the subscription resource.
Shall be returned when information about an individual subscription has been read successfully.
The response body shall contain a representation of the subscription resource.
headers:
headers:
Content-Type:
Content-Type:
description:The MIME type of the body of the response.
description:The MIME type of the body of the response.
...
@@ -1202,12 +1230,17 @@ paths:
...
@@ -1202,12 +1230,17 @@ paths:
summary:Terminate a subscription.
summary:Terminate a subscription.
description:>
description:>
The DELETE method terminates an individual subscription.
The DELETE method terminates an individual subscription.
This method shall follow the provisions specified in the Tables 9.4.9.3.5-1 and 9.4.9.3.5-2 for
URI query parameters, request and response data structures, and response codes.
As the result of successfully executing this method, the "Individual subscription" resource shall
not exist any longer. This means that no notifications for that subscription shall be sent to the formerly-subscribed API consumer.
NOTE: Due to race conditions, some notifications might still be received by the formerly-subscribed API consumer for a certain time period after the deletion.
responses:
responses:
204:
204:
description:>
description:>
No Content
No Content
The subscription resource was deleted successfully.
Shall be returned when the subscription resource washas been deleted successfully.