openBackhaul / MacAddressTableRecorder

Markus' first Application on the MW SDN Controller
Apache License 2.0
3 stars 0 forks source link

Add key to auth field in load.json file #195

Closed schiavi-siae closed 6 months ago

schiavi-siae commented 6 months ago

Refers to #172.

schiavi-siae commented 6 months ago

The authentication field has been placed under the 'operation-key' entry in the JSON loading file. It was set to the default value if the 'operation-key' field was 'operation key not provided'. The default value has now been removed, so if not specified in the load.json file, authentication will be missing.

EmbeddingCausesRequestForListOfApplicationsAtRo

{ "uuid": "matr-1-0-0-op-c-is-ro-2-0-1-000", "ltp-direction": "core-model-1-4:TERMINATION_DIRECTION_SINK", "client-ltp": [ ], "server-ltp": [ "matr-1-0-0-http-c-ro-2-0-1-000" ], "layer-protocol": [ { "local-id": "0", "layer-protocol-name": "operation-client-interface-1-0:LAYER_PROTOCOL_NAME_TYPE_OPERATION_LAYER", "operation-client-interface-1-0:operation-client-interface-pac": { "operation-client-interface-configuration": { "operation-name": "/v1/list-applications", "operation-key": "Basic YWRtaW46YWRtaW4=" }, "operation-client-interface-status": { "operational-state": "operation-client-interface-1-0:OPERATIONAL_STATE_TYPE_NOT_YET_DEFINED", "life-cycle-state": "operation-client-interface-1-0:LIFE_CYCLE_STATE_TYPE_NOT_YET_DEFINED" } } } ] },

EmbeddingCausesRequestForListOfDevicesAtMwdi - matr-1-0-0-op-c-is-mwdi-1-0-0-000 { "uuid": "matr-1-0-0-op-c-is-mwdi-1-0-0-000", "ltp-direction": "core-model-1-4:TERMINATION_DIRECTION_SINK", "client-ltp": [ ], "server-ltp": [ "matr-1-0-0-http-c-mwdi-1-0-0-000" ], "layer-protocol": [ { "local-id": "0", "layer-protocol-name": "operation-client-interface-1-0:LAYER_PROTOCOL_NAME_TYPE_OPERATION_LAYER", "operation-client-interface-1-0:operation-client-interface-pac": { "operation-client-interface-configuration": { "operation-name": "/v1/provide-list-of-connected-devices", "operation-key": "Basic YWRtaW46YWRtaW4=" }, "operation-client-interface-status": { "operational-state": "operation-client-interface-1-0:OPERATIONAL_STATE_TYPE_NOT_YET_DEFINED", "life-cycle-state": "operation-client-interface-1-0:LIFE_CYCLE_STATE_TYPE_NOT_YET_DEFINED" } } } ] },

PromptForUpdatingMacTableFromDeviceCausesMacTableBeingRetrievedFromDevice

{ "uuid": "matr-1-0-0-op-c-is-odl-4-0-2-000", "ltp-direction": "core-model-1-4:TERMINATION_DIRECTION_SINK", "client-ltp": [ ], "server-ltp": [ "matr-1-0-0-http-c-is-odl-4-0-2-000" ], "layer-protocol": [ { "local-id": "0", "layer-protocol-name": "operation-client-interface-1-0:LAYER_PROTOCOL_NAME_TYPE_OPERATION_LAYER", "operation-client-interface-1-0:operation-client-interface-pac": { "operation-client-interface-configuration": { "operation-name": "/rests/operations/network-topology:network-topology/topology=topology-netconf/node={mount-name}/yang-ext:mount/mac-fd-1-0:provide-learned-mac-addresses", "operation-key": "Basic YWRtaW46YWRtaW4=" }, "operation-client-interface-status": { "operational-state": "operation-client-interface-1-0:OPERATIONAL_STATE_TYPE_NOT_YET_DEFINED", "life-cycle-state": "operation-client-interface-1-0:LIFE_CYCLE_STATE_TYPE_NOT_YET_DEFINED" } } } ] },