futurewei-cloud / alcor

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

[API Compatibility] Make Alcor router APIs compatible with Nova #677

Closed DavidLiu506 closed 3 years ago

DavidLiu506 commented 3 years ago

Alcor routing rule API is different with OpenStack network API. Update Alcor routing rule API to keep consistent with OpenStack.

This PR correct two APIs which were not consistent: OpenStack APIs: 1 /v2.0/routers/{router_id}/add_extraroutes 2 /v2.0/routers/{router_id}/remove_extraroutes

Alcor router manager APIs: 1 /project//routers//add_extra_routes 2 /project//routers//remove_extra_routes