Project

General

Profile

Actions

Feature #4387

closed

need way to show organization associations

Added by Thomas McKay almost 11 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Organizations and locations
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Feature #2843: Listing associated resources for locations and orgsClosedActions
Actions #1

Updated by Thomas McKay almost 11 years ago

  • Category set to Foreman commands (obsolete)
Actions #2

Updated by Thomas McKay over 10 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1103866
Actions #3

Updated by Dominic Cleal over 10 years ago

  • Related to Feature #2843: Listing associated resources for locations and orgs added
Actions #4

Updated by Tomáš Strachota about 9 years ago

  • Target version set to hammer-cli 0.6.0
Actions #5

Updated by Tomáš Strachota almost 9 years ago

  • Target version changed from hammer-cli 0.6.0 to hammer-cli 0.7.0
Actions #6

Updated by Tomáš Strachota over 7 years ago

  • Target version deleted (hammer-cli 0.7.0)
Actions #7

Updated by Tomáš Strachota over 6 years ago

  • Category changed from Foreman commands (obsolete) to Organizations and locations
Actions #8

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.

Actions

Also available in: Atom PDF