RIFT OSM R1 Initial Submission
[osm/SO.git] / models / openmano / test / tidgen_vnf_4sriov.yaml
1 ---
2 vnf:
3     name:        tidgenMWC_4sriov
4     description: tidgen for MWC2016; 12G 10 cores
5     class:       TID
6     external-connections:
7     -   name:              eth0
8         type:              bridge
9         VNFC:              tidgenMWC-VM
10         local_iface_name:  eth0
11         description:       Bridge interface, request for dhcp
12     -   name:              eth1
13         type:              mgmt        # "mgmt"(autoconnect to management net), "bridge", "data"
14         VNFC:              tidgenMWC-VM # Virtual Machine this interface belongs to
15         local_iface_name:  eth1       # name inside this Virtual Machine
16         description:       Other management interface for general use
17     -   name:              xe0
18         type:              data
19         VNFC:              tidgenMWC-VM
20         local_iface_name:  xe0
21         description:       Data interface 1
22     -   name:              xe1
23         type:              data
24         VNFC:              tidgenMWC-VM
25         local_iface_name:  xe1
26         description:       Data interface 2
27     -   name:              xe2
28         type:              data
29         VNFC:              tidgenMWC-VM
30         local_iface_name:  xe2
31         description:       Data interface 3
32     -   name:              xe3
33         type:              data
34         VNFC:              tidgenMWC-VM
35         local_iface_name:  xe3
36         description:       Data interface 4
37     VNFC:                              # Virtual machine array
38     -   name:        tidgenMWC-VM       # name of Virtual Machine
39         disk: 10
40         description: tidgen for MWC 12G 10 cores
41         # VNFC image: /mnt/powervault/virtualization/vnfs/tid/tidgenMWC.qcow2
42         VNFC image: tidgenMWC
43         image metadata: {"use_incremental": "no" }  #is already incremental
44         processor:                     #Optional, leave it
45             model: Intel(R) Xeon(R) CPU E5-4620 0 @ 2.20GHz
46             features: ["64b", "iommu", "lps", "tlbps", "hwsv", "dioc", "ht"]
47         hypervisor:                    #Optional, leave it
48             type: QEMU-kvm
49             version: "10002|12001|2.6.32-358.el6.x86_64"
50         numas:
51         -   paired-threads: 5          # "cores", "paired-threads", "threads"
52             memory:         12         # GBytes
53             interfaces:
54             -   name:      xe0
55                 vpci:      "0000:00:10.0"
56                 dedicated: "no"         # "yes"(passthrough), "no"(sriov)
57                 bandwidth: 10 Gbps
58             -   name:      xe1
59                 vpci:      "0000:00:11.0"
60                 dedicated: "no"
61                 bandwidth: 10 Gbps
62             -   name:      xe2
63                 vpci:      "0000:00:12.0"
64                 dedicated: "no"         # "yes"(passthrough), "no"(sriov)
65                 bandwidth: 10 Gbps
66             -   name:      xe3
67                 vpci:      "0000:00:13.0"
68                 dedicated: "no"
69                 bandwidth: 10 Gbps
70         bridge-ifaces:
71         -   name:      eth0
72             vpci:      "0000:00:0a.0"    # Optional
73             bandwidth: 1 Mbps          # Optional, informative only
74         -   name:      eth1
75             vpci:      "0000:00:0b.0"    # Optional
76             bandwidth: 1 Mbps          # Optional, informative only