[Openstack] [Swift] How to get a list of devices from the ring in Java / Bash?
alexandr.porunov at gmail.com
Fri Jan 27 19:21:45 UTC 2017
I need to get a list / array of devices in Java or Bash. Is it possible to
get? Are there any API or something like that?
I know we can obtain a list with the next command:
But it return a string with the list of devices which are quite hard to
parse. In the documentation there is an example how to get a list of
devices with python:
devices = list(self._iter_devs())
But it doesn't show which library to use to get a list of devices and how
to use that library.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack