Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL005
Commits
42ff55c8
Commit
42ff55c8
authored
May 05, 2021
by
Giacomo Bernini
Browse files
fix nfvi capacity
parent
c7ed2cf2
Pipeline
#6893
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/SOL005/NFVICapacityInformation/NFVICapacityInformation.yaml
View file @
42ff55c8
...
...
@@ -279,20 +279,6 @@ components:
schema
:
type
:
string
SubscriptionId
:
name
:
subscriptionId
in
:
path
description
:
|
Identifier of the subscription.
This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the response to a
POST request creating a new subscription resource. It can also be retrieved from the "id" attribute in the payload
body of that response.
required
:
true
style
:
simple
explode
:
false
schema
:
type
:
string
requestBodies
:
NfviCapacityThresholdRequest
:
description
:
|
...
...
@@ -313,16 +299,6 @@ components:
$ref
:
./definitions/NFVICapacityInformation_def.yaml#/components/schemas/CapacityThresholdModifications
required
:
true
CapacityShortageNotificationRequest
:
description
:
|
Notification about the available NFVI capacity having crossed below a threshold value or having re-covered from
a capacity shortage.
content
:
application/json
:
schema
:
$ref
:
./definitions/NFVICapacityInformation_def.yaml#/components/schemas/CapacityShortageNotification
required
:
true
responses
:
NfviCapacityInfos.Get
:
description
:
|
...
...
@@ -552,59 +528,4 @@ components:
explode
:
false
schema
:
type
:
string
content
:
{}
CapacityShortageNotification.Post
:
description
:
|
Shall be returned when the notification has been delivered successfully.
headers
:
Version
:
description
:
|
Version of the API used in the response.
style
:
simple
explode
:
false
schema
:
type
:
string
WWW-Authenticate
:
description
:
|
Challenge if the corresponding HTTP request has not provided authorization, or error details if the
corresponding HTTP request has provided an invalid authorization token.
style
:
simple
explode
:
false
schema
:
type
:
string
Content-Type
:
description
:
The MIME type of the body of the response.
style
:
simple
explode
:
false
schema
:
type
:
string
content
:
{}
CapacityShortageNotification.Get
:
description
:
|
Shall be returned to indicate that the notification endpoint has been tested successfully.
The response body shall be empty.
headers
:
Version
:
description
:
|
Version of the API used in the response.
style
:
simple
explode
:
false
schema
:
type
:
string
WWW-Authenticate
:
description
:
|
Challenge if the corresponding HTTP request has not provided authorization, or error details if the
corresponding HTTP request has provided an invalid authorization token.
style
:
simple
explode
:
false
schema
:
type
:
string
Content-Type
:
description
:
The MIME type of the body of the response.
style
:
simple
explode
:
false
schema
:
type
:
string
content
:
{}
\ No newline at end of file
src/SOL005/NFVICapacityInformation/definitions/NFVICapacityInformation_def.yaml
View file @
42ff55c8
...
...
@@ -119,80 +119,6 @@ components:
This attribute shall only be present if the API consumer requires authorization of notifications.
$ref
:
../../definitions/SOL005_def.yaml#/definitions/SubscriptionAuthentication
NfviCapacityInfoSubscription
:
type
:
object
description
:
|
This type represents a subscription. It shall comply with the provisions defined in Table 10.5.2.9-1.
required
:
-
id
-
callbackUri
-
_links
properties
:
id
:
description
:
|
Identifier that identifies the subscription.
$ref
:
../../definitions/SOL005_def.yaml#/definitions/Identifier
filter
:
description
:
|
Filter settings for this subscription, to define the subset of all notifications this subscription relates to.
A particular notification is sent to the subscriber if the filter matches, or if there is no filter.
$ref
:
'
#/components/schemas/NfviCapacityInfoNotificationsFilter'
callbackUri
:
description
:
|
The URI of the endpoint to send the notification to.
$ref
:
../../definitions/SOL005_def.yaml#/definitions/Uri
_links
:
type
:
object
description
:
|
Links to resources related to this resource.
required
:
-
self
properties
:
self
:
description
:
|
URI of this resource.
$ref
:
../../definitions/SOL005_def.yaml#/definitions/Link
NfviCapacityInfoSubscriptionRequest
:
type
:
object
description
:
|
This type represents a subscription request. It shall comply with the provisions defined in Table 10.5.2.2-1.
required
:
-
callbackUri
properties
:
filter
:
description
:
|
Filter settings for this subscription, to define the subset of all notifications this subscription relates to.
A particular notification is sent to the subscriber if the filter matches, or if there is no filter.
$ref
:
'
#/components/schemas/NfviCapacityInfoNotificationsFilter'
callbackUri
:
description
:
|
The URI of the endpoint to send the notification to.
$ref
:
../../definitions/SOL005_def.yaml#/definitions/Uri
authentication
:
description
:
|
Authentication parameters to configure the use of authorization when sending notifications corresponding to
this subscription, as defined in clause 8.3.4 of ETSI GS NFV SOL 013.
This attribute shall only be present if the subscriber requires authorization of notifications.
$ref
:
../../definitions/SOL005_def.yaml#/definitions/SubscriptionAuthentication
NfviCapacityInfoNotificationsFilter
:
type
:
object
description
:
|
This type represents a filter that can be used to subscribe for notifications related to NFVI capacity information events.
It shall comply with the provisions defined in Table 10.5.3.2-1.
properties
:
notificationTypes
:
description
:
|
Match particular notification types.
Permitted values:
- CapacityShortageNotification
type
:
array
items
:
type
:
string
enum
:
-
CapacityShortageNotification
CapacityThresholdCriteria
:
type
:
object
description
:
|
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment