Skip to content

Commit 0fef008

Browse files
SNiemann15openshift-cherrypick-robot
authored andcommitted
OCPVIRT - add OSA on IBM Z networking
1 parent bb64cd8 commit 0fef008

4 files changed

+31
-1
lines changed

modules/virt-attaching-vm-secondary-network-cli.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ $ oc apply -f example-vm.yaml
4949
----
5050

5151
. Optional: If you edited a running virtual machine, you must restart it for the changes to take effect.
52+
53+
[NOTE]
54+
====
55+
When running {VirtProductName} on {ibm-z-name} using an OSA card, you must register the MAC address of the device. For more information, see link:https://www.ibm.com/docs/en/linux-on-systems?topic=choices-osa-interface-traffic-forwarding[OSA interface traffic forwarding] (IBM documentation).
56+
====

modules/virt-creating-linux-bridge-nad-cli.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Configuring IP address management (IPAM) in a network attachment definition for
2424

2525
. Add the VM to the `NetworkAttachmentDefinition` configuration, as in the following example:
2626
+
27+
--
2728
[source,yaml]
2829
----
2930
apiVersion: "k8s.cni.cncf.io/v1"
@@ -52,13 +53,19 @@ spec:
5253
<5> The name of the Linux bridge configured on the node. The name should match the interface bridge name defined in the `NodeNetworkConfigurationPolicy` manifest.
5354
<6> Optional: A flag to enable the MAC spoof check. When set to `true`, you cannot change the MAC address of the pod or guest interface. This attribute allows only a single MAC address to exit the pod, which provides security against a MAC spoofing attack.
5455
<7> Optional: The VLAN tag. No additional VLAN configuration is required on the node network configuration policy.
56+
+
57+
[NOTE]
58+
====
59+
OSA interfaces on {ibm-z-name} do not support VLAN filtering and VLAN-tagged traffic is dropped. Avoid using VLAN-tagged NADs with OSA interfaces.
60+
====
61+
5562
<8> Optional: Indicates whether the VM connects to the bridge through the default VLAN. The default value is `true`.
5663
+
5764
[NOTE]
5865
====
5966
A Linux bridge network attachment definition is the most efficient method for connecting a virtual machine to a VLAN.
6067
====
61-
68+
--
6269
. Create the network attachment definition:
6370
+
6471
[source,terminal]

modules/virt-creating-linux-bridge-nad-web.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,11 @@ The network attachment definition must be in the same namespace as the pod or vi
3131
. Select *CNV Linux bridge* from the *Network Type* list.
3232
. Enter the name of the bridge in the *Bridge Name* field.
3333
. Optional: If the resource has VLAN IDs configured, enter the ID numbers in the *VLAN Tag Number* field.
34+
+
35+
[NOTE]
36+
====
37+
OSA interfaces on {ibm-z-name} do not support VLAN filtering and VLAN-tagged traffic is dropped. Avoid using VLAN-tagged NADs with OSA interfaces.
38+
====
39+
+
3440
. Optional: Select *MAC Spoof Check* to enable MAC spoof filtering. This feature provides security against a MAC spoofing attack by allowing only a single MAC address to exit the pod.
3541
. Click *Create*.

modules/virt-creating-linux-bridge-nncp.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,15 @@ spec:
4646
<6> Disables IPv4 in this example.
4747
<7> Disables STP in this example.
4848
<8> The node NIC to which the bridge is attached.
49+
50+
[NOTE]
51+
====
52+
To create the NNCP manifest for a Linux bridge using OSA with {ibm-z-name}, you must disable VLAN filtering by the setting the `rx-vlan-filter` to `false` in the `NodeNetworkConfigurationPolicy` manifest.
53+
54+
Alternatively, if you have SSH access to the node, you can disable VLAN filtering by running the following command:
55+
56+
[source,terminal]
57+
----
58+
$ sudo ethtool -K <osa-interface-name> rxvlan off
59+
----
60+
====

0 commit comments

Comments
 (0)