-
Notifications
You must be signed in to change notification settings - Fork 74
add firmware version_regex
stack add firmware version_regex {regex} [description=string] [make=string] [models=string] [name=string]
Adds a firmware version regex to the stacki database for use in parsing and validating firmware version numbers.
-
[regex]
A valid Python regex to use to use against the version number returned from the target hardware.
-
{description=string}
-
{make=string}
-
{models=string}
-
{name=string}
The human readable name for this regex.
-
stack add firmware version_regex '(?:\d+\.){2}\d+' name=mellanox_version make=mellanox model='m7800, m6036' description='This turns X86_64 3.6.5009 2018-01-02 07:42:21 x86_64 into 3.6.5009.'
Adds a regex with the name mellanox_version and the description provided that looks for three number groups separated by dots to the Stacki database. It also associates the regex with the m7800 and m6036 models for the mellanox make.
Checkout our Google Group or our Slack Team for any support or other questions.
Want to contribute to this Wiki? Fork it and send a pull request.
-
add
- add api blacklist command
- add api group
- add api group perms
- add api sudo command
- add api user
- add api user group
- add api user perms
- add appliance
- add appliance attr
- add appliance firewall
- add appliance route
- add appliance storage controller
- add appliance storage partition
- add attr
- add bootaction
- add box
- add cart
- add copyright
- add environment
- add environment attr
- add environment firewall
- add environment route
- add environment storage controller
- add environment storage partition
- add firewall
- add firmware
- add firmware imp
- add firmware make
- add firmware model
- add firmware version_regex
- add group
- add host
- add host attr
- add host bonded
- add host bridge
- add host firewall
- add host firmware mapping
- add host group
- add host interface
- add host interface alias
- add host key
- add host message
- add host partition
- add host route
- add host storage controller
- add host storage partition
- add network
- add os attr
- add os firewall
- add os route
- add os storage controller
- add os storage partition
- add pallet
- add pallet tag
- add route
- add storage controller
- add storage partition
- add switch host
- add switch partition
- add switch partition member
- compile
- config
- create
- disable
- dump
- enable
- help
- iterate
- list
- load
- pack
- remove
- report
- run
- set
- swap
- sync
- unload
- verify