summaryrefslogtreecommitdiffstats
path: root/labs/arm/idf-pod10.yaml
blob: bcdb8919a1a4656b5998a952a524994a22a18a8c (plain)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
##############################################################################
# Copyright (c) 2018 Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
### ARM POD 10 installer descriptor file ###

idf:
  version: 0.1
  # NOTE: Compass & Joid are not supported on this POD since they require at
  # least 3 network ports on all nodes.
  installer: ['fuel']
  net_config:
    oob:
      ip-range: 10.0.21.2-10.0.21.7
      vlan: native
      mask: 24
    admin:
      interface: 0
      vlan: native
      network: 192.168.11.0
      mask: 24
    mgmt:
      interface: 1
      vlan: 2443
      network: 172.16.10.0
      ip-range: 172.16.10.10-172.16.10.254  # Some IPs are in use by lab infra
      mask: 24
    storage:
      interface: 1
      vlan: 2444
      network: 10.2.0.0
      mask: 24
    private:
      interface: 2
      vlan: 2445-2460
      network: 10.1.0.0
      mask: 24
    public:
      interface: 1
      vlan: native
      network: 10.0.21.0
      ip-range: 10.0.21.100-10.0.21.253  # Some IPs are in use by lab infra
      mask: 24
      gateway: 10.0.21.254
      dns:
        - 8.8.8.8
        - 8.8.4.4
  fuel:
    jumphost:
      bridges:
        admin: 'admin20_br0'
        mgmt: 'mgmt20_br0'
        private: ~
        public: 'public20_br0'
    maas:
      # MaaS timeouts (in minutes)
      timeout_comissioning: 10
      timeout_deploying: 15
    network:
      ntp_strata_host1: 1.se.pool.ntp.org
      ntp_strata_host2: 0.se.pool.ntp.org
      node:
        # Ordered-list, index should be in sync with node index in PDF
        - interfaces: &interfaces_intel
            # Ordered-list, index should be in sync with interface index in PDF
            - 'eno1'
            - 'enp5s0f0'
            - 'enp5s0f1'
            - 'eno2'
            - 'eno3'
            - 'eno4'
          busaddr: &busaddr_intel
            # Bus-info reported by `ethtool -i ethX`
            - '0000:02:00.0'
            - '0000:05:00.0'
            - '0000:05:00.1'
            - '0000:02:00.1'
            - '0000:03:00.0'
            - '0000:03:00.1'
        - interfaces: *interfaces_intel
          busaddr: *busaddr_intel
        - interfaces: *interfaces_intel
          busaddr: *busaddr_intel
        - interfaces: &interfaces_arm
            - 'enP5p144s0'
            - 'enP2p1s0f1'
            - 'enP2p1s0f2'
            - 'enP2p1s0f3'
            - 'enP2p1s0f4'
            - 'enP2p1s0f5'
          busaddr: &busaddr_arm
            - '0005:90:00.0'
            - '0002:01:00.1'
            - '0002:01:00.2'
            - '0002:01:00.3'
            - '0002:01:00.4'
            - '0002:01:00.5'
        - interfaces: *interfaces_arm
          busaddr: *busaddr_arm
    reclass:
      node:
        - compute_params: &compute_params_intel
            common:
              nova_cpu_pinning: &nova_cpu_pinning_common_intel "2-15"
              compute_hugepages_size: 2M
              compute_hugepages_count: 8192
              compute_hugepages_mount: /mnt/hugepages_2M
              compute_kernel_isolcpu: *nova_cpu_pinning_common_intel
            dpdk:
              nova_cpu_pinning: "4-15"
              compute_hugepages_size: 2M
              compute_hugepages_count: 8192
              compute_hugepages_mount: /mnt/hugepages_2M
              compute_kernel_isolcpu: *nova_cpu_pinning_common_intel
              compute_dpdk_driver: uio
              compute_ovs_pmd_cpu_mask: "0xc"
              compute_ovs_dpdk_socket_mem: "2048"
              compute_ovs_dpdk_lcore_mask: "0xc"
              compute_ovs_memory_channels: "2"
              dpdk0_driver: igb_uio
              dpdk0_n_rxq: 2
        - compute_params: *compute_params_intel
        - compute_params: *compute_params_intel
        - compute_params: &compute_params_cavium
            common:
              nova_cpu_pinning: &nova_cpu_pinning_common_arm "8-47"
              compute_hugepages_size: 2M
              compute_hugepages_count: 8192
              compute_hugepages_mount: /mnt/hugepages_2M
              compute_kernel_isolcpu: *nova_cpu_pinning_common_arm
            dpdk:
              nova_cpu_pinning: "12-47"
              compute_hugepages_size: 1G
              compute_hugepages_count: 16
              compute_hugepages_mount: /mnt/hugepages_1G
              compute_kernel_isolcpu: *nova_cpu_pinning_common_arm
              compute_dpdk_driver: vfio
              compute_ovs_pmd_cpu_mask: "0x300"
              compute_ovs_dpdk_socket_mem: "2048"
              compute_ovs_dpdk_lcore_mask: "0xC00"
              compute_ovs_memory_channels: "2"
              dpdk0_driver: vfio-pci
              dpdk0_n_rxq: 2
        - compute_params: *compute_params_cavium