Skip to content

Commit 4f66aa5

Browse files
author
Shikha Jhala
committed
CNV-43689: Marked primary pod network as optional in YAML spec
1 parent 377f831 commit 4f66aa5

5 files changed

+7
-14
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,10 @@ spec:
2828
domain:
2929
devices:
3030
interfaces:
31-
- masquerade: {}
32-
name: default
3331
- bridge: {}
3432
name: bridge-net <1>
3533
# ...
3634
networks:
37-
- name: default
38-
pod: {}
3935
- name: bridge-net <2>
4036
multus:
4137
networkName: a-bridge-network <3>

modules/virt-attaching-vm-to-ovn-secondary-nw-cli.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,12 @@ spec:
2828
domain:
2929
devices:
3030
interfaces:
31-
- name: default
32-
masquerade: {}
3331
- name: secondary <1>
3432
bridge: {}
3533
resources:
3634
requests:
3735
memory: 1024Mi
3836
networks:
39-
- name: default
40-
pod: {}
4137
- name: secondary <2>
4238
multus:
4339
networkName: <nad_name> <3>

modules/virt-attaching-vm-to-sriov-network.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,9 @@ spec:
2222
domain:
2323
devices:
2424
interfaces:
25-
- name: default
26-
masquerade: {}
2725
- name: nic1 <1>
2826
sriov: {}
2927
networks:
30-
- name: default
31-
pod: {}
3228
- name: nic1 <2>
3329
multus:
3430
networkName: sriov-network <3>

virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,17 @@ include::modules/virt-creating-layer2-nad-cli.adoc[leveloffset=+2]
4646

4747
include::modules/virt-creating-localnet-nad-cli.adoc[leveloffset=+2]
4848

49+
include::modules/virt-creating-nad-l2-overlay-console.adoc[leveloffset=+2]
50+
51+
include::modules/virt-creating-nad-localnet-console.adoc[leveloffset=+2]
52+
4953
[id="attaching-vm-to-ovn-secondary-nw"]
5054
== Attaching a virtual machine to the OVN-Kubernetes secondary network
5155

5256
You can attach a virtual machine (VM) to the OVN-Kubernetes secondary network interface by using the {product-title} web console or the CLI.
5357

5458
include::modules/virt-attaching-vm-to-ovn-secondary-nw-cli.adoc[leveloffset=+2]
55-
include::modules/virt-creating-nad-l2-overlay-console.adoc[leveloffset=+2]
56-
include::modules/virt-creating-nad-localnet-console.adoc[leveloffset=+2]
59+
5760

5861
ifndef::openshift-rosa,openshift-dedicated[]
5962
[role="_additional-resources"]

virt/vm_networking/virt-networking-overview.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ endif::openshift-rosa,openshift-dedicated[]
3232
[id="secondary-network-config"]
3333
== Configuring VM secondary network interfaces
3434

35+
You can connect a virtual machine to a secondary network by using Linux bridge, SR-IOV and OVN-Kubernetes CNI plugins. You can list multiple secondary networks and interfaces in the VM specification. It is not required to specify the primary pod network in the VM specification when connecting to a secondary network interface.
36+
3537
// Hiding from ROSA/OSD as Linux Bridge not supported
3638
ifndef::openshift-rosa,openshift-dedicated[]
3739
xref:../../virt/vm_networking/virt-connecting-vm-to-linux-bridge.adoc#virt-connecting-vm-to-linux-bridge[Connecting a virtual machine to a Linux bridge network]::

0 commit comments

Comments
 (0)