Commit 9f82be0a authored by moscatelli's avatar moscatelli
Browse files

References updated in NSD mgmt def file

parent 4a1c1fb5
Pipeline #649 failed with stage
in 0 seconds
# Copyright (c) ETSI 2017.
# https://forge.etsi.org/etsi-forge-copyright-notice.txt
definitions: definitions:
NsdInfo: NsdInfo:
type: object type: object
...@@ -12,14 +14,14 @@ definitions: ...@@ -12,14 +14,14 @@ definitions:
description: > description: >
Identifier of the on boarded individual NS descriptor Identifier of the on boarded individual NS descriptor
resource. This identifier is allocated by the NFVO. resource. This identifier is allocated by the NFVO.
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdId: nsdId:
description: > description: >
This identifier, which is allocated by the NSD This identifier, which is allocated by the NSD
designer, identifies the NSD in a globally unique designer, identifies the NSD in a globally unique
way. It is copied from the NSD content and shall be way. It is copied from the NSD content and shall be
present after the NSD content is on-boarded. present after the NSD content is on-boarded.
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdName: nsdName:
type: string type: string
description: > description: >
...@@ -30,7 +32,7 @@ definitions: ...@@ -30,7 +32,7 @@ definitions:
Version of the on-boarded NSD. This information is Version of the on-boarded NSD. This information is
copied from the NSD content and shall be present copied from the NSD content and shall be present
after the NSD content is on-boarded. after the NSD content is on-boarded.
$ref: "SOL005_def.yaml#/definitions/Version" $ref: "../../definitions/SOL005_def.yaml#/definitions/Version"
nsdDesigner: nsdDesigner:
type: string type: string
description: > description: >
...@@ -43,14 +45,14 @@ definitions: ...@@ -43,14 +45,14 @@ definitions:
manner. This information is copied from the NSD manner. This information is copied from the NSD
content and shall be present after the NSD content is content and shall be present after the NSD content is
on-boarded. on-boarded.
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
vnfPkgIds: vnfPkgIds:
description: > description: >
Identifies the VNF package for the VNFD referenced Identifies the VNF package for the VNFD referenced
by the on-boarded NS descriptor resource. by the on-boarded NS descriptor resource.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
pnfdInfoIds: pnfdInfoIds:
description: > description: >
Identifies the PnfdInfo element for the PNFD Identifies the PnfdInfo element for the PNFD
...@@ -58,7 +60,7 @@ definitions: ...@@ -58,7 +60,7 @@ definitions:
resource. resource.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nestedNsdInfoIds: nestedNsdInfoIds:
description: > description: >
Identifies the NsdInfo element for the nested NSD Identifies the NsdInfo element for the nested NSD
...@@ -66,7 +68,7 @@ definitions: ...@@ -66,7 +68,7 @@ definitions:
resource. resource.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdOnboardingState: nsdOnboardingState:
description: > description: >
On boarding state of the individual NS descriptor resource. On boarding state of the individual NS descriptor resource.
...@@ -79,7 +81,7 @@ definitions: ...@@ -79,7 +81,7 @@ definitions:
It shall be present when the "nsdOnboardingState" It shall be present when the "nsdOnboardingState"
attribute is CREATED and the uploading or attribute is CREATED and the uploading or
processing fails in NFVO. processing fails in NFVO.
$ref: "SOL005_def.yaml#/definitions/ProblemDetails" $ref: "../../definitions/SOL005_def.yaml#/definitions/ProblemDetails"
nsdOperationalState: nsdOperationalState:
description: > description: >
Operational state of the individual NS descriptor Operational state of the individual NS descriptor
...@@ -95,7 +97,7 @@ definitions: ...@@ -95,7 +97,7 @@ definitions:
User defined data for the individual NS descriptor User defined data for the individual NS descriptor
resource. This attribute can be modified with the resource. This attribute can be modified with the
PATCH method. PATCH method.
$ref: "SOL005_def.yaml#/definitions/KeyValuePairs" $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
_links: _links:
type: object type: object
required: required:
...@@ -107,11 +109,11 @@ definitions: ...@@ -107,11 +109,11 @@ definitions:
self: self:
description: > description: >
URI of this resource. URI of this resource.
$ref: "SOL005_def.yaml#/definitions/Link" $ref: "../../definitions/SOL005_def.yaml#/definitions/Link"
nsd_content: nsd_content:
description: > description: >
Link to the NSD content resource. Link to the NSD content resource.
$ref: "SOL005_def.yaml#/definitions/Link" $ref: "../../definitions/SOL005_def.yaml#/definitions/Link"
description: > description: >
This type represents a response for the query NSD operation. This type represents a response for the query NSD operation.
...@@ -134,7 +136,7 @@ definitions: ...@@ -134,7 +136,7 @@ definitions:
NOTE- At least one of the attributes - nsdOperationalState and userDefinedData - shall be present. NOTE- At least one of the attributes - nsdOperationalState and userDefinedData - shall be present.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/KeyValuePairs" $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
NsdOperationalState: NsdOperationalState:
description: > description: >
...@@ -155,7 +157,7 @@ definitions: ...@@ -155,7 +157,7 @@ definitions:
id: id:
description: > description: >
Identifier of this subscription resource. Identifier of this subscription resource.
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
filter: filter:
description: > description: >
Filter settings for this subscription, to define the subset Filter settings for this subscription, to define the subset
...@@ -166,14 +168,14 @@ definitions: ...@@ -166,14 +168,14 @@ definitions:
callbackUri: callbackUri:
description: > description: >
The URI of the endpoint to send the notification to. The URI of the endpoint to send the notification to.
$ref: "SOL005_def.yaml#/definitions/Uri" $ref: "../../definitions/SOL005_def.yaml#/definitions/Uri"
_links: _links:
type: object type: object
description: > description: >
Links to resources related to this resource. Links to resources related to this resource.
properties: properties:
self: self:
$ref: "SOL005_def.yaml#/definitions/Link" $ref: "../../definitions/SOL005_def.yaml#/definitions/Link"
description: > description: >
This type represents a subscription related to notifications about NSD management. This type represents a subscription related to notifications about NSD management.
...@@ -229,31 +231,31 @@ definitions: ...@@ -229,31 +231,31 @@ definitions:
Match the NsdInfo identifier which is allocated by the NFVO. Match the NsdInfo identifier which is allocated by the NFVO.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdId: nsdId:
description: > description: >
Match the NSD identifier, which is allocated by the NSD designer. Match the NSD identifier, which is allocated by the NSD designer.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdName: nsdName:
description: > description: >
Match the name of the on boarded NSD. Match the name of the on boarded NSD.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/String" $ref: "../../definitions/SOL005_def.yaml#/definitions/String"
nsdVersion: nsdVersion:
description: > description: >
Match the NSD version listed as part of this attribute. Match the NSD version listed as part of this attribute.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Version" $ref: "../../definitions/SOL005_def.yaml#/definitions/Version"
nsdDesigner: nsdDesigner:
description: > description: >
Match the NSD designer of the on-boarded NSD. Match the NSD designer of the on-boarded NSD.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/String" $ref: "../../definitions/SOL005_def.yaml#/definitions/String"
nsdInvariantId: nsdInvariantId:
description: > description: >
Match the NSD invariant identifier which is allocated Match the NSD invariant identifier which is allocated
...@@ -261,28 +263,28 @@ definitions: ...@@ -261,28 +263,28 @@ definitions:
version independent manner. version independent manner.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
vnfPkgIds: vnfPkgIds:
description: > description: >
Match VNF packages with a package identifier listed Match VNF packages with a package identifier listed
in the attribute. in the attribute.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
pnfdInfoIds: pnfdInfoIds:
description: > description: >
Match the PnfdInfo identifier for the PNFD Match the PnfdInfo identifier for the PNFD
referenced by the on-boarded NSD. referenced by the on-boarded NSD.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nestedNsdInfoIds: nestedNsdInfoIds:
description: > description: >
Match the NsdInfo identifier for the nested NSD Match the NsdInfo identifier for the nested NSD
referenced by the on-boarded NSD. referenced by the on-boarded NSD.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdOnboardingState: nsdOnboardingState:
description: > description: >
Match particular on-boarding state of the NSD. Match particular on-boarding state of the NSD.
...@@ -306,31 +308,31 @@ definitions: ...@@ -306,31 +308,31 @@ definitions:
Match the PNFD identifier which is copied from the PNFD content. Match the PNFD identifier which is copied from the PNFD content.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
pnfdName: pnfdName:
description: > description: >
Match the name of the on-boarded PNFD. Match the name of the on-boarded PNFD.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/String" $ref: "../../definitions/SOL005_def.yaml#/definitions/String"
pnfdVersion: pnfdVersion:
description: > description: >
Match the PNFD designer of the on-boarded PNFD. Match the PNFD designer of the on-boarded PNFD.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Version" $ref: "../../definitions/SOL005_def.yaml#/definitions/Version"
pnfdProvider: pnfdProvider:
description: > description: >
Match the provider of the on-boarded PNFD. Match the provider of the on-boarded PNFD.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/String" $ref: "../../definitions/SOL005_def.yaml#/definitions/String"
pnfdInvariantId: pnfdInvariantId:
description: > description: >
Match the PNFD in a version independent manner. Match the PNFD in a version independent manner.
type: array type: array
items: items:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
pnfdOnboardingState: pnfdOnboardingState:
description: > description: >
Match particular on-boarding state of the PNFD. Match particular on-boarding state of the PNFD.
...@@ -431,7 +433,7 @@ definitions: ...@@ -431,7 +433,7 @@ definitions:
The token endpoint from which the access The token endpoint from which the access
token can be obtained. Shall be present if it token can be obtained. Shall be present if it
has not been provisioned out of band. has not been provisioned out of band.
$ref: "SOL005_def.yaml#/definitions/Uri" $ref: "../../definitions/SOL005_def.yaml#/definitions/Uri"
NsdOperationalStateType: NsdOperationalStateType:
type: string type: string
...@@ -476,7 +478,7 @@ definitions: ...@@ -476,7 +478,7 @@ definitions:
type: object type: object
properties: properties:
userDefinedData: userDefinedData:
$ref: "SOL005_def.yaml#/definitions/KeyValuePairs" $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
description: > description: >
This type creates a completely new NS descriptor resource. This type creates a completely new NS descriptor resource.
...@@ -486,7 +488,7 @@ definitions: ...@@ -486,7 +488,7 @@ definitions:
- userDefinedData - userDefinedData
properties: properties:
userDefinedData: userDefinedData:
$ref: "SOL005_def.yaml#/definitions/KeyValuePairs" $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
description: > description: >
This type represents attribute modifications for an individual PNF This type represents attribute modifications for an individual PNF
descriptor resource based on the "PnfdInfo" data type. The attributes of descriptor resource based on the "PnfdInfo" data type. The attributes of
...@@ -506,14 +508,14 @@ definitions: ...@@ -506,14 +508,14 @@ definitions:
Identifier of the on-boarded individual PNF Identifier of the on-boarded individual PNF
descriptor resource. This identifier is allocated by descriptor resource. This identifier is allocated by
the NFVO. the NFVO.
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
pnfdId: pnfdId:
description: > description: >
This identifier, which is managed by the PNFD This identifier, which is managed by the PNFD
designer, identifies the PNFD in a globally unique way. designer, identifies the PNFD in a globally unique way.
It is copied from the PNFD content and shall It is copied from the PNFD content and shall
be present after the PNFD content is on-boarded. be present after the PNFD content is on-boarded.
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
pnfdName: pnfdName:
description: > description: >
Name of the on-boarded PNFD. This information Name of the on-boarded PNFD. This information
...@@ -521,7 +523,7 @@ definitions: ...@@ -521,7 +523,7 @@ definitions:
present after the PNFD content is on-boarded. present after the PNFD content is on-boarded.
type: string type: string
pnfdersion: pnfdersion:
$ref: "SOL005_def.yaml#/definitions/Version" $ref: "../../definitions/SOL005_def.yaml#/definitions/Version"
pnfdProvider: pnfdProvider:
description: > description: >
Provider of the on-boarded PNFD. This information is copied from Provider of the on-boarded PNFD. This information is copied from
...@@ -532,7 +534,7 @@ definitions: ...@@ -532,7 +534,7 @@ definitions:
Identifies a PNFD in a version independent Identifies a PNFD in a version independent
manner. This attribute is invariant across versions manner. This attribute is invariant across versions
of PNFD. of PNFD.
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
pnfdOnboardingState: pnfdOnboardingState:
description: > description: >
On-boarding state of the individual PNF descriptor resource. On-boarding state of the individual PNF descriptor resource.
...@@ -543,7 +545,7 @@ definitions: ...@@ -543,7 +545,7 @@ definitions:
It shall be present when the It shall be present when the
pnfdOnboardingState attribute is CREATED pnfdOnboardingState attribute is CREATED
and the uploading or processing fails in the NFVO. and the uploading or processing fails in the NFVO.
$ref: "SOL005_def.yaml#/definitions/ProblemDetails" $ref: "../../definitions/SOL005_def.yaml#/definitions/ProblemDetails"
pnfdUsageState: pnfdUsageState:
description: > description: >
Usage state of the individual PNF descriptor resource. Usage state of the individual PNF descriptor resource.
...@@ -552,7 +554,7 @@ definitions: ...@@ -552,7 +554,7 @@ definitions:
description: > description: >
User defined data for the individual PNF descriptor resource. User defined data for the individual PNF descriptor resource.
This attribute can be modified with the PATCH method. This attribute can be modified with the PATCH method.
$ref: "SOL005_def.yaml#/definitions/KeyValuePairs" $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
_links: _links:
required: required:
- pnfd_content - pnfd_content
...@@ -562,9 +564,9 @@ definitions: ...@@ -562,9 +564,9 @@ definitions:
Links to resources related to this resource. Links to resources related to this resource.
properties: properties:
self: self:
$ref: "SOL005_def.yaml#/definitions/Link" $ref: "../../definitions/SOL005_def.yaml#/definitions/Link"
pnfd_content: pnfd_content:
$ref: "SOL005_def.yaml#/definitions/Link" $ref: "../../definitions/SOL005_def.yaml#/definitions/Link"
description: > description: >
This type represents a response for the query PNFD operation. This type represents a response for the query PNFD operation.
...@@ -599,7 +601,7 @@ definitions: ...@@ -599,7 +601,7 @@ definitions:
type: object type: object
properties: properties:
userDefinedData: userDefinedData:
$ref: "SOL005_def.yaml#/definitions/KeyValuePairs" $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
description: > description: >
User-defined data for the PNF descriptor resource to be created. User-defined data for the PNF descriptor resource to be created.
It shall be present when the user defined data is set for It shall be present when the user defined data is set for
...@@ -645,22 +647,22 @@ definitions: ...@@ -645,22 +647,22 @@ definitions:
- timeStamp - timeStamp
properties: properties:
id: id:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
notificationType: notificationType:
type: string type: string
description: > description: >
Discriminator for the different notification types. Shall be Discriminator for the different notification types. Shall be
set to "NsdOnboardingNotification" for this notification type. set to "NsdOnboardingNotification" for this notification type.
subscriptionId: subscriptionId:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
timeStamp: timeStamp:
description: > description: >
Date-time of the generation of the notification. Date-time of the generation of the notification.
$ref: "SOL005_def.yaml#/definitions/DateTime" $ref: "../../definitions/SOL005_def.yaml#/definitions/DateTime"
nsdInfoId: nsdInfoId:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdId: nsdId:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
_links: _links:
$ref: "#/definitions/NsdmLinks" $ref: "#/definitions/NsdmLinks"
description: > description: >
...@@ -682,24 +684,24 @@ definitions: ...@@ -682,24 +684,24 @@ definitions:
- timeStamp - timeStamp
properties: properties:
id: id:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
notificationType: notificationType:
type: string type: string
description: > description: >
Discriminator for the different notification types. Shall be Discriminator for the different notification types. Shall be
set to "NsdOnboardingFailureNotification" for this notification type. set to "NsdOnboardingFailureNotification" for this notification type.
subscriptionId: subscriptionId:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
timeStamp: timeStamp:
description: > description: >
Date-time of the generation of the notification. Date-time of the generation of the notification.
$ref: "SOL005_def.yaml#/definitions/DateTime" $ref: "../../definitions/SOL005_def.yaml#/definitions/DateTime"
nsdInfoId: nsdInfoId:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
nsdId: nsdId:
$ref: "SOL005_def.yaml#/definitions/Identifier" $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
onboardingFailureDetails: onboardingFailureDetails:
$ref: "SOL005_def.yaml#/definitions/ProblemDetails" $ref: "../../definitions/SOL005_def.yaml#/definitions/ProblemDetails"
_links: _links:
$ref: "#/definitions/NsdmLinks" $ref: "#/definitions/NsdmLinks"
description: > description: >
...@@ -722,22 +724,22 @@ definitions: ...@@ -722,22 +724,22 @@ definitions:
- timeStamp - timeStamp
properties: