futurewei-cloud / alcor

Alcor: Cloud native SDN platform powered by Kubernetes and Istio
MIT License
32 stars 33 forks source link

Clean up orphan ports when unbinding port to VM #460

Open xieus opened 4 years ago

xieus commented 4 years ago

Feature Request

When a VM is bind to a pre-created port and then unbind, the expected behavior to the host is the port get cleanup automatically by ACA. The scenario is unsupported currently thus resulting in orphan ports on the host. We will need a mechanism to trigger orphan port cleanup on the host, and triggers Port Manager to reset the binding_host_id field so that this port could be reused by other VMs.

er1cthe0ne commented 4 years ago

this is related to #103