hep-gc / dynafed_storagestats

Apache License 2.0
2 stars 2 forks source link

Avoid multiple queries for same Endpoint #44

Closed ffgalindo closed 6 years ago

ffgalindo commented 6 years ago

There are situations in which one endpoint (bucket and all) will/could be mounted multiple times in Dynafed. This will look like different ID's in the UGR's configuration files.

Since it is the same endpoint, the script should look for these duplicates, query only once and copy the information across them.

ffgalindo commented 6 years ago

Added new functions to deal when multiple configured endpoints share the same URL, making them actually a unique physical endpoint, to avoid multiple queries. Also added the ability to use the "-e flag" to specify a single endpoint from the CLI to check.

This is now on dev as version 0.11.0

ffgalindo commented 6 years ago

To do:

ffgalindo commented 6 years ago

Added logging info and also a check to keep any manually setup quotas for endpoints that share URL. v0.11.1 in dev.