Skip to main content
Version: 0.5.0

Node Wizard (CLI) Usage

Node Wizard (CLI) provides a command line interface for managing specific system admin tasks.

Usage :node-wizard [options]

Options:
--help|-h print help
--version|-v print version
--token print token
--list-allowed print allowed list
--add-allowed [pci addr] add pci to allowed list
--delete-allowed [pci addr] delete pci from allowed list
--list-disallowed print disallowed list
--add-disallowed [device name] add device/bridge name to disallowed list
--delete-disallowed [device name] delete device/bridge name from disallowed list

Token

To register a VM host to the selected control plane (Cluster Wizard or Node Client), a token is necessary. This token will be printed when Node Wizard is installed. To retrieve this token after installation, run the following command.

$ sudo /root/bin/node_wizard/node-wizard --token

Allowed List

To attach a PCI device to a VM, the PCI address needs to be added to allowed (PCI address) list first.

# Add a PCI address to the allowed list
sudo /root/bin/node_wizard/node-wizard --add-allowed [PCI address]
# To print the list
sudo /root/bin/node_wizard/node-wizard --list-allowed
# Remove from the allowed list.
sudo /root/bin/node_wizard/node-wizard --delete-allowed [PCI address]

Disallowed List

To prevent a bridge to be attached to a VM, the network device/bridge needs to be added to disallowed list first.

# Add a Device/Bridge to the disallowed list
sudo /root/bin/node_wizard/node-wizard --add-disallowed [network device/bridge]
# To print the list
sudo /root/bin/node_wizard/node-wizard --list-disallowed
# Remove from the disallowed list.
sudo /root/bin/node_wizard/node-wizard --delete-disallowed [network device/bridge]