(CNIT) Basic point-to-multipoint optical connections
Proposers
- Marc Lawson (CNIT)
- Andrea Sgambelluri (CNIT)
- Nicola Sambo (CNIT)
Description
Adds point-to-multipoint optical connectivity. The optical controller computes
a P2MP path over a multicast tree (RSA_P2MP) and the service layer provisions it through the standard
TFS Service API.
New resources: AddMultiLightpath, AddMultiLightpathComp,
DelMultiLightpath, GetTopologyMulti, MorePathAdditonMultipath and the
TAPI get-topology, compute-p2mp, more-path-addition-multipath,
get-active-paths and delete-p2mp operations. They live in their own module
and are bound to their URLs by register(), so OpticalController.py gains
16 lines and none of its existing resources move.
Service side, OCServiceHandler/OCTools turn endpoints into per-remote
flows for the task scheduler, Context's optical-channel delete unpacks P2MP
flows, and PathComp resolves the optical controller by service discovery
rather than a hardcoded address.
Four defects were fixed to make a service request reach the devices: P2MP slot selection now honours develop's persisted spectrum state instead of treating every slot as free; Context tolerates the numeric fields a ROADM leaves unset; and the configure and deconfigure paths skip devices that have no stored optical configuration.
This supersedes the optical-controller part of !496 (closed) and is built from current
develop, so 6cffadd9's spectrum persistence, AddAlienFLexLightpath,
ReconfigFlexLightpath and test_spectrum_sync.py are all intact.
RSA.py is unmodified. No proto change.
Closes #316 (closed)
Demo / definition of done
compute-p2mpreturns a TAPI connectivity-service for one hub and several leaves, with a consistent spectrum assignment across the tree.- A P2MP service created through the Service API configures every transponder on the path.
Test evidence
src/opticalcontroller/tests/: 20 passed in the component image; the test sources are byte-identical todevelop.- End to end on a deployed TFS with real NETCONF devices: a service through the
Service API reached
SERVICESTATUS_ACTIVEand configured every transponder, no errors in the service or device components. Three sources withsubcarriers_per_src = 4,4,4produced slots[0,1,2,3],[4,5,6,7],[8,9,10,11]— twelve subcarriers, contiguous and non-overlapping, one group per source. Confirmed on the devices over NETCONF, not only in Context. Deleting the service released the path cleanly.
Acknowledgements
This work is funded by the European Commission through the HORIZON-JU-SNS-2023 PROTEUS-6G project with Grant Agreement number 101139134.