X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=test%2FRO_tests%2Fafiinity_vnf%2Fvnfd_linux_2_vnfc_affinity.yaml;fp=test%2FRO_tests%2Fafiinity_vnf%2Fvnfd_linux_2_vnfc_affinity.yaml;h=9ec7f60704c26e7f887e3d2ce635e301b61cc7d2;hb=2935631c49a315fb078d05380569f7e1ca21fcde;hp=0000000000000000000000000000000000000000;hpb=994a29db7a227e56a0575b72e8107df5505a4e57;p=osm%2FRO.git diff --git a/test/RO_tests/afiinity_vnf/vnfd_linux_2_vnfc_affinity.yaml b/test/RO_tests/afiinity_vnf/vnfd_linux_2_vnfc_affinity.yaml new file mode 100644 index 00000000..9ec7f607 --- /dev/null +++ b/test/RO_tests/afiinity_vnf/vnfd_linux_2_vnfc_affinity.yaml @@ -0,0 +1,61 @@ +## +# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. +# This file is part of openmano +# All Rights Reserved. +# +# 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. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact with: nfvlabs@tid.es +## +--- + +vnf: + name: linux_test_2vms + description: Single-VM VNF with a traditional cloud VM based on generic Linux OS + external-connections: + - name: control0 + type: mgmt # "mgmt" (autoconnect to management net), "bridge", "data" + VNFC: linux-VM-HA-A # Virtual Machine this interface belongs to + local_iface_name: eth0 # interface name inside this Virtual Machine (must be defined in the VNFC section) + description: Management interface 0 + - name: control1 + type: mgmt # "mgmt" (autoconnect to management net), "bridge", "data" + VNFC: linux-VM-HA-B # Virtual Machine this interface belongs to + local_iface_name: eth0 # interface name inside this Virtual Machine (must be defined in the VNFC section) + description: Management interface 1 + VNFC: + - name: linux-VM-HA-A + description: Generic Linux Virtual Machine + availability_zone: A # availanility zone A + #Copy the image to a compute path and edit this path + image name: TestVM + vcpus: 1 # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed). + ram: 1024 # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed) + disk: 10 + bridge-ifaces: + - name: eth0 + vpci: "0000:00:11.0" + numas: [] + - name: linux-VM-HA-B + description: Generic Linux Virtual Machine + availability_zone: B # availanility zone B + #Copy the image to a compute path and edit this path + image name: TestVM + vcpus: 1 # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed). + ram: 1024 # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed) + disk: 10 + bridge-ifaces: + - name: eth0 + vpci: "0000:00:12.0" + numas: []