futurewei-cloud / alcor

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

[Subnet] PM can delete subnet's gateway port, but subnet still hold gatewayPortId #681

Closed cj-chung closed 3 years ago

cj-chung commented 3 years ago

Issue: PM can delete any ports through PM's DELETE api without notify related service manager, such as Subnet. If the deleted port is a Subnet's gateway port (device_owner=router_interface), the subnet manager still hold the GatewayPortId.

Solution: If PM got request to delete a port related to some other resource manager, PM needs to notify them.