Commit 83a38bf1 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch '2.8.1-dev' into '2.8.1'

SOL002 and SOL003 OpenAPI representations for v2.8.1

See merge request !16
parents e3eec91b 2325aca6
Pipeline #6911 passed with stage
in 0 seconds
# NFV SOL002 and SOL003 APIs # NFV SOL002 and SOL003 APIs
This repository hosts the [OpenAPI](https://www.openapis.org/) specificatons and other documentation This repository hosts the [OpenAPI](https://www.openapis.org/) specificatons and other documentation
for the APIs defined in ETSI NFV GSs [SOL002](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.07.01_60/gs_NFV-SOL002v020701p.pdf) and [SOL003](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.07.01_60/gs_nfv-sol003v020701p.pdf). for the APIs defined in ETSI NFV GSs [SOL002](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.08.01_60/gs_NFV-SOL002v020801p.pdf) and
[SOL003](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.08.01_60/gs_nfv-sol003v020801p.pdf).
The APIs described in this repository are defined for the following reference points: The APIs described in this repository are defined for the following reference points:
......
...@@ -9,7 +9,7 @@ info: ...@@ -9,7 +9,7 @@ info:
version of the ETSI Group Specification it refers to and has not been version of the ETSI Group Specification it refers to and has not been
approved by the ETSI NFV ISG. In case of discrepancies the published ETSI approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
Group Specification takes precedence. Group Specification takes precedence.
Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
url: https://forge.etsi.org/etsi-forge-copyright-notice.txt url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
...@@ -17,8 +17,8 @@ info: ...@@ -17,8 +17,8 @@ info:
name: NFV-SOL WG name: NFV-SOL WG
externalDocs: externalDocs:
description: ETSI GS NFV-SOL 002 V2.7.1 description: ETSI GS NFV-SOL 002 V2.8.1
url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.07.01_60/gs_nfv-sol002v020701p.pdf url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.08.01_60/gs_NFV-SOL002v020801p.pdf
schemes: schemes:
- http - http
......
...@@ -9,7 +9,7 @@ info: ...@@ -9,7 +9,7 @@ info:
version of the ETSI Group Specification it refers to and has not been version of the ETSI Group Specification it refers to and has not been
approved by the ETSI NFV ISG. In case of discrepancies the published ETSI approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
Group Specification takes precedence. Group Specification takes precedence.
Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
url: https://forge.etsi.org/etsi-forge-copyright-notice.txt url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
...@@ -17,8 +17,8 @@ info: ...@@ -17,8 +17,8 @@ info:
name: NFV-SOL WG name: NFV-SOL WG
externalDocs: externalDocs:
description: ETSI GS NFV-SOL 002 V2.7.1 description: ETSI GS NFV-SOL 002 V2.8.1
url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.07.01_60/gs_nfv-sol002v020701p.pdf url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.08.01_60/gs_NFV-SOL002v020801p.pdf
basePath: /vnfconfig/v1 basePath: /vnfconfig/v1
...@@ -58,9 +58,8 @@ paths: ...@@ -58,9 +58,8 @@ paths:
required: false required: false
type: string type: string
get: get:
summary: Read VNF/VNFC configuration from VNF
description: > description: >
The client can use this method to read configuration information about a VNF instance and/or its VNFC instances. The API consumer can use this method to read configuration information about a VNF instance and/or its VNFC instances.
responses: responses:
200: 200:
description: > description: >
...@@ -113,7 +112,6 @@ paths: ...@@ -113,7 +112,6 @@ paths:
504: 504:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
patch: patch:
summary: Modify VNF/VNFC configuration.
description: This method sets or modifies a configuration resource. description: This method sets or modifies a configuration resource.
parameters: parameters:
- name: configModifications - name: configModifications
......
...@@ -100,6 +100,7 @@ definitions: ...@@ -100,6 +100,7 @@ definitions:
vnfcInstanceId: vnfcInstanceId:
description: > description: >
Identifier of a VNFC instance to which this set of configuration data applies. Identifier of a VNFC instance to which this set of configuration data applies.
The identifier references the "id" attribute in a "VnfcInfo" structure.
$ref: '../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf' $ref: '../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf'
intCpConfig: intCpConfig:
description: > description: >
......
...@@ -9,7 +9,7 @@ info: ...@@ -9,7 +9,7 @@ info:
version of the ETSI Group Specification it refers to and has not been version of the ETSI Group Specification it refers to and has not been
approved by the ETSI NFV ISG. In case of discrepancies the published ETSI approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
Group Specification takes precedence. Group Specification takes precedence.
Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
url: https://forge.etsi.org/etsi-forge-copyright-notice.txt url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
...@@ -17,8 +17,8 @@ info: ...@@ -17,8 +17,8 @@ info:
name: NFV-SOL WG name: NFV-SOL WG
externalDocs: externalDocs:
description: ETSI GS NFV-SOL 002 V2.7.1 description: ETSI GS NFV-SOL 002 V2.8.1
url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.07.01_60/gs_nfv-sol002v020701p.pdf url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.08.01_60/gs_NFV-SOL002v020801p.pdf
basePath: /vnffm/v1 basePath: /vnffm/v1
...@@ -43,7 +43,7 @@ paths: ...@@ -43,7 +43,7 @@ paths:
# Alarms # # Alarms #
############################################################################### ###############################################################################
'/alarms': '/alarms':
#SOL003 location: 7.4.2 #SOL002 location: 7.4.2
parameters: parameters:
- name: Version - name: Version
description: > description: >
...@@ -60,7 +60,7 @@ paths: ...@@ -60,7 +60,7 @@ paths:
type: string type: string
get: get:
description: > description: >
The client can use this method to retrieve information about the alarm The API consumer can use this method to retrieve information about the alarm
list. list.
parameters: parameters:
- name: Accept - name: Accept
...@@ -190,7 +190,7 @@ paths: ...@@ -190,7 +190,7 @@ paths:
# Individual alarm # # Individual alarm #
############################################################################### ###############################################################################
'/alarms/{alarmId}': '/alarms/{alarmId}':
#SOL003 location: 7.4.3 #SOL002 location: 7.4.3
parameters: parameters:
- name: alarmId - name: alarmId
description: > description: >
...@@ -218,7 +218,7 @@ paths: ...@@ -218,7 +218,7 @@ paths:
type: string type: string
get: get:
description: > description: >
The client can use this method to read an individual alarm. The API consumer can use this method to read an individual alarm.
parameters: parameters:
- name: Accept - name: Accept
description: > description: >
...@@ -474,7 +474,7 @@ paths: ...@@ -474,7 +474,7 @@ paths:
# Subscriptions # # Subscriptions #
############################################################################### ###############################################################################
'/subscriptions': '/subscriptions':
#SOL003 location: 7.4.4 #SOL002 location: 7.4.5
parameters: parameters:
- name: Version - name: Version
description: > description: >
...@@ -602,8 +602,8 @@ paths: ...@@ -602,8 +602,8 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
get: get:
description: > description: >
The client can use this method to retrieve the list of active The API consumer can use this method to retrieve the list of active
subscriptions for VNF alarms subscribed by the client. It can be used subscriptions for VNF alarms subscribed by the API consumer. It can be used
e.g. for resynchronization after error situations. e.g. for resynchronization after error situations.
parameters: parameters:
- name: Accept - name: Accept
...@@ -667,7 +667,7 @@ paths: ...@@ -667,7 +667,7 @@ paths:
description: > description: >
200 OK 200 OK
The list of subscriptions has been queried successfully. The response Shall be returned when the list of subscriptions has been queried successfully. The response
body shall contain the representations of all active body shall contain the representations of all active
subscriptions of the functional block that invokes the method. subscriptions of the functional block that invokes the method.
If the "filter" URI parameter was supplied in the request, the data If the "filter" URI parameter was supplied in the request, the data
...@@ -759,8 +759,8 @@ paths: ...@@ -759,8 +759,8 @@ paths:
type: string type: string
get: get:
description: > description: >
The client can use this method for reading an individual subscription The API consumer can use this method for reading an individual subscription
for VNF alarms subscribed by the client. for VNF alarms subscribed by the API consumer.
parameters: parameters:
- name: Accept - name: Accept
description: > description: >
......
...@@ -28,7 +28,9 @@ definitions: ...@@ -28,7 +28,9 @@ definitions:
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier" $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfcInstanceIds: vnfcInstanceIds:
description: > description: >
Identifiers of the affected VNFC instances. Identifiers of the affected VNFC instances. Each identifier references the "id"
attribute in a "VnfcInfo" structure. Shall be present if the alarm affects at
least one VNFC instance.
type: array type: array
items: items:
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf" $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
......
...@@ -9,7 +9,7 @@ info: ...@@ -9,7 +9,7 @@ info:
version of the ETSI Group Specification it refers to and has not been version of the ETSI Group Specification it refers to and has not been
approved by the ETSI NFV ISG. In case of discrepancies the published ETSI approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
Group Specification takes precedence. Group Specification takes precedence.
Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
url: https://forge.etsi.org/etsi-forge-copyright-notice.txt url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
...@@ -17,8 +17,8 @@ info: ...@@ -17,8 +17,8 @@ info:
name: NFV-SOL WG name: NFV-SOL WG
externalDocs: externalDocs:
description: ETSI GS NFV-SOL 002 V2.7.1 description: ETSI GS NFV-SOL 002 V2.8.1
url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.07.01_60/gs_nfv-sol002v020701p.pdf url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.08.01_60/gs_NFV-SOL002v020801p.pdf
basePath: /callback/v1 basePath: /callback/v1
...@@ -36,7 +36,7 @@ paths: ...@@ -36,7 +36,7 @@ paths:
############################################################################### ###############################################################################
# Notification endpoint AlarmNotification # # Notification endpoint AlarmNotification #
############################################################################### ###############################################################################
'/URI-is-provided-by-the-client-when-creating-the-subscription_AlarmNotification': '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmNotification':
parameters: parameters:
- name: Version - name: Version
description: > description: >
...@@ -112,8 +112,8 @@ paths: ...@@ -112,8 +112,8 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
get: get:
description: > description: >
The GET method allows the server to test the notification endpoint The GET method allows the API producer to test the notification endpoint
that is provided by the client, e.g. during subscription. that is provided by the API consumer, e.g. during subscription.
responses: responses:
204: 204:
description: > description: >
...@@ -154,7 +154,7 @@ paths: ...@@ -154,7 +154,7 @@ paths:
############################################################################### ###############################################################################
# Notification endpoint AlarmClearedNotification # # Notification endpoint AlarmClearedNotification #
############################################################################### ###############################################################################
'/URI-is-provided-by-the-client-when-creating-the-subscription_AlarmClearedNotification': '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification':
parameters: parameters:
- name: Version - name: Version
description: > description: >
...@@ -230,8 +230,8 @@ paths: ...@@ -230,8 +230,8 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
get: get:
description: > description: >
The GET method allows the server to test the notification endpoint The GET method allows the API producer to test the notification endpoint
that is provided by the client, e.g. during subscription. that is provided by the API consumer, e.g. during subscription.
responses: responses:
204: 204:
description: > description: >
...@@ -272,7 +272,7 @@ paths: ...@@ -272,7 +272,7 @@ paths:
############################################################################### ###############################################################################
# Notification endpoint AlarmListRebuiltNotification # # Notification endpoint AlarmListRebuiltNotification #
############################################################################### ###############################################################################
'/URI-is-provided-by-the-client-when-creating-the-subscription_AlarmListRebuiltNotification': '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification':
parameters: parameters:
- name: Version - name: Version
description: > description: >
...@@ -348,8 +348,8 @@ paths: ...@@ -348,8 +348,8 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
get: get:
description: > description: >
The GET method allows the server to test the notification endpoint The GET method allows the API producer to test the notification endpoint
that is provided by the client, e.g. during subscription. that is provided by the API consumer, e.g. during subscription.
responses: responses:
204: 204:
description: > description: >
......
...@@ -9,7 +9,7 @@ info: ...@@ -9,7 +9,7 @@ info:
version of the ETSI Group Specification it refers to and has not been version of the ETSI Group Specification it refers to and has not been
approved by the ETSI NFV ISG. In case of discrepancies the published ETSI approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
Group Specification takes precedence. Group Specification takes precedence.
Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
url: https://forge.etsi.org/etsi-forge-copyright-notice.txt url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
...@@ -17,8 +17,8 @@ info: ...@@ -17,8 +17,8 @@ info:
name: NFV-SOL WG name: NFV-SOL WG
externalDocs: externalDocs:
description: ETSI GS NFV-SOL 002 V2.7.1 description: ETSI GS NFV-SOL 002 V2.8.1
url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.07.01_60/gs_nfv-sol002v020701p.pdf url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.08.01_60/gs_NFV-SOL002v020801p.pdf
basePath: /vnfind/v1 basePath: /vnfind/v1
...@@ -58,7 +58,6 @@ paths: ...@@ -58,7 +58,6 @@ paths:
required: false required: false
type: string type: string
get: get:
summary: Query multiple indicators
description: Get a list of indicators. Support of attribute based filtering via query parameters. description: Get a list of indicators. Support of attribute based filtering via query parameters.
parameters: parameters:
- name: filter - name: filter
...@@ -110,8 +109,8 @@ paths: ...@@ -110,8 +109,8 @@ paths:
Shall be returned when information about zero or more VNF indicators was Shall be returned when information about zero or more VNF indicators was
queried successfully. The response body shall contain in an array the queried successfully. The response body shall contain in an array the
representations of all VNF indicators that match the attribute-based representations of all VNF indicators that match the attribute
filtering parameters, i.e. zero or more representations of VNF indicators filter, i.e. zero or more representations of VNF indicators
as defined in clause 8.5.2.2. as defined in clause 8.5.2.2.
If the "filter" URI parameter was supplied in the request, the data in If the "filter" URI parameter was supplied in the request, the data in
the response body shall have been transformed according to the rules the response body shall have been transformed according to the rules
...@@ -195,7 +194,6 @@ paths: ...@@ -195,7 +194,6 @@ paths:
required: false required: false
type: string type: string
get: get:
summary: Query multiple indicators related to a VNF instance.
description: > description: >
Get a list of indicators related to a specific VNF instance. Support of attribute based filtering via query parameters. Get a list of indicators related to a specific VNF instance. Support of attribute based filtering via query parameters.
parameters: parameters:
...@@ -341,7 +339,6 @@ paths: ...@@ -341,7 +339,6 @@ paths:
required: false required: false
type: string type: string
get: get:
summary: Read an inidividual VNF indicator related to a VNF instance.
description: > description: >
Read an individual VNF indicator related to a specific VNF instance. Read an individual VNF indicator related to a specific VNF instance.
NOTE: This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a NOTE: This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a
...@@ -396,7 +393,6 @@ paths: ...@@ -396,7 +393,6 @@ paths:
############################################################################### ###############################################################################
/subscriptions: /subscriptions:
post: post:
summary: Create a new subscription to VNF indicator change notifications
description: > description: >
This method creates a new subscription. This method creates a new subscription.
As the result of successfully executing this method, a new "Individual As the result of successfully executing this method, a new "Individual
...@@ -518,7 +514,6 @@ paths: ...@@ -518,7 +514,6 @@ paths:
504: 504:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
get: get:
summary: Query multiple subscriptions.
description: > description: >
Service Unavailable Service Unavailable
...@@ -649,11 +644,10 @@ paths: ...@@ -649,11 +644,10 @@ paths:
required: false required: false
type: string type: string
get: get:
summary: Read an individual subscription.
description: > description: >
Service Unavailable Service Unavailable
This resource represents an individual subscription. The client can use this resource to This resource represents an individual subscription. The API consumer can use this resource to
read and to terminate a subscription to notifications related to VNF indicator value changes. read and to terminate a subscription to notifications related to VNF indicator value changes.
parameters: parameters:
- name: subscriptionId - name: subscriptionId
...@@ -713,7 +707,6 @@ paths: ...@@ -713,7 +707,6 @@ paths:
504: 504:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
delete: delete:
summary: Delete a subscription
description: > description: >
This method terminates an individual subscription. This method terminates an individual subscription.
As the result of successfully executing this method, the "Individual As the result of successfully executing this method, the "Individual
...@@ -741,7 +734,7 @@ paths: ...@@ -741,7 +734,7 @@ paths:
description: > description: >
204 NO CONTENT 204 NO CONTENT
Shall be returned when the subscription has been deleted successfully. Shall be returned when the "Individual subscription" has been deleted successfully.
The response body shall be empty. The response body shall be empty.
headers: headers:
Version: Version:
......
...@@ -2,14 +2,14 @@ swagger: "2.0" ...@@ -2,14 +2,14 @@ swagger: "2.0"
info: info:
version: "1.2.1-impl:etsi.org:ETSI_NFV_OpenAPI:1" version: "1.2.1-impl:etsi.org:ETSI_NFV_OpenAPI:1"
title: SOL002 - VNF Indicator Notification Endpoint interface title: SOL002 - VNF Indicator Notification interface
description: > description: >
SOL002 - VNF Indicator Notification Endpoint interface SOL002 - VNF Indicator Notification interface
IMPORTANT: Please note that this file might be not aligned to the current IMPORTANT: Please note that this file might be not aligned to the current
version of the ETSI Group Specification it refers to and has not been version of the ETSI Group Specification it refers to and has not been
approved by the ETSI NFV ISG. In case of discrepancies the published ETSI approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
Group Specification takes precedence. Group Specification takes precedence.
Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
url: https://forge.etsi.org/etsi-forge-copyright-notice.txt url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
...@@ -17,8 +17,8 @@ info: ...@@ -17,8 +17,8 @@ info:
name: NFV-SOL WG name: NFV-SOL WG
externalDocs: externalDocs:
description: ETSI GS NFV-SOL 002 V2.7.1 description: ETSI GS NFV-SOL 002 V2.8.1
url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.07.01_60/gs_nfv-sol002v020701p.pdf url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.08.01_60/gs_NFV-SOL002v020801p.pdf
schemes: schemes:
- http - http
...@@ -34,7 +34,7 @@ paths: ...@@ -34,7 +34,7 @@ paths:
############################################################################### ###############################################################################
# Notification endpoint VnfIndicatorValueChangeNotification # # Notification endpoint VnfIndicatorValueChangeNotification #
############################################################################### ###############################################################################
'/URI-is-provided-by-the-client-when-creating-the-subscription_VnfIndicatorValueChangeNotification': '/URI_is_provided_by_the_client_when_creating_the_subscription-VnfIndicatorValueChangeNotification':
parameters: parameters:
- name: Version - name: Version
description: > description: >
...@@ -50,7 +50,6 @@ paths: ...@@ -50,7 +50,6 @@ paths:
required: false required: false
type: string type: string
post: post:
summary: Notification endpoint
description: > description: >
The API producer can use this resource to send notifications related to VNF indicator The API producer can use this resource to send notifications related to VNF indicator