openBackhaul / MicroWaveDeviceInventory

Physical and logical inventory of the MW SDN Domain
Apache License 2.0
5 stars 1 forks source link

Add new service for providing list of links #835

Open kmohr-soprasteria opened 7 months ago

kmohr-soprasteria commented 7 months ago

A new service for returning all links stored via /core-model-1-4:network-control-domain=cache/link={uuid} could be added. Need to discuss internally it that's desired.

Name could be /v1/provide-list-of-stored-links

complete:

core-model-1-4:links:
  - uuid: '513559996'
    layer-protocol-name: 'core-model-1-4:LAYER_PROTOCOL_NAME_TYPE_AIR_LAYER'
    end-point-list:
      - control-construct: '513250009'
        logical-termination-point: '513250009+LTP-MWPS-TTP-RADIO-2A'
        layer-protocol: '513250009+LP-MWPS-TTP-RADIO-2A'
      - control-construct: '513250008'
        logical-termination-point: '513250008+LTP-MWPS-TTP-RADIO-2A'
        layer-protocol: '513250008+LP-MWPS-TTP-RADIO-2A'
  - uuid: '513559997'
    layer-protocol-name: 'core-model-1-4:LAYER_PROTOCOL_NAME_TYPE_AIR_LAYER'
    end-point-list:
      - control-construct: '513250009'
        logical-termination-point: '513250009+LTP-MWPS-TTP-RADIO-1A'
        layer-protocol: '513250009+LP-MWPS-TTP-RADIO-1A'
      - control-construct: '513250008'
        logical-termination-point: '513250008+LTP-MWPS-TTP-RADIO-1A'
        layer-protocol: '513250008+LP-MWPS-TTP-RADIO-1A'

with filter:

core-model-1-4:links:
  - uuid: '513559996'
  - uuid: '513559997'