-
Notifications
You must be signed in to change notification settings - Fork 74
add firmware
stack add firmware {version} [hash=string] [hash_alg=string] [hosts=string] [imp=string] [make=string] [model=string] [source=string]
Adds a firmware image to stacki.
-
[version]
The firmware version being added. This must be unique for make + model.
-
{hash=string}
-
{hash_alg=string}
-
{hosts=string}
-
{imp=string}
-
{make=string}
-
{model=string}
-
{source=string}
The URL or local file path pointing to where to retrieve the firmware image.
-
stack add firmware 3.6.5002 source=/export/some/path/img-3.6.5002.img make=Mellanox model=m7800 imp=mellanox_m7800
Fetches the firmware file from the source (a local file on the front end in /export/some/path), associates it with the Mellanox make and 7800 model, and sets the version to 3.6.5002, and adds it to be tracked in the stacki database.
-
stack add firmware 3.6.5002 source=http://www.your-sweet-site.com/firmware/mellanox/img-3.6.5002.img make=Mellanox model=m7800 imp=mellanox_m7800
This performs the same steps as the previous example except the image is fetched via HTTP.
-
stack add firmware 3.6.5002 source=http://www.your-sweet-site.com/firmware/mellanox/img-3.6.5002.img make=Mellanox model=m7800 hosts=switch-0-1,switch-0-2
This performs the same steps as the previous example except the firmware gets associated with the hosts named switch-0-1 and switch-0-2.
-
stack add firmware 3.6.5002 source=http://www.your-sweet-site.com/firmware/mellanox/img-3.6.5002.img make=Mellanox model=m7800 hosts=a:switch
This performs the same steps as the previous example except the firmware gets associated with all hosts that are of the appliance switch type.
-
stack add firmware 1.2.3.4 source=/export/some/path/my-file make=new_make model=new_model imp=new_imp
Assuming that the make, model, and implementation do no already exist, this adds a new firmware version 1.2.3.4 associated with new_make and new_model that will use new_imp to read and write to mapped hosts.
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