Include parent_id by default in devices

The whole point of devices is to be able to see
a parent of a device. So this patch includes parent id
in the default fields to display for all device-list
commands.

Change-Id: I797ac42adae9b8c5afae5710741dcd8fee68d4c3
This commit is contained in:
Sulochan Acharya 2017-03-06 11:25:28 +00:00
parent 69c747df3b
commit fb30967d93

@ -23,11 +23,11 @@ DEFAULT_DEVICE_FIELDS = [
'cloud_id',
'region_id',
'cell_id',
'parent_id',
]
DEVICE_FIELDS = DEFAULT_DEVICE_FIELDS + [
'parent_id',
'note',
'created_at',
'updated_at',