Project

General

Profile

Actions

Bug #6058

closed

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

Added by Magnus Hedemark almost 7 years ago. Updated almost 7 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:

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

Also available in: Atom PDF