Skip to content

Support for non-global clients #48

@davidgengenbach

Description

@davidgengenbach

As mentioned in the README, p4runtime-shell does not support controlling multiple switches at the same time.
Is there any work planned or interest to change that?

As far as I can see, the main change would be removing the dependence on the "singleton" instances: p4runtime_sh.shell.Client and p4runtime_sh.context.Context.

Since there is a lot of meta-programming involved (i.e., passing constructors around, creating class instances dynamically), this is not as straightforward as anticipated.

Apart from that: thanks for the library! Easy to use and apart from the single-switch limitation very useful.

Metadata

Metadata

Assignees

No one assigned

    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