indigo-dc / onedata

Indigo mirror of http://github.com/onedata/onedata
Apache License 2.0
1 stars 1 forks source link

how to check/visualize the oneproviders registered in a given onezone #10

Open mariojmdavid opened 7 years ago

mariojmdavid commented 7 years ago

where do we have to check which oneproviders are registered in a given onezone is this a new feature

I have tried to check the logs of onezone, but I see nothing related to this

bkryza commented 7 years ago

@mariojmdavid

You can use the REST API to get the list of provider ID's which are registered in the specific Onezone instance: https://onedata.org/docs/doc/advanced/rest/onezone/operations/get_providers.html

Then you can check for each ID the details of each provider: https://onedata.org/docs/doc/advanced/rest/onezone/operations/get_other_provider.html

So using command line and assuming you have administrator privileges to Onezone, here's an example:

# Get the list of provider ID's in JSON
$ curl -Ssk -u username:password -X GET  https://$HOST:8443/api/v3/onezone/providers

# Get details of specific provider by ID
$ curl -Ssk -u username:password -X GET https://$HOST:8443/api/v3/onezone/provider/<PROVIDER_ID>
mariojmdavid commented 7 years ago

even if not for now, could we have this displayed in the onezone admin view?

groundnuty commented 7 years ago

We will try to add it, there is a long list of such gui enhancements issues.

On Wed, Nov 2, 2016 at 1:11 PM, Mario David notifications@github.com wrote:

even if not for now, could we have this displayed in the onezone admin view?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/indigo-dc/onedata/issues/10#issuecomment-257847228, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOupugixqQo4P_4xHWzr3mit8OvZ_z_ks5q6H3mgaJpZM4KnA9A .