openBackhaul / AirInterfacePowerSaver

Pranay's first Application on the MW SDN Controller
Apache License 2.0
1 stars 1 forks source link

To implement the service /v1/provide-transmitter-status-of-parallel-links #90

Closed PrathibaJee closed 4 months ago

PrathibaJee commented 7 months ago

For example , a map shall be included to temporarily maintained in a global datastore, and the generated request-id and the requestor details shall be stored,

parallelLinksStatusRequestMap // to store and map the generated request-id to the requestor details
parallelLinksStatusRequestMap.set(“main request-id” , {“requestor-ip”,”port”,”callback url”}}

After responding with the request-id to the requestor , process the following callbacks,

Get Parallel Links from MicrowaveDeviceInventory Application

Find the uuids of the air-interfaces involved in the link

Note : the uuid of the air-interface ltp received from the control-construct will also have the node-id as prefix. So , that prefix needs to be removed while processing the following callbacks directly to the MWDG

If the uuids of the air-interfaces are found then
    proceed to "Get the air-interface-status , transmission-mode-max and transmission-mode-cur "
else

Get air-interface-status , transmission-mode-max and transmission-mode-cur

Send the response back to the requestor in the callback url.

:exclamation: :exclamation: After processing the request , clear the requestor information from the