summaryrefslogtreecommitdiffstats
path: root/hw_config/ericsson-pod1/idf.yaml
blob: 10e243376e2d4a3ab92775ea8a92a92977796117 (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
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2020 Ericsson 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
##############################################################################
---
### ERICSSON POD 1 installer descriptor file ###
idf:
  version: 0.1
  net_config: &net_config
    oob:
      interface: 0
      vlan: native
      network: 10.0.20.0
      gateway: 10.0.20.1
      mask: 24
      dns:
        - 8.8.8.8
    public:
      interface: 1
      vlan: 80
      network: 100.64.200.6
      gateway: 100.64.200.1
      mask: 24
      dns:
        - 8.8.8.8
  kubespray: &idf_kubespray
    nodes_roles:
      node1: [k8s-cluster, kube-master, etcd, vault]
      node2: [k8s-cluster, kube-master, etcd]
      node3: [k8s-cluster, kube-master, etcd]
      node4: [k8s-cluster, kube-node]
      node5: [k8s-cluster, kube-node]
    groups:
      k8s-cluster:
        - kube-node
        - kube-master
    hostnames:
      node1: master1
      node2: master2
      node3: master3
      node4: node1
      node5: node2
    network:
      # network mapping
      network_mapping:
        net_admin: oob
        # Public network
        net_public: public
        # Management network used by installer components to communicate
        net_mgmt: public

engine:
  pod_name: ericsson-pod1
  net_config: *net_config

  # net_config network to be used by the PXE
  pxe_network: oob

  # net_config network to be used for the internet access
  public_network: public

  # interface to be used by the PXE
  pxe_interface: ens4

  installers:
    kubespray: *idf_kubespray
bmra:
  profile: full_nfv
  network_roles:
    sriov:
      - name: eth2
        pci: "05:00.0"
        pf_driver: i40e
        vf_driver: vfio-pci
    sriov_dpdk:
      - name: eth3
        pci: "05:00.1"
        pf_driver: i40e
        vf_driver: vfio-pci
  device_roles:
#    qat:
#      - name: crypto01
#        pci: "0000:ab:00.0"
#        mod_type: qat_c62x
#        pci_type: c6xx
#        vfs: 4
  features:
    sriov:
      enable: false
      sriov_vfs_per_port: 2
      sriov_dpdk_vfs_per_port: 4
    sriov_cni: false
    sriov_net_dp: false
    hugepages:
      enable: false
      default: 2M
      hugepages_1G: 0
      hugepages_2M: 10240
    isolcpus:
      enable: true
      autogenerate: true
      cpus: "4-9,14-19,24-29,34-39" # Not used when autogenerate is true
    nfd: true
    cmk:
      enable: true
      num_shared_cores: 3
      num_exclusive_cores: 3
    topology_manager:
      enable: true
      policy: "best-effort"
    tas:
      enable: true
      demo_policy: false
    bond_cni: true
    psp: true
    qat:
      enable: false
      update_drivers: false