X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=test%2FRO_tests%2Fsimple_count3%2Fvnfd_count3.yaml;fp=test%2FRO_tests%2Fsimple_count3%2Fvnfd_count3.yaml;h=a4c707051dce74a956dadb81f98f710d6568c6f0;hb=07a88ed2e8985d3001766247baad258e264b5338;hp=0000000000000000000000000000000000000000;hpb=c775e221339a59a62f6acbb69f0fda056d455a23;p=osm%2FRO.git diff --git a/test/RO_tests/simple_count3/vnfd_count3.yaml b/test/RO_tests/simple_count3/vnfd_count3.yaml new file mode 100644 index 00000000..a4c70705 --- /dev/null +++ b/test/RO_tests/simple_count3/vnfd_count3.yaml @@ -0,0 +1,68 @@ +## +# 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 +## +--- +schema_version: "0.2" +vnf: + name: simple_linux_count3 + description: "Example of a linux VNF consisting of two VMs with one internal network" + # class: parent # Optional. Used to organize VNFs + internal-connections: + - name: internal-eth2 + description: internalnet + type: e-lan + implementation: overlay + ip-profile: + ip-version: IPv4 + subnet-address: 192.168.1.0/24 + gateway-address: 192.168.1.1 + dns-address: 8.8.8.8 + dhcp: + enabled: true + start-address: 192.168.1.100 + count: 100 + elements: + - VNFC: linux_3VMs + local_iface_name: eth2 + ip_address: 192.168.1.2 + external-connections: + - name: control0 + type: mgmt + VNFC: linux_3VMs + local_iface_name: eth0 + description: control interface VM1 + - name: data-eth1 + type: bridge + VNFC: linux_3VMs + local_iface_name: eth1 + description: data interface input + VNFC: + - name: linux_3VMs + count: 3 + description: "Linux VM1 2 CPUs, 2 GB RAM and 3 bridge interfaces" + #Copy the image to a compute path and edit this path + image name: TestVM + disk: 10 + vcpus: 2 + ram: 2048 + bridge-ifaces: + - name: eth0 + - name: eth1 + - name: eth2