summaryrefslogtreecommitdiffstats
path: root/type/cntt/profiles/hardware/intel-s2600wt.yaml
blob: e02325487718504ef6a88f80281eb0167b6fbb77 (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
---
schema: 'drydock/HardwareProfile/v1'
metadata:
  schema: 'metadata/Document/v1'
  name: intel-s2600wt
  layeringDefinition:
    abstract: false
    layer: site
  storagePolicy: cleartext
data:
  # Vendor of the server chassis
  vendor: Intel
  # Generation of the chassis model
  generation: '4'
  # Version of the chassis model within its generation - not version of the hardware definition
  hw_version: '3'
  # The certified version of the chassis BIOS
  bios_version: 'SE5C610.86B.01.01.0019.101220160604'
  # Mode of the default boot of hardware - bios, uefi
  boot_mode: bios
  # Protocol of boot of the hardware - pxe, usb, hdd
  bootstrap_protocol: pxe
  # Which interface to use for network booting within the OOB manager, not OS device
  pxe_interface: 0

  # Map hardware addresses to aliases/roles to allow a mix of hardware configs
  # in a site to result in a consistent configuration

  device_aliases:
    ## network
    # $ sudo lspci |grep -i ethernet
    # 03:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
    # 03:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
    # 05:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)
    # 05:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)
    # 05:00.2 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)
    # 05:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)

    # control networks
    # eno1
    ctrl_nic1:
      address: '0000:03:00.0'
      dev_type: 'I350 Gigabit Network Connection'
      bus_type: 'pci'
    # eno2
    ctrl_nic2:
      address: '0000:03:00.3'
      dev_type: 'I350 Gigabit Network Connection'
      bus_type: 'pci'

    # data networks
    # ens785f0
    data_nic1:
      address: '0000:05:00.0'
      dev_type: 'Ethernet Controller X710 for 10GbE SFP+'
      bus_type: 'pci'
    # ens785f1
    data_nic2:
      address: '0000:05:00.1'
      dev_type: 'Ethernet Controller X710 for 10GbE SFP+'
      bus_type: 'pci'
    # ens785f2
    data_nic3:
      address: '0000:05:00.2'
      dev_type: 'Ethernet Controller X710 for 10GbE SFP+'
      bus_type: 'pci'
    # ens785f3
    data_nic4:
      address: '0000:05:00.3'
      dev_type: 'Ethernet Controller X710 for 10GbE SFP+'
      bus_type: 'pci'

    ## storage
    # $ sudo lshw -c disk
    #   *-disk                  
    #        description: ATA Disk
    #        product: INTEL SSDSC2BB48
    #        physical id: 0.0.0
    #        bus info: scsi@4:0.0.0
    #        logical name: /dev/sda
    #        version: 0101
    #        serial: PHDV637602LL480BGN
    #        size: 447GiB (480GB)
    #        capabilities: gpt-1.00 partitioned partitioned:gpt
    #        configuration: ansiversion=5 guid=ea7d0b6a-c105-4409-8d4c-dc104cb38737 logicalsectorsize=512 sectorsize=4096
    #   *-disk
    #        description: ATA Disk
    #        product: ST91000640NS
    #        vendor: Seagate
    #        physical id: 0.0.0
    #        bus info: scsi@5:0.0.0
    #        logical name: /dev/sdb
    #        version: SN03
    #        serial: 9XG6LX48
    #        size: 931GiB (1TB)
    #        capabilities: gpt-1.00 partitioned partitioned:gpt
    #        configuration: ansiversion=5 guid=27f17348-e081-4b00-8d4c-5960513a40cd logicalsectorsize=512 sectorsize=512

    # /dev/sda
    bootdisk:
      address: '4:0.0.0'
      dev_type: 'INTEL SSDSC2BB48'
      bus_type: 'scsi'
    # /dev/sdb
    datadisk:
      address: '5:0.0.0'
      dev_type: 'ST91000640NS'
      bus_type: 'scsi'
  cpu_sets:
    # CPUS pinning
    # Host OS CPUs are inferred, and will be the remaining cores
    kvm: '2-21,24-43,46-65,68-87'
    # Kernel config
    # Reduce OS jitter on the offloaded CPUs.
    rcu_nocbs: '2-21,24-43,46-65,68-87'
    # Nova config
    # CPUs dedicated to tenant workload.
    vcpu_pin_set: '4-21,26-43,48-65,70-87'
    # OVS config
    # CPUs used by OVS-DPDK processes, same as CPUs used by host OS.
    # For this lab, the CPU/Numa allocation is as followed:
    #   NUMA node0 CPU(s):     0-21,44-65
    #   NUMA node1 CPU(s):     22-43,66-87
    # So to spread them about both numa, the following is assigned:
    # VCPUs 0,44,1,45,22,66,23,67 = first 4 CPU cores
    dpdk-lcore-mask: '0x0C0000300000C00003'
    # OVS config
    # CPUs used by dpdk Poll Mode Drivers (PMD)
    # OVS configu paramter for DPDK.
    # VCPUs 2,46,3,47,24,68,25,69 CPU cores 4-7
    pmd-cpu-mask: '0x300000C0000300000C'
  hugepages:
    dpdk:
      size: '1G'
      count: 32
      socket-mem: '4096,4096'
...