Project

General

Profile

Actions

Bug #6058

closed

ipadm doesn't accept "ALL" as valid field name

Added by Magnus Hedemark over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
networking
Start date:
2015-07-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

From ipadm(1m):

           The -p option (also --parsable) prints the output in a parsable
           format.

           The -o option (also --output) is used to select which fields will
           be shown.  The field value can be one of the following names:

               ALL
                   Display all fields

On OmniOS r151014:

root@dogface:/root# ipadm show-if -p -o ALL
ipadm: no valid output fields
root@dogface:/root#

But it does work if I enumerate every individual field that I'd expect to see in ALL:

root@dogface:/root# ipadm show-if -p -o IFNAME,STATE,CURRENT,PERSISTENT
lo0:ok:-m-v------46:---
bge0:ok:bm--------46:-46
vnic4:ok:bm--------4-:---
vnic10:ok:bm--------46:-46
root@dogface:/root#

Actions #1

Updated by Yuri Pankov over 8 years ago

  • Subject changed from "ipadm show-if -p -o ALL" returns ipadm: no valid output fields to ipadm doesn't accept "ALL" as valid field name
  • Difficulty changed from Medium to Bite-size
  • Tags deleted (needs-triage)

This is true for all "show-" sub-commands, which should accept "ALL" as valid field name according to ipadm(1M).

Actions #2

Updated by Electric Monk over 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 7bbc5723436be52a39f5c04d60cc236082c52d5a

commit  7bbc5723436be52a39f5c04d60cc236082c52d5a
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2015-07-30T20:57:56.000Z

    6058 ipadm doesn't accept "ALL" as valid field name
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF