You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(compute): migrate MachinePool driver_spec to KindModelSelectorType
- Replace free-form dict driver_spec with discriminated union of
LibvirtPoolDriverSpec, ExordosLocalHyperDriverSpec and
DummyPoolDriverSpec kind models
- Add ExordosLocalHyperDriverSpec extending LibvirtPoolDriverSpec
with required node field for local hypervisor support
- Register LocalPoolAgentDriver with local_pool capability
- Update LibvirtPoolDriver to accept LibvirtPoolDriverSpec subclasses
- Update DummyPoolDriver and MetaPool in agent driver to use typed spec
- Fix bootstrap code to use attribute access for connection_uri
- Remove obsolete driver_spec filter in scheduler (now always required)
- Add pool scheduling logic: exordos_local_hyper pools scheduled on
agents with matching node; regular pools exclude local agents
- Add migration to rename "driver" key to "kind" in existing data
and update updated_at to propagate changes to data plane
- Update test fixtures and tests to use new "kind" format
- Add unit tests for local/regular pool scheduling logic
Signed-off-by: Anton Kremenetsky <anton.kremenetsky@gmail.com>
0 commit comments