Skip to content

Commit a937309

Browse files
authored
Merge pull request #70940 from sabrinajess/CNV30305
#CNV-30305 - new NAD localnet content
2 parents 7007410 + bc405c4 commit a937309

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-creating-nad-localnet-console_{context}"]
7+
= Creating a NAD for localnet topology using the web console
8+
9+
You can create a network attachment definition (NAD) to connect workloads to a physical network by using the {product-title} web console.
10+
11+
.Prerequisites
12+
* Use `nmstate` to configure the localnet to OVS bridge mappings.
13+
14+
.Procedure
15+
16+
. Navigate to *Networking* -> *NetworkAttachmentDefinitions* in the web console.
17+
18+
. Click *Create Network Attachment Definition*. The network attachment definition must be in the same namespace as the pod or virtual machine using it.
19+
20+
. Enter a unique *Name* and optional *Description*.
21+
22+
. Select *OVN Kubernetes secondary localnet network* from the *Network Type* list.
23+
24+
. Enter the name of your pre-configured localnet identifier in the *Bridge mapping* field.
25+
26+
. Optional: You can explicitly set MTU to the specified value. The default value is chosen by the kernel.
27+
28+
. Optional: Encapsulate the traffic in a VLAN. The default value is none.
29+
30+
. Click *Create*.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ include::modules/virt-creating-localnet-nad-cli.adoc[leveloffset=+2]
4343
You can attach a virtual machine (VM) to the OVN-Kubernetes secondary network interface by using the {product-title} web console or the CLI.
4444

4545
include::modules/virt-attaching-vm-to-ovn-secondary-nw-cli.adoc[leveloffset=+2]
46+
include::modules/virt-creating-nad-localnet-console.adoc[leveloffset=+2]
4647

4748
[role="_additional-resources"]
4849
[id="additional-resources_virt-connecting-vm-to-ovn-secondary-network"]
4950
== Additional resources
5051
* xref:../../networking/multiple_networks/configuring-additional-network.adoc#configuration-ovnk-additional-networks_configuring-additional-network[Configuration for an OVN-Kubernetes additional network]
51-
* xref:../../networking/k8s_nmstate/k8s-nmstate-about-the-k8s-nmstate-operator.adoc#k8s-nmstate-about-the-k8s-nmstate-operator[About the Kubernetes NMState Operator]
52+
* xref:../../networking/k8s_nmstate/k8s-nmstate-about-the-k8s-nmstate-operator.adoc#k8s-nmstate-about-the-k8s-nmstate-operator[About the Kubernetes NMState Operator]
53+
* xref:../../networking/multiple_networks/configuring-additional-network.adoc#configuring-additional-network_configuration-additional-network-interface[Configuration for an OVN-Kubernetes additional network mapping]
54+
* xref:../../networking/multiple_networks/configuring-additional-network.adoc#configuring-additional-network_configuration-additional-network-attachment[Configuration for an additional network attachment]

0 commit comments

Comments
 (0)