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

Pass Id as input to DeleteNetwork and DeleteEndpoint APIs #25

Merged
merged 1 commit into from
Mar 12, 2015

Conversation

mapuri
Copy link
Contributor

@mapuri mapuri commented Mar 11, 2015

This commit reverts the DeleteNetwork and DeleteEndpoint APIs back to taking network
and endpoint Ids as input instead of an opaque value strings. This follows the netplugin
design to keep driver specific state handling inside the driver than the Netplugin Core.

This commit reverts the DeleteNetwork and DeleteEndpoint APIs to taking network
and endpoint Ids as input instead of an opaque value string. This follows the netplugin
design to keep driver specific state handling inside the driver than the
Netplugin Core.
mapuri added a commit that referenced this pull request Mar 12, 2015
Pass Id as input to DeleteNetwork and DeleteEndpoint APIs
@mapuri mapuri merged commit 9131917 into master Mar 12, 2015
@mapuri mapuri deleted the deleteApiCleanup branch March 12, 2015 15:41
@jainvipin
Copy link

looks good @mapuri
I suppose after moving things to netmaster, we do not need any of the config state during delete events.

@mapuri
Copy link
Contributor Author

mapuri commented Mar 12, 2015

@jainvipin yes, I didn't find any such case yet.

Having said that, as we were discussing earlier it is because right now we are dealing with not depending on state in config by keeping state necessary for handling delete in oper state as well. Usually this should be ok and is simple to implement. But if it results in some kind of state bloat we can address it by keeping a some kind of shadow copy of config states around so that we can hold that state a little longer until all cleanup is done, but all that can be hidden under the state-driver and state itself instead of exposing it to network/endpoint drivers or the management-function.

dseevr pushed a commit to dseevr-dev/netplugin that referenced this pull request Nov 28, 2017
* - add version in api
- add cfgProperties adn operProperties

* fix linksets with operstate

* add versioning in api, other fixes

* add network oper proerties

* avoid generating operlinks

* avoid operlinks for client code gen

* global oper state

* Support for external contracts (provided and consumed) for ACI (contiv#24)

* Support for external contracts (provided and consumed) for ACI

* Add tenant as part of the key for external contracts object

* Just have a single link-set for all contract groups

* Just have a single external contracts array at the epg level.

* Add validators for contracts group name and tenant name for the external contracts object

* merge contract groups change

* rebase to latest

* add versioning in api, other fixes

* add network oper proerties

* avoid generating operlinks

* avoid operlinks for client code gen

* global oper state

* add version to external contracts object
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