Skip to content

Commit cd11c0e

Browse files
authored
Merge pull request #96759 from dfitzmau/OSDOCS-15470-multiple-networks
OSDOCS-15470-multiple-hardware-networks: Removed unneccessary code blocks for …
2 parents ec9a3bd + 11f1c6c commit cd11c0e

23 files changed

+36
-184
lines changed

modules/cnf-assigning-a-secondary-network-to-a-vrf.adoc

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,13 @@ VRF functions correctly only when the resource is of type `netdevice`.
7575
$ oc create -f additional-network-attachment.yaml
7676
----
7777

78-
. Confirm that the CNO created the `NetworkAttachmentDefinition` CR by running the following command. Replace `<namespace>` with the namespace that you specified when configuring the network attachment, for example, `additional-network-1`.
78+
. Confirm that the CNO created the `NetworkAttachmentDefinition` CR by running the following command. Replace `<namespace>` with the namespace that you specified when configuring the network attachment, for example, `additional-network-1`. The expected output shows the name of the NAD CR and the creation age in minutes.
7979
+
8080
[source,terminal]
8181
----
8282
$ oc get network-attachment-definitions -n <namespace>
8383
----
8484
+
85-
.Example output
86-
[source,terminal]
87-
----
88-
NAME AGE
89-
additional-network-1 14m
90-
----
91-
+
9285
[NOTE]
9386
====
9487
There might be a delay before the CNO creates the CR.
@@ -121,33 +114,20 @@ spec:
121114
----
122115
<1> Specify the name of the secondary network with the VRF instance.
123116

124-
.. Create the `Pod` resource by running the following command:
117+
.. Create the `Pod` resource by running the following command. The expected output shows the name of the `Pod` resource and the creation age in minutes.
125118
+
126119
[source,terminal]
127120
----
128121
$ oc create -f pod-additional-net.yaml
129122
----
130-
+
131-
.Example output
132-
[source,terminal]
133-
----
134-
pod/test-pod created
135-
----
136123

137-
. Verify that the pod network attachment is connected to the VRF secondary network. Start a remote session with the pod and run the following command:
124+
. Verify that the pod network attachment is connected to the VRF secondary network. Start a remote session with the pod and run the following command. The expected output shows the name of the VRF interface and its unique ID in the routing table.
138125
+
139126
[source,terminal]
140127
----
141128
$ ip vrf show
142129
----
143-
+
144-
.Example output
145-
[source,terminal]
146-
----
147-
Name Table
148-
-----------------------
149-
vrf-1 1001
150-
----
130+
151131
. Confirm that the VRF interface is the controller for the secondary interface:
152132
+
153133
[source,terminal]

modules/cnf-creating-an-additional-sriov-network-with-vrf-plug-in.adoc

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,14 @@ $ oc create -f sriov-network-attachment.yaml
6464

6565
.Verifying that the `NetworkAttachmentDefinition` CR is successfully created
6666

67-
* Confirm that the SR-IOV Network Operator created the `NetworkAttachmentDefinition` CR by running the following command:
67+
* Confirm that the SR-IOV Network Operator created the `NetworkAttachmentDefinition` CR by running the following command. The expected output shows the name of the NAD CR and the creation age in minutes.
6868
+
6969
[source,terminal]
7070
----
7171
$ oc get network-attachment-definitions -n <namespace> <1>
7272
----
7373
<1> Replace `<namespace>` with the namespace that you specified when configuring the network attachment, for example, `additional-sriov-network-1`.
7474
+
75-
.Example output
76-
[source,terminal]
77-
----
78-
NAME AGE
79-
additional-sriov-network-1 14m
80-
----
81-
+
8275
[NOTE]
8376
====
8477
There might be a delay before the SR-IOV Network Operator creates the CR.
@@ -90,20 +83,13 @@ To verify that the VRF CNI is correctly configured and that the additional SR-IO
9083

9184
. Create an SR-IOV network that uses the VRF CNI.
9285
. Assign the network to a pod.
93-
. Verify that the pod network attachment is connected to the SR-IOV additional network. Remote shell into the pod and run the following command:
86+
. Verify that the pod network attachment is connected to the SR-IOV additional network. Remote shell into the pod and run the following command. The expected output shows the name of the VRF interface and its unique ID in the routing table.
9487
+
9588
[source,terminal]
9689
----
9790
$ ip vrf show
9891
----
99-
+
100-
.Example output
101-
[source,terminal]
102-
----
103-
Name Table
104-
-----------------------
105-
red 10
106-
----
92+
10793
. Confirm that the VRF interface is `master` of the secondary interface by running the following command:
10894
+
10995
[source,terminal]

