-
Notifications
You must be signed in to change notification settings - Fork 18
Support SUT customizations via plugins #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Define ComChannel class for communication channels implementations which will be SSH, LTX, shell, Qemu, etc. Signed-off-by: Andrea Cervesato <[email protected]> com: handle ComChannel plugins via libkirk.com Signed-off-by: Andrea Cervesato <[email protected]>
a2173e5 to
6024c5c
Compare
metan-ucw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add my Reviewed-by: Cyril Hrubis [email protected]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be removed from the patch that adds ssh COM, or is there a reason to remove it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that. Probably I messed up with rebase...need to fix it
Create channels folder and add shell implementation in there. Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Add clone() method to Plugin API and extend it to the plugins implementations. Add libkirk.com.clone_channel() to follow this pattern and to clone new channels inside the application. Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
This patche-set introduces new API for the
SUTinterface as well as a newComChannelclass, that is our new API for protocols communication (for example, SSH, shell, LTX, Qemu, etc).With this patch-set it's possible to create new customized
SUTwhich needs more protocols to run at the same time for setting up, for example, hardware, remote controllers, etc. Kirk will take care of discovering new implementations via the--pluginsoption and it will assign any channel configuration via--comoption.With the
--comoption it will be possible to define up to 128 communication channels per session, where each one of them will have a special assignedidthat can be used to recognize our channels inside theSUTvialibkirk.com.get_channels()API.In short, this patch-set permits to instantiate multiple communication channels (aka protocols) per
SUT, providing a simple interface to the user that will be able to customize kirk for their own scenarios.Please take a look at the new documentation under
doc/developers/plugins.rst.Reviewed-by: Cyril Hrubis [email protected]
Signed-off-by: Andrea Cervesato [email protected]