unable to set compute-resource's "Console passwords" option in API
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1100344
Description of problem:
I'm unable to set cumpute-resource's "Console passwords" option via hammer. Maybe it is there somewhere, but I can not find it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to find a way how to uncheck "Console passwords" checkbox bia hammer.
Using webUI that would be:
Infrastructure -> Compute Resources -> <your_compute_resource> [Edit] ->
-> Console passwords
I have not found it.
There should be a way to do so.
- hammer compute-resource -h
hammer compute-resource [OPTIONS] SUBCOMMAND [ARG] ...
[ARG] ... subcommand arguments
create Create a compute resource.
delete Delete a compute resource.
image View and manage compute resource's images
info Show an compute resource.
list List all compute resources.
update Update a compute resource.
-h, --help print help
- hammer compute-resource update -h
hammer compute-resource update [OPTIONS]
--name NAME Name to search by
--password PASSWORD Password for RHEV, EC2, Vmware, Openstack. Secret key for EC2
--provider PROVIDER Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE
--region REGION for EC2 only
--server SERVER for Vmware
--tenant TENANT for Openstack only
--url URL URL for Libvirt, RHEV, and Openstack
--user USER Username for RHEV, EC2, Vmware, Openstack. Access Key for EC2.
--uuid UUID for RHEV, Vmware Datacenter
-h, --help print hel
#1 Updated by Dominic Cleal about 8 years ago
- Category set to API
- Assignee deleted (
- Difficulty set to trivial
The 'set_console_password' attribute of the compute resource model is missing from the API docs in app/controllers/api/*/compute_resources_controller.rb, then this can be added in Hammer.
#7 Updated by Joseph Magen about 8 years ago
- Status changed from Assigned to Ready For Testing
documentation update only to tell user how to do it