X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Femuvim%2Fexamples%2Fvnfs%2Fping_vnf%2Fping_vnfd.yaml;fp=src%2Femuvim%2Fexamples%2Fvnfs%2Fping_vnf%2Fping_vnfd.yaml;h=e114f3e0bf8b74b2f638c8dfd98935c1f8788972;hb=d8fd9372be1e135f2e11efe2d69c0c16bbcb7be4;hp=0000000000000000000000000000000000000000;hpb=ec3a23ed1a1dc21d511c49adbe1fe3d3ab8ff8c3;p=osm%2Fvim-emu.git diff --git a/src/emuvim/examples/vnfs/ping_vnf/ping_vnfd.yaml b/src/emuvim/examples/vnfs/ping_vnf/ping_vnfd.yaml new file mode 100644 index 0000000..e114f3e --- /dev/null +++ b/src/emuvim/examples/vnfs/ping_vnf/ping_vnfd.yaml @@ -0,0 +1,77 @@ +--- +# Copyright (c) 2018 by Paderborn University and Manuel Peuster +# (manuel@peuster.de) +# 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. +# +# Neither the name of the Paderborn University +# nor the names of its contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. + +vnfd-catalog: + vnfd: + - id: ping + name: ping + short-name: ping + description: "Empty example container VNF" + vendor: "Paderborn University" + version: '1.1' + + # Place the logo as png in icons directory and provide the name here + # logo: sonata.png + connection-point: + - name: ping/cp0 + type: VPORT + - name: ping/cp1 + type: VPORT + # Management interface + mgmt-interface: + cp: ping/cp0 + + # Atleast one VDU need to be specified + vdu: + # Additional VDUs can be created by copying the + # VDU descriptor below + - id: ubuntu + name: ubuntu + description: "Ubuntu Trusty default Docker container" + count: "1" + + # Flavour of the VM to be instantiated for the VDU + vm-flavor: + vcpu-count: 1 + memory-mb: 512 + storage-gb: 10 + + # Image including the full path + image: "ubuntu:trusty" + #image: cirros034 + interface: + - name: ping0 + position: 0 + type: EXTERNAL + virtual-interface: + type: VIRTIO + external-connection-point-ref: ping/cp0 + - name: ping1 + position: 1 + type: EXTERNAL + virtual-interface: + type: VIRTIO + external-connection-point-ref: ping/cp1 + + + +