Project

General

Profile

Actions

Bug #10193

closed

hammer discovery list command should show the correct subnet value

Added by Bryan Kearney over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1201731
Description of problem:

# hammer --username admin --password changeme discovery list
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
---|-----------------|-------------------|---------------------|------|--------|------------|------------|---------|--------------------
ID | NAME            | MAC               | LAST REPORT         | CPUS | MEMORY | DISK COUNT | DISKS SIZE | SUBNET  | LAST REPORT        
---|-----------------|-------------------|---------------------|------|--------|------------|------------|---------|--------------------
2  | mac525400e0e8ab | 52:54:00:e0:e8:ab | 2015/03/13 03:58:44 | 1    | 995    | 1          | 8192       | libvirt | 2015/03/13 03:58:44
---|-----------------|-------------------|---------------------|------|--------|------------|------------|---------|--------------------

Here subnet column displays 'libvirt', it should show actual subnet too like in UI: libvirt (192.168.100.0/24)

Version-Release number of selected component (if applicable):
sat6.1 beta snap6 compose2
Satellite-6.1.0-RHEL-6-20150311.1/

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
Missing subnet in discovery list cmd.

Expected results:
Subnet column displays 'libvirt', it should show actual subnet too like in UI: libvirt (192.168.100.0/24)

Additional info:

Actions

Also available in: Atom PDF