Luna CLI reference
Note: this reference is for luna cli rev 2.2 / bundled with TrinityX 16.1.
--long parameters are compatible with luna cli 2.1
luna cluster
luna cluster show
usage: luna cluster show [-h] [-v]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna cluster change
usage: luna cluster change [-h] [-v] [--controller <IP Address>]
[-cn CONTROLLER_NETWORK] [-n NAME] [-u USER]
[-T N.N.N.N] [-P {y,yes,n,no,''}]
[-C {y,yes,n,no,''}] [-M {y,yes,n,no,''}]
[-N {y,yes,n,no,''}] [-ns NAMESERVER_IP]
[-fs FORWARDSERVER_IP] [-d DOMAIN_SEARCH]
[-bl {y,yes,n,no,''}] [-de {y,yes,n,no,''}]
[-dv {y,yes,n,no,''}] [-t TECHNICAL_CONTACTS]
[-p PROVISION_METHOD] [-f PROVISION_FALLBACK]
[--install-mode {auto,sync,full,local,memboot,sanitize,legacy}]
[-s {y,yes,n,no,''}] [--debug {y,yes,n,no,''}]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
--controller <IP Address>
Controller controller IP address
-cn CONTROLLER_NETWORK, --controller_network CONTROLLER_NETWORK
Network name to use when changing controller IP
address outside current network scope
-n NAME, --name NAME New Name For Cluster
-u USER, --user USER Cluster User
-T N.N.N.N, --ntp_server N.N.N.N
NTP IP address
-P {y,yes,n,no,''}, --packing_bootpause {y,yes,n,no,''}
Node booting paused until osimage packing is finished
-C {y,yes,n,no,''}, --createnode_ondemand {y,yes,n,no,''}
On Demand Nodes
-M {y,yes,n,no,''}, --createnode_macashost {y,yes,n,no,''}
On Demand Nodes use macaddress as hostname
-N {y,yes,n,no,''}, --nextnode_discover {y,yes,n,no,''}
Discover Next Node
-ns NAMESERVER_IP, --nameserver_ip NAMESERVER_IP
Name Server IP address
-fs FORWARDSERVER_IP, --forwardserver_ip FORWARDSERVER_IP
DNS Forward Server IP address
-d DOMAIN_SEARCH, --domain_search DOMAIN_SEARCH
Domain Search
-bl {y,yes,n,no,''}, --bind_legacy {y,yes,n,no,''}
Legacy BIND mode (enables dnssec-enable directive)
-de {y,yes,n,no,''}, --dnssec_enable {y,yes,n,no,''}
Enable DNSSEC (only effective when bind_legacy is on)
-dv {y,yes,n,no,''}, --dnssec_validation {y,yes,n,no,''}
Enable DNSSEC validation (skipped if dnssec_enable is
no)
-t TECHNICAL_CONTACTS, --technical_contacts TECHNICAL_CONTACTS
Technical Contact
-p PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-f PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
--install-mode {auto,sync,full,local,memboot,sanitize,legacy}
Install Mode
-s {y,yes,n,no,''}, --security {y,yes,n,no,''}
Security
--debug {y,yes,n,no,''}
Debug Mode
luna cloud
luna cloud list
usage: luna cloud list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna cloud show
usage: luna cloud show [-h] [-v] [-R] name
positional arguments:
name Cloud Provider Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna cloud add
usage: luna cloud add [-h] [-t TYPE] [-c] [-v] name
positional arguments:
name Cloud Provider Name
options:
-h, --help show this help message and exit
-t TYPE, --type TYPE Type of Cloud Provider
-c, --comment Comment
-v, --verbose Verbose Mode
luna cloud change
usage: luna cloud change [-h] [-t TYPE] [-c] [-v] name
positional arguments:
name Cloud Provider Name
options:
-h, --help show this help message and exit
-t TYPE, --type TYPE Type of Cloud Provider
-c, --comment Comment
-v, --verbose Verbose Mode
luna cloud remove
usage: luna cloud remove [-h] [-v] name
positional arguments:
name Cloud Provider Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna network
luna network list
usage: luna network list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna network show
usage: luna network show [-h] [-v] [-R] name
positional arguments:
name Network Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna network add
usage: luna network add [-h] -N NETWORK [-g GATEWAY] [-m GATEWAY_METRIC]
[-t TYPE] [-S NAMESERVER_IP] [-T NTP_SERVER]
[-D {y,yes,n,no,''}] [-b DHCP_RANGE_BEGIN]
[-e DHCP_RANGE_END] [-p {y,yes,n,no,''}]
[-o {y,yes,n,no,''}] [-s SHARED] [-dr DHCP_RELAY]
[-dls DHCP_LINK_SUBNET] [-rt ROUTES] [-z ZONE]
[-n {y,yes,n,no,''}] [-c] [-qc File-Path OR In-Line]
[-v]
name
positional arguments:
name Network Name
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network ip-address/cidr
-g GATEWAY, --gateway GATEWAY
Gateway
-m GATEWAY_METRIC, --gateway_metric GATEWAY_METRIC
Gateway Metric
-t TYPE, --type TYPE Network Type like ethernet or infiniband
-S NAMESERVER_IP, --nameserver_ip NAMESERVER_IP
Comma-separated name server IP(s), IPv4 and/or IPv6;
sorted by family
-T NTP_SERVER, --ntp_server NTP_SERVER
NTP Server
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
DHCP
-b DHCP_RANGE_BEGIN, --dhcp_range_begin DHCP_RANGE_BEGIN
DHCP Range Start. The DHCP range is used for
unidentified booting nodes
-e DHCP_RANGE_END, --dhcp_range_end DHCP_RANGE_END
DHCP Range End. The DHCP range is used for
unidentified booting nodes
-p {y,yes,n,no,''}, --dhcp_nodes_in_pool {y,yes,n,no,''}
Use IP addresses of the dhcp range for nodes. Uses
DDNS to update zones
-o {y,yes,n,no,''}, --dhcp_nodes_only {y,yes,n,no,''}
Only serve IP addresses to known nodes. Static
assignments
-s SHARED, --shared SHARED
This network will be shared on top of another network.
Typically used for mixed node/BMC networks
-dr DHCP_RELAY, --dhcp_relay DHCP_RELAY
Comma-separated DHCP relay source IP(s) for this
subnet, or "" to clear. When set, the subnet is
selected by relay source instead of the udhcp pool
class
-dls DHCP_LINK_SUBNET, --dhcp_link_subnet DHCP_LINK_SUBNET
Comma-separated link prefix(es) in CIDR form, IPv4
and/or IPv6, for option-82.5 (RFC 3527) link-
selection, or "" to clear. Requires --dhcp_relay; each
prefix is sorted by family into the v4/v6 anchor. Kea
backend
-rt ROUTES, --routes ROUTES
Static routes coupled to the network (comma separated
names, "" to clear)
-z ZONE, --zone ZONE Internal or external Network Zone
-n {y,yes,n,no,''}, --non_authoritative {y,yes,n,no,''}
Set this network as non-authoritative for its DNS zone
definition
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna network change
usage: luna network change [-h] [--controller <IP Address>] [-N NETWORK]
[-cl ['ipv4', 'ipv6']] [-g GATEWAY]
[-m GATEWAY_METRIC] [-t TYPE] [-S NAMESERVER_IP]
[-T NTP_SERVER] [-D {y,yes,n,no,''}]
[-b DHCP_RANGE_BEGIN] [-e DHCP_RANGE_END]
[-p {y,yes,n,no,''}] [-o {y,yes,n,no,''}]
[-s SHARED] [-dr DHCP_RELAY]
[-dls DHCP_LINK_SUBNET] [-rt ROUTES] [-z ZONE]
[-n {y,yes,n,no,''}] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Network Name
options:
-h, --help show this help message and exit
--controller <IP Address>
Changing the IP address for Controller controller
-N NETWORK, --network NETWORK
Network ip-address/cidr
-cl ['ipv4', 'ipv6'], --clear ['ipv4', 'ipv6']
Clear IPv4 or IPv6 configurations.
-g GATEWAY, --gateway GATEWAY
Gateway
-m GATEWAY_METRIC, --gateway_metric GATEWAY_METRIC
Gateway Metric
-t TYPE, --type TYPE Network Type like ethernet or infiniband
-S NAMESERVER_IP, --nameserver_ip NAMESERVER_IP
Comma-separated name server IP(s), IPv4 and/or IPv6;
sorted by family
-T NTP_SERVER, --ntp_server NTP_SERVER
NTP Server
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
DHCP
-b DHCP_RANGE_BEGIN, --dhcp_range_begin DHCP_RANGE_BEGIN
DHCP Range Start. The DHCP range is used for
unidentified booting nodes
-e DHCP_RANGE_END, --dhcp_range_end DHCP_RANGE_END
DHCP Range End. The DHCP range is used for
unidentified booting nodes
-p {y,yes,n,no,''}, --dhcp_nodes_in_pool {y,yes,n,no,''}
Use IP addresses of the dhcp range for nodes. Uses
DDNS to update zones
-o {y,yes,n,no,''}, --dhcp_nodes_only {y,yes,n,no,''}
Only serve IP addresses to known nodes. Static
assignments
-s SHARED, --shared SHARED
This network will be shared on top of another network.
Typically used for mixed node/BMC networks
-dr DHCP_RELAY, --dhcp_relay DHCP_RELAY
Comma-separated DHCP relay source IP(s) for this
subnet, or "" to clear. When set, the subnet is
selected by relay source instead of the udhcp pool
class
-dls DHCP_LINK_SUBNET, --dhcp_link_subnet DHCP_LINK_SUBNET
Comma-separated link prefix(es) in CIDR form, IPv4
and/or IPv6, for option-82.5 (RFC 3527) link-
selection, or "" to clear. Requires --dhcp_relay; each
prefix is sorted by family into the v4/v6 anchor. Kea
backend
-rt ROUTES, --routes ROUTES
Static routes coupled to the network (comma separated
names, "" to clear)
-z ZONE, --zone ZONE Internal or external Network Zone
-n {y,yes,n,no,''}, --non_authoritative {y,yes,n,no,''}
Set this network as non-authoritative for its DNS zone
definition
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna network rename
usage: luna network rename [-h] [-v] name newnetname
positional arguments:
name Network Name
newnetname New Network Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna network remove
usage: luna network remove [-h] [-v] name
positional arguments:
name Network Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna network reserve
usage: luna network reserve [-h] [-R] [-v] name
positional arguments:
name Network Name
options:
-h, --help show this help message and exit
-R, --raw Raw JSON output
-v, --verbose Verbose Mode
luna network ipinfo
usage: luna network ipinfo [-h] [-v] name ipaddress
positional arguments:
name Network Name
ipaddress IP Address from the Network
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna network nextip
usage: luna network nextip [-h] [-v] name
positional arguments:
name Network Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna network dns
usage: luna network dns [-h] [-v] [-R] name {list,add,change,remove} ...
positional arguments:
name Network Name
{list,add,change,remove}
list Show DNS List for a Network
add Add DNS Entry
change Change DNS Entry
remove Remove DNS Entry
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna network route
usage: luna network route [-h] [-v] [-R] {list,show,add,change,remove} ...
positional arguments:
{list,show,add,change,remove}
list List Routes
show Show Route
add Add Route
change Change Route
remove Remove Route
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna osimage
luna osimage list
usage: luna osimage list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna osimage show
usage: luna osimage show [-h] [-v] [-R] name
positional arguments:
name OSImage Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna osimage member
usage: luna osimage member [-h] [-v] [-R] name
positional arguments:
name OSImage Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna osimage add
usage: luna osimage add [-h] [-G] [-qG File-Path OR In-Line] [-E]
[-qE File-Path OR In-Line] [-r INITRDFILE]
[-f KERNELFILE] [-m KERNELMODULES] [-o]
[-qo File-Path OR In-Line] [-k KERNELVERSION]
[-p PATH] [-i IMAGEFILE] [-d DISTRIBUTION]
[-l OSRELEASE] [-c] [-qc File-Path OR In-Line] [-v]
name
positional arguments:
name OSImage Name
options:
-h, --help show this help message and exit
-G, --grab_filesystems
File systems or paths to be used during a grab
operation
-qG File-Path OR In-Line, --quick-grab_filesystems File-Path OR In-Line
Grab Filesystems File-Path OR In-Line
-E, --grab_exclude Files excluded from a grab operation
-qE File-Path OR In-Line, --quick-grab_exclude File-Path OR In-Line
Grab Excludes File-Path OR In-Line
-r INITRDFILE, --initrdfile INITRDFILE
Initrd File
-f KERNELFILE, --kernelfile KERNELFILE
Kernel File
-m KERNELMODULES, --kernelmodules KERNELMODULES
Kernel Modules to be included in the Initrd or Ramdisk
-o, --kerneloptions Kernel Options used during boot time
-qo File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-k KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-p PATH, --path PATH Path of the image. Location of the image files or root
directory structure
-i IMAGEFILE, --imagefile IMAGEFILE
The file name of the packed image file
-d DISTRIBUTION, --distribution DISTRIBUTION
The distribution e.g. redhat, ubuntu or opensuse
-l OSRELEASE, --osrelease OSRELEASE
Distribution release or version
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna osimage change
usage: luna osimage change [-h] [-G] [-qG File-Path OR In-Line] [-E]
[-qE File-Path OR In-Line] [-r INITRDFILE]
[-f KERNELFILE] [-m KERNELMODULES] [-o]
[-qo File-Path OR In-Line] [-k KERNELVERSION]
[-p PATH] [-i IMAGEFILE] [-d DISTRIBUTION]
[-l OSRELEASE] [-c] [-qc File-Path OR In-Line] [-v]
[-t TAG]
name
positional arguments:
name OSImage Name
options:
-h, --help show this help message and exit
-G, --grab_filesystems
File systems or paths to be used during a grab
operation
-qG File-Path OR In-Line, --quick-grab_filesystems File-Path OR In-Line
Grab Filesystems File-Path OR In-Line
-E, --grab_exclude Files excluded from a grab operation
-qE File-Path OR In-Line, --quick-grab_exclude File-Path OR In-Line
Grab Excludes File-Path OR In-Line
-r INITRDFILE, --initrdfile INITRDFILE
Initrd File
-f KERNELFILE, --kernelfile KERNELFILE
Kernel File
-m KERNELMODULES, --kernelmodules KERNELMODULES
Kernel Modules to be included in the Initrd or Ramdisk
-o, --kerneloptions Kernel Options used during boot time
-qo File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-k KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-p PATH, --path PATH Path of the image. Location of the image files or root
directory structure
-i IMAGEFILE, --imagefile IMAGEFILE
The file name of the packed image file
-d DISTRIBUTION, --distribution DISTRIBUTION
The distribution e.g. redhat, ubuntu or opensuse
-l OSRELEASE, --osrelease OSRELEASE
Distribution release or version
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
-t TAG, --tag TAG Set an OSImage Tag. Tags are used to label or version
a packed OSImage
luna osimage clone
usage: luna osimage clone [-h] [-G] [-qG File-Path OR In-Line] [-E]
[-qE File-Path OR In-Line] [-r INITRDFILE]
[-f KERNELFILE] [-m KERNELMODULES] [-o]
[-qo File-Path OR In-Line] [-k KERNELVERSION]
[-p PATH] [-i IMAGEFILE] [-d DISTRIBUTION]
[-l OSRELEASE] [-c] [-qc File-Path OR In-Line] [-v]
[-t TAG] [--nocopy] [-b]
name newosimage
positional arguments:
name OSImage Name
newosimage New OSImage Name
options:
-h, --help show this help message and exit
-G, --grab_filesystems
File systems or paths to be used during a grab
operation
-qG File-Path OR In-Line, --quick-grab_filesystems File-Path OR In-Line
Grab Filesystems File-Path OR In-Line
-E, --grab_exclude Files excluded from a grab operation
-qE File-Path OR In-Line, --quick-grab_exclude File-Path OR In-Line
Grab Excludes File-Path OR In-Line
-r INITRDFILE, --initrdfile INITRDFILE
Initrd File
-f KERNELFILE, --kernelfile KERNELFILE
Kernel File
-m KERNELMODULES, --kernelmodules KERNELMODULES
Kernel Modules to be included in the Initrd or Ramdisk
-o, --kerneloptions Kernel Options used during boot time
-qo File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-k KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-p PATH, --path PATH Path of the image. Location of the image files or root
directory structure
-i IMAGEFILE, --imagefile IMAGEFILE
The file name of the packed image file
-d DISTRIBUTION, --distribution DISTRIBUTION
The distribution e.g. redhat, ubuntu or opensuse
-l OSRELEASE, --osrelease OSRELEASE
Distribution release or version
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
-t TAG, --tag TAG Set an OSImage Tag. Tags are used to label or version
a packed OSImage
--nocopy Clone but without copying files
-b, --bare Bare clone, i.e. without packing
luna osimage rename
usage: luna osimage rename [-h] [-v] name newosimage
positional arguments:
name OSImage Name
newosimage New OSImage Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna osimage remove
usage: luna osimage remove [-h] [-v] name
positional arguments:
name Name of the OSImage
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna osimage pack
usage: luna osimage pack [-h] [-v] name
positional arguments:
name Name of the OSImage
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna osimage cancel
usage: luna osimage cancel [-h] [-v] name
positional arguments:
name Name of the OSImage
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna osimage updatecerts
usage: luna osimage updatecerts [-h] [-v] name
positional arguments:
name Name of the OSImage
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna osimage kernel
usage: luna osimage kernel [-h] [-r INITRDFILE] [-f KERNELFILE]
[-k KERNELVERSION] [-b] [-v]
name
positional arguments:
name Name of the OSImage
options:
-h, --help show this help message and exit
-r INITRDFILE, --initrdfile INITRDFILE
Initrd or ramdisk File
-f KERNELFILE, --kernelfile KERNELFILE
Kernel File
-k KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-b, --bare Bare operation, i.e. without packing
-v, --verbose Verbose Mode
luna osimage tag
usage: luna osimage tag [-h] [-v] [-R] {show,change,remove} ...
positional arguments:
{show,change,remove}
show Show details for an OSImage Tag
change Change an OSImage Tag
remove Delete an OSImage Tag
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna bmcsetup
luna bmcsetup list
usage: luna bmcsetup list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna bmcsetup show
usage: luna bmcsetup show [-h] [-v] [-R] name
positional arguments:
name BMC Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna bmcsetup member
usage: luna bmcsetup member [-h] [-v] [-R] name
positional arguments:
name BMC Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna bmcsetup add
usage: luna bmcsetup add [-h] [-i USERID] [-u USERNAME] [-p PASSWORD]
[-n NETCHANNEL] [-m MGMTCHANNEL]
[-U UNMANAGED_BMC_USERS] [-C CIPHER] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name BMC Setup Name
options:
-h, --help show this help message and exit
-i USERID, --userid USERID
ID to use for the BMC user configuration
-u USERNAME, --username USERNAME
Username
-p PASSWORD, --password PASSWORD
Password
-n NETCHANNEL, --netchannel NETCHANNEL
Network Channel
-m MGMTCHANNEL, --mgmtchannel MGMTCHANNEL
Management Channel
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-C CIPHER, --cipher CIPHER
IPMI cipher suite, as ipmitool -C takes it. 3 (HMAC-
SHA1) is the default when unset and what almost every
board accepts; 17 (HMAC-SHA256) is what a hardened
board may require, and it refuses 3 in a way that
looks like a wrong password
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna bmcsetup change
usage: luna bmcsetup change [-h] [-i USERID] [-u USERNAME] [-p PASSWORD]
[-n NETCHANNEL] [-m MGMTCHANNEL]
[-U UNMANAGED_BMC_USERS] [-C CIPHER] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name BMC Setup Name
options:
-h, --help show this help message and exit
-i USERID, --userid USERID
ID to use for the BMC user configuration
-u USERNAME, --username USERNAME
Username
-p PASSWORD, --password PASSWORD
Password
-n NETCHANNEL, --netchannel NETCHANNEL
Network Channel
-m MGMTCHANNEL, --mgmtchannel MGMTCHANNEL
Management Channel
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-C CIPHER, --cipher CIPHER
IPMI cipher suite, as ipmitool -C takes it. 3 (HMAC-
SHA1) is the default when unset and what almost every
board accepts; 17 (HMAC-SHA256) is what a hardened
board may require, and it refuses 3 in a way that
looks like a wrong password
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna bmcsetup clone
usage: luna bmcsetup clone [-h] [-i USERID] [-u USERNAME] [-p PASSWORD]
[-n NETCHANNEL] [-m MGMTCHANNEL]
[-U UNMANAGED_BMC_USERS] [-C CIPHER] [-c]
[-qc File-Path OR In-Line] [-v]
name newbmcname
positional arguments:
name BMC Setup Name
newbmcname New BMC Setup Name
options:
-h, --help show this help message and exit
-i USERID, --userid USERID
ID to use for the BMC user configuration
-u USERNAME, --username USERNAME
Username
-p PASSWORD, --password PASSWORD
Password
-n NETCHANNEL, --netchannel NETCHANNEL
Network Channel
-m MGMTCHANNEL, --mgmtchannel MGMTCHANNEL
Management Channel
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-C CIPHER, --cipher CIPHER
IPMI cipher suite, as ipmitool -C takes it. 3 (HMAC-
SHA1) is the default when unset and what almost every
board accepts; 17 (HMAC-SHA256) is what a hardened
board may require, and it refuses 3 in a way that
looks like a wrong password
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna bmcsetup rename
usage: luna bmcsetup rename [-h] [-v] name newbmcname
positional arguments:
name BMC Setup Name
newbmcname New BMC Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna bmcsetup remove
usage: luna bmcsetup remove [-h] [-v] name
positional arguments:
name BMC Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna redfishsetup
luna redfishsetup list
usage: luna redfishsetup list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna redfishsetup show
usage: luna redfishsetup show [-h] [-v] [-R] name
positional arguments:
name Redfish Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna redfishsetup member
usage: luna redfishsetup member [-h] [-v] [-R] name
positional arguments:
name Redfish Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna redfishsetup add
usage: luna redfishsetup add [-h] [-s {https,http}] [-P PORT] [--verify {y,n}]
[-c] [-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Redfish Setup Name
options:
-h, --help show this help message and exit
-s {https,http}, --scheme {https,http}
Scheme to reach the Redfish service with
-P PORT, --port PORT Port the Redfish service listens on
--verify {y,n} Verify the BMC certificate
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna redfishsetup change
usage: luna redfishsetup change [-h] [-s {https,http}] [-P PORT]
[--verify {y,n}] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Redfish Setup Name
options:
-h, --help show this help message and exit
-s {https,http}, --scheme {https,http}
Scheme to reach the Redfish service with
-P PORT, --port PORT Port the Redfish service listens on
--verify {y,n} Verify the BMC certificate
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna redfishsetup clone
usage: luna redfishsetup clone [-h] [-s {https,http}] [-P PORT]
[--verify {y,n}] [-c]
[-qc File-Path OR In-Line] [-v]
name newredfishsetupname
positional arguments:
name Redfish Setup Name
newredfishsetupname New Redfish Setup Name
options:
-h, --help show this help message and exit
-s {https,http}, --scheme {https,http}
Scheme to reach the Redfish service with
-P PORT, --port PORT Port the Redfish service listens on
--verify {y,n} Verify the BMC certificate
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna redfishsetup rename
usage: luna redfishsetup rename [-h] [-v] name newredfishsetupname
positional arguments:
name Redfish Setup Name
newredfishsetupname New Redfish Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna redfishsetup remove
usage: luna redfishsetup remove [-h] [-v] name
positional arguments:
name Redfish Setup Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna redfishsetup addaccount
usage: luna redfishsetup addaccount [-h] [-u USERNAME] [-p PASSWORD] [-r ROLE]
[-c] [-qc File-Path OR In-Line] [-v]
name account
positional arguments:
name Redfish Setup Name
account Account Name
options:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Username to log in to the BMC with
-p PASSWORD, --password PASSWORD
Password
-r ROLE, --role ROLE Redfish role. Administrator, Operator and ReadOnly are
the predefined ones; a vendor role is accepted too
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna redfishsetup changeaccount
usage: luna redfishsetup changeaccount [-h] [-u USERNAME] [-p PASSWORD]
[-r ROLE] [-c]
[-qc File-Path OR In-Line] [-v]
name account
positional arguments:
name Redfish Setup Name
account Account Name
options:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Username to log in to the BMC with
-p PASSWORD, --password PASSWORD
Password
-r ROLE, --role ROLE Redfish role. Administrator, Operator and ReadOnly are
the predefined ones; a vendor role is accepted too
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna redfishsetup removeaccount
usage: luna redfishsetup removeaccount [-h] [-v] name account
positional arguments:
name Redfish Setup Name
account Account Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna biosconfig
luna biosconfig list
usage: luna biosconfig list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna biosconfig show
usage: luna biosconfig show [-h] [-s] [-v] [-R] name
positional arguments:
name BIOS Configuration Name
options:
-h, --help show this help message and exit
-s, --settings Also list every stored setting
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna biosconfig change
usage: luna biosconfig change [-h] [-E] [-qE File-Path OR In-Line] [-c]
[-qc File-Path OR In-Line] [-v] [-S ENTRY=VALUE]
name
positional arguments:
name BIOS Configuration Name
options:
-h, --help show this help message and exit
-E, --grab_exclude Attribute name patterns excluded from a grab
-qE File-Path OR In-Line, --quick-grab_exclude File-Path OR In-Line
Grab Excludes File-Path OR In-Line
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
-S ENTRY=VALUE, --set ENTRY=VALUE
Change one entry: a concept (hyperthreading=off,
sriov=on, boot_mode=uefi) or an attribute name as the
board publishes it. Repeatable. Refused by name for
anything the board type cannot express
luna biosconfig clone
usage: luna biosconfig clone [-h] [-v] name newbiosname
positional arguments:
name BIOS Configuration Name
newbiosname New BIOS Configuration Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna biosconfig rename
usage: luna biosconfig rename [-h] [-v] name newbiosname
positional arguments:
name BIOS Configuration Name
newbiosname New BIOS Configuration Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna biosconfig status
usage: luna biosconfig status [-h] [-g GROUP] [-a] [-R] [-v] [name]
positional arguments:
name Name of a single Node
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Only the nodes of this Group
-a, --all Every node, not only the ones worth looking at
-R, --raw Raw JSON output
-v, --verbose Verbose Mode
luna biosconfig remove
usage: luna biosconfig remove [-h] [-v] name
positional arguments:
name BIOS Configuration Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna firmwarecatalog
luna firmwarecatalog list
usage: luna firmwarecatalog list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna firmwarecatalog show
usage: luna firmwarecatalog show [-h] [-v] [-R] name
positional arguments:
name Firmware Catalogue Entry Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna firmwarecatalog add
usage: luna firmwarecatalog add [-h] [-m MANUFACTURER] [-M MODEL]
[-C COMPONENT] [-V VERSION] [-i IMAGEFILE]
[-c] [-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Firmware Catalogue Entry Name
options:
-h, --help show this help message and exit
-m MANUFACTURER, --manufacturer MANUFACTURER
Manufacturer, as the board reports it
-M MODEL, --model MODEL
Model, as the board reports it
-C COMPONENT, --component COMPONENT
Component this entry updates, e.g. BMC or BIOS
-V VERSION, --version VERSION
Version this hardware should be running
-i IMAGEFILE, --imagefile IMAGEFILE
Image file carrying that version
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna firmwarecatalog change
usage: luna firmwarecatalog change [-h] [-m MANUFACTURER] [-M MODEL]
[-C COMPONENT] [-V VERSION] [-i IMAGEFILE]
[-c] [-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Firmware Catalogue Entry Name
options:
-h, --help show this help message and exit
-m MANUFACTURER, --manufacturer MANUFACTURER
Manufacturer, as the board reports it
-M MODEL, --model MODEL
Model, as the board reports it
-C COMPONENT, --component COMPONENT
Component this entry updates, e.g. BMC or BIOS
-V VERSION, --version VERSION
Version this hardware should be running
-i IMAGEFILE, --imagefile IMAGEFILE
Image file carrying that version
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna firmwarecatalog rename
usage: luna firmwarecatalog rename [-h] [-v] name newfirmwarename
positional arguments:
name Firmware Catalogue Entry Name
newfirmwarename New Firmware Catalogue Entry Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna firmwarecatalog status
usage: luna firmwarecatalog status [-h] [-g GROUP] [-a] [-R] [-v] [name]
positional arguments:
name Name of a single Node
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Only the nodes of this Group
-a, --all Every node, not only the ones worth looking at
-R, --raw Raw JSON output
-v, --verbose Verbose Mode
luna firmwarecatalog remove
usage: luna firmwarecatalog remove [-h] [-v] name
positional arguments:
name Firmware Catalogue Entry Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna switch
luna switch list
usage: luna switch list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna switch show
usage: luna switch show [-h] [-v] [-R] name
positional arguments:
name Switch Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna switch add
usage: luna switch add [-h] [--vendor VENDOR] [-ot {nvos,cumulus,generic}]
[-N NETWORK] [-I IPADDRESS] [-M MACADDRESS] [-r READ]
[-w RW] [-o OID] [-u UPLINKPORTS] [-nb {y,yes,n,no,''}]
[-du DEFAULT_URL] [-bf BOOTFILE] [-zc]
[-qz File-Path OR In-Line] [-zf {commands,yaml}]
[-up {secure,plain}] [-us URL_SERVER]
[-te {y,yes,n,no,''}] [--nonetwork] [-v] [-c]
[-qc File-Path OR In-Line]
name
positional arguments:
name Switch Name
options:
-h, --help show this help message and exit
--vendor VENDOR Add Switch Vendor Name
-ot {nvos,cumulus,generic}, --ostype {nvos,cumulus,generic}
Switch OS type; gates ZTP options (cumulus adds option
239)
-N NETWORK, --network NETWORK
Network
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
-r READ, --read READ Read community
-w RW, --rw RW Write community
-o OID, --oid OID OID
-u UPLINKPORTS, --uplinkports UPLINKPORTS
Write community
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Toggle ZTP netboot DHCP options for the switch
-du DEFAULT_URL, --default-url DEFAULT_URL
ZTP boot image path, controller-relative (e.g.
files/<image>.bin)
-bf BOOTFILE, --bootfile BOOTFILE
ZTP recipe path, controller-relative (e.g.
boot/switch/<name>)
-zc, --ztpconfig Config served by ZTP (opens an editor)
-qz File-Path OR In-Line, --quick-ztpconfig File-Path OR In-Line
ZTP config File-Path OR In-Line
-zf {commands,yaml}, --ztpformat {commands,yaml}
ZTP config format served by the recipe
-up {secure,plain}, --url_protocol {secure,plain}
ZTP URL scheme: secure (API/https) or plain
(webserver/http); default auto
-us URL_SERVER, --url_server URL_SERVER
ZTP URL host override (IP or hostname); default the
known controller
-te {y,yes,n,no,''}, --tftp_enable {y,yes,n,no,''}
Enable TFTP (option 66) for the switch, e.g. ONIE/TFTP
install; default off
--nonetwork No network verification
-v, --verbose Verbose Mode
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
luna switch change
usage: luna switch change [-h] [--vendor VENDOR] [-ot {nvos,cumulus,generic}]
[-N NETWORK] [-I IPADDRESS] [-M MACADDRESS]
[-r READ] [-w RW] [-o OID] [-u UPLINKPORTS]
[-nb {y,yes,n,no,''}] [-du DEFAULT_URL]
[-bf BOOTFILE] [-zc] [-qz File-Path OR In-Line]
[-zf {commands,yaml}] [-up {secure,plain}]
[-us URL_SERVER] [-te {y,yes,n,no,''}] [--nonetwork]
[-v] [-c] [-qc File-Path OR In-Line]
name
positional arguments:
name Switch Name
options:
-h, --help show this help message and exit
--vendor VENDOR Change Switch Vendor Name
-ot {nvos,cumulus,generic}, --ostype {nvos,cumulus,generic}
Switch OS type; gates ZTP options (cumulus adds option
239)
-N NETWORK, --network NETWORK
Network
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
-r READ, --read READ Read community
-w RW, --rw RW Write community
-o OID, --oid OID OID
-u UPLINKPORTS, --uplinkports UPLINKPORTS
Write community
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Toggle ZTP netboot DHCP options for the switch
-du DEFAULT_URL, --default-url DEFAULT_URL
ZTP boot image path, controller-relative (e.g.
files/<image>.bin)
-bf BOOTFILE, --bootfile BOOTFILE
ZTP recipe path, controller-relative (e.g.
boot/switch/<name>)
-zc, --ztpconfig Config served by ZTP (opens an editor)
-qz File-Path OR In-Line, --quick-ztpconfig File-Path OR In-Line
ZTP config File-Path OR In-Line
-zf {commands,yaml}, --ztpformat {commands,yaml}
ZTP config format served by the recipe
-up {secure,plain}, --url_protocol {secure,plain}
ZTP URL scheme: secure (API/https) or plain
(webserver/http); default auto
-us URL_SERVER, --url_server URL_SERVER
ZTP URL host override (IP or hostname); default the
known controller
-te {y,yes,n,no,''}, --tftp_enable {y,yes,n,no,''}
Enable TFTP (option 66) for the switch, e.g. ONIE/TFTP
install; default off
--nonetwork No network verification
-v, --verbose Verbose Mode
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
luna switch clone
usage: luna switch clone [-h] [--vendor VENDOR] [-ot {nvos,cumulus,generic}]
[-N NETWORK] [-I IPADDRESS] [-M MACADDRESS] [-r READ]
[-w RW] [-o OID] [-u UPLINKPORTS]
[-nb {y,yes,n,no,''}] [-du DEFAULT_URL]
[-bf BOOTFILE] [-zc] [-qz File-Path OR In-Line]
[-zf {commands,yaml}] [-up {secure,plain}]
[-us URL_SERVER] [-te {y,yes,n,no,''}] [-v] [-c]
[-qc File-Path OR In-Line]
name newswitchname
positional arguments:
name Switch Name
newswitchname New Switch Name
options:
-h, --help show this help message and exit
--vendor VENDOR Clone Switch Vendor Name
-ot {nvos,cumulus,generic}, --ostype {nvos,cumulus,generic}
Switch OS type; gates ZTP options (cumulus adds option
239)
-N NETWORK, --network NETWORK
Network
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
-r READ, --read READ Read community
-w RW, --rw RW Write community
-o OID, --oid OID OID
-u UPLINKPORTS, --uplinkports UPLINKPORTS
Write community
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Toggle ZTP netboot DHCP options for the switch
-du DEFAULT_URL, --default-url DEFAULT_URL
ZTP boot image path, controller-relative (e.g.
files/<image>.bin)
-bf BOOTFILE, --bootfile BOOTFILE
ZTP recipe path, controller-relative (e.g.
boot/switch/<name>)
-zc, --ztpconfig Config served by ZTP (opens an editor)
-qz File-Path OR In-Line, --quick-ztpconfig File-Path OR In-Line
ZTP config File-Path OR In-Line
-zf {commands,yaml}, --ztpformat {commands,yaml}
ZTP config format served by the recipe
-up {secure,plain}, --url_protocol {secure,plain}
ZTP URL scheme: secure (API/https) or plain
(webserver/http); default auto
-us URL_SERVER, --url_server URL_SERVER
ZTP URL host override (IP or hostname); default the
known controller
-te {y,yes,n,no,''}, --tftp_enable {y,yes,n,no,''}
Enable TFTP (option 66) for the switch, e.g. ONIE/TFTP
install; default off
-v, --verbose Verbose Mode
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
luna switch rename
usage: luna switch rename [-h] [-v] name newswitchname
positional arguments:
name Switch Name
newswitchname New Switch Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna switch remove
usage: luna switch remove [-h] [-v] name
positional arguments:
name Switch Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna switch listinterface
usage: luna switch listinterface [-h] [-R] name
positional arguments:
name Switch Name
options:
-h, --help show this help message and exit
-R, --raw Raw JSON output
luna switch showinterface
usage: luna switch showinterface [-h] [-R] name interface
positional arguments:
name Switch Name
interface Interface Name
options:
-h, --help show this help message and exit
-R, --raw Raw JSON output
luna switch changeinterface
usage: luna switch changeinterface [-h] [-N NETWORK] [-I IPADDRESS]
[-M MACADDRESS] [-mg] [-v]
name interface
positional arguments:
name Switch Name
interface Interface Name (e.g. eth0, swp1)
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network Name
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
-mg, --mgmt Make this the management interface (renders as the
bare switch name)
-v, --verbose Verbose Mode
luna switch removeinterface
usage: luna switch removeinterface [-h] [-v] name interface
positional arguments:
name Switch Name
interface Interface Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna switch renameinterface
usage: luna switch renameinterface [-h] [-v] name interface newinterfacename
positional arguments:
name Switch Name
interface Interface Name
newinterfacename New Interface Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna otherdev
luna otherdev list
usage: luna otherdev list [-h] [-v] [-R] [--csv <column>]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
luna otherdev show
usage: luna otherdev show [-h] [-v] [-R] name
positional arguments:
name Other Device Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna otherdev add
usage: luna otherdev add [-h] [-N NETWORK] [-I IPADDRESS] [-M MACADDRESS]
[--vendor VENDOR] [-c] [--nonetwork]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Other Device Name
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network Name
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
--vendor VENDOR Add Other Device Vendor Name
-c, --comment Comment
--nonetwork No network verification
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna otherdev change
usage: luna otherdev change [-h] [-N NETWORK] [-I IPADDRESS] [-M MACADDRESS]
[--vendor VENDOR] [-c] [--nonetwork]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Other Device Name
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
--vendor VENDOR Change Other Device Vendor Name
-c, --comment Comment
--nonetwork No network verification
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna otherdev clone
usage: luna otherdev clone [-h] [-N NETWORK] [-I IPADDRESS] [-M MACADDRESS]
[--vendor VENDOR] [-c] [-qc File-Path OR In-Line]
[-v]
name newotherdevname
positional arguments:
name Other Device Name
newotherdevname New Other Device Name
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
--vendor VENDOR Clone Other Device Vendor Name
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
luna otherdev rename
usage: luna otherdev rename [-h] [-v] name newotherdevname
positional arguments:
name Other Device Name
newotherdevname New Other Device Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna otherdev remove
usage: luna otherdev remove [-h] [-v] name
positional arguments:
name Other Device Name
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna group
luna group list
usage: luna group list [-h] [-v] [-R] [--csv <column>] [-d]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
-d, --deviate List only Groups that deviate from their parent (cluster)
defaults
luna group show
usage: luna group show [-h] [-v] [-R] [-f] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
-f, --full-scripts Show the Full Scripts
luna group showdisklayout
usage: luna group showdisklayout [-h] [-v] [-R] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna group member
usage: luna group member [-h] [-v] [-R] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna group add
usage: luna group add [-h] [-e {y,yes,n,no,''}] [-o OSIMAGE] [-t OSIMAGETAG]
[-k] [-qk File-Path OR In-Line] [-b BMCSETUPNAME]
[-F REDFISHSETUPNAME] [-E {y,yes,n,no,''}]
[-bc BIOSCONFIG] [-d DOMAIN] [-r ROLES] [-s SCRIPTS]
[-pr PROFILES] [-rt ROUTES] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[--install-mode {auto,sync,full,local,memboot,sanitize,legacy}]
[-dl] [-qdl File-Path OR In-Line] [-of]
[-qof File-Path OR In-Line] [-i PROVISION_INTERFACE]
[-p PROVISION_METHOD] [-f PROVISION_FALLBACK]
[-n {y,yes,n,no,''}] [-x IPXE_KERNEL]
[-m {y,yes,n,no,''}] [-U UNMANAGED_BMC_USERS]
[-if INTERFACE] [-N NETWORK] [-L VLANID] [--mtu MTU]
[-P VLAN_PARENT] [-B BOND_MODE] [-A BOND_SLAVES] [-O]
[-D {y,yes,n,no,''}] [-qo File-Path OR In-Line] [-c]
[-qc File-Path OR In-Line] [-v] [--local]
name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-e {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
Enables or disables the use of BMC
-o OSIMAGE, --osimage OSIMAGE
Sets the used OSImage for the group
-t OSIMAGETAG, --osimagetag OSIMAGETAG
Sets the name of the OSImage Tag to use for booting
-k, --kerneloptions Overrides OSImage kernel options
-qk File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-b BMCSETUPNAME, --bmcsetupname BMCSETUPNAME
BMC Setup Name
-F REDFISHSETUPNAME, --redfishsetupname REDFISHSETUPNAME
Redfish Setup Name
-E {y,yes,n,no,''}, --setupredfish {y,yes,n,no,''}
Lets Luna create the Redfish accounts of the
redfishsetup on the BMC
-bc BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration the nodes of this group should
hold; biospush with no name pushes it
-d DOMAIN, --domain DOMAIN
Domain Name
-r ROLES, --roles ROLES
Sets the roles used for the group. Multiple roles can
be supplied comma separated
-s SCRIPTS, --scripts SCRIPTS
Sets the scripts used for the group. Multiple scripts
can be supplied comma separated
-pr PROFILES, --profiles PROFILES
Sets the profiles used for the group. Multiple
profiles can be supplied comma separated. Profiles
stack: a node applies its group profiles plus its own
-rt ROUTES, --routes ROUTES
Static routes coupled to the group (comma separated
names, "" to clear)
-pre, --prescript Pre Script
-qpre File-Path OR In-Line, --quick-prescript File-Path OR In-Line
Pre Script File-Path OR In-Line
-part, --partscript Part Script
-qpart File-Path OR In-Line, --quick-partscript File-Path OR In-Line
Part Script File-Path OR In-Line
-post, --postscript Post Script
-qpost File-Path OR In-Line, --quick-postscript File-Path OR In-Line
Post Script File-Path OR In-Line
--install-mode {auto,sync,full,local,memboot,sanitize,legacy}
v1.4 install mode
-dl, --disklayout Disk Layout JSON (v1.4)
-qdl File-Path OR In-Line, --quick-disklayout File-Path OR In-Line
Disk Layout JSON File-Path OR In-Line
-of, --osimage-filter
OSImage Filter JSON (v1.4)
-qof File-Path OR In-Line, --quick-osimage-filter File-Path OR In-Line
OSImage Filter JSON File-Path OR In-Line
-i PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Overrides the Cluster provisioning interface
-p PROVISION_METHOD, --provision_method PROVISION_METHOD
Overrides Cluster (primary) provisioning method
-f PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Overrides Cluster fallback provisioning method
-n {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Enables or disables network based boots. Disabling
allows for local node, e.g. disk boot
-x IPXE_KERNEL, --ipxe_kernel IPXE_KERNEL
Sets iPXE kernel used for booting. Supported are
"default" and "alternative"
-m {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Cosmetic setting that enables or disables the
displaying of the iPXE boot menu
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-if INTERFACE, --interface INTERFACE
Interface operations, requires a name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-L VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
--mtu MTU MTU size * Interface is Required.
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
Interface VLAN parent interface. * Interface is
Required.
-B BOND_MODE, --bond_mode BOND_MODE
Interface bonding mode. * Interface is Required.
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Interface bonded interface slaves. * Interface is
Required.
-O, --options Interfaces Options. * Interface is Required.
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
Interfaces dhcp toggle. * Interface is Required.
-qo File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line. * Interface is Required.
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
--local Allow local item changes
luna group change
usage: luna group change [-h] [-e {y,yes,n,no,''}] [-o OSIMAGE]
[-t OSIMAGETAG] [-k] [-qk File-Path OR In-Line]
[-b BMCSETUPNAME] [-F REDFISHSETUPNAME]
[-E {y,yes,n,no,''}] [-bc BIOSCONFIG] [-d DOMAIN]
[-r ROLES] [-s SCRIPTS] [-pr PROFILES] [-rt ROUTES]
[-pre] [-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[--install-mode {auto,sync,full,local,memboot,sanitize,legacy}]
[-dl] [-qdl File-Path OR In-Line] [-of]
[-qof File-Path OR In-Line] [-i PROVISION_INTERFACE]
[-p PROVISION_METHOD] [-f PROVISION_FALLBACK]
[-n {y,yes,n,no,''}] [-x IPXE_KERNEL]
[-m {y,yes,n,no,''}] [-U UNMANAGED_BMC_USERS]
[-if INTERFACE] [-N NETWORK] [-L VLANID] [--mtu MTU]
[-P VLAN_PARENT] [-B BOND_MODE] [-A BOND_SLAVES] [-O]
[-D {y,yes,n,no,''}] [-qo File-Path OR In-Line] [-c]
[-qc File-Path OR In-Line] [-v] [--local]
name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-e {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
Enables or disables the use of BMC
-o OSIMAGE, --osimage OSIMAGE
Sets the used OSImage for the group
-t OSIMAGETAG, --osimagetag OSIMAGETAG
Sets the name of the OSImage Tag to use for booting
-k, --kerneloptions Overrides OSImage kernel options
-qk File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-b BMCSETUPNAME, --bmcsetupname BMCSETUPNAME
BMC Setup Name
-F REDFISHSETUPNAME, --redfishsetupname REDFISHSETUPNAME
Redfish Setup Name
-E {y,yes,n,no,''}, --setupredfish {y,yes,n,no,''}
Lets Luna create the Redfish accounts of the
redfishsetup on the BMC
-bc BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration the nodes of this group should
hold; biospush with no name pushes it
-d DOMAIN, --domain DOMAIN
Domain Name
-r ROLES, --roles ROLES
Sets the roles used for the group. Multiple roles can
be supplied comma separated
-s SCRIPTS, --scripts SCRIPTS
Sets the scripts used for the group. Multiple scripts
can be supplied comma separated
-pr PROFILES, --profiles PROFILES
Sets the profiles used for the group. Multiple
profiles can be supplied comma separated. Profiles
stack: a node applies its group profiles plus its own
-rt ROUTES, --routes ROUTES
Static routes coupled to the group (comma separated
names, "" to clear)
-pre, --prescript Pre Script
-qpre File-Path OR In-Line, --quick-prescript File-Path OR In-Line
Pre Script File-Path OR In-Line
-part, --partscript Part Script
-qpart File-Path OR In-Line, --quick-partscript File-Path OR In-Line
Part Script File-Path OR In-Line
-post, --postscript Post Script
-qpost File-Path OR In-Line, --quick-postscript File-Path OR In-Line
Post Script File-Path OR In-Line
--install-mode {auto,sync,full,local,memboot,sanitize,legacy}
v1.4 install mode
-dl, --disklayout Disk Layout JSON (v1.4)
-qdl File-Path OR In-Line, --quick-disklayout File-Path OR In-Line
Disk Layout JSON File-Path OR In-Line
-of, --osimage-filter
OSImage Filter JSON (v1.4)
-qof File-Path OR In-Line, --quick-osimage-filter File-Path OR In-Line
OSImage Filter JSON File-Path OR In-Line
-i PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Overrides the Cluster provisioning interface
-p PROVISION_METHOD, --provision_method PROVISION_METHOD
Overrides Cluster (primary) provisioning method
-f PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Overrides Cluster fallback provisioning method
-n {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Enables or disables network based boots. Disabling
allows for local node, e.g. disk boot
-x IPXE_KERNEL, --ipxe_kernel IPXE_KERNEL
Sets iPXE kernel used for booting. Supported are
"default" and "alternative"
-m {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Cosmetic setting that enables or disables the
displaying of the iPXE boot menu
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-if INTERFACE, --interface INTERFACE
Interface operations, requires a name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-L VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
--mtu MTU MTU size * Interface is Required.
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
Interface VLAN parent interface. * Interface is
Required.
-B BOND_MODE, --bond_mode BOND_MODE
Interface bonding mode. * Interface is Required.
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Interface bonded interface slaves. * Interface is
Required.
-O, --options Interfaces Options. * Interface is Required.
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
Interfaces dhcp toggle. * Interface is Required.
-qo File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line. * Interface is Required.
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
--local Allow local item changes
luna group clone
usage: luna group clone [-h] [-e {y,yes,n,no,''}] [-o OSIMAGE] [-t OSIMAGETAG]
[-k] [-qk File-Path OR In-Line] [-b BMCSETUPNAME]
[-F REDFISHSETUPNAME] [-E {y,yes,n,no,''}]
[-bc BIOSCONFIG] [-d DOMAIN] [-r ROLES] [-s SCRIPTS]
[-pr PROFILES] [-rt ROUTES] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[--install-mode {auto,sync,full,local,memboot,sanitize,legacy}]
[-dl] [-qdl File-Path OR In-Line] [-of]
[-qof File-Path OR In-Line] [-i PROVISION_INTERFACE]
[-p PROVISION_METHOD] [-f PROVISION_FALLBACK]
[-n {y,yes,n,no,''}] [-x IPXE_KERNEL]
[-m {y,yes,n,no,''}] [-U UNMANAGED_BMC_USERS]
[-if INTERFACE] [-N NETWORK] [-L VLANID] [--mtu MTU]
[-P VLAN_PARENT] [-B BOND_MODE] [-A BOND_SLAVES] [-O]
[-D {y,yes,n,no,''}] [-qo File-Path OR In-Line] [-c]
[-qc File-Path OR In-Line] [-v] [--local]
name newgroupname
positional arguments:
name Name of the Group
newgroupname New Name for the Group
options:
-h, --help show this help message and exit
-e {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
Enables or disables the use of BMC
-o OSIMAGE, --osimage OSIMAGE
Sets the used OSImage for the group
-t OSIMAGETAG, --osimagetag OSIMAGETAG
Sets the name of the OSImage Tag to use for booting
-k, --kerneloptions Overrides OSImage kernel options
-qk File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-b BMCSETUPNAME, --bmcsetupname BMCSETUPNAME
BMC Setup Name
-F REDFISHSETUPNAME, --redfishsetupname REDFISHSETUPNAME
Redfish Setup Name
-E {y,yes,n,no,''}, --setupredfish {y,yes,n,no,''}
Lets Luna create the Redfish accounts of the
redfishsetup on the BMC
-bc BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration the nodes of this group should
hold; biospush with no name pushes it
-d DOMAIN, --domain DOMAIN
Domain Name
-r ROLES, --roles ROLES
Sets the roles used for the group. Multiple roles can
be supplied comma separated
-s SCRIPTS, --scripts SCRIPTS
Sets the scripts used for the group. Multiple scripts
can be supplied comma separated
-pr PROFILES, --profiles PROFILES
Sets the profiles used for the group. Multiple
profiles can be supplied comma separated. Profiles
stack: a node applies its group profiles plus its own
-rt ROUTES, --routes ROUTES
Static routes coupled to the group (comma separated
names, "" to clear)
-pre, --prescript Pre Script
-qpre File-Path OR In-Line, --quick-prescript File-Path OR In-Line
Pre Script File-Path OR In-Line
-part, --partscript Part Script
-qpart File-Path OR In-Line, --quick-partscript File-Path OR In-Line
Part Script File-Path OR In-Line
-post, --postscript Post Script
-qpost File-Path OR In-Line, --quick-postscript File-Path OR In-Line
Post Script File-Path OR In-Line
--install-mode {auto,sync,full,local,memboot,sanitize,legacy}
v1.4 install mode
-dl, --disklayout Disk Layout JSON (v1.4)
-qdl File-Path OR In-Line, --quick-disklayout File-Path OR In-Line
Disk Layout JSON File-Path OR In-Line
-of, --osimage-filter
OSImage Filter JSON (v1.4)
-qof File-Path OR In-Line, --quick-osimage-filter File-Path OR In-Line
OSImage Filter JSON File-Path OR In-Line
-i PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Overrides the Cluster provisioning interface
-p PROVISION_METHOD, --provision_method PROVISION_METHOD
Overrides Cluster (primary) provisioning method
-f PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Overrides Cluster fallback provisioning method
-n {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Enables or disables network based boots. Disabling
allows for local node, e.g. disk boot
-x IPXE_KERNEL, --ipxe_kernel IPXE_KERNEL
Sets iPXE kernel used for booting. Supported are
"default" and "alternative"
-m {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Cosmetic setting that enables or disables the
displaying of the iPXE boot menu
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-if INTERFACE, --interface INTERFACE
Interface operations, requires a name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-L VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
--mtu MTU MTU size * Interface is Required.
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
Interface VLAN parent interface. * Interface is
Required.
-B BOND_MODE, --bond_mode BOND_MODE
Interface bonding mode. * Interface is Required.
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Interface bonded interface slaves. * Interface is
Required.
-O, --options Interfaces Options. * Interface is Required.
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
Interfaces dhcp toggle. * Interface is Required.
-qo File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line. * Interface is Required.
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-v, --verbose Verbose Mode
--local Allow local item changes
luna group rename
usage: luna group rename [-h] [-v] name newgroupname
positional arguments:
name Name of the Group
newgroupname New Name for the Group
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna group remove
usage: luna group remove [-h] [-v] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna group ospush
usage: luna group ospush [-h] [-o OSIMAGE] [--nodry] [-v] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-o OSIMAGE, --osimage OSIMAGE
OSImage Name
--nodry No Dry flag to avoid dry run
-v, --verbose Verbose Mode
luna group biospush
usage: luna group biospush [-h] [-b BIOSCONFIG] [-m {strict,warn,ignore}] [-v]
name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-b BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration Name
-m {strict,warn,ignore}, --version-match {strict,warn,ignore}
What to do when the configuration was grabbed at a
different BIOS version than a node runs. Defaults to
the cluster setting
-v, --verbose Verbose Mode
luna group firmwarepush
usage: luna group firmwarepush [-h] [-C COMPONENT] [-n] [-R] [-v] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-C COMPONENT, --component COMPONENT
Only this component, e.g. BMC or BIOS
-n, --dry-run Say what would happen and record nothing
-R, --raw Raw JSON output of a dry run
-v, --verbose Verbose Mode
luna group listinterface
usage: luna group listinterface [-h] [-v] [-R] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna group showinterface
usage: luna group showinterface [-h] [-v] [-R] name interface
positional arguments:
name Name of the Group
interface Name of the Group Interface
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna group changeinterface
usage: luna group changeinterface [-h] [--mtu MTU] [-N NETWORK] [-L VLANID]
[-P VLAN_PARENT] [-B BOND_MODE]
[-A BOND_SLAVES] [-D {y,yes,n,no,''}] [-O]
[-qO File-Path OR In-Line] [-v]
name interface
positional arguments:
name Name of the Group
interface Group Interface Name
options:
-h, --help show this help message and exit
--mtu MTU MTU size
-N NETWORK, --network NETWORK
Network Name
-L VLANID, --vlanid VLANID
VLAN ID
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
VLAN parent interface
-B BOND_MODE, --bond_mode BOND_MODE
Bonding mode
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Bonding interface slaves
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
toggle dhcp
-O, --options Interfaces Options
-qO File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line
-v, --verbose Verbose Mode
luna group removeinterface
usage: luna group removeinterface [-h] [-v] name interface
positional arguments:
name Name of the Group
interface Name of the Group Interface
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna group renameinterface
usage: luna group renameinterface [-h] [-v] name interface newinterfacename
positional arguments:
name Name of the Group
interface Name of the Group Interface
newinterfacename New Name of the Group Interface
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna node
luna node list
usage: luna node list [-h] [-v] [-R] [--csv <column>] [-d] [-p]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
--csv <column> Output a single column as comma-separated values
-d, --deviate List only Nodes that deviate from their parent (group)
defaults
-p, --port Include switch and switchport columns in the listing
luna node show
usage: luna node show [-h] [-v] [-R] [-f] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
-f, --full-scripts Show the Full Scripts
luna node add
usage: luna node add [-h] -g GROUP [-o OSIMAGE] [-t OSIMAGETAG] [-k]
[-qk File-Path OR In-Line] [-e {y,yes,n,no,''}]
[-b BMCSETUP] [-F REDFISHSETUP] [-E {y,yes,n,no,''}]
[-bc BIOSCONFIG] [--switch SWITCH]
[--switchport SWITCHPORT] [--cloud CLOUD] [-r ROLES]
[-s SCRIPTS] [-pr PROFILES] [-rt ROUTES] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[--install-mode {auto,sync,full,local,memboot,sanitize,legacy}]
[-dl] [-qdl File-Path OR In-Line] [-of]
[-qof File-Path OR In-Line] [-i PROVISION_INTERFACE]
[-p PROVISION_METHOD] [-f PROVISION_FALLBACK]
[-n {y,yes,n,no,''}] [-x IPXE_KERNEL]
[-m {y,yes,n,no,''}] [-S {y,yes,n,no,''}]
[--status STATUS] [--tpm_uuid TPM_UUID]
[--tpm_pubkey TPM_PUBKEY] [--tpm_sha256 TPM_SHA256]
[-U UNMANAGED_BMC_USERS] [-c] [-qc File-Path OR In-Line]
[-if INTERFACE] [-N NETWORK] [--mtu MTU] [-L VLANID]
[-P VLAN_PARENT] [-B BOND_MODE] [-A BOND_SLAVES]
[-I IPADDRESS] [-M MACADDRESS] [-O] [-D {y,yes,n,no,''}]
[-qo File-Path OR In-Line] [-v] [--local]
name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Group Name
-o OSIMAGE, --osimage OSIMAGE
Overrides the group configured OSImage
-t OSIMAGETAG, --osimagetag OSIMAGETAG
Overrides the group configured OSImage Tag to use for
booting
-k, --kerneloptions Overrides OSImage and Group kernel options
-qk File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-e {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-b BMCSETUP, --bmcsetup BMCSETUP
BMC Setup
-F REDFISHSETUP, --redfishsetup REDFISHSETUP
Redfish Setup
-E {y,yes,n,no,''}, --setupredfish {y,yes,n,no,''}
Lets Luna create the Redfish accounts of the
redfishsetup on the BMC
-bc BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration this node should hold; biospush
with no name pushes it
--switch SWITCH Sets the switch for the node. Used for port based node
detection
--switchport SWITCHPORT
Sets the switch port for the node. Used for port based
node detection
--cloud CLOUD Cloud Name
-r ROLES, --roles ROLES
Overrides Group configured roles used. Multiple roles
can be supplied comma separated
-s SCRIPTS, --scripts SCRIPTS
Overrides Group configured scripts used. Multiple
scripts can be supplied comma separated
-pr PROFILES, --profiles PROFILES
Profiles used by the node, applied in addition to the
ones its group has. Multiple profiles can be supplied
comma separated
-rt ROUTES, --routes ROUTES
Static routes coupled to the node (comma separated
names, "" to clear)
-pre, --prescript Pre Script
-qpre File-Path OR In-Line, --quick-prescript File-Path OR In-Line
Pre Script File-Path OR In-Line
-part, --partscript Part Script
-qpart File-Path OR In-Line, --quick-partscript File-Path OR In-Line
Part Script File-Path OR In-Line
-post, --postscript Post Script
-qpost File-Path OR In-Line, --quick-postscript File-Path OR In-Line
Post Script File-Path OR In-Line
--install-mode {auto,sync,full,local,memboot,sanitize,legacy}
v1.4 install mode
-dl, --disklayout Disk Layout JSON (v1.4)
-qdl File-Path OR In-Line, --quick-disklayout File-Path OR In-Line
Disk Layout JSON File-Path OR In-Line
-of, --osimage-filter
OSImage Filter JSON (v1.4)
-qof File-Path OR In-Line, --quick-osimage-filter File-Path OR In-Line
OSImage Filter JSON File-Path OR In-Line
-i PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Overrides the Cluster or Group provisioning interface
-p PROVISION_METHOD, --provision_method PROVISION_METHOD
Overrides Cluster or Group (primary) provisioning
method
-f PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Overrides Cluster or Group fallback provisioning
method
-n {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Overrides Group configured network based boots.
Disabling allows for local node, e.g. disk boot
-x IPXE_KERNEL, --ipxe_kernel IPXE_KERNEL
Sets iPXE kernel used for booting. Supported are
"default" and "alternative"
-m {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Overrides Group configured setting that enables or
disables the displaying of the iPXE boot menu
-S {y,yes,n,no,''}, --service {y,yes,n,no,''}
Enabling or disabling the Service mode during. Enabled
drops the booting node into a shell
--status STATUS Status
--tpm_uuid TPM_UUID TPM UUID
--tpm_pubkey TPM_PUBKEY
TPM Public Key
--tpm_sha256 TPM_SHA256
TPM SHA256
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-if INTERFACE, --interface INTERFACE
Interface operations, requires a name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
--mtu MTU MTU size * Interface is Required.
-L VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
Interface VLAN parent interface. * Interface is
Required.
-B BOND_MODE, --bond_mode BOND_MODE
Interface bonding mode. * Interface is Required.
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Interface bonded interface slaves. * Interface is
Required.
-I IPADDRESS, --ipaddress IPADDRESS
Interfaces IP Address. * Interface is Required.
-M MACADDRESS, --macaddress MACADDRESS
Interfaces MAC Address. * Interface is Required.
-O, --options Interfaces Options. * Interface is Required.
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
Interfaces dhcp toggle. * Interface is Required.
-qo File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line. * Interface is Required.
-v, --verbose Verbose Mode
--local Allow local item changes
luna node change
usage: luna node change [-h] [-g GROUP] [-o OSIMAGE] [-t OSIMAGETAG] [-k]
[-qk File-Path OR In-Line] [-e {y,yes,n,no,''}]
[-b BMCSETUP] [-F REDFISHSETUP] [-E {y,yes,n,no,''}]
[-bc BIOSCONFIG] [--switch SWITCH]
[--switchport SWITCHPORT] [--cloud CLOUD] [-r ROLES]
[-s SCRIPTS] [-pr PROFILES] [-rt ROUTES] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[--install-mode {auto,sync,full,local,memboot,sanitize,legacy}]
[-dl] [-qdl File-Path OR In-Line] [-of]
[-qof File-Path OR In-Line] [-i PROVISION_INTERFACE]
[-p PROVISION_METHOD] [-f PROVISION_FALLBACK]
[-n {y,yes,n,no,''}] [-x IPXE_KERNEL]
[-m {y,yes,n,no,''}] [-S {y,yes,n,no,''}]
[--status STATUS] [--tpm_uuid TPM_UUID]
[--tpm_pubkey TPM_PUBKEY] [--tpm_sha256 TPM_SHA256]
[-U UNMANAGED_BMC_USERS] [-c]
[-qc File-Path OR In-Line] [-if INTERFACE]
[-N NETWORK] [--mtu MTU] [-L VLANID] [-P VLAN_PARENT]
[-B BOND_MODE] [-A BOND_SLAVES] [-I IPADDRESS]
[-M MACADDRESS] [-O] [-D {y,yes,n,no,''}]
[-qo File-Path OR In-Line] [-v] [--local]
name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Group Name
-o OSIMAGE, --osimage OSIMAGE
Overrides the group configured OSImage
-t OSIMAGETAG, --osimagetag OSIMAGETAG
Overrides the group configured OSImage Tag to use for
booting
-k, --kerneloptions Overrides OSImage and Group kernel options
-qk File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-e {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-b BMCSETUP, --bmcsetup BMCSETUP
BMC Setup
-F REDFISHSETUP, --redfishsetup REDFISHSETUP
Redfish Setup
-E {y,yes,n,no,''}, --setupredfish {y,yes,n,no,''}
Lets Luna create the Redfish accounts of the
redfishsetup on the BMC
-bc BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration this node should hold; biospush
with no name pushes it
--switch SWITCH Sets the switch for the node. Used for port based node
detection
--switchport SWITCHPORT
Sets the switch port for the node. Used for port based
node detection
--cloud CLOUD Cloud Name
-r ROLES, --roles ROLES
Overrides Group configured roles used. Multiple roles
can be supplied comma separated
-s SCRIPTS, --scripts SCRIPTS
Overrides Group configured scripts used. Multiple
scripts can be supplied comma separated
-pr PROFILES, --profiles PROFILES
Profiles used by the node, applied in addition to the
ones its group has. Multiple profiles can be supplied
comma separated
-rt ROUTES, --routes ROUTES
Static routes coupled to the node (comma separated
names, "" to clear)
-pre, --prescript Pre Script
-qpre File-Path OR In-Line, --quick-prescript File-Path OR In-Line
Pre Script File-Path OR In-Line
-part, --partscript Part Script
-qpart File-Path OR In-Line, --quick-partscript File-Path OR In-Line
Part Script File-Path OR In-Line
-post, --postscript Post Script
-qpost File-Path OR In-Line, --quick-postscript File-Path OR In-Line
Post Script File-Path OR In-Line
--install-mode {auto,sync,full,local,memboot,sanitize,legacy}
v1.4 install mode
-dl, --disklayout Disk Layout JSON (v1.4)
-qdl File-Path OR In-Line, --quick-disklayout File-Path OR In-Line
Disk Layout JSON File-Path OR In-Line
-of, --osimage-filter
OSImage Filter JSON (v1.4)
-qof File-Path OR In-Line, --quick-osimage-filter File-Path OR In-Line
OSImage Filter JSON File-Path OR In-Line
-i PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Overrides the Cluster or Group provisioning interface
-p PROVISION_METHOD, --provision_method PROVISION_METHOD
Overrides Cluster or Group (primary) provisioning
method
-f PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Overrides Cluster or Group fallback provisioning
method
-n {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Overrides Group configured network based boots.
Disabling allows for local node, e.g. disk boot
-x IPXE_KERNEL, --ipxe_kernel IPXE_KERNEL
Sets iPXE kernel used for booting. Supported are
"default" and "alternative"
-m {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Overrides Group configured setting that enables or
disables the displaying of the iPXE boot menu
-S {y,yes,n,no,''}, --service {y,yes,n,no,''}
Enabling or disabling the Service mode during. Enabled
drops the booting node into a shell
--status STATUS Status
--tpm_uuid TPM_UUID TPM UUID
--tpm_pubkey TPM_PUBKEY
TPM Public Key
--tpm_sha256 TPM_SHA256
TPM SHA256
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-if INTERFACE, --interface INTERFACE
Interface operations, requires a name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
--mtu MTU MTU size * Interface is Required.
-L VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
Interface VLAN parent interface. * Interface is
Required.
-B BOND_MODE, --bond_mode BOND_MODE
Interface bonding mode. * Interface is Required.
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Interface bonded interface slaves. * Interface is
Required.
-I IPADDRESS, --ipaddress IPADDRESS
Interfaces IP Address. * Interface is Required.
-M MACADDRESS, --macaddress MACADDRESS
Interfaces MAC Address. * Interface is Required.
-O, --options Interfaces Options. * Interface is Required.
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
Interfaces dhcp toggle. * Interface is Required.
-qo File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line. * Interface is Required.
-v, --verbose Verbose Mode
--local Allow local item changes
luna node clone
usage: luna node clone [-h] [-g GROUP] [-o OSIMAGE] [-t OSIMAGETAG] [-k]
[-qk File-Path OR In-Line] [-e {y,yes,n,no,''}]
[-b BMCSETUP] [-F REDFISHSETUP] [-E {y,yes,n,no,''}]
[-bc BIOSCONFIG] [--switch SWITCH]
[--switchport SWITCHPORT] [--cloud CLOUD] [-r ROLES]
[-s SCRIPTS] [-pr PROFILES] [-rt ROUTES] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[--install-mode {auto,sync,full,local,memboot,sanitize,legacy}]
[-dl] [-qdl File-Path OR In-Line] [-of]
[-qof File-Path OR In-Line] [-i PROVISION_INTERFACE]
[-p PROVISION_METHOD] [-f PROVISION_FALLBACK]
[-n {y,yes,n,no,''}] [-x IPXE_KERNEL]
[-m {y,yes,n,no,''}] [-S {y,yes,n,no,''}]
[--status STATUS] [--tpm_uuid TPM_UUID]
[--tpm_pubkey TPM_PUBKEY] [--tpm_sha256 TPM_SHA256]
[-U UNMANAGED_BMC_USERS] [-c]
[-qc File-Path OR In-Line] [-if INTERFACE] [-N NETWORK]
[--mtu MTU] [-L VLANID] [-P VLAN_PARENT] [-B BOND_MODE]
[-A BOND_SLAVES] [-I IPADDRESS] [-M MACADDRESS] [-O]
[-D {y,yes,n,no,''}] [-qo File-Path OR In-Line] [-v]
[--local]
name newnodename
positional arguments:
name Name of the Node
newnodename New Name for the Node
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Group Name
-o OSIMAGE, --osimage OSIMAGE
Overrides the group configured OSImage
-t OSIMAGETAG, --osimagetag OSIMAGETAG
Overrides the group configured OSImage Tag to use for
booting
-k, --kerneloptions Overrides OSImage and Group kernel options
-qk File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-e {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-b BMCSETUP, --bmcsetup BMCSETUP
BMC Setup
-F REDFISHSETUP, --redfishsetup REDFISHSETUP
Redfish Setup
-E {y,yes,n,no,''}, --setupredfish {y,yes,n,no,''}
Lets Luna create the Redfish accounts of the
redfishsetup on the BMC
-bc BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration this node should hold; biospush
with no name pushes it
--switch SWITCH Sets the switch for the node. Used for port based node
detection
--switchport SWITCHPORT
Sets the switch port for the node. Used for port based
node detection
--cloud CLOUD Cloud Name
-r ROLES, --roles ROLES
Overrides Group configured roles used. Multiple roles
can be supplied comma separated
-s SCRIPTS, --scripts SCRIPTS
Overrides Group configured scripts used. Multiple
scripts can be supplied comma separated
-pr PROFILES, --profiles PROFILES
Profiles used by the node, applied in addition to the
ones its group has. Multiple profiles can be supplied
comma separated
-rt ROUTES, --routes ROUTES
Static routes coupled to the node (comma separated
names, "" to clear)
-pre, --prescript Pre Script
-qpre File-Path OR In-Line, --quick-prescript File-Path OR In-Line
Pre Script File-Path OR In-Line
-part, --partscript Part Script
-qpart File-Path OR In-Line, --quick-partscript File-Path OR In-Line
Part Script File-Path OR In-Line
-post, --postscript Post Script
-qpost File-Path OR In-Line, --quick-postscript File-Path OR In-Line
Post Script File-Path OR In-Line
--install-mode {auto,sync,full,local,memboot,sanitize,legacy}
v1.4 install mode
-dl, --disklayout Disk Layout JSON (v1.4)
-qdl File-Path OR In-Line, --quick-disklayout File-Path OR In-Line
Disk Layout JSON File-Path OR In-Line
-of, --osimage-filter
OSImage Filter JSON (v1.4)
-qof File-Path OR In-Line, --quick-osimage-filter File-Path OR In-Line
OSImage Filter JSON File-Path OR In-Line
-i PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Overrides the Cluster or Group provisioning interface
-p PROVISION_METHOD, --provision_method PROVISION_METHOD
Overrides Cluster or Group (primary) provisioning
method
-f PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Overrides Cluster or Group fallback provisioning
method
-n {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Overrides Group configured network based boots.
Disabling allows for local node, e.g. disk boot
-x IPXE_KERNEL, --ipxe_kernel IPXE_KERNEL
Sets iPXE kernel used for booting. Supported are
"default" and "alternative"
-m {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Overrides Group configured setting that enables or
disables the displaying of the iPXE boot menu
-S {y,yes,n,no,''}, --service {y,yes,n,no,''}
Enabling or disabling the Service mode during. Enabled
drops the booting node into a shell
--status STATUS Status
--tpm_uuid TPM_UUID TPM UUID
--tpm_pubkey TPM_PUBKEY
TPM Public Key
--tpm_sha256 TPM_SHA256
TPM SHA256
-U UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-c, --comment Comment
-qc File-Path OR In-Line, --quick-comment File-Path OR In-Line
Comment File-Path OR In-Line
-if INTERFACE, --interface INTERFACE
Interface operations, requires a name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
--mtu MTU MTU size * Interface is Required.
-L VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
Interface VLAN parent interface. * Interface is
Required.
-B BOND_MODE, --bond_mode BOND_MODE
Interface bonding mode. * Interface is Required.
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Interface bonded interface slaves. * Interface is
Required.
-I IPADDRESS, --ipaddress IPADDRESS
Interfaces IP Address. * Interface is Required.
-M MACADDRESS, --macaddress MACADDRESS
Interfaces MAC Address. * Interface is Required.
-O, --options Interfaces Options. * Interface is Required.
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
Interfaces dhcp toggle. * Interface is Required.
-qo File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line. * Interface is Required.
-v, --verbose Verbose Mode
--local Allow local item changes
luna node rename
usage: luna node rename [-h] [-v] name newnodename
positional arguments:
name Name of the Node
newnodename New Name for the Node
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna node remove
usage: luna node remove [-h] [-v] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna node osgrab
usage: luna node osgrab [-h] [-o OSIMAGE] [-b] [--nodry] [-v] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-o OSIMAGE, --osimage OSIMAGE
OSImage Name
-b, --bare Bare OSImage (Exclude Packing)
--nodry No Dry flag to avoid dry run
-v, --verbose Verbose Mode
luna node ospush
usage: luna node ospush [-h] [-o OSIMAGE] [--nodry] [-v] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-o OSIMAGE, --osimage OSIMAGE
Overrides the Group configured used OSImage
--nodry No Dry flag to avoid dry run
-v, --verbose Verbose Mode
luna node listinterface
usage: luna node listinterface [-h] [-v] [-R] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna node showinterface
usage: luna node showinterface [-h] [-v] [-R] name interface
positional arguments:
name Name of the Node
interface Name of the Node Interface
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna node changeinterface
usage: luna node changeinterface [-h] [-N NETWORK] [--mtu MTU] [-L VLANID]
[-P VLAN_PARENT] [-B BOND_MODE]
[-A BOND_SLAVES] [-I IPADDRESS]
[-M MACADDRESS] [-D {y,yes,n,no,''}] [-O]
[-qO File-Path OR In-Line] [-v] [--force]
name interface
positional arguments:
name Name of the Node
interface Name of the Node Interface
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network Name
--mtu MTU MTU size
-L VLANID, --vlanid VLANID
VLAN ID
-P VLAN_PARENT, --vlan_parent VLAN_PARENT
VLAN parent interface
-B BOND_MODE, --bond_mode BOND_MODE
Bonding mode
-A BOND_SLAVES, --bond_slaves BOND_SLAVES
Bonding interface slaves
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
-D {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
toggle dhcp
-O, --options Interfaces Options
-qO File-Path OR In-Line, --quick-options File-Path OR In-Line
Options File-Path OR In-Line
-v, --verbose Verbose Mode
--force Forcing a configuration, i.e. an IP address
luna node removeinterface
usage: luna node removeinterface [-h] [-v] name interface
positional arguments:
name Name of the Node
interface Name of the Node Interface
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna node renameinterface
usage: luna node renameinterface [-h] [-v] name interface newinterfacename
positional arguments:
name Name of the Node
interface Name of the Node Interface
newinterfacename New Name of the Node Interface
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna node biosgrab
usage: luna node biosgrab [-h] -b BIOSCONFIG [-v] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-b BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration Name
-v, --verbose Verbose Mode
luna node biospush
usage: luna node biospush [-h] [-b BIOSCONFIG] [-m {strict,warn,ignore}] [-v]
name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-b BIOSCONFIG, --biosconfig BIOSCONFIG
BIOS Configuration Name; without it, what the node is
assigned (node, then group) is pushed
-m {strict,warn,ignore}, --version-match {strict,warn,ignore}
What to do when the configuration was grabbed at a
different BIOS version than the node runs. Defaults to
the cluster setting
-v, --verbose Verbose Mode
luna node firmwarepush
usage: luna node firmwarepush [-h] [-C COMPONENT] [-n] [-R] [-v] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-C COMPONENT, --component COMPONENT
Only this component, e.g. BMC or BIOS
-n, --dry-run Say what would happen and record nothing
-R, --raw Raw JSON output of a dry run
-v, --verbose Verbose Mode
luna node listinventory
usage: luna node listinventory [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna node showdisklayout
usage: luna node showdisklayout [-h] [-v] [-R] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna node showinventory
usage: luna node showinventory [-h] [-v] [-R] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna node refreshinventory
usage: luna node refreshinventory [-h] [-g GROUP] [-v] [name]
positional arguments:
name Node Name or Node Hostlist
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Every node of this Group
-v, --verbose Verbose Mode
luna node setupredfish
usage: luna node setupredfish [-h] [-g GROUP] [-v] [name]
positional arguments:
name Node Name or Node Hostlist
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Every node of this Group
-v, --verbose Verbose Mode
luna secrets
luna secrets list
usage: luna secrets list [-h] [-v] [-R] {node,cluster,group} ...
positional arguments:
{node,cluster,group}
node List Node Secrets
cluster List Cluster Secrets
group List Group Secrets
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna secrets show
usage: luna secrets show [-h] {node,cluster,group} ...
positional arguments:
{node,cluster,group}
node Show Node Secrets
cluster Show Cluster Secrets
group Show Group Secrets
options:
-h, --help show this help message and exit
luna secrets add
usage: luna secrets add [-h] {node,group,cluster} ...
positional arguments:
{node,group,cluster}
node Add A Node Secrets
group Add A Group Secrets
cluster Add A Cluster Secret
options:
-h, --help show this help message and exit
luna secrets change
usage: luna secrets change [-h] {node,group,cluster} ...
positional arguments:
{node,group,cluster}
node Change Node Secrets
group Change Group Secrets
cluster Change Cluster Secrets
options:
-h, --help show this help message and exit
luna secrets clone
usage: luna secrets clone [-h] {node,group,cluster} ...
positional arguments:
{node,group,cluster}
node Clone Node Secrets
group Clone Group Secrets
cluster Clone Cluster Secrets
options:
-h, --help show this help message and exit
luna secrets remove
usage: luna secrets remove [-h] {node,group,cluster} ...
positional arguments:
{node,group,cluster}
node Remove Node Secrets
group Remove Group Secrets
cluster Remove Cluster Secrets
options:
-h, --help show this help message and exit
luna profile
luna profile list
usage: luna profile list [-h] [-R] [-v]
options:
-h, --help show this help message and exit
-R, --raw Raw JSON output
-v, --verbose Verbose Mode
luna profile show
usage: luna profile show [-h] [-R] [-v] name
positional arguments:
name Name of the Profile
options:
-h, --help show this help message and exit
-R, --raw Raw JSON output
-v, --verbose Verbose Mode
luna profile add
usage: luna profile add [-h] [-S {static,dynamic}] [-s SERVICE]
[-a {restart,stop,reload,start,none}]
[-e {y,yes,n,no,''}] [-v]
name
positional arguments:
name Name of the Profile
options:
-h, --help show this help message and exit
-S {static,dynamic}, --scope {static,dynamic}
Scope of the Profile. Static is applied at install
time
-s SERVICE, --service SERVICE
Service on the node this Profile acts on
-a {restart,stop,reload,start,none}, --action {restart,stop,reload,start,none}
What to do with the service on the node
-e {y,yes,n,no,''}, --enabled {y,yes,n,no,''}
A disabled Profile is left alone on the nodes that
have it; only removing it from them puts anything back
-v, --verbose Verbose Mode
luna profile change
usage: luna profile change [-h] [-S {static,dynamic}] [-s SERVICE]
[-a {restart,stop,reload,start,none}]
[-e {y,yes,n,no,''}] [-v]
name
positional arguments:
name Name of the Profile
options:
-h, --help show this help message and exit
-S {static,dynamic}, --scope {static,dynamic}
Scope of the Profile. Static is applied at install
time
-s SERVICE, --service SERVICE
Service on the node this Profile acts on
-a {restart,stop,reload,start,none}, --action {restart,stop,reload,start,none}
What to do with the service on the node
-e {y,yes,n,no,''}, --enabled {y,yes,n,no,''}
A disabled Profile is left alone on the nodes that
have it; only removing it from them puts anything back
-v, --verbose Verbose Mode
luna profile clone
usage: luna profile clone [-h] [-v] name newprofilename
positional arguments:
name Name of the Profile
newprofilename New Name for the Profile
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna profile member
usage: luna profile member [-h] [-v] [-R] name
positional arguments:
name Name of the Profile
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna profile rename
usage: luna profile rename [-h] [-v] name newprofilename
positional arguments:
name Name of the Profile
newprofilename New Name for the Profile
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna profile remove
usage: luna profile remove [-h] [-v] name
positional arguments:
name Name of the Profile
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna profile status
usage: luna profile status [-h] [-a] [-R] [-v] [name]
positional arguments:
name Name of a single Node
options:
-h, --help show this help message and exit
-a, --all List every node, not only the ones needing attention
-R, --raw Raw JSON output
-v, --verbose Verbose Mode
luna profile addfile
usage: luna profile addfile [-h] [-p PATH] [-c] [-qc File-Path OR In-Line]
[-o OWNER] [-m MODE] [-v]
name file
positional arguments:
name Name of the Profile
file Name of the file inside the Profile
options:
-h, --help show this help message and exit
-p PATH, --path PATH Where the file goes on the node
-c, --content Content of the file, in an editor
-qc File-Path OR In-Line, --quick-content File-Path OR In-Line
Content File-Path OR In-Line
-o OWNER, --owner OWNER
Owner of the file: user or user:group, names or
numeric ids
-m MODE, --mode MODE Permissions of the file, as octal digits (default 644)
-v, --verbose Verbose Mode
luna profile changefile
usage: luna profile changefile [-h] [-p PATH] [-c] [-qc File-Path OR In-Line]
[-o OWNER] [-m MODE] [-v]
name file
positional arguments:
name Name of the Profile
file Name of the file inside the Profile
options:
-h, --help show this help message and exit
-p PATH, --path PATH Where the file goes on the node
-c, --content Content of the file, in an editor
-qc File-Path OR In-Line, --quick-content File-Path OR In-Line
Content File-Path OR In-Line
-o OWNER, --owner OWNER
Owner of the file: user or user:group, names or
numeric ids
-m MODE, --mode MODE Permissions of the file, as octal digits (default 644)
-v, --verbose Verbose Mode
luna profile removefile
usage: luna profile removefile [-h] [-v] name file
positional arguments:
name Name of the Profile
file Name of the file inside the Profile
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna boot
luna boot status
usage: luna boot status [-h] [-g GROUP] [-a] [-R] [-v]
options:
-h, --help show this help message and exit
-g GROUP, --group GROUP
Only this group
-a, --all Every node in scope, not only the ones in this boot
-R, --raw Raw JSON output
-v, --verbose Verbose Mode
luna service
luna service dhcp
usage: luna service dhcp [-h] {start,stop,restart,reload,status} ...
positional arguments:
{start,stop,restart,reload,status}
start Start DHCP Service
stop Stop DHCP Service
restart Restart DHCP Service
reload Reload DHCP Service
status Status DHCP Service
options:
-h, --help show this help message and exit
luna service dns
usage: luna service dns [-h] {start,stop,restart,reload,status} ...
positional arguments:
{start,stop,restart,reload,status}
start Start DNS Service
stop Stop DNS Service
restart Restart DNS Service
reload Reload DNS Service
status Status DNS Service
options:
-h, --help show this help message and exit
luna control
luna control power
usage: luna control power [-h] {on,off,status,reset} ...
positional arguments:
{on,off,status,reset}
on Node(s) On
off Node(s) Off
status Node(s) Status
reset Node(s) Reset
options:
-h, --help show this help message and exit
luna control sel
usage: luna control sel [-h] {list,clear} ...
positional arguments:
{list,clear}
list Node(s) List
clear Node(s) Clear
options:
-h, --help show this help message and exit
luna control chassis
usage: luna control chassis [-h] {identify,noidentify} ...
positional arguments:
{identify,noidentify}
identify Node(s) Identify
noidentify Node(s) Noidentify
options:
-h, --help show this help message and exit
luna control nextboot
usage: luna control nextboot [-h] {bios,status,clear} ...
positional arguments:
{bios,status,clear}
bios Node(s) Bios
status Node(s) Status
clear Node(s) Clear
options:
-h, --help show this help message and exit
luna control redfish
usage: luna control redfish [-h] {upload,setting} ...
positional arguments:
{upload,setting}
upload Node(s) Upload
setting Node(s) Setting
options:
-h, --help show this help message and exit
luna monitor
luna monitor status
usage: luna monitor status [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
luna monitor queue
usage: luna monitor queue [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output