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:
@@ -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):
|
||||
|
@@ -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):
|
||||
|
@@ -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):
|
||||
|
Reference in New Issue
Block a user