Open italovalcy opened 1 month ago
Fix to support the AtlanticWave-SDX Provisioning specification 1.0.
I have been looking into this. Basically, in getconnection_by_id()
, we are simply returning what's in the database, from connections
collection:
What gets inserted in connections
though? That seems to be simply the original connection request that place_connection()
received.
@italovalcy, could you please share some more details? What was the connection request, and what are the topologies? And what should be really the behavior of GET /connection/:service_id
? I am not sure returning the original request itself is very useful. Perhaps the client wants to know breakdown that SDX produced, and status of the connection request? We do not seem to be keeping a record of the failed connection requests -- shouldn't we keep those also in the database?
Also inviting @congwang09 and @YufengXin to the discussion.
According to the provisioning API spec, the Endpoint.VLAN should be called "vlan" instead of "vlan_range". For data input, it is already working fine. For displaying it is wrong (vlan_range).
Example:
Expected behavior:
In summary, two changes are needed:
vlan_range
tovlan
when displaying the L2VPN