Hello,

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:
swift-ring-builder object.builder

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.

Sincerely,
Alexandr
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to