Skip to content

Commit 128ee8d

Browse files
author
Shikha Jhala
committed
DOCPLAN-170: Restructured assembly for DITA compliance
1 parent 53ed61d commit 128ee8d

File tree

4 files changed

+49
-31
lines changed

4 files changed

+49
-31
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc
4+
5+
:_mod-docs-content-type: REFERENCE
6+
[id="virt-attaching-vm-to-primary-udn-intro_{context}"]
7+
= Attaching a virtual machine to the primary user-defined network
8+
9+
[role="_abstract"]
10+
You can connect a virtual machine (VM) to the primary user-defined network (UDN) by requesting the pod network attachment and configuring the interface binding.
11+
12+
{VirtProductName} supports the following network binding plugins to connect the network interface to the VM:
13+
14+
Layer 2 bridge:: The Layer 2 bridge binding creates a direct Layer 2 connection between the VM's virtual interface and the virtual switch of the UDN.
15+
16+
Passt:: The Plug a Simple Socket Transport (passt) binding provides a user-space networking solution that integrates seamlessly with the pod network, providing better integration with the {product-title} networking ecosystem.
17+
+
18+
Passt binding has the following benefits:
19+
20+
* You can define readiness and liveness HTTP probes to configure VM health checks.
21+
* You can use Red Hat Advanced Cluster Security to monitor TCP traffic within the cluster with detailed insights.
22+
23+
:FeatureName: Using the passt binding plugin to attach a VM to the primary UDN
24+
include::snippets/technology-preview.adoc[]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc
4+
5+
:_mod-docs-content-type: REFERENCE
6+
[id="virt-creating-primary-udn-cli-intro_{context}"]
7+
= Create a primary user-defined network by using the CLI
8+
9+
[role="_abstract"]
10+
You can create a primary `UserDefinedNetwork` or `ClusterUserDefinedNetwork` CRD by using the CLI. After you define the custom primary overlay network, you can create namespaces that are associated with the cluster-scoped UDN.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc
4+
5+
:_mod-docs-content-type: REFERENCE
6+
[id="virt-creating-primary-udn-web-intro_{context}"]
7+
= Create a primary user-defined network by using the web console
8+
9+
[role="_abstract"]
10+
You can use the {product-title} web console to create a primary namespace-scoped `UserDefinedNetwork` or a cluster-scoped `ClusterUserDefinedNetwork` CRD. The UDN serves as the default primary network for pods and VMs that you create in namespaces associated with the network.
11+
12+
After you define the custom primary overlay network, you can create namespaces that are associated with the cluster-scoped UDN.

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

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ You must consider the following limitations before implementing a primary UDN:
3030
* You cannot use headless services to access a VM.
3131
3232
33-
[id="creating-primary-udn-web_{context}"]
34-
== Creating a primary user-defined network by using the web console
3533
36-
You can use the {product-title} web console to create a primary namespace-scoped `UserDefinedNetwork` or a cluster-scoped `ClusterUserDefinedNetwork` CRD. The UDN serves as the default primary network for pods and VMs that you create in namespaces associated with the network.
34+
include::modules/virt-creating-primary-udn-web-intro.adoc[leveloffset=+1]
3735

3836
include::modules/virt-creating-udn-namespace-web.adoc[leveloffset=+2]
3937

@@ -43,43 +41,17 @@ include::modules/virt-creating-a-localnet-cudn-web.adoc[leveloffset=+2]
4341

4442
include::modules/virt-creating-primary-cluster-udn-web.adoc[leveloffset=+2]
4543

46-
[id="next-steps-web_{context}"]
47-
.Next steps
48-
* xref:../../virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc#virt-creating-udn-namespace-web_virt-connecting-vm-to-primary-udn[Create namespaces that are associated with the cluster-scoped UDN]
4944

50-
[id="creating-primary-udn-cli_{context}"]
51-
== Creating a primary user-defined network by using the CLI
52-
53-
You can create a primary `UserDefinedNetwork` or `ClusterUserDefinedNetwork` CRD by using the CLI.
45+
include::modules/virt-creating-primary-udn-cli-intro.adoc[leveloffset=+1]
5446

5547
include::modules/virt-creating-udn-namespace-cli.adoc[leveloffset=+2]
5648

5749
include::modules/virt-creating-a-primary-udn.adoc[leveloffset=+2]
5850

5951
include::modules/virt-creating-a-primary-cluster-udn.adoc[leveloffset=+2]
6052

61-
[id="next-steps-cli_{context}"]
62-
.Next steps
63-
* xref:../../virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc#virt-creating-udn-namespace-cli_virt-connecting-vm-to-primary-udn[Create namespaces that are associated with the cluster-scoped UDN]
64-
65-
[id="attaching-vm-to-primary-udn_{context}"]
66-
== Attaching a virtual machine to the primary user-defined network
67-
68-
You can connect a virtual machine (VM) to the primary user-defined network (UDN) by requesting the pod network attachment and configuring the interface binding.
69-
70-
{VirtProductName} supports the following network binding plugins to connect the network interface to the VM:
71-
72-
Layer 2 bridge:: The Layer 2 bridge binding creates a direct Layer 2 connection between the VM's virtual interface and the virtual switch of the UDN.
73-
74-
Passt:: The Plug a Simple Socket Transport (passt) binding provides a user-space networking solution that integrates seamlessly with the pod network, providing better integration with the {product-title} networking ecosystem.
75-
+
76-
Passt binding has the following benefits:
77-
78-
* You can define readiness and liveness HTTP probes to configure VM health checks.
79-
* You can use Red Hat Advanced Cluster Security to monitor TCP traffic within the cluster with detailed insights.
8053

81-
:FeatureName: Using the passt binding plugin to attach a VM to the primary UDN
82-
include::snippets/technology-preview.adoc[]
54+
include::modules/virt-attaching-vm-to-primary-udn-intro.adoc[leveloffset=+1]
8355

8456
include::modules/virt-attaching-vm-to-primary-udn-web.adoc[leveloffset=+2]
8557

0 commit comments

Comments
 (0)