History | View | Annotate | Download (2.9 kB)
Switch to ClientType as identifier
...instead of Either String JobId.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Petr Pudlak <pudlak@google.com>
Make locks field use live data
So far, the description of the locks fields was made under the assumptionthat lock queries wouldn't be answered by Luxid anyway, and hence it wasenough to parse such requests. However, now luxid will answer these queriesafter getting a snapshot of the locks status from wconfd. Hence make the fields...
Make use of fieldListToFieldMap
...to avoid duplicating that code all over Ganeti.Query.
Provide fields for lock queries
For luxid to be feature-complete with respect to masterd, italso needs to answer requests about locks. This includes knowingthe fields available for locks.