modules/nw-configure-sysctl-interface-sriov-network-bonded.adoc

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,7 @@ $ oc create -f sriov-bond-network-interface.yaml
126126
----
127127
$ oc get network-attachment-definitions -n <namespace> <1>
128128
----
129-
<1> Replace `<namespace>` with the networkNamespace that you specified when configuring the network attachment, for example, `sysctl-tuning-test`.
130-
+
131-
.Example output
132-
[source,terminal]
133-
----
134-
NAME AGE
135-
bond-sysctl-network 22m
136-
allvalidflags 47m
137-
----
129+
<1> Replace `<namespace>` with the networkNamespace that you specified when configuring the network attachment, for example, `sysctl-tuning-test`. Expected output shows the names of the NAD CRDs and the creation age in minutes.
138130
+
139131
[NOTE]
140132
====
@@ -215,15 +207,9 @@ tunepod 1/1 Running 0 47s
215207
$ oc rsh -n sysctl-tuning-test tunepod
216208
----
217209

218-
. Verify the values of the configured `sysctl` flag. Find the value `net.ipv6.neigh.IFNAME.base_reachable_time_ms` by running the following command::
210+
. Verify the values of the configured `sysctl` flag. Find the value `net.ipv6.neigh.IFNAME.base_reachable_time_ms` by running the following command:
219211
+
220212
[source,terminal]
221213
----
222214
$ sysctl net.ipv6.neigh.bond0.base_reachable_time_ms
223215
----
224-
+
225-
.Example output
226-
[source,terminal]
227-
----
228-
net.ipv6.neigh.bond0.base_reachable_time_ms = 20000
229-
----

modules/nw-configure-sysctl-interface-sriov-network.adoc

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,7 @@ $ oc create -f sriov-network-interface-sysctl.yaml
7272
----
7373
$ oc get network-attachment-definitions -n <namespace> <1>
7474
----
75-
<1> Replace `<namespace>` with the value for `networkNamespace` that you specified in the `SriovNetwork` object. For example, `sysctl-tuning-test`.
76-
+
77-
.Example output
78-
[source,terminal]
79-
----
80-
NAME AGE
81-
onevalidflag 14m
82-
----
75+
<1> Replace `<namespace>` with the value for `networkNamespace` that you specified in the `SriovNetwork` object. For example, `sysctl-tuning-test`. The expected output shows the name of the NAD CRD and the creation age in minutes.
8376
+
8477
[NOTE]
8578
====
@@ -163,9 +156,3 @@ $ oc rsh -n sysctl-tuning-test tunepod
163156
----
164157
$ sysctl net.ipv4.conf.net1.accept_redirects
165158
----
166-
+
167-
.Example output
168-
[source,terminal]
169-
----
170-
net.ipv4.conf.net1.accept_redirects = 1
171-
----

modules/nw-enable-all-multicast-mode-sriov-network.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,7 @@ $ oc create -f sriov-enable-all-multicast.yaml
126126
----
127127
$ oc get network-attachment-definitions -n <namespace> <1>
128128
----
129-
<1> Replace `<namespace>` with the value for `networkNamespace` that you specified in the `SriovNetwork` object. For this example, that is `enable-allmulti-test`.
130-
+
131-
.Example output
132-
[source,terminal]
133-
----
134-
NAME AGE
135-
enableallmulti 14m
136-
----
129+
<1> Replace `<namespace>` with the value for `networkNamespace` that you specified in the `SriovNetwork` object. For this example, that is `enable-allmulti-test`. The expected output shows the name of the NAD CR and the creation age in minutes.
137130
+
138131
[NOTE]
139132
====

modules/nw-multi-network-policy-enable.adoc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,9 @@ spec:
2727
useMultiNetworkPolicy: true
2828
----
2929

30-
. Configure the cluster to enable multi-network policy:
30+
. Configure the cluster to enable multi-network policy. Successful output lists the name of the policy object and the `patched` status.
3131
+
3232
[source,terminal]
3333
----
3434
$ oc patch network.operator.openshift.io cluster --type=merge --patch-file=multinetwork-enable-patch.yaml
3535
----
36-
+
37-
.Example output
38-
[source,text]
39-
----
40-
network.operator.openshift.io/cluster patched
41-
----

