-
Notifications
You must be signed in to change notification settings - Fork 19
/
iperf-vnfd.yml
80 lines (75 loc) · 1.61 KB
/
iperf-vnfd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# YAML description of a iperf docker container
# used in the SONATA platform
---
##
## Some general information regarding this
## VNF descriptor.
##
descriptor_version: "vnfd-schema-01"
vendor: "eu.sonata-nfv"
name: "iperf-vnf"
version: "0.2"
author: "Steven van Rossem, iMinds"
description: >
"A first iperf VNF descriptor. The iperf VNF
acts as a traffic source."
##
## The virtual deployment unit.
##
virtual_deployment_units:
- id: "vdu01"
vm_image: "file:///docker_files/iperf/Dockerfile"
vm_image_format: "docker"
resource_requirements:
cpu:
vcpus: 1
memory:
size: 2
size_unit: "GB"
storage:
size: 10
size_unit: "GB"
connection_points:
- id: "cp01"
interface: "ipv4"
type: "internal"
- id: "cp02"
interface: "ipv4"
type: "internal"
- id: "cp03"
interface: "ipv4"
type: "internal"
##
## The virtual links that interconnect
## the different connections points.
##
virtual_links:
- id: "mgmt"
connectivity_type: "E-LAN"
connection_points_reference:
- "vdu01:cp01"
- "mgmt"
- id: "input"
connectivity_type: "E-Line"
connection_points_reference:
- "vdu01:cp02"
- "input"
- id: "output"
connectivity_type: "E-Line"
connection_points_reference:
- "vdu01:cp03"
- "output"
##
## The VNF connection points to the
## outside world.
##
connection_points:
- id: "mgmt"
interface: "ipv4"
type: "management"
- id: "input"
interface: "ipv4"
type: "external"
- id: "output"
interface: "ipv4"
type: "external"