Clean up list output for device, vnf and vnfd

* Added list_columns to the List classes for Device, VNF and VNFD

Change-Id: Ib3af30f01a522c6dfbfaa3412f1e1097976e7818
This commit is contained in:
Bob HADDLETON
2015-07-07 15:58:05 -05:00
parent 85598f7855
commit 5cd50a83f1
3 changed files with 3 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ class ListDevice(tackerV10.ListCommand):
"""List device that belong to a given tenant."""
resource = _DEVICE
list_columns = ['id', 'name', 'description', 'mgmt_url', 'status']
class ShowDevice(tackerV10.ShowCommand):

View File

@@ -29,6 +29,7 @@ class ListVNF(tackerV10.ListCommand):
"""List device that belong to a given tenant."""
resource = _VNF
list_columns = ['id', 'name', 'description', 'mgmt_url', 'status']
class ShowVNF(tackerV10.ShowCommand):

View File

@@ -29,6 +29,7 @@ class ListVNFD(tackerV10.ListCommand):
"""List VNFD that belong to a given tenant."""
resource = _VNFD
list_columns = ['id', 'name', 'description', 'infra_driver', 'mgmt_driver']
class ShowVNFD(tackerV10.ShowCommand):