X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=vnfs%2Fexamples%2FdataplaneVNF_2VMs.yaml;h=1fc2b4fb11250cdd7b9efa1fec02bcadaf2197f3;hb=5509c2e2bbe73642fb100048c205f22ac78384c1;hp=1e468feb9451b6f966af4adeb728356691b43cc4;hpb=77f648f48a520ae07252a87fd0e98835348f5449;p=osm%2FRO.git diff --git a/vnfs/examples/dataplaneVNF_2VMs.yaml b/vnfs/examples/dataplaneVNF_2VMs.yaml index 1e468feb..1fc2b4fb 100644 --- a/vnfs/examples/dataplaneVNF_2VMs.yaml +++ b/vnfs/examples/dataplaneVNF_2VMs.yaml @@ -1,100 +1,100 @@ -## -# 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: dataplaneVNF_2VMs - description: "Example of a dataplane VNF consisting of two VMs for data plane workloads with one internal network" - # class: parent # Optional. Used to organize VNFs - internal-connections: - - name: datanet - description: datanet - type: data - elements: - - VNFC: VNF_2VMs-VM1 - local_iface_name: xe0 - - VNFC: VNF_2VMs-VM2 - local_iface_name: xe0 - external-connections: - - name: control0 - type: mgmt - VNFC: VNF_2VMs-VM1 - local_iface_name: eth0 - description: control interface VM1 - - name: control1 - type: mgmt - VNFC: VNF_2VMs-VM2 - local_iface_name: eth0 - description: control interface VM2 - - name: in - type: data - VNFC: VNF_2VMs-VM1 - local_iface_name: xe1 - description: Dataplane interface input - - name: out - type: data - VNFC: VNF_2VMs-VM2 - local_iface_name: xe1 - description: Dataplane interface output - VNFC: - - name: VNF_2VMs-VM1 - description: "Dataplane VM1 with 4 threads, 2 GB hugepages, 2 SR-IOV interface" - #Copy the image to a compute path and edit this path - VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2 - disk: 10 - numas: - - paired-threads: 2 # "cores", "paired-threads", "threads" - memory: 2 # GBytes - interfaces: - - name: xe0 - vpci: "0000:00:11.0" - dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag) - bandwidth: 1 Gbps - - name: xe1 - vpci: "0000:00:12.0" - dedicated: "no" - bandwidth: 1 Gbps - bridge-ifaces: - - name: eth0 - vpci: "0000:00:09.0" - bandwidth: 1 Mbps # Optional, informative only - - - name: VNF_2VMs-VM2 - description: "Dataplane VM1 with 2 threads, 2 GB hugepages, 2 SR-IOV interface" - #Copy the image to a compute path and edit this path - VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2 - disk: 10 - numas: - - paired-threads: 1 # "cores", "paired-threads", "threads" - memory: 2 # GBytes - interfaces: - - name: xe0 - vpci: "0000:00:11.0" - dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag) - bandwidth: 1 Gbps - - name: xe1 - vpci: "0000:00:12.0" - dedicated: "no" - bandwidth: 1 Gbps - bridge-ifaces: - - name: eth0 - vpci: "0000:00:09.0" - bandwidth: 1 Mbps # Optional, informative only - +## +# 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: dataplaneVNF_2VMs + description: "Example of a dataplane VNF consisting of two VMs for data plane workloads with one internal network" + # class: parent # Optional. Used to organize VNFs + internal-connections: + - name: datanet + description: datanet + type: data + elements: + - VNFC: VNF_2VMs-VM1 + local_iface_name: xe0 + - VNFC: VNF_2VMs-VM2 + local_iface_name: xe0 + external-connections: + - name: control0 + type: mgmt + VNFC: VNF_2VMs-VM1 + local_iface_name: eth0 + description: control interface VM1 + - name: control1 + type: mgmt + VNFC: VNF_2VMs-VM2 + local_iface_name: eth0 + description: control interface VM2 + - name: in + type: data + VNFC: VNF_2VMs-VM1 + local_iface_name: xe1 + description: Dataplane interface input + - name: out + type: data + VNFC: VNF_2VMs-VM2 + local_iface_name: xe1 + description: Dataplane interface output + VNFC: + - name: VNF_2VMs-VM1 + description: "Dataplane VM1 with 4 threads, 2 GB hugepages, 2 SR-IOV interface" + #Copy the image to a compute path and edit this path + VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2 + disk: 10 + numas: + - paired-threads: 2 # "cores", "paired-threads", "threads" + memory: 2 # GBytes + interfaces: + - name: xe0 + vpci: "0000:00:11.0" + dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag) + bandwidth: 1 Gbps + - name: xe1 + vpci: "0000:00:12.0" + dedicated: "no" + bandwidth: 1 Gbps + bridge-ifaces: + - name: eth0 + vpci: "0000:00:09.0" + bandwidth: 1 Mbps # Optional, informative only + + - name: VNF_2VMs-VM2 + description: "Dataplane VM1 with 2 threads, 2 GB hugepages, 2 SR-IOV interface" + #Copy the image to a compute path and edit this path + VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2 + disk: 10 + numas: + - paired-threads: 1 # "cores", "paired-threads", "threads" + memory: 2 # GBytes + interfaces: + - name: xe0 + vpci: "0000:00:11.0" + dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag) + bandwidth: 1 Gbps + - name: xe1 + vpci: "0000:00:12.0" + dedicated: "no" + bandwidth: 1 Gbps + bridge-ifaces: + - name: eth0 + vpci: "0000:00:09.0" + bandwidth: 1 Mbps # Optional, informative only +