Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #16080 - Improved subscription list call #441

Merged
merged 1 commit into from
Aug 25, 2016

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Aug 12, 2016

Improved hammer subscription list call to now show a few things

Added a column for Subscription Type

  • Physical
  • Virtual
  • Guest of
  • Improved formatiing of End Date
  • Removed duplicated columns Quantity and Consumed

@parthaa
Copy link
Contributor Author

parthaa commented Aug 12, 2016

$  hammer subscription list --organization-id=7
---|----------------------------------|-----------------------------------------------------------------------|----------------------------------------------------------|----------|---------|--------------|---------------------|-----------|---------
ID | UUID                             | NAME                                                                  | TYPE                                                     | CONTRACT | ACCOUNT | SUPPORT      | END DATE            | QUANTITY  | CONSUMED
---|----------------------------------|-----------------------------------------------------------------------|----------------------------------------------------------|----------|---------|--------------|---------------------|-----------|---------

21 | 8a8880165676677b01567xxxx06902c7 | High Availability for Unlimited Guests                                | Physical                                                 | 10111159 | 5111173 | Layered      | 2017/06/22 03:59:59 | 4         | 0       
19 | 8a8880165676677b01567xxx50a102f9 | Red Hat Enterprise Linux for Virtual Datacenters, Standard            | Physical                                                 | 10111110 | 5111173 | Standard     | 2017/06/20 03:59:59 | 1         | 0       
31 | 8a8880165676677b01567xxx6886036f | Red Hat Enterprise Linux for Virtual Datacenters, Premium             | Guests of virt-who-sat-r220-09.lab.eng.rdu2.redhat.com-7 | 10111116 | 5111173 | Premium      | 2017/06/20 03:59:59 | Unlimited | 0       
---|----------------------------------|-----------------------------------------------------------------------|----------------------------------------------------------|----------|---------|--------------|---------------------|-----------|---------

@parthaa parthaa force-pushed the subs branch 2 times, most recently from 8b14a5a to 3d3c7a8 Compare August 12, 2016 18:48
Improved hammer subscription list call to now show a few things

a) Subscription Type
* Physical
* Virtual
* Guest of <host>
b) Improved formatiing of End Date
c) Removed duplicated columns Quantity and Consumed
@zjhuntin
Copy link
Member

ACK! This works great, thanks @parthaa!

@zjhuntin zjhuntin merged commit f3e5a8d into Katello:master Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants