From 3fe7b20ef5bc9ab655ea9108d9e89d120af1174b Mon Sep 17 00:00:00 2001 From: Sabrina Jess Date: Mon, 29 Jan 2024 13:46:33 -0500 Subject: [PATCH] new content --- .../virt-creating-nad-localnet-console.adoc | 30 +++++++++++++++++++ ...onnecting-vm-to-ovn-secondary-network.adoc | 5 +++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 modules/virt-creating-nad-localnet-console.adoc diff --git a/modules/virt-creating-nad-localnet-console.adoc b/modules/virt-creating-nad-localnet-console.adoc new file mode 100644 index 000000000000..f73d61e55714 --- /dev/null +++ b/modules/virt-creating-nad-localnet-console.adoc @@ -0,0 +1,30 @@ +// Module included in the following assemblies: +// +// * virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc + +:_mod-docs-content-type: PROCEDURE +[id="virt-creating-nad-localnet-console_{context}"] += Creating a NAD for localnet topology using the web console + +You can create a network attachment definition (NAD) to connect workloads to a physical network by using the {product-title} web console. + +.Prerequisites +* Use `nmstate` to configure the localnet to OVS bridge mappings. + +.Procedure + +. Navigate to *Networking* -> *NetworkAttachmentDefinitions* in the web console. + +. Click *Create Network Attachment Definition*. The network attachment definition must be in the same namespace as the pod or virtual machine using it. + +. Enter a unique *Name* and optional *Description*. + +. Select *OVN Kubernetes secondary localnet network* from the *Network Type* list. + +. Enter the name of your pre-configured localnet identifier in the *Bridge mapping* field. + +. Optional: You can explicitly set MTU to the specified value. The default value is chosen by the kernel. + +. Optional: Encapsulate the traffic in a VLAN. The default value is none. + +. Click *Create*. \ No newline at end of file diff --git a/virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc b/virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc index 8d5a82a8b00b..aaa6503cb766 100644 --- a/virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc +++ b/virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc @@ -43,9 +43,12 @@ include::modules/virt-creating-localnet-nad-cli.adoc[leveloffset=+2] You can attach a virtual machine (VM) to the OVN-Kubernetes secondary network interface by using the {product-title} web console or the CLI. include::modules/virt-attaching-vm-to-ovn-secondary-nw-cli.adoc[leveloffset=+2] +include::modules/virt-creating-nad-localnet-console.adoc[leveloffset=+2] [role="_additional-resources"] [id="additional-resources_virt-connecting-vm-to-ovn-secondary-network"] == Additional resources * xref:../../networking/multiple_networks/configuring-additional-network.adoc#configuration-ovnk-additional-networks_configuring-additional-network[Configuration for an OVN-Kubernetes additional network] -* xref:../../networking/k8s_nmstate/k8s-nmstate-about-the-k8s-nmstate-operator.adoc#k8s-nmstate-about-the-k8s-nmstate-operator[About the Kubernetes NMState Operator] \ No newline at end of file +* xref:../../networking/k8s_nmstate/k8s-nmstate-about-the-k8s-nmstate-operator.adoc#k8s-nmstate-about-the-k8s-nmstate-operator[About the Kubernetes NMState Operator] +* xref:../../networking/multiple_networks/configuring-additional-network.adoc#configuring-additional-network_configuration-additional-network-interface[Configuration for an OVN-Kubernetes additional network mapping] +* xref:../../networking/multiple_networks/configuring-additional-network.adoc#configuring-additional-network_configuration-additional-network-attachment[Configuration for an additional network attachment] \ No newline at end of file