Add ID column to compute service list

This change adds the ID to the compute service list command so that the
ID can be leveraged by scripts trying to remove or update a specific
service.

Change-Id: I446b4c0071988133195eb2382313b3918b7ffa72
Closes-Bug: #1503430
This commit is contained in:
Alex Schultz 2015-10-06 15:59:50 -05:00
parent be1ee4181e
commit 80e3a2dedb

View File

@ -43,6 +43,7 @@ class ListService(lister.Lister):
self.log.debug("take_action(%s)", parsed_args) self.log.debug("take_action(%s)", parsed_args)
compute_client = self.app.client_manager.compute compute_client = self.app.client_manager.compute
columns = ( columns = (
"Id",
"Binary", "Binary",
"Host", "Host",
"Zone", "Zone",