From c0885a28b2ebddce9e4b52763909ad48575bf8da Mon Sep 17 00:00:00 2001 From: Bob Gaydos Date: Fri, 1 Nov 2019 18:50:26 -0400 Subject: [PATCH] CNV_3045 Add NIC to VM --- cnv/cnv_users_guide/cnv-edit-vms.adoc | 2 +- .../cnv-editing-vm-template.adoc | 2 +- modules/cnv-add-nic-to-vm.adoc | 57 +++++++++++++++++++ 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 modules/cnv-add-nic-to-vm.adoc diff --git a/cnv/cnv_users_guide/cnv-edit-vms.adoc b/cnv/cnv_users_guide/cnv-edit-vms.adoc index 26d8b1f00f..8f5e1d8a4c 100644 --- a/cnv/cnv_users_guide/cnv-edit-vms.adoc +++ b/cnv/cnv_users_guide/cnv-edit-vms.adoc @@ -11,4 +11,4 @@ a subset of the parameters in the *Virtual Machine Overview* of the web console. include::modules/cnv-editing-vm-web.adoc[leveloffset=+1] include::modules/cnv-editing-vm-yaml-web.adoc[leveloffset=+1] include::modules/cnv-editing-vm-cli.adoc[leveloffset=+1] -include::modules/cnv-edit-cdrom-vm.adoc[leveloffset=+1] +include::modules/cnv-add-nic-to-vm.adoc[leveloffset=+1] diff --git a/cnv/cnv_users_guide/cnv-editing-vm-template.adoc b/cnv/cnv_users_guide/cnv-editing-vm-template.adoc index 83308b2c9f..3209605f2d 100644 --- a/cnv/cnv_users_guide/cnv-editing-vm-template.adoc +++ b/cnv/cnv_users_guide/cnv-editing-vm-template.adoc @@ -10,4 +10,4 @@ parameters in the *Virtual Machine Template Overview* screen. include::modules/cnv-editing-vm-web.adoc[leveloffset=+1] include::modules/cnv-editing-template-yaml-web.adoc[leveloffset=+1] -include::modules/cnv-edit-cdrom-vm.adoc[leveloffset=+1] +include::modules/cnv-add-nic-to-vm.adoc[leveloffset=+1] diff --git a/modules/cnv-add-nic-to-vm.adoc b/modules/cnv-add-nic-to-vm.adoc new file mode 100644 index 0000000000..4cfed97a4d --- /dev/null +++ b/modules/cnv-add-nic-to-vm.adoc @@ -0,0 +1,57 @@ +// Module included in the following assemblies: +// +// * cnv/cnv_users_guide/cnv-edit-vms.adoc +// * cnv/cnv_users_guide/cnv-editing-vm-template +// +// Establishing conditionals so content can be re-used for editing VMs +// and VM templates. + +ifeval::["{context}" == "cnv-edit-vms"] +:object: virtual machine +:object-gui: Virtual Machines +endif::[] + +ifeval::["{context}" == "cnv-editing-vm-template"] +:object: virtual machine template +:object-gui: Virtual Machine Templates +endif::[] + +[id="cnv-vm-add-nic_{context}"] + += Adding a network interface to a {object} + +.Procedure + +. From the *{object-gui}* tab, select the {object}. +. Select the *Network Interfaces* tab. +. Click *Add Network Interface*. +. In the *Add Network Interface* window, specify the *Name*, *Model*, *Network*, *Type*, +and *MAC Address* of the network interface. +. Click *Add* to add the network interface. +. Restart the virtual machine to enable access. +. Edit the drop-down lists and check boxes to configure the network +interface. +. Click *Save Changes*. +. Click *OK*. + +The new network interface displays at the top of the *Create Network Interface* list +until the user restarts it. + +The new network interface has a `Pending VM restart` Link State until you +restart the virtual machine. Hover over the Link State to display more +detailed information. + +The *Link State* is set to *Up* by default when the network interface card +is defined on the virtual machine and connected to the network. + +// Scrubbing all conditionals used in module + +ifeval::["{context}" == "cnv-edit-vms"] +:object!: +:object-gui!: +endif::[] + +ifeval::["{context}" == "cnv-editing-vm-template"] +:object!: +:object-gui!: +endif::[]