Skip to content

Commit 8ae85a9

Browse files
authored
Merge pull request #102663 from SNiemann15/ocpvirt_ibmz_osa_note
[CNV#72324] Extend OSA notes to Roce and Hipersockets
2 parents 8d95176 + 37c203c commit 8ae85a9

File tree

4 files changed

+27
-24
lines changed

4 files changed

+27
-24
lines changed

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,19 @@ spec:
3131
devices:
3232
interfaces:
3333
- bridge: {}
34-
name: bridge-net <1>
34+
name: bridge-net
3535
# ...
3636
networks:
37-
- name: bridge-net <2>
37+
- name: bridge-net
3838
multus:
39-
networkName: bridge-network <3>
39+
networkName: bridge-network
4040
----
41-
<1> The name of the bridge interface.
42-
<2> The name of the network. This value must match the `name` value of the corresponding `spec.template.spec.domain.devices.interfaces` entry.
43-
<3> The name of the network attachment definition.
41+
+
42+
where:
43+
44+
`spec.template.spec.domain.devices.interface`:: Specifies the name of the bridge interface.
45+
`spec.template.spec.networks.name`:: Specifies the name of the network. This value must match the `name` value of the corresponding `spec.template.spec.domain.devices.interfaces` entry.
46+
`spec.template.spec.networks.multus.networkName`:: Specifies the name of the network attachment definition.
4447

4548
. Apply the configuration:
4649
+
@@ -53,5 +56,5 @@ $ oc apply -f example-vm.yaml
5356
+
5457
[NOTE]
5558
====
56-
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).
57-
====
59+
When running {VirtProductName} on {ibm-z-name} using OSA, RoCE, or HiperSockets interfaces, 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).
60+
====

modules/virt-attaching-vm-to-secondary-udn.adoc

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,37 +15,38 @@ You can connect a virtual machine (VM) to multiple secondary cluster-scoped user
1515
.Procedure
1616
. Edit the `VirtualMachine` manifest to add the CUDN interface details, as in the following example:
1717
+
18-
.Example `VirtualMachine` manifest
1918
[source,yaml]
2019
----
2120
apiVersion: kubevirt.io/v1
2221
kind: VirtualMachine
2322
metadata:
2423
name: example-vm
25-
namespace: red # <1>
24+
namespace: red
2625
spec:
2726
template:
2827
spec:
2928
domain:
3029
devices:
3130
interfaces:
32-
- name: secondary_localnet # <2>
31+
- name: secondary_localnet
3332
bridge: {}
3433
machine:
3534
type: ""
3635
resources:
3736
requests:
3837
memory: 2048M
3938
networks:
40-
- name: secondary_localnet # <3>
39+
- name: secondary_localnet
4140
multus:
42-
networkName: <localnet_cudn_name> # <4>
43-
# ...
41+
networkName: <localnet_cudn_name>
4442
----
45-
<1> The namespace in which the VM is located. This value must match a namespace that is associated with the secondary CUDN.
46-
<2> The name of the secondary user-defined network interface.
47-
<3> The name of the network. This must match the value of the `spec.template.spec.domain.devices.interfaces.name` field.
48-
<4> The name of the localnet `ClusterUserDefinedNetwork` object that you previously created.
43+
+
44+
where:
45+
46+
`metadata.namespace`:: Specifies the namespace in which the VM is located. This value must match a namespace that is associated with the secondary CUDN.
47+
`spec.template.spec.domain.devices.interfaces.name`:: Specifies the name of the secondary user-defined network interface.
48+
`spec.template.spec.networks.name`:: Specifies the name of the network. This value must match the value of the `spec.template.spec.domain.devices.interfaces.name` field.
49+
`spec.template.spec.networks.multus.networkName`:: Specifies the name of the localnet `ClusterUserDefinedNetwork` object that you previously created.
4950

5051
. Apply the `VirtualMachine` manifest by running the following command:
5152
+
@@ -57,8 +58,8 @@ $ oc apply -f <filename>.yaml
5758
where:
5859

5960
<filename>:: Specifies the name of your `VirtualMachine` manifest YAML file.
60-
61+
+
6162
[NOTE]
6263
====
63-
When running {VirtProductName} on {ibm-z-name} using an OSA card, be aware that the OSA card only forwards network traffic to devices that are registered with the OSA device. As a result, any traffic destined for unregistered devices is not forwarded.
64+
When running {VirtProductName} on {ibm-z-name}, be aware that certain network interfaces, such as OSA, RoCE, and HiperSockets, only forward network traffic to devices that are registered with the respective interface. As a result, any traffic that is destined for unregistered devices is not forwarded. 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).
6465
====

virt/vm_networking/virt-connecting-vm-to-linux-bridge.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
:_mod-docs-content-type: ASSEMBLY
22
[id="virt-connecting-vm-to-linux-bridge"]
33
= Connecting a virtual machine to a Linux bridge network
4+
45
include::_attributes/common-attributes.adoc[]
56
:context: virt-connecting-vm-to-linux-bridge
67

78
toc::[]
89

10+
[role="_abstract"]
911
By default, {VirtProductName} is installed with a single, internal pod network.
1012

1113
You can create a Linux bridge network and attach a virtual machine (VM) to the network by performing the following steps:
@@ -46,7 +48,6 @@ You can configure a virtual machine (VM) network interface by using the {product
4648

4749
include::modules/virt-vm-creating-nic-web.adoc[leveloffset=+2]
4850

49-
[discrete]
5051
include::modules/virt-networking-wizard-fields-web.adoc[leveloffset=+3]
5152

5253
include::modules/virt-attaching-vm-secondary-network-cli.adoc[leveloffset=+2]

virt/vm_networking/virt-connecting-vm-to-secondary-udn.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,4 @@ include::modules/virt-attaching-vm-to-secondary-udn.adoc[leveloffset=+1]
2626
[role="_additional-resources"]
2727
[id="additional-resources_{context}"]
2828
== Additional resources
29-
* xref:../../networking/multiple_networks/primary_networks/about-user-defined-networks.adoc#about-cudn_about-user-defined-networks[About the `ClusterUserDefinedNetwork` CR]
30-
31-
* link:https://www.ibm.com/docs/en/linux-on-systems?topic=choices-osa-interface-traffic-forwarding[OSA interface traffic forwarding]
29+
* xref:../../networking/multiple_networks/primary_networks/about-user-defined-networks.adoc#about-cudn_about-user-defined-networks[About the `ClusterUserDefinedNetwork` CR]

0 commit comments

Comments
 (0)