Skip to content

Commit fef17a6

Browse files
Merge pull request #39792 from cherraz/BZ2020713
BZ2020713: Remove DU requirement tables and merge info with procedures
2 parents 9804d0b + 2ec9820 commit fef17a6

File tree

4 files changed

+24
-146
lines changed

4 files changed

+24
-146
lines changed

modules/ztp-configuring-a-static-ip.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,34 +35,34 @@ spec:
3535
- name: eth0
3636
type: ethernet
3737
state: up
38-
mac-address: <mac-address> <1>
3938
ipv4:
4039
enabled: true
4140
address:
42-
- ip: <ip-address> <2>
43-
prefix-length: <public-network-prefix> <3>
41+
- ip: <ip-address> <1>
42+
prefix-length: <public-network-prefix> <2>
4443
dhcp: false
4544
dns-resolver:
4645
config:
4746
server:
48-
- <dns-resolver> <4>
47+
- <dns-resolver> <3>
4948
routes:
5049
config:
5150
- destination: 0.0.0.0/0
52-
next-hop-address: <gateway> <5>
51+
next-hop-address: <gateway> <4>
5352
next-hop-interface: eth0
5453
table-id: 254
5554
interfaces:
56-
- name: "eth0" <6>
57-
macAddress: <mac-address> <7>
55+
- name: "eth0" <5>
56+
macAddress: <mac-address> <6>
5857
----
59-
<1> `mac-address` is the MAC address of the target bare metal machine, that is, the same MAC address used in the `BareMetalHost` resource.
60-
<2> `ip-address` is the static IP address of the target bare metal machine.
61-
<3> `public-network-prefix` is the static IP address’s subnet for the target bare metal machine.
62-
<4> `dns-resolver` is the DNS server for the target bare metal machine.
63-
<5> `gateway` is the gateway for the target bare metal machine.
64-
<6> `name` must match the name specified in the `interfaces` section.
65-
<7> `mac-address` must match the MAC address specified in the `interfaces` section.
58+
<1> `ip-address` is the static IP address of the target bare metal machine.
59+
<2> `public-network-prefix` is the static IP address’s subnet prefix for the target bare metal machine.
60+
<3> `dns-resolver` is the DNS server for the target bare metal machine.
61+
<4> `gateway` is the gateway for the target bare metal machine.
62+
<5> `name` must match the name specified in the `interfaces` section.
63+
<6> `mac-address` is the mac address of the interface.
64+
65+
. When creating the `BareMetalHost` custom resource, ensure that one of its mac addresses matches a mac address in the `NMStateConfig` target bare metal machine.
6666

6767
. When creating the `InfraEnv` custom resource, reference the label from the `NMStateConfig` custom resource in the `InfraEnv` custom resource:
6868
+

modules/ztp-creating-siteconfig-custom-resources.adoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,23 @@ spec:
137137
name: <cluster-image-set> <1>
138138
networking:
139139
clusterNetwork:
140-
- cidr: 10.128.0.0/14
140+
- cidr: <cluster-network-cidr> <2>
141141
hostPrefix: 23
142142
machineNetwork:
143-
- cidr: <machine-network-cidr> <2>
143+
- cidr: <machine-network-cidr> <3>
144144
serviceNetwork:
145-
- 172.30.0.0/16
145+
- <service-network-cidr> <4>
146146
provisionRequirements:
147147
controlPlaneAgents: 1
148148
workerAgents: 0
149-
sshPublicKey: <public-key> <3>
149+
sshPublicKey: <public-key> <5>
150150
----
151151
+
152-
<1> `cluster-image-set` is the name of the ClusterImageSet custom resource used to install {product-title} on the DU.
153-
<2> `machine-network-cidr` is the target bare metal machine’s CIDR.
154-
<3> `public-key` entered as plain text can be used to SSH into the target bare metal machine after the host is installed.
152+
<1> `cluster-image-set` is the name of the ClusterImageSet custom resource used to install {product-title} on the bare metal machine.
153+
<2> `cluster-network-cidr` is a block of IPv4 or IPv6 addresses in CIDR notation used for communication among cluster nodes.
154+
<3> `machine-network-cidr` is a block of IPv4 or IPv6 addresses in CIDR notation used for the target bare metal server external communication. Also used to determine the API and Ingress VIP addresses when provisioning DU single node clusters.
155+
<4> `service-network-cidr` is a block of IPv4 or IPv6 addresses in CIDR notation used for cluster services internal communication.
156+
<5> `public-key` entered as plain text can be used to SSH into the node after it is installed.
155157
+
156158
[NOTE]
157159
====
@@ -273,7 +275,7 @@ spec:
273275
automatedCleaningMode: disabled
274276
online: true
275277
----
276-
<1> `bmc-address` is the baseboard address of the target bare metal machine.
278+
<1> `bmc-address` is the baseboard management console address of the installation ISO on the target bare metal machine.
277279
<2> `mac-address` is the target bare metal machine’s MAC address.
278280
+
279281
Optionally, you can add `bmac.agent-install.openshift.io/hostname: <host-name>` as an annotation to set the managed cluster’s hostname, otherwise it will default to either a hostname from the DHCP server or local host.

modules/ztp-du-host-requirements.adoc

Lines changed: 0 additions & 122 deletions
This file was deleted.

scalability_and_performance/ztp-deploying-disconnected.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ include::modules/ztp-low-latency-for-distributed-units-dus.adoc[leveloffset=+1]
2727

2828
include::modules/ztp-du-host-bios-requirements.adoc[leveloffset=+1]
2929

30-
include::modules/ztp-du-host-requirements.adoc[leveloffset=+1]
31-
3230
include::modules/ztp-acm-preparing-to-install-disconnected-acm.adoc[leveloffset=+1]
3331

3432
include::modules/ztp-disconnected-environment-prereqs.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)