Skip to content

Support for non-global clients #48

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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