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
api-tests
Commits
f767c238
Commit
f767c238
authored
Jan 26, 2021
by
Giacomo Bernini
Browse files
updated reference descriptors in NS LCM
parent
4f6801ae
Changes
6
Hide whitespace changes
Inline
Side-by-side
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
View file @
f767c238
...
...
@@ -8,9 +8,10 @@ Library OperatingSystem
Library
MockServerLibrary
Library
Collections
Library
String
Variables
descriptors/SOL006/NSD/reference_tst010_nsd_simple_a_b_SOL006.yaml
Variables
descriptors/SOL001/VNFD/reference_tst010_vnf_b_2vdu_SOL001.yaml
Variables
descriptors/SOL001/NSD/reference_tst010_nsd_simple_a_b_SOL001.yaml
Variables
descriptors/SOL006/VNFD/reference_tst010_vnf_2vdu_SOL006.yaml
Variables
descriptors/SOL006/NSD/reference_tst010_nsd_simple_SOL006.yaml
Variables
descriptors/SOL001/VNFD/reference_tst010_vnf_2vdu_SOL001.yaml
Variables
descriptors/SOL001/NSD/reference_tst010_nsd_simple_SOL001.yaml
*** Keywords ***
Initialize System
...
...
SOL005/NSLifecycleManagement-API/descriptors/SOL001/NSD/reference_tst010_nsd_simple_
a_b_
SOL001.yaml
→
SOL005/NSLifecycleManagement-API/descriptors/SOL001/NSD/reference_tst010_nsd_simple_SOL001.yaml
View file @
f767c238
...
...
@@ -2,37 +2,17 @@ tosca_definitions_version: "tosca_simple_yaml_1_2"
tosca_default_namespace
:
"
toscanfv"
description
:
"
Referenxce
NSD
descriptor
"
metadata
:
descriptor_id
:
"
NSD_WITH_
2
_VNF"
descriptor_id
:
"
NSD_WITH_
1
_VNF"
vendor
:
"
ETSI"
version
:
"
1.0"
topology_template
:
substitution_mappings
:
node_type
:
"
tosca.nodes.nfv.NS"
requirements
:
right
:
[
VNF_A
,
ext_
a
_right
]
right
:
[
VNF_A
,
ext_
b
_right
]
left
:
[
VNF_B
,
ext_b_left
]
mgmt_a
:
[
VNF_A
,
management_vnf_a
]
mgmt_b
:
[
VNF_B
,
management_vnf_b
]
node_templates
:
VNF_A
:
type
:
"
tosca.nodes.nfv.VNF"
properties
:
descriptor_id
:
"
VNF-A"
descriptor_version
:
"
1.0"
provider
:
"
ETSI
TST
WG"
product_name
:
"
VNF-A"
software_version
:
"
1.0"
product_info_name
:
"
VNF-A"
product_info_description
:
"
TST010
reference
VNF-A"
flavour_id
:
"
VNF-A_flavor"
flavour_description
:
"
VNF-A
flavor"
vnfm_info
:
-
'
etsivnfm:v2.3.1'
requirements
:
virtualLink
:
ext_a_right
:
"
vl_right"
management_vnf_a
:
"
vl_mgmt"
int_a_data
:
"
vl_data"
VNF_B
:
type
:
"
tosca.nodes.nfv.VNF"
properties
:
...
...
@@ -50,23 +30,22 @@ topology_template:
-
'
etsivnfm:v2.3.1'
requirements
:
virtualLink
:
ext_b_right
:
"
vl_right"
ext_b_left
:
"
vl_left"
management_vnf_b
:
"
vl_mgmt"
int_b_data
:
"
vl_data"
NS_with_2_VNF
:
NS_with_1_VNF
:
type
:
"
tosca.nodes.nfv.NS"
properties
:
descriptorId
:
"
NS
with
2
VNF
s
"
descriptorId
:
"
NS
with
1
VNF"
designer
:
"
ETSI
TST
WG"
version
:
"
1.0"
name
:
"
ns_with_
2
_vnfs"
invariantId
:
"
ns_with_
2
_vnfs"
name
:
"
ns_with_
1
_vnfs"
invariantId
:
"
ns_with_
1
_vnfs"
requirements
:
virtualLink
:
-
"
vl_left"
-
"
vl_right"
-
"
vl_mgmt"
-
"
vl_data"
vl_left
:
type
:
"
tosca.nodes.nfv.NsVirtualLink"
properties
:
...
...
@@ -81,7 +60,7 @@ topology_template:
vl_right
:
type
:
"
tosca.nodes.nfv.NsVirtualLink"
properties
:
description
:
"
VNF-
A
external
connectivity"
description
:
"
VNF-
B
external
connectivity"
vlProfile
:
max_bitrate_requirements
:
root
:
1000
...
...
@@ -99,15 +78,4 @@ topology_template:
min_bitrate_requirements
:
root
:
1000
connectivityType
:
layer_protocols
:
[
ipv4
]
vl_data
:
type
:
"
tosca.nodes.nfv.NsVirtualLink"
properties
:
description
:
"
Internal
network
that
interconnect
VNF-A
and
VNF-B"
vlProfile
:
max_bitrate_requirements
:
root
:
1000
min_bitrate_requirements
:
root
:
1000
connectivityType
:
layer_protocols
:
[
ipv4
]
layer_protocols
:
[
ipv4
]
\ No newline at end of file
SOL005/NSLifecycleManagement-API/descriptors/SOL001/VNFD/reference_tst010_vnf_
b_
2vdu_SOL001.yaml
→
SOL005/NSLifecycleManagement-API/descriptors/SOL001/VNFD/reference_tst010_vnf_2vdu_SOL001.yaml
View file @
f767c238
...
...
@@ -105,10 +105,10 @@ topology_template:
sw_image
:
type
:
tosca.artifacts.nfv.SwImage
file
:
vdu-b-2.qcow2
vnf_b_1_
VNF
:
VNF
_B
:
type
:
"
tosca.nodes.nfv.VNF"
properties
:
descriptor_id
:
"
VNF
-B-2VDUs
"
descriptor_id
:
"
VNF
_B
"
descriptor_version
:
"
2.0"
provider
:
"
ETSI
TST
WG"
product_name
:
"
VNF-B-2VDUs"
...
...
SOL005/NSLifecycleManagement-API/descriptors/SOL006/NSD/reference_tst010_nsd_simple_SOL006.yaml
0 → 100644
View file @
f767c238
nfv
:
nsd
:
-
id
:
tst010-nsd
vnfd-id
:
-
VNF-B
sapd
:
-
id
:
right-sap
vnf
:
vnfd-id
:
VNF-B
ext-cpd-id
:
ext-b-right
-
id
:
management-sap
virtual-link-desc
:
mgmt
-
id
:
left-sap
vnf
:
vnfd-id
:
VNF-B
ext-cpd-id
:
ext-b-left
virtual-link-desc
:
-
id
:
mgmt
connectivity-type
:
layer-protocol
:
ipv4
df
:
id
:
normal
qos
:
latency
:
'
0'
packet-delay-variation
:
'
0'
df
:
-
id
:
normal
vnf-profile
:
-
id
:
vnf-b-profile
vnfd-id
:
VNF-B
flavour-id
:
normal
instantiation-level
:
single
min-number-of-instances
:
'
1'
max-number-of-instances
:
'
1'
virtual-link-connectivity
:
-
virtual-link-profile-id
:
mgmt
constituent-cpd-id
:
constituent-base-element-id
:
vdu-b-1
constituent-cpd-id
:
management
virtual-link-profile
:
-
id
:
mgmt
virtual-link-desc-id
:
mgmt
flavour-id
:
normal
max-bitrate-requirements
:
root
:
'
1000'
min-bitrate-requirements
:
root
:
'
0'
ns-instantiation-level
:
-
id
:
normal
description
:
Single VNF-B
vnf-to-level-mapping
:
-
vnf-profile-id
:
vnf-b-profile
number-of-instances
:
'
1'
-
id
:
double-B
description
:
Double VNF-B
vnf-to-level-mapping
:
-
vnf-profile-id
:
vnf-b-profile
number-of-instances
:
'
2'
\ No newline at end of file
SOL005/NSLifecycleManagement-API/descriptors/SOL006/NSD/reference_tst010_nsd_simple_a_b_SOL006.yaml
deleted
100644 → 0
View file @
4f6801ae
nfv
:
vnfd
:
-
id
:
VNF-A
provider
:
ETSI TST WG
product-name
:
TST010 reference VNF-A
software-version
:
'
1.0'
version
:
'
1.0'
vnfm-info
:
ETSI VNFM
vdu
:
-
id
:
vdu-a-1
name
:
VNF A VDU
1
int-cpd
:
-
id
:
right
layer-protocol
:
ethernet
-
id
:
management
layer-protocol
:
ethernet
-
id
:
left
layer-protocol
:
ethernet
virtual-compute-desc
:
vdu-a-1-vcd
virtual-storage-desc
:
vdu-a-1-vsd
sw-image-desc
:
asa-image
virtual-compute-desc
:
id
:
vdu-a-1-vcd
virtual-memory
:
size
:
'
4.0'
virtual-cpu
:
num-virtual-cpu
:
'
2'
virtual-storage-desc
:
id
:
vdu-a-1-vsd
type-of-storage
:
root-storage
size-of-storage
:
'
0'
sw-image-desc
:
id
:
vdu-a-1-image
name
:
vdu-a-1 image
version
:
'
1.1'
checksum
:
algorithm
:
sha-224
hash
:
somehashfortst010
container-format
:
bare
disk-format
:
qcow2
min-disk
:
'
1'
min-ram
:
'
2.0'
size
:
'
1'
image
:
'
http://someurl.com/vnf-a.qcow2'
int-virtual-link-desc
:
-
id
:
right-vl
flavour
:
id
:
right-vl-flavour
qos
:
latency
:
'
1'
packet-delay-variation
:
'
1'
packet-loss-ratio
:
'
0.02'
connectivity-type
:
layer-protocol
:
ethernet
ext-cpd
:
-
id
:
ext-a-right
int-virtual-link-desc
:
right-vl
layer-protocol
:
ethernet
-
id
:
management
int-cpd
:
vdu-id
:
vdu-a-1
cpd
:
management
layer-protocol
:
ethernet
-
id
:
ext-a-left
int-cpd
:
vdu-id
:
vdu-a-1
cpd
:
left
layer-protocol
:
ethernet
df
:
id
:
normal
vdu-profile
:
id
:
vdu-a-1
min-number-of-instances
:
'
1'
max-number-of-instances
:
'
2'
virtual-link-profile
:
id
:
right-vl
flavour
:
right-vl-flavour
max-bit-rate-requirements
:
root
:
'
10'
min-bit-rate-requirements
:
root
:
'
1'
virtual-link-protocol-data
:
associated-layer-protocol
:
ipv4
l3-protocol-data
:
name
:
right-network
ip-version
:
ipv4
cidr
:
10.10.10.0/32
gateway-ip
:
10.10.10.1
dhcp-enabled
:
'
true'
instantiation-level
:
-
id
:
double
vdu-level
:
vdu-id
:
vdu-a-1
number-of-instances
:
'
2'
-
id
:
single
vdu-level
:
vdu-id
:
vdu-a-1
number-of-instances
:
'
1'
default-instantiation-level
:
single
lcm-operations-configuration
:
scale-vnf-to-level-op-config
:
arbitrary-target-levels-supported
:
'
true'
terminate-vnf-op-config
:
min-graceful-termination
:
'
1'
operate-vnf-op-config
:
min-graceful-stop-timeout
:
'
1'
-
id
:
VNF-B
provider
:
ETSI TST WG
product-name
:
TST010 reference VNF-B
software-version
:
'
2.0'
version
:
'
2.0'
vnfm-info
:
ETSI VNFM
vdu
:
-
id
:
vdu-b-1
name
:
VNF-B VDU
1
int-cpd
:
-
id
:
left
layer-protocol
:
ethernet
-
id
:
management
layer-protocol
:
ethernet
-
id
:
right
layer-protocol
:
ethernet
virtual-compute-desc
:
vdu-b-1-vcd
virtual-storage-desc
:
vdu-b-1-vsd
sw-image-desc
:
vdu-b-1-image
virtual-compute-desc
:
id
:
vdu-b-1-vcd
virtual-memory
:
size
:
'
4.0'
virtual-cpu
:
num-virtual-cpu
:
'
2'
virtual-storage-desc
:
id
:
vdu-b-1-vsd
type-of-storage
:
root-storage
size-of-storage
:
'
0'
sw-image-desc
:
id
:
vdu-b-1-image
name
:
VNF-B image
version
:
'
1.1'
checksum
:
algorithm
:
sha-224
hash
:
somehashfortst010
container-format
:
bare
disk-format
:
qcow2
min-disk
:
'
1'
min-ram
:
'
2.0'
size
:
'
1'
image
:
'
http://someurl.com/VNF-B.qcow2'
ext-cpd
:
-
id
:
ext-b-left
int-cpd
:
vdu-id
:
vdu-b-1
cpd
:
left
layer-protocol
:
ethernet
-
id
:
management
int-cpd
:
vdu-id
:
vdu-b-1
cpd
:
management
layer-protocol
:
ethernet
-
id
:
ext-b-right
int-cpd
:
vdu-id
:
vdu-b-1
cpd
:
right
layer-protocol
:
ethernet
df
:
id
:
normal
vdu-profile
:
id
:
vdu-b-1
min-number-of-instances
:
'
1'
max-number-of-instances
:
'
2'
instantiation-level
:
-
id
:
double
vdu-level
:
vdu-id
:
vdu-b-1
number-of-instances
:
'
2'
-
id
:
single
vdu-level
:
vdu-id
:
vdu-b-1
number-of-instances
:
'
1'
default-instantiation-level
:
single
lcm-operations-configuration
:
scale-vnf-to-level-op-config
:
arbitrary-target-levels-supported
:
'
true'
terminate-vnf-op-config
:
min-graceful-termination
:
'
1'
operate-vnf-op-config
:
min-graceful-stop-timeout
:
'
1'
nsd
:
-
id
:
tst010-nsd
vnfd-id
:
-
VNF-A
-
VNF-B
sapd
:
-
id
:
right-sap
vnf
:
vnfd-id
:
VNF-A
ext-cpd-id
:
ext-a-right
-
id
:
management-sap
virtual-link-desc
:
mgmt
-
id
:
left-sap
vnf
:
vnfd-id
:
VNF-B
ext-cpd-id
:
ext-b-left
virtual-link-desc
:
-
id
:
mgmt
connectivity-type
:
layer-protocol
:
ipv4
df
:
id
:
normal
qos
:
latency
:
'
0'
packet-delay-variation
:
'
0'
-
id
:
A-to-B
connectivity-type
:
layer-protocol
:
ethernet
df
:
id
:
normal
qos
:
latency
:
'
0'
packet-delay-variation
:
'
0'
df
:
-
id
:
normal
vnf-profile
:
-
id
:
vnf-a-profile
vnfd-id
:
VNF-A
flavour-id
:
normal
instantiation-level
:
single
min-number-of-instances
:
'
1'
max-number-of-instances
:
'
1'
virtual-link-connectivity
:
-
virtual-link-profile-id
:
mgmt
constituent-cpd-id
:
constituent-base-element-id
:
vdu-a-1
constituent-cpd-id
:
management
-
virtual-link-profile-id
:
A-to-B
constituent-cpd-id
:
constituent-base-element-id
:
vdu-a-1
constituent-cpd-id
:
left
-
id
:
vnf-b-profile
vnfd-id
:
VNF-B
flavour-id
:
normal
instantiation-level
:
single
min-number-of-instances
:
'
1'
max-number-of-instances
:
'
1'
virtual-link-connectivity
:
-
virtual-link-profile-id
:
mgmt
constituent-cpd-id
:
constituent-base-element-id
:
vdu-b-1
constituent-cpd-id
:
management
-
virtual-link-profile-id
:
A-to-B
constituent-cpd-id
:
constituent-base-element-id
:
vdu-b-1
constituent-cpd-id
:
right
virtual-link-profile
:
-
id
:
mgmt
virtual-link-desc-id
:
mgmt
flavour-id
:
normal
max-bitrate-requirements
:
root
:
'
1000'
min-bitrate-requirements
:
root
:
'
0'
-
id
:
A-to-B
virtual-link-desc-id
:
A-to-B
flavour-id
:
normal
max-bitrate-requirements
:
root
:
'
10000000'
min-bitrate-requirements
:
root
:
'
0'
ns-instantiation-level
:
-
id
:
normal
description
:
Single VNF-A and VNF-B
vnf-to-level-mapping
:
-
vnf-profile-id
:
vnf-a-profile
number-of-instances
:
'
1'
-
vnf-profile-id
:
vnf-b-profile
number-of-instances
:
'
1'
-
id
:
double-A
description
:
Single VNF-B and Double VNF-A
vnf-to-level-mapping
:
-
vnf-profile-id
:
vnf-a-profile
number-of-instances
:
'
2'
-
vnf-profile-id
:
vnf-b-profile
number-of-instances
:
'
1'
default-instantiation-level
:
normal
SOL005/NSLifecycleManagement-API/descriptors/SOL006/VNFD/reference_tst010_vnf_2vdu_SOL006.yaml
0 → 100644
View file @
f767c238
nfv
:
vnfd
:
-
id
:
VNF-B
provider
:
ETSI TST WG
product-name
:
TST010 reference VNF-B with 2 VDUs
software-version
:
'
2.2'
version
:
'
2.2'
vnfm-info
:
ETSI VNFM
vdu
:
id
:
vdu-b-1
name
:
VNF-B VDU
1
int-cpd
:
-
id
:
left
layer-protocol
:
ethernet
-
id
:
management
layer-protocol
:
ethernet
-
id
:
internal
layer-protocol
:
ethernet
int-virtual-link-desc
:
internal-vl
virtual-compute-desc
:
vdu-b-1-vcd
virtual-storage-desc
:
vdu-b-1-vsd
sw-image-desc
:
vdu-b-1-image
vdu
:
id
:
vdu-b-2
name
:
VNF-B VDU
2
int-cpd
:
-
id
:
right
layer-protocol
:
ethernet
-
id
:
management
layer-protocol
:
ethernet
-
id
:
internal
layer-protocol
:
ethernet
int-virtual-link-desc
:
internal-vl
virtual-compute-desc
:
vdu-b-2-vcd
virtual-storage-desc
:
vdu-b-2-vsd
sw-image-desc
:
vdu-b-2-image
virtual-compute-desc
:
id
:
vdu-b-1-vcd
virtual-memory
:
size
:
'
4.0'
virtual-cpu
:
num-virtual-cpu
:
'
2'
virtual-storage-desc
:
id
:
vdu-b-1-vsd
type-of-storage
:
root-storage
size-of-storage
:
'
0'
sw-image-desc
:
id
:
vdu-b-1-image
name
:
VNF-B image
version
:
'
1.1'
checksum
:
algorithm
:
sha-224
hash
:
somehashfortst010
container-format
:
bare
disk-format
:
qcow2
min-disk
:
'
1'
min-ram
:
'
2.0'
size
:
'
1'
image
:
'
http://someurl.com/VNF-B.qcow2'
virtual-compute-desc
:
id
:
vdu-b-2-vcd
virtual-memory
:
size
:
'
6.0'
virtual-cpu
:
num-virtual-cpu
:
'
2'
virtual-storage-desc
:
id
:
vdu-b-2-vsd
type-of-storage
:
root-storage
size-of-storage
:
'
0'
sw-image-desc
:
id
:
vdu-b-2-image
name
:
VNF-B-2 image
version
:
'
1.1'
checksum
:
algorithm
:
sha-224
hash
:
somehashfortst010
container-format
:
bare
disk-format
:
qcow2
min-disk
:
'
1'
min-ram
:
'
2.0'
size
:
'
1'
image
:
'
http://someurl.com/VNF-B-2.qcow2'
int-virtual-link-desc
:
-
id
:
internal-vl
flavour
:
id
:
internal-vl-flavour
qos
:
latency
:
'
1'
packet-delay-variation
:
'
1'
packet-loss-ratio
:
'
0.05'
connectivity-type
:
layer-protocol
:
ethernet
ext-cpd
:
-
id
:
ext-b-left
int-cpd
:
vdu-id
:
vdu-b-1
cpd
:
left
layer-protocol
:
ethernet
-
id
:
management
int-cpd
:
vdu-id
:
vdu-b-1
cpd
:
management
layer-protocol
:
ethernet
-
id
:
ext-b-right