Skip to content

Rewrite solution activate in python #2468

Open
@TeddyAndrieux

Description

@TeddyAndrieux

Component:

'salt', 'cli', 'solutions'

Why this is needed:

Centralized CLI

What should be done:

MetalK8s solution activate command should be part of metalk8sctl python CLI

metalk8sctl solution activate <name> --version <version>

Version is not mandatory, if not provided then we use the latest one.

Implementation proposal (strongly recommended):

This command will have the same behavior as the current activate command from the solution bash script.

Except that it will be written in Python and should not use salt binaries at all, only interact directly with Salt using Python library (check design documentation about Centralized CLI for more detail).

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:mediumSomething that requires one or few days to fixkind:enhancementNew feature or requestpriority:mediumMedium priority issues, should only be postponed if no other optiontopic:CLICLI-related issuestopic:solutionsAnything related to external "Solutions" integration with the platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions