additionalParamsForNs:
type: object
additionalProperties: true
- additionalParamsForVnf:
+ additionalParamsForVnf: &additionalparamsforvnf
type: array
items:
type: object
additionalParams:
type: object
additionalProperties: true
+ k8s-namespace:
+ type: string
+ description: |
+ use this namespace for all the KDU deployed in this VNF
+ (if any). By default it is used the id of the project
additionalParamsForVdu:
type: array
items:
properties:
kdu_name:
type: string
+ k8s-namespace:
+ type: string
+ description: use this namespace for this KDU
+ kdu_model:
+ type: string
additionalParams:
type: object
additionalProperties: true
required:
- kdu_name
- - additionalParams
+ minProperties: 2
additionalProperties: false
required:
- member-vnf-index
format: uuid
vduImage:
type: string
+ placement-engine:
+ type: string
+ description: |
+ To compute automatically the target VIM for each VNF based on
+ constrains, e.g. latency. Currently only 'PLA' is supported
+ placement-constraints:
+ type: object
+ additionalProperties: true
+ k8s-namespace:
+ type: string
+ timeout_ns_deploy:
+ type: integer
vnf:
type: array
items:
type: string
segmentation-id:
type: string
+ network-type:
+ type: string
+ sdn-ports:
+ description: |
+ connect additional ports to the created underlay SDN connectivity.
+ Normally for external connectivy.
+ type: array
+ items:
+ type: object
+ properties:
+ switch_id:
+ type: string
+ switch_port:
+ type: string
+ mac_address:
+ type: string
+ format: mac_address
+ vlan:
+ type: integer
+ additionalProperties: true
+ required:
+ - switch_id
+ - switch_port
+ minItems: 1
additionalProperties: false
internal-connection-point:
type: array
type: string
enum:
- SCALE_VNF
+ timeout_ns_scale:
+ description: timeout for the scale operation
+ type: integer
scaleVnfData:
type: object
properties:
properties:
scaling-group-descriptor:
type: string
+ scaling-policy:
+ type: string
member-vnf-index:
type: string
- additionalProperties: true
- additionalProperties: true
- additionalProperties: true
+ required:
+ - scaling-group-descriptor
+ - member-vnf-index
+ additionalProperties: false
+ required:
+ - scaleVnfType
+ - scaleByStepData
+ additionalProperties: false
+ required:
+ - scaleType
+ - scaleVnfData
+ additionalProperties: false
TerminateNsRequest:
type: object
properties:
- terminationTime:
- description: |
- Timestamp indicating the end time of the NS, i.e. the NS will be terminated
- automatically at this timestamp. Cardinality "0" indicates the NS termination
- takes place immediately.
- type: string
- format: date-time
+ timeout_ns_terminate:
+ description: timeout for terminate operation
+ type: integer
+ autoremove:
+ description: remove network service if termination end without error
+ type: boolean
+ skip_terminate_primitives:
+ description: Do not execute network service termination primitives
+ type: boolean
+ additionalProperties: false
ArrayOfNsInstance:
type: array
items:
properties:
primitive:
type: string
+ description: |
+ name of the primitive in the 'config-descriptor'. If the target is
+ a kdu it can be also 'status', 'rollback' or 'upgrade'
primitive_params:
+ description: parameters of this primitive
$ref: '#/components/schemas/KeyValuePairs'
- lcmOperationType:
- type: string
- nsInstanceId:
- type: string
- format: uuid
member_vnf_index:
type: string
+ description: provide if the target action is for a vnf, vdu or kdu
vdu_id:
type: string
+ description: provide if the target action is for a vdu
+ kdu_name:
+ type: string
+ description: provide if the target action is for a kdu
vdu_count_index:
type: integer
+ timeout_ns_action:
+ description: timeout for the day 1/2 operation
+ type: integer
required:
- primitive
- primitive_params
additionalParamsForNs:
type: object
additionalProperties: true
- additionalParamsForVnf:
- type: array
- items:
- type: object
- properties:
- member-vnf-index:
- type: string
- additionalParams:
- type: object
- additionalProperties: true
- additionalParamsForVdu:
- type: array
- items:
- type: object
- properties:
- vdu_id:
- type: string
- additionalParams:
- type: object
- additionalProperties: true
- required:
- - vdu_id
- - additionalParams
- additionalProperties: false
- additionalParamsForKdu:
- type: array
- items:
- type: object
- properties:
- kdu_name:
- type: string
- additionalParams:
- type: object
- additionalProperties: true
- required:
- - kdu_name
- - additionalParams
- additionalProperties: false
- required:
- - member-vnf-index
- minProperties: 2
- additionalProperties: false
+ additionalParamsForVnf: *additionalparamsforvnf
ssh_keys:
type: array
items: