Feature #4387
closedneed way to show organization associations
Description
For each of the associated resources (the ones with add_/remove_ commands), it would also be helpful to have a method for listing the current associations.
hammer organization computeresources
or
hammer organization info computeresources
or
hammer organization info --computeresources
Usage:
hammer organization [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
add_computeresource Associate a resource
add_configtemplate Associate a resource
add_domain Associate a resource
add_environment Associate a resource
add_hostgroup Associate a resource
add_medium Associate a resource
add_smartproxy Associate a resource
add_subnet Associate a resource
add_user Associate a resource
create Create organization
delete Delete an organization
info Show organization
list List all :resource_id
remove_computeresource Disassociate a resource
remove_configtemplate Disassociate a resource
remove_domain Disassociate a resource
remove_environment Disassociate a resource
remove_hostgroup Disassociate a resource
remove_medium Disassociate a resource
remove_smartproxy Disassociate a resource
remove_subnet Disassociate a resource
remove_user Disassociate a resource
update Update organization
Updated by Thomas McKay almost 11 years ago
- Category set to Foreman commands (obsolete)
Updated by Thomas McKay over 10 years ago
- Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1103866
Updated by Dominic Cleal over 10 years ago
- Related to Feature #2843: Listing associated resources for locations and orgs added
Updated by Tomáš Strachota about 9 years ago
- Target version set to hammer-cli 0.6.0
Updated by Tomáš Strachota almost 9 years ago
- Target version changed from hammer-cli 0.6.0 to hammer-cli 0.7.0
Updated by Tomáš Strachota over 7 years ago
- Target version deleted (
hammer-cli 0.7.0)
Updated by Tomáš Strachota over 6 years ago
- Category changed from Foreman commands (obsolete) to Organizations and locations
Updated by yifat makias almost 5 years ago
- Status changed from New to Closed
This is already possible.
for example in order to see all associated compute resources you can run:
hammer organization info --id 1 --fields 'Compute resources'
there are more fields to see in the --help.