Add service id to information printed by console client
Currently console client doesn't provide service id. Addition of this output gives user an opportunity to uniquely identify back ends with same names that are running on same host. Add service id to fields printed by service-list command (method do_service_list()) Required for bp manila/manage-shares Change-Id: I970aa97fa6856348fce2bc0b7f0be108b1ee6034
This commit is contained in:
parent
35fc635556
commit
50e8deee08
@ -1560,7 +1560,7 @@ def do_service_list(cs, args):
|
||||
'zone': args.zone,
|
||||
'state': args.state,
|
||||
}
|
||||
fields = ["Binary", "Host", "Zone", "Status", "State", "Updated_at"]
|
||||
fields = ["Id", "Binary", "Host", "Zone", "Status", "State", "Updated_at"]
|
||||
services = cs.services.list(search_opts=search_opts)
|
||||
utils.print_list(services, fields=fields)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user