From 061d7b835015ea2f66097c46f96faf4b1c272e9d Mon Sep 17 00:00:00 2001 From: AJ Date: Mon, 13 Nov 2023 11:51:18 -0600 Subject: [PATCH 1/2] Detail to Removing Physical NIC Added some detail to the remove physical NIC section. Signed-off-by: AJ --- docs/networking/networking.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/networking/networking.md b/docs/networking/networking.md index 4185420b..12f8f787 100644 --- a/docs/networking/networking.md +++ b/docs/networking/networking.md @@ -136,7 +136,12 @@ By renaming/updating interfaces like this, you can assure all your hosts have th ### Remove a physical NIC -Before removing it, just be sure to remove its associated networks, so it won't cause trouble. Then, shutdown, remove the NIC and finally boot. After the boot, do a `xe pif-forget uuid=` to get rid of the object record. +Before removing a physical NIC, ensure that no VMs are using the interface. Shutdown the host, physically remove the NIC and boot. +After boot, the PIF will need to be removed. +``` +xe pif-forget uuid= +``` +The `` can be obtained with either `xe pif-list`or with Xen Orchestra. This command only needs to be ran once on the pool. ## 🛞 SDN controller From c59cfbb9d6938fe2c8021235acd84999c401f6ef Mon Sep 17 00:00:00 2001 From: AJ Date: Mon, 13 Nov 2023 12:45:57 -0600 Subject: [PATCH 2/2] Fix Adding Detail to Remove NIC added missing space and adjust language on after boot. Signed-off-by: AJ --- docs/networking/networking.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/networking/networking.md b/docs/networking/networking.md index 12f8f787..2e972680 100644 --- a/docs/networking/networking.md +++ b/docs/networking/networking.md @@ -137,11 +137,11 @@ By renaming/updating interfaces like this, you can assure all your hosts have th ### Remove a physical NIC Before removing a physical NIC, ensure that no VMs are using the interface. Shutdown the host, physically remove the NIC and boot. -After boot, the PIF will need to be removed. +After boot, the PIF will need to be removed. You can do it this way: ``` xe pif-forget uuid= ``` -The `` can be obtained with either `xe pif-list`or with Xen Orchestra. This command only needs to be ran once on the pool. +The `` can be obtained with either `xe pif-list` or with Xen Orchestra. This command only needs to be ran once on the pool. ## 🛞 SDN controller