diff options
author | 2018-11-28 20:39:54 -0800 | |
---|---|---|
committer | 2019-03-20 04:31:16 -0700 | |
commit | 164b58e4a3c0abf6b32ea33eacbf6f3e75e9d105 (patch) | |
tree | 1ecb11f8826366a57426a068cc0f83f9f8585afa /samples/vnf_samples/nsut/cmts/k8s_vcmts_topology.yaml | |
parent | 76d7680da6e6effc1a95de3b317cc85495b07aea (diff) |
Added test descriptors for vCMTS testcase
Add vCMTS testcase descriptor and topology files
JIRA: YARDSTICK-1545
Change-Id: I4acd9c8f4fc94a1310eb5ddd4dd0ea60471efd24
Signed-off-by: treyad <treyad@viosoft.com>
Diffstat (limited to 'samples/vnf_samples/nsut/cmts/k8s_vcmts_topology.yaml')
-rwxr-xr-x | samples/vnf_samples/nsut/cmts/k8s_vcmts_topology.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/samples/vnf_samples/nsut/cmts/k8s_vcmts_topology.yaml b/samples/vnf_samples/nsut/cmts/k8s_vcmts_topology.yaml new file mode 100755 index 000000000..95ac76964 --- /dev/null +++ b/samples/vnf_samples/nsut/cmts/k8s_vcmts_topology.yaml @@ -0,0 +1,36 @@ +# Copyright (c) 2019 Viosoft Corporation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +{% set num_tg = get(extra_args, 'num_tg', 2) %} +{% set num_sg = get(extra_args, 'num_sg', 2) %} + +nsd:nsd-catalog: + nsd: + - id: vcmts-topology + name: vcmts-topology + short-name: vcmts-topology + description: vcmts-topology + constituent-vnfd: + {% for tg_num in range(0, num_tg) %} + - member-vnf-index: '{{ tg_num + 1 }}' + vnfd-id-ref: tg__{{ tg_num }} + VNF model: ../../vnf_descriptors/tg_vcmts_tpl.yaml #VNF type + {% endfor %} + {% for vnf_num in range(0, num_sg * 2) %} + - member-vnf-index: '{{ vnf_num + num_tg + 1 }}' + vnfd-id-ref: vnf__{{ vnf_num }} + VNF model: ../../vnf_descriptors/vnf_vcmts_tpl.yaml #VNF type + {% endfor %} + + vld: [] |