modules/nw-multus-configuring-whereabouts-ip-reconciler-schedule.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ $ oc get all -n openshift-multus | grep whereabouts-reconciler
4444
----
4545
pod/whereabouts-reconciler-2p7hw 1/1 Running 0 4m14s
4646
pod/whereabouts-reconciler-76jk7 1/1 Running 0 4m14s
47-
pod/whereabouts-reconciler-94zw6 1/1 Running 0 4m14s
48-
pod/whereabouts-reconciler-mfh68 1/1 Running 0 4m14s
49-
pod/whereabouts-reconciler-pgshz 1/1 Running 0 4m14s
50-
pod/whereabouts-reconciler-xn5xz 1/1 Running 0 4m14s
5147
daemonset.apps/whereabouts-reconciler 6 6 6 6 6 kubernetes.io/os=linux 4m16s
5248
----
5349

modules/nw-multus-create-master-interface-bridge-cni.adoc

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,12 @@ spec:
5353
$ oc apply -f bridge-nad.yaml
5454
----
5555

56-
. Verify that you successfully created a `NetworkAttachmentDefinition` CRD by entering the following command:
56+
. Verify that you successfully created a `NetworkAttachmentDefinition` CRD by entering the following command. The expected output shows the name of the NAD CRD and the creation age in minutes.
5757
+
5858
[source,terminal]
5959
----
6060
$ oc get network-attachment-definitions
6161
----
62-
+
63-
.Example output
64-
65-
[source,terminal]
66-
----
67-
NAME AGE
68-
bridge-network 15s
69-
----
7062

7163
. Using the following YAML example, create a file named `ipvlan-additional-network-configuration.yaml` for the IPVLAN secondary network configuration:
7264
+
@@ -99,21 +91,12 @@ spec:
9991
$ oc apply -f ipvlan-additional-network-configuration.yaml
10092
----
10193

102-
. Verify that the `NetworkAttachmentDefinition` CRD has been created successfully by running the following command:
94+
. Verify that the `NetworkAttachmentDefinition` CRD has been created successfully by running the following command. The expected output shows the name of the NAD CRD and the creation age in minutes.
10395
+
10496
[source,terminal]
10597
----
10698
$ oc get network-attachment-definitions
10799
----
108-
+
109-
.Example output
110-
111-
[source,terminal]
112-
----
113-
NAME AGE
114-
bridge-network 87s
115-
ipvlan-net 9s
116-
----
117100

118101
. Using the following YAML example, create a file named `pod-a.yaml` for the pod definition:
119102
+

modules/nw-multus-create-network.adoc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="nw-multus-create-network_{context}"]
77
= Creating a primary network attachment with the Cluster Network Operator
88

9-
The Cluster Network Operator (CNO) manages additional network definitions. When you specify a primary network to create, the CNO creates the `NetworkAttachmentDefinition` CRD automatically.
9+
The Cluster Network Operator (CNO) manages additional network definitions. When you specify a primary network to create, the CNO creates the `NetworkAttachmentDefinition` custom resource definition (CRD) automatically.
1010

1111
[IMPORTANT]
1212
====
@@ -70,7 +70,7 @@ spec:
7070

7171
.Verification
7272

73-
* Confirm that the CNO created the `NetworkAttachmentDefinition` CRD by running the following command. There might be a delay before the CNO creates the CRD.
73+
* Confirm that the CNO created the `NetworkAttachmentDefinition` CRD by running the following command. A delay might exist before the CNO creates the CRD. The expected output shows the name of the NAD CRD and the creation age in minutes.
7474
+
7575
[source,terminal]
7676
----
@@ -82,10 +82,3 @@ where:
8282
8383
`<namespace>`:: Specifies the namespace for the network attachment that you added to the CNO configuration.
8484
--
85-
+
86-
.Example output
87-
[source,terminal]
88-
----
89-
NAME AGE
90-
test-network-1 14m
91-
----

modules/nw-multus-creating-whereabouts-reconciler-daemon-set.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,5 @@ $ oc get all -n openshift-multus | grep whereabouts-reconciler
6969
----
7070
pod/whereabouts-reconciler-jnp6g 1/1 Running 0 6s
7171
pod/whereabouts-reconciler-k76gg 1/1 Running 0 6s
72-
pod/whereabouts-reconciler-k86t9 1/1 Running 0 6s
73-
pod/whereabouts-reconciler-p4sxw 1/1 Running 0 6s
74-
pod/whereabouts-reconciler-rvfdv 1/1 Running 0 6s
75-
pod/whereabouts-reconciler-svzw9 1/1 Running 0 6s
7672
daemonset.apps/whereabouts-reconciler 6 6 6 6 6 kubernetes.io/os=linux 6s
7773
----

0 commit comments

Comments
 (0)