Luna CLI reference
Note: this reference is for luna cli rev 2.0 / bundled with TrinityX 14.
--long parameters are compatible with luna cli 2.1
luna cluster
luna cluster change
usage: luna cluster change [-h] [-v] [--controller <IP Address>] [-n NAME]
[-u USER] [-ntp N.N.N.N] [-o {y,yes,n,no,''}]
[-nx {y,yes,n,no,''}] [-ns NAMESERVER_IP]
[-fs FORWARDSERVER_IP] [-c TECHNICAL_CONTACTS]
[-pm PROVISION_METHOD] [-pf PROVISION_FALLBACK]
[-ds DOMAIN_SEARCH] [-s {y,yes,n,no,''}]
[-d {y,yes,n,no,''}]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
--controller <IP Address>
Controller controller
-n NAME, --name NAME New Name For Cluster
-u USER, --user USER Cluster User
-ntp N.N.N.N, --ntp_server N.N.N.N
NTP IP
-o {y,yes,n,no,''}, --createnode_ondemand {y,yes,n,no,''}
On Demand Nodes
-nx {y,yes,n,no,''}, --nextnode_discover {y,yes,n,no,''}
Discover Next Node
-ns NAMESERVER_IP, --nameserver_ip NAMESERVER_IP
Name Server IP
-fs FORWARDSERVER_IP, --forwardserver_ip FORWARDSERVER_IP
Forward Server IP
-c TECHNICAL_CONTACTS, --technical_contacts TECHNICAL_CONTACTS
Technical Contact
-pm PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-pf PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
-ds DOMAIN_SEARCH, --domain_search DOMAIN_SEARCH
Domain Search
-s {y,yes,n,no,''}, --security {y,yes,n,no,''}
Security
-d {y,yes,n,no,''}, --debug {y,yes,n,no,''}
Debug Mode
luna cloud
luna cloud list
usage: luna cloud list [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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] [--controller <IP Address>] -N NETWORK
[-g GATEWAY] [-gm GATEWAY_METRIC] [-t TYPE]
[-nsip NAMESERVER_IP] [-ntp NTP_SERVER]
[-dhcp {y,yes,n,no,''}] [-ds DHCP_RANGE_BEGIN]
[-de DHCP_RANGE_END] [-s SHARED] [-z ZONE] [-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>
Controller controller
-N NETWORK, --network NETWORK
Network
-g GATEWAY, --gateway GATEWAY
Gateway
-gm GATEWAY_METRIC, --gateway_metric GATEWAY_METRIC
Gateway Metric
-t TYPE, --type TYPE Network Type
-nsip NAMESERVER_IP, --nameserver_ip NAMESERVER_IP
NameServer IP
-ntp NTP_SERVER, --ntp_server NTP_SERVER
NTP Server
-dhcp {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
DHCP
-ds DHCP_RANGE_BEGIN, --dhcp_range_begin DHCP_RANGE_BEGIN
DHCP Range Start
-de DHCP_RANGE_END, --dhcp_range_end DHCP_RANGE_END
DHCP Range End
-s SHARED, --shared SHARED
Network Shared
-z ZONE, --zone ZONE Internal OR External Network Zone
-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]
[-gm GATEWAY_METRIC] [-t TYPE]
[-nsip NAMESERVER_IP] [-ntp NTP_SERVER]
[-dhcp {y,yes,n,no,''}] [-ds DHCP_RANGE_BEGIN]
[-de DHCP_RANGE_END] [-s SHARED] [-z ZONE] [-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>
Controller controller
-N NETWORK, --network NETWORK
Network
-cl ['ipv4', 'ipv6'], --clear ['ipv4', 'ipv6']
Clear IPv4 or IPv6 configurations.
-g GATEWAY, --gateway GATEWAY
Gateway
-gm GATEWAY_METRIC, --gateway_metric GATEWAY_METRIC
Gateway Metric
-t TYPE, --type TYPE Network Type
-nsip NAMESERVER_IP, --nameserver_ip NAMESERVER_IP
NameServer IP
-ntp NTP_SERVER, --ntp_server NTP_SERVER
NTP Server
-dhcp {y,yes,n,no,''}, --dhcp {y,yes,n,no,''}
DHCP
-ds DHCP_RANGE_BEGIN, --dhcp_range_begin DHCP_RANGE_BEGIN
DHCP Range Start
-de DHCP_RANGE_END, --dhcp_range_end DHCP_RANGE_END
DHCP Range End
-s SHARED, --shared SHARED
Network Shared
-z ZONE, --zone ZONE Internal OR External Network Zone
-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 {add,change,remove} ...
positional arguments:
name Network Name
{add,change,remove}
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 osimage
luna osimage list
usage: luna osimage list [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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 OS Image 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] [-gf] [-qgf File-Path OR In-Line] [-ge]
[-qge File-Path OR In-Line] [-rd INITRDFILE]
[-k KERNELFILE] [-m KERNELMODULES] [-o]
[-qo File-Path OR In-Line] [-ver KERNELVERSION]
[-p PATH] [-img IMAGEFILE] [-D DISTRIBUTION]
[-R OSRELEASE] [-c] [-qc File-Path OR In-Line] [-v]
name
positional arguments:
name OSImage Name
options:
-h, --help show this help message and exit
-gf, --grab_filesystems
Grab Filesystems
-qgf File-Path OR In-Line, --quick-grab_filesystems File-Path OR In-Line
Grab Filesystems File-Path OR In-Line
-ge, --grab_exclude Grab Excludes
-qge File-Path OR In-Line, --quick-grab_exclude File-Path OR In-Line
Grab Excludes File-Path OR In-Line
-rd INITRDFILE, --initrdfile INITRDFILE
INIT RD File
-k KERNELFILE, --kernelfile KERNELFILE
Kernel File
-m KERNELMODULES, --kernelmodules KERNELMODULES
Kernel Modules
-o, --kerneloptions Kernel Options
-qo File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-ver KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-p PATH, --path PATH Path of image
-img IMAGEFILE, --imagefile IMAGEFILE
Imagefile UUID
-D DISTRIBUTION, --distribution DISTRIBUTION
Distribution
-R OSRELEASE, --osrelease OSRELEASE
OS 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] [-gf] [-qgf File-Path OR In-Line] [-ge]
[-qge File-Path OR In-Line] [-rd INITRDFILE]
[-k KERNELFILE] [-m KERNELMODULES] [-o]
[-qo File-Path OR In-Line] [-ver KERNELVERSION]
[-p PATH] [-img IMAGEFILE] [-D DISTRIBUTION]
[-R 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
-gf, --grab_filesystems
Grab Filesystems
-qgf File-Path OR In-Line, --quick-grab_filesystems File-Path OR In-Line
Grab Filesystems File-Path OR In-Line
-ge, --grab_exclude Grab Excludes
-qge File-Path OR In-Line, --quick-grab_exclude File-Path OR In-Line
Grab Excludes File-Path OR In-Line
-rd INITRDFILE, --initrdfile INITRDFILE
INIT RD File
-k KERNELFILE, --kernelfile KERNELFILE
Kernel File
-m KERNELMODULES, --kernelmodules KERNELMODULES
Kernel Modules
-o, --kerneloptions Kernel Options
-qo File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-ver KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-p PATH, --path PATH Path of image
-img IMAGEFILE, --imagefile IMAGEFILE
Imagefile UUID
-D DISTRIBUTION, --distribution DISTRIBUTION
Distribution
-R OSRELEASE, --osrelease OSRELEASE
OS 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 OS Image Tag
luna osimage clone
usage: luna osimage clone [-h] [-gf] [-qgf File-Path OR In-Line] [-ge]
[-qge File-Path OR In-Line] [-rd INITRDFILE]
[-k KERNELFILE] [-m KERNELMODULES] [-o]
[-qo File-Path OR In-Line] [-ver KERNELVERSION]
[-p PATH] [-img IMAGEFILE] [-D DISTRIBUTION]
[-R OSRELEASE] [-c] [-qc File-Path OR In-Line] [-v]
[-t TAG] [-nc] [-b]
name newosimage
positional arguments:
name OSImage Name
newosimage New OSImage Name
options:
-h, --help show this help message and exit
-gf, --grab_filesystems
Grab Filesystems
-qgf File-Path OR In-Line, --quick-grab_filesystems File-Path OR In-Line
Grab Filesystems File-Path OR In-Line
-ge, --grab_exclude Grab Excludes
-qge File-Path OR In-Line, --quick-grab_exclude File-Path OR In-Line
Grab Excludes File-Path OR In-Line
-rd INITRDFILE, --initrdfile INITRDFILE
INIT RD File
-k KERNELFILE, --kernelfile KERNELFILE
Kernel File
-m KERNELMODULES, --kernelmodules KERNELMODULES
Kernel Modules
-o, --kerneloptions Kernel Options
-qo File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-ver KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-p PATH, --path PATH Path of image
-img IMAGEFILE, --imagefile IMAGEFILE
Imagefile UUID
-D DISTRIBUTION, --distribution DISTRIBUTION
Distribution
-R OSRELEASE, --osrelease OSRELEASE
OS 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 OS Image Tag
-nc, --nocopy No Copy OS Image
-b, --bare Bare OS Image(Exclude 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 OS Image
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 OS Image
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
luna osimage kernel
usage: luna osimage kernel [-h] [-rd INITRDFILE] [-k KERNELFILE]
[-ver KERNELVERSION] [-b] [-v]
name
positional arguments:
name Name of the OS Image
options:
-h, --help show this help message and exit
-rd INITRDFILE, --initrdfile INITRDFILE
INIT RD File
-k KERNELFILE, --kernelfile KERNELFILE
Kernel File
-ver KERNELVERSION, --kernelversion KERNELVERSION
Kernel Version
-b, --bare Bare OS Image(Exclude 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 a OS Image Tag
change Change a OS Image Tag
remove Delete a OS Image 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]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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] [-uid USERID] [-u USERNAME] [-p PASSWORD]
[-nt NETCHANNEL] [-mt MGMTCHANNEL]
[-ubu UNMANAGED_BMC_USERS] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name BMC Setup Name
options:
-h, --help show this help message and exit
-uid USERID, --userid USERID
UserID
-u USERNAME, --username USERNAME
Username
-p PASSWORD, --password PASSWORD
Password
-nt NETCHANNEL, --netchannel NETCHANNEL
Network Channel
-mt MGMTCHANNEL, --mgmtchannel MGMTCHANNEL
Management Channel
-ubu 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
-v, --verbose Verbose Mode
luna bmcsetup change
usage: luna bmcsetup change [-h] [-uid USERID] [-u USERNAME] [-p PASSWORD]
[-nt NETCHANNEL] [-mt MGMTCHANNEL]
[-ubu UNMANAGED_BMC_USERS] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name BMC Setup Name
options:
-h, --help show this help message and exit
-uid USERID, --userid USERID
UserID
-u USERNAME, --username USERNAME
Username
-p PASSWORD, --password PASSWORD
Password
-nt NETCHANNEL, --netchannel NETCHANNEL
Network Channel
-mt MGMTCHANNEL, --mgmtchannel MGMTCHANNEL
Management Channel
-ubu 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
-v, --verbose Verbose Mode
luna bmcsetup clone
usage: luna bmcsetup clone [-h] [-uid USERID] [-u USERNAME] [-p PASSWORD]
[-nt NETCHANNEL] [-mt MGMTCHANNEL]
[-ubu UNMANAGED_BMC_USERS] [-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
-uid USERID, --userid USERID
UserID
-u USERNAME, --username USERNAME
Username
-p PASSWORD, --password PASSWORD
Password
-nt NETCHANNEL, --netchannel NETCHANNEL
Network Channel
-mt MGMTCHANNEL, --mgmtchannel MGMTCHANNEL
Management Channel
-ubu 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
-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 switch
luna switch list
usage: luna switch list [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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] [-N NETWORK] [-ip IPADDRESS] [-m MACADDRESS]
[-r READ] [-w RW] [-o OID] [-u UPLINKPORTS]
[-vd VENDOR] [-c] [-nn] [-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Switch Name
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network
-ip 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
-vd VENDOR, --vendor VENDOR
Add Switch Vendor Name
-c, --comment Comment
-nn, --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 switch change
usage: luna switch change [-h] [-N NETWORK] [-ip IPADDRESS] [-m MACADDRESS]
[-r READ] [-w RW] [-o OID] [-u UPLINKPORTS]
[-vd VENDOR] [-c] [-nn] [-qc File-Path OR In-Line]
[-v]
name
positional arguments:
name Switch Name
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network
-ip 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
-vd VENDOR, --vendor VENDOR
Change Switch Vendor Name
-c, --comment Comment
-nn, --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 switch clone
usage: luna switch clone [-h] [-N NETWORK] [-ip IPADDRESS] [-m MACADDRESS]
[-r READ] [-w RW] [-o OID] [-u UPLINKPORTS]
[-vd VENDOR] [-c] [-qc File-Path OR In-Line] [-v]
name newswitchname
positional arguments:
name Switch Name
newswitchname New Switch Name
options:
-h, --help show this help message and exit
-N NETWORK, --network NETWORK
Network
-ip 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
-vd VENDOR, --vendor VENDOR
Clone Switch 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 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 otherdev
luna otherdev list
usage: luna otherdev list [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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] [-ip IPADDRESS] [-m MACADDRESS]
[-vd VENDOR] [-c] [-nn] [-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
-ip IPADDRESS, --ipaddress IPADDRESS
IP Address
-m MACADDRESS, --macaddress MACADDRESS
MAC Address
-vd VENDOR, --vendor VENDOR
Add Other Device Vendor Name
-c, --comment Comment
-nn, --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] [-ip IPADDRESS] [-m MACADDRESS]
[-vd VENDOR] [-c] [-nn] [-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
-ip IPADDRESS, --ipaddress IPADDRESS
IP Address
-m MACADDRESS, --macaddress MACADDRESS
MAC Address
-vd VENDOR, --vendor VENDOR
Change Other Device Vendor Name
-c, --comment Comment
-nn, --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] [-ip IPADDRESS] [-m MACADDRESS]
[-vd 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
-ip IPADDRESS, --ipaddress IPADDRESS
IP Address
-m MACADDRESS, --macaddress MACADDRESS
MAC Address
-vd VENDOR, --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]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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 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] [-b {y,yes,n,no,''}] [-o OSIMAGE] [-ot OSIMAGETAG]
[-ko] [-qko File-Path OR In-Line] [-bmc BMCSETUPNAME]
[-D DOMAIN] [-r ROLES] [-scr SCRIPTS] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line] [-pi PROVISION_INTERFACE]
[-pm PROVISION_METHOD] [-fb PROVISION_FALLBACK]
[-nb {y,yes,n,no,''}] [-bm {y,yes,n,no,''}]
[-ubu UNMANAGED_BMC_USERS] [-if INTERFACE] [-N NETWORK]
[-vlan VLANID] [-O] [-qo File-Path OR In-Line] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-b {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-o OSIMAGE, --osimage OSIMAGE
OS Image Name
-ot OSIMAGETAG, --osimagetag OSIMAGETAG
OS Image Tag
-ko, --kerneloptions Kernel Options
-qko File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-bmc BMCSETUPNAME, --bmcsetupname BMCSETUPNAME
BMC Setup Name
-D DOMAIN, --domain DOMAIN
Domain Name
-r ROLES, --roles ROLES
Roles
-scr SCRIPTS, --scripts SCRIPTS
Scripts
-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
-pi PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Provision Interface
-pm PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-fb PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Network Boot
-bm {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Boot Menu
-ubu UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-if INTERFACE, --interface INTERFACE
Interface Name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-vlan VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
-O, --options Interfaces Options. * 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
luna group change
usage: luna group change [-h] [-b {y,yes,n,no,''}] [-o OSIMAGE]
[-ot OSIMAGETAG] [-ko] [-qko File-Path OR In-Line]
[-bmc BMCSETUPNAME] [-D DOMAIN] [-r ROLES]
[-scr SCRIPTS] [-pre] [-qpre File-Path OR In-Line]
[-part] [-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[-pi PROVISION_INTERFACE] [-pm PROVISION_METHOD]
[-fb PROVISION_FALLBACK] [-nb {y,yes,n,no,''}]
[-bm {y,yes,n,no,''}] [-ubu UNMANAGED_BMC_USERS]
[-if INTERFACE] [-N NETWORK] [-vlan VLANID] [-O]
[-qo File-Path OR In-Line] [-c]
[-qc File-Path OR In-Line] [-v]
name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-b {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-o OSIMAGE, --osimage OSIMAGE
OS Image Name
-ot OSIMAGETAG, --osimagetag OSIMAGETAG
OS Image Tag
-ko, --kerneloptions Kernel Options
-qko File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-bmc BMCSETUPNAME, --bmcsetupname BMCSETUPNAME
BMC Setup Name
-D DOMAIN, --domain DOMAIN
Domain Name
-r ROLES, --roles ROLES
Roles
-scr SCRIPTS, --scripts SCRIPTS
Scripts
-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
-pi PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Provision Interface
-pm PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-fb PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Network Boot
-bm {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Boot Menu
-ubu UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-if INTERFACE, --interface INTERFACE
Interface Name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-vlan VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
-O, --options Interfaces Options. * 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
luna group clone
usage: luna group clone [-h] [-b {y,yes,n,no,''}] [-o OSIMAGE]
[-ot OSIMAGETAG] [-ko] [-qko File-Path OR In-Line]
[-bmc BMCSETUPNAME] [-D DOMAIN] [-r ROLES]
[-scr SCRIPTS] [-pre] [-qpre File-Path OR In-Line]
[-part] [-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[-pi PROVISION_INTERFACE] [-pm PROVISION_METHOD]
[-fb PROVISION_FALLBACK] [-nb {y,yes,n,no,''}]
[-bm {y,yes,n,no,''}] [-ubu UNMANAGED_BMC_USERS]
[-if INTERFACE] [-N NETWORK] [-vlan VLANID] [-O]
[-qo File-Path OR In-Line] [-c]
[-qc File-Path OR In-Line] [-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
-b {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-o OSIMAGE, --osimage OSIMAGE
OS Image Name
-ot OSIMAGETAG, --osimagetag OSIMAGETAG
OS Image Tag
-ko, --kerneloptions Kernel Options
-qko File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-bmc BMCSETUPNAME, --bmcsetupname BMCSETUPNAME
BMC Setup Name
-D DOMAIN, --domain DOMAIN
Domain Name
-r ROLES, --roles ROLES
Roles
-scr SCRIPTS, --scripts SCRIPTS
Scripts
-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
-pi PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Provision Interface
-pm PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-fb PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Network Boot
-bm {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Boot Menu
-ubu UNMANAGED_BMC_USERS, --unmanaged_bmc_users UNMANAGED_BMC_USERS
Unmanaged BMC Users
-if INTERFACE, --interface INTERFACE
Interface Name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-vlan VLANID, --vlanid VLANID
Interface VLAN ID. * Interface is Required.
-O, --options Interfaces Options. * 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
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] [-no] [-v] name
positional arguments:
name Name of the Group
options:
-h, --help show this help message and exit
-o OSIMAGE, --osimage OSIMAGE
OS Image Name
-no, --nodry No Dry flag to avoid 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] [-N NETWORK] [-vlan VLANID] [-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
-N NETWORK, --network NETWORK
Network Name
-vlan VLANID, --vlanid VLANID
VLAN ID
-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 node
luna node list
usage: luna node list [-h] [-v] [-R]
options:
-h, --help show this help message and exit
-v, --verbose Verbose Mode
-R, --raw Raw JSON output
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] [-ot OSIMAGETAG] [-ko]
[-qko File-Path OR In-Line] [-b {y,yes,n,no,''}]
[-bmc BMCSETUP] [-sw SWITCH] [-sp SWITCHPORT] [-cl CLOUD]
[-r ROLES] [-scr SCRIPTS] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line] [-pi PROVISION_INTERFACE]
[-pm PROVISION_METHOD] [-fb PROVISION_FALLBACK]
[-nb {y,yes,n,no,''}] [-bm {y,yes,n,no,''}]
[-ser {y,yes,n,no,''}] [-s STATUS] [-tid TPM_UUID]
[-tkey TPM_PUBKEY] [-tsha TPM_SHA256]
[-ubu UNMANAGED_BMC_USERS] [-c]
[-qc File-Path OR In-Line] [-if INTERFACE] [-N NETWORK]
[-vlan VLANID] [-I IPADDRESS] [-M MACADDRESS] [-O]
[-qo File-Path OR In-Line] [-v]
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
OS Image Name
-ot OSIMAGETAG, --osimagetag OSIMAGETAG
OS Image Tag
-ko, --kerneloptions Kernel Options
-qko File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-b {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-bmc BMCSETUP, --bmcsetup BMCSETUP
BMC Setup
-sw SWITCH, --switch SWITCH
Switch Name
-sp SWITCHPORT, --switchport SWITCHPORT
Switch Port
-cl CLOUD, --cloud CLOUD
Cloud Name
-r ROLES, --roles ROLES
Roles
-scr SCRIPTS, --scripts SCRIPTS
Scripts
-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
-pi PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Provision Interface
-pm PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-fb PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Network Boot
-bm {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Boot Menu
-ser {y,yes,n,no,''}, --service {y,yes,n,no,''}
Service
-s STATUS, --status STATUS
Status
-tid TPM_UUID, --tpm_uuid TPM_UUID
TPM UUID
-tkey TPM_PUBKEY, --tpm_pubkey TPM_PUBKEY
TPM Public Key
-tsha TPM_SHA256, --tpm_sha256 TPM_SHA256
TPM SHA256
-ubu 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 Name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-vlan VLANID, --vlanid VLANID
Interface VLAN ID. * 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.
-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
luna node change
usage: luna node change [-h] [-g GROUP] [-o OSIMAGE] [-ot OSIMAGETAG] [-ko]
[-qko File-Path OR In-Line] [-b {y,yes,n,no,''}]
[-bmc BMCSETUP] [-sw SWITCH] [-sp SWITCHPORT]
[-cl CLOUD] [-r ROLES] [-scr SCRIPTS] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line]
[-pi PROVISION_INTERFACE] [-pm PROVISION_METHOD]
[-fb PROVISION_FALLBACK] [-nb {y,yes,n,no,''}]
[-bm {y,yes,n,no,''}] [-ser {y,yes,n,no,''}]
[-s STATUS] [-tid TPM_UUID] [-tkey TPM_PUBKEY]
[-tsha TPM_SHA256] [-ubu UNMANAGED_BMC_USERS] [-c]
[-qc File-Path OR In-Line] [-if INTERFACE]
[-N NETWORK] [-vlan VLANID] [-I IPADDRESS]
[-M MACADDRESS] [-O] [-qo File-Path OR In-Line] [-v]
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
OS Image Name
-ot OSIMAGETAG, --osimagetag OSIMAGETAG
OS Image Tag
-ko, --kerneloptions Kernel Options
-qko File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-b {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-bmc BMCSETUP, --bmcsetup BMCSETUP
BMC Setup
-sw SWITCH, --switch SWITCH
Switch Name
-sp SWITCHPORT, --switchport SWITCHPORT
Switch Port
-cl CLOUD, --cloud CLOUD
Cloud Name
-r ROLES, --roles ROLES
Roles
-scr SCRIPTS, --scripts SCRIPTS
Scripts
-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
-pi PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Provision Interface
-pm PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-fb PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Network Boot
-bm {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Boot Menu
-ser {y,yes,n,no,''}, --service {y,yes,n,no,''}
Service
-s STATUS, --status STATUS
Status
-tid TPM_UUID, --tpm_uuid TPM_UUID
TPM UUID
-tkey TPM_PUBKEY, --tpm_pubkey TPM_PUBKEY
TPM Public Key
-tsha TPM_SHA256, --tpm_sha256 TPM_SHA256
TPM SHA256
-ubu 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 Name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-vlan VLANID, --vlanid VLANID
Interface VLAN ID. * 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.
-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
luna node clone
usage: luna node clone [-h] [-g GROUP] [-o OSIMAGE] [-ot OSIMAGETAG] [-ko]
[-qko File-Path OR In-Line] [-b {y,yes,n,no,''}]
[-bmc BMCSETUP] [-sw SWITCH] [-sp SWITCHPORT]
[-cl CLOUD] [-r ROLES] [-scr SCRIPTS] [-pre]
[-qpre File-Path OR In-Line] [-part]
[-qpart File-Path OR In-Line] [-post]
[-qpost File-Path OR In-Line] [-pi PROVISION_INTERFACE]
[-pm PROVISION_METHOD] [-fb PROVISION_FALLBACK]
[-nb {y,yes,n,no,''}] [-bm {y,yes,n,no,''}]
[-ser {y,yes,n,no,''}] [-s STATUS] [-tid TPM_UUID]
[-tkey TPM_PUBKEY] [-tsha TPM_SHA256]
[-ubu UNMANAGED_BMC_USERS] [-c]
[-qc File-Path OR In-Line] [-if INTERFACE] [-N NETWORK]
[-vlan VLANID] [-I IPADDRESS] [-M MACADDRESS] [-O]
[-qo File-Path OR In-Line] [-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
-g GROUP, --group GROUP
Group Name
-o OSIMAGE, --osimage OSIMAGE
OS Image Name
-ot OSIMAGETAG, --osimagetag OSIMAGETAG
OS Image Tag
-ko, --kerneloptions Kernel Options
-qko File-Path OR In-Line, --quick-kerneloptions File-Path OR In-Line
Kernel Options File-Path OR In-Line
-b {y,yes,n,no,''}, --setupbmc {y,yes,n,no,''}
BMC Setup
-bmc BMCSETUP, --bmcsetup BMCSETUP
BMC Setup
-sw SWITCH, --switch SWITCH
Switch Name
-sp SWITCHPORT, --switchport SWITCHPORT
Switch Port
-cl CLOUD, --cloud CLOUD
Cloud Name
-r ROLES, --roles ROLES
Roles
-scr SCRIPTS, --scripts SCRIPTS
Scripts
-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
-pi PROVISION_INTERFACE, --provision_interface PROVISION_INTERFACE
Provision Interface
-pm PROVISION_METHOD, --provision_method PROVISION_METHOD
Provision Method
-fb PROVISION_FALLBACK, --provision_fallback PROVISION_FALLBACK
Provision Fallback
-nb {y,yes,n,no,''}, --netboot {y,yes,n,no,''}
Network Boot
-bm {y,yes,n,no,''}, --bootmenu {y,yes,n,no,''}
Boot Menu
-ser {y,yes,n,no,''}, --service {y,yes,n,no,''}
Service
-s STATUS, --status STATUS
Status
-tid TPM_UUID, --tpm_uuid TPM_UUID
TPM UUID
-tkey TPM_PUBKEY, --tpm_pubkey TPM_PUBKEY
TPM Public Key
-tsha TPM_SHA256, --tpm_sha256 TPM_SHA256
TPM SHA256
-ubu 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 Name
-N NETWORK, --network NETWORK
Interface Network Name. * Interface is Required.
-vlan VLANID, --vlanid VLANID
Interface VLAN ID. * 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.
-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
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] [-no] [-v] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-o OSIMAGE, --osimage OSIMAGE
OS Image Name
-b, --bare Bare OS Image(Exclude Packing)
-no, --nodry No Dry flag to avoid dry run
-v, --verbose Verbose Mode
luna node ospush
usage: luna node ospush [-h] [-o OSIMAGE] [-no] [-v] name
positional arguments:
name Name of the Node
options:
-h, --help show this help message and exit
-o OSIMAGE, --osimage OSIMAGE
OS Image Name
-no, --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] [-vlan VLANID]
[-I IPADDRESS] [-M MACADDRESS] [-O]
[-qo File-Path OR In-Line] [-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
-N NETWORK, --network NETWORK
Network Name
-vlan VLANID, --vlanid VLANID
VLAN ID
-I IPADDRESS, --ipaddress IPADDRESS
IP Address
-M MACADDRESS, --macaddress MACADDRESS
MAC Address
-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 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 secrets
luna secrets list
usage: luna secrets list [-h] [-v] [-R] {node,group} ...
positional arguments:
{node,group}
node List Node 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,group} ...
positional arguments:
{node,group}
node Show Node Secrets
group Show Group Secrets
options:
-h, --help show this help message and exit
luna secrets add
usage: luna secrets add [-h] {node,group} ...
positional arguments:
{node,group}
node Add A Node Secrets
group Add A Group Secrets
options:
-h, --help show this help message and exit
luna secrets change
usage: luna secrets change [-h] {node,group} ...
positional arguments:
{node,group}
node Change Node Secrets
group Change Group Secrets
options:
-h, --help show this help message and exit
luna secrets clone
usage: luna secrets clone [-h] {node,group} ...
positional arguments:
{node,group}
node Clone Node Secrets
group Clone Group Secrets
options:
-h, --help show this help message and exit
luna secrets remove
usage: luna secrets remove [-h] {node,group} ...
positional arguments:
{node,group}
node Remove Node Secrets
group Remove Group Secrets
options:
-h, --help show this help message and exit
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 service luna2
usage: luna service luna2 [-h] {start,stop,restart,reload,status} ...
positional arguments:
{start,stop,restart,reload,status}
start Start LUNA2 Service
stop Stop LUNA2 Service
restart Restart LUNA2 Service
reload Reload LUNA2 Service
status Status LUNA2 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 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