Bug 1328056 - [RFE] Ability to add/update realm using hammer
Summary: [RFE] Ability to add/update realm using hammer
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.1.8
Hardware: Unspecified
OS: Unspecified
high
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-18 10:26 UTC by Ranjan Kumar
Modified: 2020-09-10 09:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-10 16:41:54 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ranjan Kumar 2016-04-18 10:26:43 UTC
Description of problem: There is no hammer command to add/update realm.

Description of problem:
1. Who is the customer behind the request?  
Account: name and acct # Unacle B.V 1370669
  
TAM customer: no  
SRM customer: no  
Strategic: no  
  
2. What is the nature and description of the request?  
-->
Ability to add/update realm using hammer.
Currently there is no option to add/update realm using hammer
  
3. Why does the customer need this? (List the business requirements here)  
-->
It will be bit easy to customer to add realm using console
  
4. Is there already an existing RFE upstream or in Red Hat Bugzilla?  
-->
No
  
5. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?  
-->
Not specific
  
6. Is the sales team involved in this request and do they have any additional input?  
-->
No
  
7. Would the customer be able to assist in testing this functionality if implemented?
-->
Probably yes.

Comment 1 Bryan Kearney 2017-08-10 16:41:54 UTC
I show this command as existing in the satellite 6.3 code base. I am thereore closing this out as NEXTRELEASE.

[vagrant@sat63-qa-rhel7 ~]$ hammer realm --help
Usage:
    hammer realm [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    subcommand
 [ARG] ...                     subcommand arguments

Subcommands:
 create                        Create a realm
 delete                        Delete a realm
 info                          Show a realm
 list                          List of realms
 update                        Update a realm

Options:
 -h, --help                    print help

[vagrant@sat63-qa-rhel7 ~]$ hammer realm update --help
Usage:
    hammer realm update [OPTIONS]

Options:
 --id ID                              
 --location-ids LOCATION_IDS         REPLACE locations with given ids
                                     Comma separated list of values. Values containing comma should be double quoted
 --locations LOCATION_NAMES          Comma separated list of values. Values containing comma should be double quoted
 --name NAME                         Name to search by
 --new-name NEW_NAME                 The realm name, e.g. EXAMPLE.COM
 --organization-ids ORGANIZATION_IDS REPLACE organizations with given ids.
                                     Comma separated list of values. Values containing comma should be double quoted
 --organizations ORGANIZATION_NAMES  Comma separated list of values. Values containing comma should be double quoted
 --realm-proxy-id REALM_PROXY_ID     Capsule ID to use within this realm
 --realm-type REALM_TYPE             Realm type, e.g. Red Hat Identity Management or Active Directory
 -h, --help                          print help
[vagrant@sat63-qa-rhel7 ~]$


Note You need to log in before you can comment on or make changes to this bug.