Getting a list of storage elements with DMSHelpers
There isn't an easy way to get a list of storage elements filtered by VO they support. The DMSHelpers __init__() takes a VO parameter, however it is only used to access a VO specific section in Operations. The SEs are taken from Site description and then eventually from Resources (where the VO information is kept). Is it an intended functionality, that the VO is not taken into account when obtaining SEs ?
It is possible, of course get a whole list, get the relevant option out from Resources and search for a VO in question, but shouldn’t it be done in DMSHelpers ? There might be of course some code which relies on getting all SEs, regardless of the VO name passed in ...
@andresailer is best suited to comment on that, but I think the behavior you describe is correct, the VO should be taken into account.
Mind two things:
- There may indeed be places where we want all the SEs (maybe RSS ?)
- The behavior should of course remain the same for single VO