diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-02-08 10:27:35 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-02-08 16:01:28 -0800 |
| commit | 9591fefeea4b475ee0d1387486a410bbb592b050 (patch) | |
| tree | 3afed33b724fa236597e013eeb641af66af43cfb /tests | |
| parent | f158c54a9830e6aef4f1e5a918da5860d2254616 (diff) | |
| download | openvswitch-9591fefeea4b475ee0d1387486a410bbb592b050.tar.gz | |
ovs-vsctl: Add --columns options to "list" command.
This allows the user to list just selected columns from a table,
for example just the "name" column.
This will become more useful as additional formatting options
are added in upcoming commits.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ovs-vsctl.at | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ovs-vsctl.at b/tests/ovs-vsctl.at index bb494502c..a6f0dbf7d 100644 --- a/tests/ovs-vsctl.at +++ b/tests/ovs-vsctl.at @@ -559,6 +559,13 @@ sflow : [] <0> ]], [ignore], [test ! -e pid || kill `cat pid`]) AT_CHECK( + [RUN_OVS_VSCTL([--columns=fail_mode,name,datapath_type list b])], + [0], + [[fail_mode : [] +name : "br0" +datapath_type : "" +]], [ignore], [test ! -e pid || kill `cat pid`]) +AT_CHECK( [RUN_OVS_VSCTL( [set bridge br0 \ 'other_config:datapath_id="0123456789ab"' \ |
