summaryrefslogtreecommitdiffstats
path: root/type/cntt/profiles/host/dp-intel-s2600wt-dpdk.yaml
blob: 1028d943b4f4968afc8402f25895677182a5bcf3 (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
---
# The data plane host profile for Airship for DELL R720s, and should
# not need to be altered if you are using matching HW. The host profile is setup
# for cpu isolation (for nova pinning), hugepages, and sr-iov.
#
# OVS-DPDK NOTE:
#   This host profile updated to support ovs-dpdk deployment.

schema: drydock/HostProfile/v1
metadata:
  schema: metadata/Document/v1
  name: dp-intel-s2600wt-dpdk
  storagePolicy: cleartext
  layeringDefinition:
    abstract: false
    layer: type
    parentSelector:
      hosttype: dp-global
    actions:
      - method: replace
        path: .interfaces
      - method: replace
        path: .storage
      - method: merge
        path: .
  substitutions:
    - dest:
        path: .interfaces.data2.sriov.device
      src:
        schema: drydock/HardwareProfile/v1
        name: intel-s2600wt
        path: .device_aliases.data_nic2.address
    - dest:
        path: .platform.kernel_params.dpdk-socket-mem
      src:
        schema: drydock/HardwareProfile/v1
        name: intel-s2600wt
        path: .hugepages.dpdk.socket-mem
    - dest:
        path: .platform.kernel_params.rcu_nocbs
      src:
        schema: drydock/HardwareProfile/v1
        name: intel-s2600wt
        path: .cpu_sets.rcu_nocbs
    - dest:
        path: .platform.kernel_params.isolcpus
      src:
        schema: drydock/HardwareProfile/v1
        name: intel-s2600wt
        path: .cpu_sets.kvm
data:
  hardware_profile: intel-s2600wt

  primary_network: dmz
  interfaces:
    dmz:
      device_link: dmz
      slaves:
        - ctrl_nic1
      networks:
        - dmz
    admin:
      device_link: admin
      slaves:
        - ctrl_nic2
      networks:
        - admin
    data1:
      device_link: data1
      slaves:
        - data_nic1
      networks:
        - private
        - management
    data2:
      device_link: data2
      slaves:
        - data_nic2
      networks:
        - storage
        - public
      sriov:
        num_vfs: 32
        promisc: false
      ovs_dpdk:
        vf_index: 0
  storage:
    physical_devices:
      bootdisk:
        labels:
          bootdrive: 'true'
        partitions:
          - name: 'root'
            size: '30g'
            bootable: true
            filesystem:
              mountpoint: '/'
              fstype: 'ext4'
              mount_options: 'defaults'
          - name: 'boot'
            size: '1g'
            filesystem:
              mountpoint: '/boot'
              fstype: 'ext4'
              mount_options: 'defaults'
          - name: 'log'
            size: '100g'
            filesystem:
              mountpoint: '/var/log'
              fstype: 'ext4'
              mount_options: 'defaults'
          - name: 'var'
            size: '>100g'
            filesystem:
              mountpoint: '/var'
              fstype: 'ext4'
              mount_options: 'defaults'

      datadisk:
        partitions:
          - name: 'nova'
            size: '99%'
            filesystem:
              mountpoint: '/var/lib/nova'
              fstype: 'ext4'
              mount_options: 'defaults'

  platform:
    image: 'xenial'
    kernel: 'hwe-16.04'
    kernel_params:
      kernel_package: 'linux-image-4.15.0-46-generic'
      intel_iommu: 'on'
      iommu: 'pt'
      amd_iommu: 'on'
      cgroup_disable: 'hugetlb'
      transparent_hugepage: 'never'
      hugepagesz: 'hardwareprofile:hugepages.dpdk.size'
      hugepages: 'hardwareprofile:hugepages.dpdk.count'
      default_hugepagesz: 'hardwareprofile:hugepages.dpdk.size'
  metadata:
    owner_data:
      sriov: enabled
...