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

Epif cleanup #16

Merged
merged 4 commits into from
Feb 21, 2015
Merged

Epif cleanup #16

merged 4 commits into from
Feb 21, 2015

Conversation

jainvipin
Copy link

@mapuri - can you please review these changes; this moves container runtime out of netplugin. This is one of the target code cleanup work we identified. Please ignore the request from contiv account.

@@ -85,8 +85,6 @@ type EndpointDriver interface {
CreateEndpoint(id string) error
DeleteEndpoint(value string) error
MakeEndpointAddress() (*Address, error)
GetEndpointContainerContext(id string) (*ContainerEpContext, error)
GetContainerEpContextByContName(contName string) ([]ContainerEpContext, error)
UpdateContainerId(id string, contId string) error
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest to move the UpdateContainerId() out as well? Please ignore, if you were planning it for later.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update ContainerID is just a name of the function, there is nothing specific to container runtime there. I was hoping to not do updates to Ep record from oustide drivers code.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, it does imply that Endpoint driver Interface has something to do with containers, which is not the case.

Looks like this API updates the container-id in the EP oper-state in current implementation, should we just do it as part of attach/detach endpoint in the crt's logic? this looks more like some config meta for container runtime than network programming driver.

@jainvipin jainvipin merged commit 3ca8579 into master Feb 21, 2015
@jainvipin jainvipin deleted the epif_cleanup branch February 27, 2015 19:15
dseevr pushed a commit to dseevr-dev/netplugin that referenced this pull request Oct 24, 2017
dseevr pushed a commit to dseevr-dev/netplugin that referenced this pull request Nov 28, 2017
remove client dependency on modeldb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants