atlanticwave-sdx / kytos-sdx-topology

0 stars 3 forks source link

Add REST API to create L2VPN PTP #32

Closed italovalcy closed 3 months ago

italovalcy commented 3 months ago

Fixes #31

Description of the change

  1. As we discussed on the All Hands Meeting back in Feb 2024, since the port ID is something internal to the OXPO and SDX-Controller will have only the port IDs according to the semantics defined on the Data Model Topology, we decided to augment the role and responsibility of the sdx-kytos-topology Napp to also receives the connection creation requests from SDX-LC (requests to create L2VPN point-to-point)
  2. The changes on this PR implements a prototype to work along with SDX-LC to create Connections/L2VPN-PTP

Local tests

Tested changing the KYTOS URL on SDX-LC docker-compose to define the KYTOS_PROVISION URL pointing to this API endpoint instead of mef_eline's original endpoint (which won't fully understand the UNIs -- since they come on SDX naming convention)