Project

General

Profile

Actions

Feature #26980

closed

add possibiliy to add multiple subscriptions in activation key

Added by Patrick Thyen over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Other commands
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

command used:
"hammer activation-key add-subscription"
When using hammer and adding subscriptions, you have to add every subscription step by step.
It would be nice, if you have the possibility to add multiple subscriptions (like you have in the foreman gui by just selecting multiple checkboxes)

It would be also nice, if you can select not only IDs but also the name of your possible subscription.

Example:

hammer activation-key add-subscription -h
Usage:
hammer activation-key add-subscription [OPTIONS]

Options:
--id ID ID of the activation key
--name NAME Activation key name to search by
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
--quantity QUANTITY Quantity of this subscription to add
--subscription-id SUBSCRIPTION_ID ID of subscription
-h, --help Print help

add:
--subscription-ids SUBSCRIPTION_IDs ID List of subscriptions
--subscription-name SUBSCRIPTION_NAME Name of subscription
--subscription-names SUBSCRIPTION_NAME Name List of subscriptions

Actions #1

Updated by Oleh Fedorenko over 5 years ago

  • Category set to Other commands
  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Triaged changed from No to Yes
Actions #2

Updated by Oleh Fedorenko over 5 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/650 added
Actions #3

Updated by Oleh Fedorenko over 5 years ago

  • Status changed from Assigned to Ready For Testing
Actions #4

Updated by Oleh Fedorenko over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF