Skip to content

Commit cfce6a8

Browse files
authored
Merge pull request #33975 from mgarrellRH/CNV10760_2
CNV 10760: Updating information about referencing NAD definitions in different namespaces
2 parents 8f80aa8 + 9241765 commit cfce6a8

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,14 @@ spec:
3737
networks:
3838
- name: default
3939
pod: {}
40-
- name: bridge-net <1>
40+
- name: bridge-net <2>
4141
multus:
42-
networkName: <network-namespace/a-bridge-network> <2>
42+
networkName: <network-namespace>/<a-bridge-network> <3>
4343
...
4444
----
45-
<1> The name of the bridge interface. This value must match the `name` value of the corresponding `spec.template.spec.networks` entry.
46-
<2> The name of the network attachment definition.
47-
+
48-
[NOTE]
49-
====
50-
The example virtual machine is connected to both the `default` pod network and `bridge-net`, which is defined by a network attachment definition named `a-bridge-network`. If the network attachment definition is not in the same namespace as the VM, you must combine the namespace and the network name to create the network attachment definition name.
51-
====
45+
<1> The name of the bridge interface.
46+
<2> The name of the bridge interface. This value must match the `name` value of the corresponding `spec.template.spec.networks` entry.
47+
<3> The name of the network attachment definition, prefixed by the namespace where it exists. The namespace must be either the `default` namespace or the same namespace where the VM is to be created.
5248

5349
. Apply the configuration:
5450
+

0 commit comments

Comments
 (0)