[ovs/dpdk] Parameterize node-specific compute args
[fuel.git] / mcp / config / labs / local / idf-virtual1.yaml
1 ##############################################################################
2 # Copyright (c) 2018 Ericsson AB, Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 ### Fuel@OPNFV sample VIRTUAL installer descriptor file ###
10
11 idf:
12   version: 0.0  # Intentionally invalid to indicate this is experimental
13   net_config:
14     # NOTE: Network names are likely to change after the PDF spec is updated
15     oob:
16       interface: 0
17       ip-range: ~
18       vlan: native
19     # All networks (except OOB) are virtual networks managed by `libvirt`
20     # Interface indexes are based on Fuel installer defaults
21     admin:
22       interface: 0  # when used, will be first vnet interface, untagged
23       vlan: native
24       network: 192.168.11.0
25       mask: 24
26     mgmt:
27       interface: 1  # when used, will be second vnet interface, untagged
28       vlan: native
29       network: 172.16.10.0
30       mask: 24
31     storage:
32       interface: 4  # when used, will be fifth vnet interface, untagged
33       vlan: native
34       network: 192.168.20.0
35       mask: 24
36     private:
37       interface: 2  # when used, will be third vnet interface, untagged
38       vlan: native
39       network: 10.1.0.0
40       mask: 24
41     public:
42       interface: 3  # when used, will be fourth vnet interface, untagged
43       vlan: native
44       network: 10.16.0.0
45       mask: 24
46       gateway: 10.16.0.1
47       dns:
48         - 8.8.8.8
49         - 8.8.4.4
50   fuel:
51     jumphost:
52       bridges:
53         admin: ~
54         mgmt: ~
55         private: ~
56         public: ~
57     network:
58       node:
59         # Ordered-list, index should be in sync with node index in PDF
60         - interfaces: &interfaces
61             # Ordered-list, index should be in sync with interface index in PDF
62             - 'ens3'
63             - 'ens4'
64             - 'ens5'
65             - 'ens6'
66           busaddr: &busaddr
67             # Bus-info reported by `ethtool -i ethX`
68             - '0000:00:03.0'
69             - '0000:00:04.0'
70             - '0000:00:05.0'
71             - '0000:00:06.0'
72         - interfaces: *interfaces
73           busaddr: *busaddr
74         - interfaces: *interfaces
75           busaddr: *busaddr
76         - interfaces: *interfaces
77           busaddr: *busaddr
78         - interfaces: *interfaces
79           busaddr: *busaddr
80     reclass:
81       node:
82         - compute_params: &compute_params
83             dpdk:
84               compute_hugepages_size: 2M
85               compute_hugepages_count: 2048
86               compute_hugepages_mount: /mnt/hugepages_2M
87               compute_dpdk_driver: uio
88               compute_ovs_pmd_cpu_mask: "0x6"
89               compute_ovs_dpdk_socket_mem: "1024"
90               compute_ovs_dpdk_lcore_mask: "0x8"
91               compute_ovs_memory_channels: "2"
92               dpdk0_driver: igb_uio
93               dpdk0_n_rxq: 2
94         - compute_params: *compute_params
95         - compute_params: *compute_params
96         - compute_params: *compute_params
97         - compute_params: *compute_params