From b25ec733649900a9e4f5a30b1e2cb5e262b6325c Mon Sep 17 00:00:00 2001 From: Avital Pinnick Date: Sun, 26 Mar 2023 11:24:50 +0300 Subject: [PATCH] Remove obsolete CNV node network folder Signed-off-by: Avital Pinnick --- modules/virt-about-nmstate.adoc | 4 +- ...rt-confirming-policy-updates-on-nodes.adoc | 1 - modules/virt-creating-interface-on-nodes.adoc | 1 - modules/virt-example-bond-nncp.adoc | 1 - modules/virt-example-bridge-nncp.adoc | 1 - modules/virt-example-ethernet-nncp.adoc | 1 - .../virt-example-nmstate-IP-management.adoc | 1 - ...t-example-nmstate-multiple-interfaces.adoc | 1 - modules/virt-example-vlan-nncp.adoc | 1 - .../virt-removing-interface-from-nodes.adoc | 1 - .../virt-viewing-network-state-of-node.adoc | 1 - virt/node_network/_attributes | 1 - virt/node_network/images | 1 - virt/node_network/modules | 1 - virt/node_network/snippets | 1 - .../virt-observing-node-network-state.adoc | 16 ------ .../virt-troubleshooting-node-network.adoc | 17 ------ .../virt-updating-node-network-config.adoc | 55 ------------------- 18 files changed, 1 insertion(+), 105 deletions(-) delete mode 120000 virt/node_network/_attributes delete mode 120000 virt/node_network/images delete mode 120000 virt/node_network/modules delete mode 120000 virt/node_network/snippets delete mode 100644 virt/node_network/virt-observing-node-network-state.adoc delete mode 100644 virt/node_network/virt-troubleshooting-node-network.adoc delete mode 100644 virt/node_network/virt-updating-node-network-config.adoc diff --git a/modules/virt-about-nmstate.adoc b/modules/virt-about-nmstate.adoc index 8aa00a9d21..13c4903282 100644 --- a/modules/virt-about-nmstate.adoc +++ b/modules/virt-about-nmstate.adoc @@ -1,7 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-observing-node-network-state.adoc -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-observing-node-network-state.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc @@ -29,5 +27,5 @@ Node networking is monitored and updated by the following objects: [NOTE] ==== -If your {product-title} cluster uses OVN-Kubernetes as the network plugin, you cannot attach a Linux bridge or bonding to the default interface of a host because of a change in the host network topology of OVN-Kubernetes. As a workaround, you can use a secondary network interface connected to your host, or switch to the OpenShift SDN network plugin. +If your {product-title} cluster uses OVN-Kubernetes as the network plugin, you cannot attach a Linux bridge or bonding to the default interface of a host because of a change in the host network topology of OVN-Kubernetes. As a workaround, use a secondary network interface connected to your host or switch to the OpenShift SDN network plugin. ==== diff --git a/modules/virt-confirming-policy-updates-on-nodes.adoc b/modules/virt-confirming-policy-updates-on-nodes.adoc index 7de33721f1..bb7809a638 100644 --- a/modules/virt-confirming-policy-updates-on-nodes.adoc +++ b/modules/virt-confirming-policy-updates-on-nodes.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-configuring-node-network-policy // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc :_content-type: PROCEDURE diff --git a/modules/virt-creating-interface-on-nodes.adoc b/modules/virt-creating-interface-on-nodes.adoc index 2a8c0957fe..4e1242107c 100644 --- a/modules/virt-creating-interface-on-nodes.adoc +++ b/modules/virt-creating-interface-on-nodes.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc :_content-type: PROCEDURE diff --git a/modules/virt-example-bond-nncp.adoc b/modules/virt-example-bond-nncp.adoc index b88fb77b02..c4cf16323b 100644 --- a/modules/virt-example-bond-nncp.adoc +++ b/modules/virt-example-bond-nncp.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc [id="virt-example-bond-nncp_{context}"] diff --git a/modules/virt-example-bridge-nncp.adoc b/modules/virt-example-bridge-nncp.adoc index 01fccd4e55..6f8951fea5 100644 --- a/modules/virt-example-bridge-nncp.adoc +++ b/modules/virt-example-bridge-nncp.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc [id="virt-example-bridge-nncp_{context}"] diff --git a/modules/virt-example-ethernet-nncp.adoc b/modules/virt-example-ethernet-nncp.adoc index 44854a4366..fa18adbcc6 100644 --- a/modules/virt-example-ethernet-nncp.adoc +++ b/modules/virt-example-ethernet-nncp.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc [id="virt-example-ethernet-nncp_{context}"] diff --git a/modules/virt-example-nmstate-IP-management.adoc b/modules/virt-example-nmstate-IP-management.adoc index dbd5441058..dc5ade797a 100644 --- a/modules/virt-example-nmstate-IP-management.adoc +++ b/modules/virt-example-nmstate-IP-management.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc :_content-type: REFERENCE diff --git a/modules/virt-example-nmstate-multiple-interfaces.adoc b/modules/virt-example-nmstate-multiple-interfaces.adoc index fe25c3ffe4..bc407e253d 100644 --- a/modules/virt-example-nmstate-multiple-interfaces.adoc +++ b/modules/virt-example-nmstate-multiple-interfaces.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc [id="virt-example-nmstate-multiple-interfaces_{context}"] diff --git a/modules/virt-example-vlan-nncp.adoc b/modules/virt-example-vlan-nncp.adoc index 62e5baedbd..0fde8ac056 100644 --- a/modules/virt-example-vlan-nncp.adoc +++ b/modules/virt-example-vlan-nncp.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc [id="virt-example-vlan-nncp_{context}"] diff --git a/modules/virt-removing-interface-from-nodes.adoc b/modules/virt-removing-interface-from-nodes.adoc index 703c5c3c89..0439e9bca2 100644 --- a/modules/virt-removing-interface-from-nodes.adoc +++ b/modules/virt-removing-interface-from-nodes.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-updating-node-network-config.adoc // * networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.adoc :_content-type: PROCEDURE diff --git a/modules/virt-viewing-network-state-of-node.adoc b/modules/virt-viewing-network-state-of-node.adoc index f97598a55c..e0799f1f49 100644 --- a/modules/virt-viewing-network-state-of-node.adoc +++ b/modules/virt-viewing-network-state-of-node.adoc @@ -1,6 +1,5 @@ // Module included in the following assemblies: // -// * virt/node_network/virt-observing-node-network-state.adoc // * networking/k8s_nmstate/k8s-observing-node-network-state.adoc :_content-type: PROCEDURE diff --git a/virt/node_network/_attributes b/virt/node_network/_attributes deleted file mode 120000 index 20cc1dcb77..0000000000 --- a/virt/node_network/_attributes +++ /dev/null @@ -1 +0,0 @@ -../../_attributes/ \ No newline at end of file diff --git a/virt/node_network/images b/virt/node_network/images deleted file mode 120000 index 847b03ed05..0000000000 --- a/virt/node_network/images +++ /dev/null @@ -1 +0,0 @@ -../../images/ \ No newline at end of file diff --git a/virt/node_network/modules b/virt/node_network/modules deleted file mode 120000 index 36719b9de7..0000000000 --- a/virt/node_network/modules +++ /dev/null @@ -1 +0,0 @@ -../../modules/ \ No newline at end of file diff --git a/virt/node_network/snippets b/virt/node_network/snippets deleted file mode 120000 index 5a3f5add14..0000000000 --- a/virt/node_network/snippets +++ /dev/null @@ -1 +0,0 @@ -../../snippets/ \ No newline at end of file diff --git a/virt/node_network/virt-observing-node-network-state.adoc b/virt/node_network/virt-observing-node-network-state.adoc deleted file mode 100644 index e4fffa17b6..0000000000 --- a/virt/node_network/virt-observing-node-network-state.adoc +++ /dev/null @@ -1,16 +0,0 @@ -:_content-type: ASSEMBLY -[id="virt-observing-node-network-state"] -= Observing node network state -include::_attributes/common-attributes.adoc[] -:context: virt-observing-node-network-state - -toc::[] - -Node network state is the network configuration for all nodes in the cluster. - -include::modules/virt-about-nmstate.adoc[leveloffset=+1] - -include::modules/virt-viewing-network-state-of-node.adoc[leveloffset=+1] - - - diff --git a/virt/node_network/virt-troubleshooting-node-network.adoc b/virt/node_network/virt-troubleshooting-node-network.adoc deleted file mode 100644 index 979c23a1fa..0000000000 --- a/virt/node_network/virt-troubleshooting-node-network.adoc +++ /dev/null @@ -1,17 +0,0 @@ -:_content-type: ASSEMBLY -[id="virt-troubleshooting-node-network"] -= Troubleshooting node network configuration -include::_attributes/common-attributes.adoc[] -:context: virt-troubleshooting-node-network - -toc::[] - -If the node network configuration encounters an issue, the policy is automatically rolled back and the enactments report failure. -This includes issues such as: - -* The configuration fails to be applied on the host. -* The host loses connection to the default gateway. -* The host loses connection to the API server. - -include::modules/virt-troubleshooting-incorrect-policy-config.adoc[leveloffset=+1] - diff --git a/virt/node_network/virt-updating-node-network-config.adoc b/virt/node_network/virt-updating-node-network-config.adoc deleted file mode 100644 index bb12c30e99..0000000000 --- a/virt/node_network/virt-updating-node-network-config.adoc +++ /dev/null @@ -1,55 +0,0 @@ -:_content-type: ASSEMBLY -[id="virt-updating-node-network-config"] -= Updating node network configuration -include::_attributes/common-attributes.adoc[] -:context: virt-updating-node-network-config - -toc::[] - -You can update the node network configuration, such as adding or removing interfaces -from nodes, by applying `NodeNetworkConfigurationPolicy` manifests to the cluster. - -include::modules/virt-about-nmstate.adoc[leveloffset=+1] - -include::modules/virt-creating-interface-on-nodes.adoc[leveloffset=+1] - -[discrete] -[role="_additional-resources"] -== Additional resources -* xref:virt-nmstate-example-policy-configurations[Example policy configurations for different interfaces] -* xref:virt-example-nmstate-multiple-interfaces_virt-updating-node-network-config[Example for creating multiple interfaces in the same policy] -* xref:virt-example-nmstate-IP-management_virt-updating-node-network-config[Examples of different IP management methods in policies] - -include::modules/virt-confirming-policy-updates-on-nodes.adoc[leveloffset=+1] - -include::modules/virt-removing-interface-from-nodes.adoc[leveloffset=+1] - -[id="virt-nmstate-example-policy-configurations"] -== Example policy configurations for different interfaces - -include::modules/virt-example-bridge-nncp.adoc[leveloffset=+2] - -include::modules/virt-example-vlan-nncp.adoc[leveloffset=+2] - -include::modules/virt-example-bond-nncp.adoc[leveloffset=+2] - -include::modules/virt-example-ethernet-nncp.adoc[leveloffset=+2] - -include::modules/virt-example-nmstate-multiple-interfaces.adoc[leveloffset=+2] - -[id="capturing-nic-static-ip_virt-updating-node-network-config"] -== Capturing the static IP of a NIC attached to a bridge - -ifdef::openshift-enterprise[] -:FeatureName: Capturing the static IP of a NIC -include::snippets/technology-preview.adoc[leveloffset=+2] -endif::[] - -include::modules/virt-example-inherit-static-ip-from-nic.adoc[leveloffset=+2] - -[role="_additional-resources"] -.Additional resources -* link:https://nmstate.io/nmpolicy/user-guide/102-policy-syntax.html[The NMPolicy project - Policy syntax] - -// Dropping offset by one again -include::modules/virt-example-nmstate-IP-management.adoc[leveloffset=+1]