Actions
Bug #10193
closedhammer discovery list command should show the correct subnet value
Difficulty:
Triaged:
Bugzilla link:
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:
Updated by Ori Rabin almost 8 years ago
- Category changed from Hammer CLI to Discovery plugin
- Status changed from New to Assigned
- Assignee set to Ori Rabin
The api needs to change subnet_name to include the network.
Updated by The Foreman Bot almost 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/319 added
Updated by Ori Rabin almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|1813576ccf21cefda3e7228622b156dffc547e4e.
Actions