X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO%2Ftest%2FRO_tests%2Fafiinity_vnf%2Fvnfd_linux_2_vnfc_affinity.yaml;fp=RO%2Ftest%2FRO_tests%2Fafiinity_vnf%2Fvnfd_linux_2_vnfc_affinity.yaml;h=53c7770869ec038f699d2bae7842c53d9af20a8a;hb=57dadcfd0fcf3c8e933602e2fb57f32658d9c845;hp=0000000000000000000000000000000000000000;hpb=a85c54de5c5d1f951b27082a21e5654e15712529;p=osm%2FRO.git diff --git a/RO/test/RO_tests/afiinity_vnf/vnfd_linux_2_vnfc_affinity.yaml b/RO/test/RO_tests/afiinity_vnf/vnfd_linux_2_vnfc_affinity.yaml new file mode 100644 index 00000000..53c77708 --- /dev/null +++ b/RO/test/RO_tests/afiinity_vnf/vnfd_linux_2_vnfc_affinity.yaml @@ -0,0 +1,61 @@ +## +# Copyright 2015 Telefonica Investigacion 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: []