Skip to content
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

loading of ModelPlugins from docker image #16

Merged
merged 1 commit into from
Feb 14, 2020
Merged

loading of ModelPlugins from docker image #16

merged 1 commit into from
Feb 14, 2020

Conversation

SeanCondon
Copy link
Contributor

@SeanCondon SeanCondon commented Feb 5, 2020

This provides a method for loading model plugins from Docker images as sidecars to onos-config

When the plugin container is loaded it copies its .so file to a shared folder where onos-config can access it as a file and load it with -modelPlugin.

This is the recommended way of sharing files between sidecar containers. See https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/

Currently I am generating the model plugin Docker image in onosproject/config-models#1
but this creates a model plugin that's incompatible with onos-config. I will fix this and will try to merge this then.

@SeanCondon SeanCondon added enhancement New feature or request WIP Work In Progress Do Not Merge labels Feb 5, 2020
@SeanCondon SeanCondon self-assigned this Feb 5, 2020
@SeanCondon SeanCondon removed Do Not Merge WIP Work In Progress labels Feb 14, 2020
@SeanCondon
Copy link
Contributor Author

Just waiting on onosproject/onos-config#1081

@SeanCondon SeanCondon merged commit 27303af into onosproject:master Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants