Skip to content

Task: Add XTS CLI integration for centrally-managed device allocation commands #59

@Ulrond

Description

@Ulrond

Description

Integrate support for centrally-managed command definitions served from allocator servers. The XTS tool should load and execute commands from .xts files without namespace conflicts with built-in plugins.

Goals:

  • Enable users to register allocator commands via: xts alias add allocator http://server:5000/xts_allocator.xts
  • Support hierarchical command namespaces (e.g., xts allocator slots allocate)
  • Resolve conflicts between .xts file commands and built-in plugins
  • Allow command evolution without XTS client tool updates

Current Issues:

  • Namespace collision: .xts files with allocate commands conflict with built-in allocator plugin
  • Need proper command hierarchy support for aliased .xts files
  • Commands should be accessible under alias prefix (e.g., xts allocator ...)

Approach:

  • Fix yaml_runner command parsing to support nested namespaces under alias prefix
  • Prevent .xts file commands from colliding with built-in plugin commands
  • Ensure aliased commands are properly scoped and accessible

Benefits:

  • Central command management from servers
  • No XTS tool updates needed for new server features
  • Consistent CLI across different allocator/test servers

Notes

  • Related to xts_allocator_server integration
  • .xts file format already defined and working (served at /xts_allocator.xts)
  • Test server running at localhost:5000 for development/testing

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions