Project

General

Profile

Feature #27596

Show gateway address with 'hammer subnet list', either by default or as option

Added by Oleh Fedorenko 5 months ago. Updated 4 months ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1680053

Description of problem:
Currently it's not possible to also show the gateway address with 'hammer subnet list' - example output: # hammer subnet list
---|----------|--------------|---------------|--------
ID | NAME | NETWORK | MASK | VLAN ID
---|----------|--------------|---------------|--------
1 | net-int1 | 192.168.40.0 | 255.255.255.0 |
4 | net-dmz2 | 192.168.51.0 | 255.255.255.0 |
2 | net-int2 | 192.168.41.0 | 255.255.255.0 |
---|----------|--------------|---------------|--------

As reference, the gateway address is available with 'hammer subnet info': # hammer subnet info --id 1 | grep Gateway
Gateway: 192.168.40.1

Version-Release number of selected component (if applicable):
Satellite 6

Actual results:
It's not possible to show the gateway address with 'hammer subnet list'.

Expected results:
Also show the gateway address with 'hammer subnet list' by default, or as an option.

Additional info:
The following upstream RFE might be relevant:

Possibility to limit or add fields that are displayed
https://projects.theforeman.org/issues/19135

Associated revisions

Revision 00097e6d (diff)
Added by Yifat Makias 4 months ago

Fixes #27596 - Added gateway to subnet list

Revision 591c653a
Added by Shira Maximov 4 months ago

Merge pull request #444 from yifatmakias/27596

Fixes #27596 - Added gateway to subnet list

History

#1 Updated by Oleh Fedorenko 5 months ago

  • Triaged changed from No to Yes
  • Difficulty set to easy

#2 Updated by Martin Bacovsky 5 months ago

  • Team Backlog Hammer added

#3 Updated by yifat makias 4 months ago

  • Assignee set to yifat makias
  • Status changed from New to Assigned

#4 Updated by The Foreman Bot 4 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/444 added

#5 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases hammer-cli-foreman-0.19.0 added

#6 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF