romana / core

Romana core components - Micro services written in Go.
Apache License 2.0
47 stars 11 forks source link

Deallocate addresses to return to pool #61

Closed debedb closed 8 years ago

debedb commented 8 years ago

https://paninetworks.kanbanize.com/ctrl_board/3/cards/286/details

jbrendel commented 8 years ago

So, who initiates the deletion of endpoints?

OpenStack when a VM is brought down/deleted?

Kubernetes when a pod is destroyed?

What happens if a host is deleted? Do the environments (OS or k8s) send individual delete events for each VM?

What if the host crashes? Do the environments eventually detect this and then start generating delete events?

debedb commented 8 years ago

Test

debedb commented 8 years ago

Not sure how to answer it up above so will do here:

So, who initiates the deletion of endpoints? OpenStack when a VM is brought down/deleted?

Yes.

Kubernetes when a pod is destroyed?

I would guess so - @flashvoid , what happens now?

What happens if a host is deleted? Do the environments (OS or k8s) send individual delete events for each VM?

I was thinking of having another method of deleting host or tenant or segment from IPAM, which would delete all information. But that's better done after https://paninetworks.kanbanize.com/ctrl_board/3/cards/296/details

What if the host crashes? Do the environments eventually detect this and then start generating delete events?

Does OpenStack even do such a thing?