From a165fe3264fd8f3a4bd7af9d7a958b9b3abf099f Mon Sep 17 00:00:00 2001 From: Tzu-Mainn Chen Date: Tue, 23 Feb 2021 21:41:14 +0000 Subject: Allow instance_info to override node interface This change allows instance_info values to override node interface definitions, so non-admins can make temporary changes to various interfaces. Story: #2008652 Task: #41918 Change-Id: I6c3dc74705bde02bd02882d14838f184f8d4a5e3 --- doc/source/admin/index.rst | 1 + doc/source/admin/node-interface-override.rst | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 doc/source/admin/node-interface-override.rst (limited to 'doc/source') diff --git a/doc/source/admin/index.rst b/doc/source/admin/index.rst index dd3a17bf6..7a06dc4db 100644 --- a/doc/source/admin/index.rst +++ b/doc/source/admin/index.rst @@ -30,6 +30,7 @@ the services. Node Multi-Tenancy Fast-Track Deployment Booting a Ramdisk or an ISO + Node Interface Override Drivers, Hardware Types and Hardware Interfaces ----------------------------------------------- diff --git a/doc/source/admin/node-interface-override.rst b/doc/source/admin/node-interface-override.rst new file mode 100644 index 000000000..907c8a00c --- /dev/null +++ b/doc/source/admin/node-interface-override.rst @@ -0,0 +1,22 @@ +======================= +Node Interface Override +======================= + +Non-admins with temporary access to a node, may wish to specify different +node interfaces. However, allowing them to set these interface values is +problematic, as there is no automated way to ensure that the original +interface values are restored. + +This guide details a method for temporarily overriding a node interface +value. + +Overriding a Node Interface +=========================== + +In order to temporarily override a node interface, simply set the +appropriate value in `instance_info`. For example, if you'd like to +override a node's storage interface, run the following:: + + baremetal node set --instance-info storage_interface=cinder node-1 + +`instance_info` values persist until after a node is cleaned. -- cgit v1.2.1