diff --git a/hackfest/tapi/client/cs1.json b/hackfest/tapi/client/cs1.json index debe392841affdf46b25e608d9a521fba3316c5a..06290e137a280bb01b9de5adf98c4aaa9b73c122 100644 --- a/hackfest/tapi/client/cs1.json +++ b/hackfest/tapi/client/cs1.json @@ -4,22 +4,22 @@ "uuid" : "cs1", "service-type":"POINT_TO_POINT_CONNECTIVITY", "connectivity-constraint": { - "requested-capacity": {"total-size": { "value": "1", "unit": "GBPS" }}, - "connectivity-direction": "BIDIRECTIONAL" + "requested-capacity": {"total-size": { "value": "50", "unit": "GHz" }}, + "connectivity-direction": "UNIDIRECTIONAL" }, "end-point": [ { "local-id": "csep-1", - "layer-protocol-name": "ETH", + "layer-protocol-name": "PHOTONIC_MEDIA", "service-interface-point": { - "service-interface-point-uuid": "sip-pe1-uni1" + "service-interface-point-uuid": "node-1-port-13-input" } }, { "local-id":"csep-2", - "layer-protocol-name":"ETH", + "layer-protocol-name":"PHOTONIC_MEDIA", "service-interface-point": { - "service-interface-point-uuid": "sip-pe2-uni1" + "service-interface-point-uuid": "node-2-port-14-output" } } ] diff --git a/hackfest/tapi/commands.txt b/hackfest/tapi/commands.txt index a3f4493152b2f8eee737fbbb0be764f687b9f29b..4861aeecd372837510c359cf2563cdc20e3c01f5 100644 --- a/hackfest/tapi/commands.txt +++ b/hackfest/tapi/commands.txt @@ -20,16 +20,19 @@ cd ~/tfs-ctrl/hackfest/tapi/server python3 -m tapi_server RUN TAPI CLIENT (In a new window): +# Context: curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/ -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/service-interface-point=sip-pe1-uni1/ -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/ -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=topo-nwk/ -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=topo-nwk/node=node-odu-pi-4/ -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=topo-nwk/node=node-odu-pi-4/owned-node-edge-point=nep-pi4-odu4-nni1/ -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=topo-nwk/node=node-odu-pi-4/owned-node-edge-point=nep-pi4-odu4-nni1/tapi-connectivity:cep-list/ -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=topo-nwk/link=link-pe1-odu4-nni1-pi4-odu4-nni2/ +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/service-interface-point=node-4-port-16-output/ +# Topology: +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/ +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=ols-topo/ +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=ols-topo/node=node-4/ +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=ols-topo/node=node-4/owned-node-edge-point=node-4-port-13/ +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=ols-topo/node=node-4/owned-node-edge-point=node-4-port-13/tapi-connectivity:cep-list/ +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=ols-topo/link=link-4:2-2:4/ +# Connection: curl -X POST -H "Content-Type: application/json" \ http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-connectivity:connectivity-context/connectivity-service/ \ -d @/home/tfs/tfs-ctrl/hackfest/tapi/client/cs1.json @@ -41,5 +44,9 @@ curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/d curl -X DELETE -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-connectivity:connectivity-context/connectivity-service=cs1/ +# Exercise: retrieve and draw the topology +solution in folder tapi_app + + Not testable since there is no path computation -curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=topo-nwk/node=node-odu-pi-4/owned-node-edge-point=nep-pi4-odu4-nni1/tapi-connectivity:cep-list/connection-end-point={cep-uuid}/ +curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/restconf/data/tapi-common:context/tapi-topology:topology-context/topology=ols-topo/node=node-odu-pi-4/owned-node-edge-point=node-4-port-13/tapi-connectivity:cep-list/connection-end-point={cep-uuid}/ diff --git a/hackfest/tapi/server/run.sh b/hackfest/tapi/server/run.sh index 233f889e13d9d5994a43455a79fd688a390a9dd3..6b69692172b14f2fec299f88fa914be2eb811c01 100755 --- a/hackfest/tapi/server/run.sh +++ b/hackfest/tapi/server/run.sh @@ -1,3 +1,3 @@ #!/bin/bash -python3 -m tapi_server 8080 database/odu_context.json +python3 -m tapi_server 8080 database/mini-ols-context.json diff --git a/hackfest/tapi/server/tapi_server/controllers/tapi_connectivity_controller.py b/hackfest/tapi/server/tapi_server/controllers/tapi_connectivity_controller.py index 2586b4da9b8afc04ed1d707bde776837b264da3c..640f5a72dacea883d145bca664810812e1d37f58 100644 --- a/hackfest/tapi/server/tapi_server/controllers/tapi_connectivity_controller.py +++ b/hackfest/tapi/server/tapi_server/controllers/tapi_connectivity_controller.py @@ -408,11 +408,9 @@ def data_tapi_commoncontext_tapi_connectivityconnectivity_context_connectivity_s uuid=body.connectivity_service.uuid, connection_end_point=[ TapiConnectivityConnectionEndPointRef( - node_edge_point_uuid="NEP_PE_01_NNI3", connection_end_point_uuid="cep11"), + node_edge_point_uuid="node-1-port-3", connection_end_point_uuid="cep13"), TapiConnectivityConnectionEndPointRef( - node_edge_point_uuid="NEP_PE_03_NNI2", connection_end_point_uuid="cep11"), - TapiConnectivityConnectionEndPointRef( - node_edge_point_uuid="NEP_PE_02_NNI3", connection_end_point_uuid="cep11"), + node_edge_point_uuid="node-3-port-2", connection_end_point_uuid="cep32"), ] ) connection_ref = TapiConnectivityConnectionRef(connection.uuid) @@ -582,10 +580,16 @@ def data_tapi_commoncontext_tapi_connectivityconnectivity_context_connectivity_s database.context.connectivity_context = TapiConnectivityConnectivityContext( connectivity_service=[], connection=[] ) + database.context.connectivity_context.connectivity_service = [ - cs - for cs in database.context.connectivity_context.connectivity_service - if cs.uuid != uuid # keep items with different uuid + connectivity_service + for connectivity_service in database.context.connectivity_context.connectivity_service + if connectivity_service.uuid != uuid # keep items with different uuid + ] + database.context.connectivity_context.connection = [ + connection + for connection in database.context.connectivity_context.connection + if connection.uuid != uuid # keep items with different uuid ] diff --git a/hackfest/tapi/server/tapi_server/database/mini-ols-context.json b/hackfest/tapi/server/tapi_server/database/mini-ols-context.json new file mode 100644 index 0000000000000000000000000000000000000000..6bfe9e402eb688874aae14caaf2bd1f256469657 --- /dev/null +++ b/hackfest/tapi/server/tapi_server/database/mini-ols-context.json @@ -0,0 +1,728 @@ +{ + "uuid": "ols-ctx", + "service-interface-point": [ + { + "uuid": "node-4-port-16-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-3-port-16-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-1-port-14-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-4-port-14-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-13-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-18-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-2-port-15-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-2-port-17-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-1-port-15-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-2-port-13-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-4-port-13-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-4-port-13-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-1-port-17-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-13-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-3-port-17-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-1-port-13-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-4-port-15-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-4-port-14-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-4-port-17-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-2-port-14-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-14-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-17-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-1-port-17-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-4-port-16-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-14-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-1-port-14-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-1-port-13-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-2-port-14-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-3-port-15-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-3-port-16-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-18-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-4-port-17-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-3-port-15-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-2-port-15-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + }, + { + "uuid": "node-2-port-17-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-2-port-13-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-4-port-15-input", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "INPUT" + }, + { + "uuid": "node-1-port-15-output", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "administrative-state": "UNLOCKED", + "operational-state": "ENABLED", + "direction": "OUTPUT" + } + ], + "topology-context": { + "nw-topology-service": { + "uuid": "ols-topo", + "topology": [{"topology-uuid": "ols-topo"}] + }, + "topology": [ + { + "uuid": "ols-topo", + "layer-protocol-name": ["PHOTONIC_MEDIA", "DSR"], + "node": [ + { + "uuid": "node-1", + "owned-node-edge-point": [ + { + "uuid": "node-1-port-13", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-1-port-13-output"}, + {"service-interface-point-uuid": "node-1-port-13-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-1-port-14", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-1-port-14-output"}, + {"service-interface-point-uuid": "node-1-port-14-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-1-port-15", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-1-port-15-input"}, + {"service-interface-point-uuid": "node-1-port-15-output"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-1-port-17", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-1-port-17-input"}, + {"service-interface-point-uuid": "node-1-port-17-output"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-1-port-3", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + }, + { + "uuid": "node-1-port-4", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + } + ] + }, + { + "uuid": "node-2", + "owned-node-edge-point": [ + { + "uuid": "node-2-port-13", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-2-port-13-output"}, + {"service-interface-point-uuid": "node-2-port-13-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-2-port-14", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-2-port-14-input"}, + {"service-interface-point-uuid": "node-2-port-14-output"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-2-port-15", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-2-port-15-input"}, + {"service-interface-point-uuid": "node-2-port-15-output"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-2-port-17", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-2-port-17-output"}, + {"service-interface-point-uuid": "node-2-port-17-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-2-port-3", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + }, + { + "uuid": "node-2-port-4", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + } + ] + }, + { + "uuid": "node-3", + "owned-node-edge-point": [ + { + "uuid": "node-3-port-13", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-3-port-13-input"}, + {"service-interface-point-uuid": "node-3-port-13-output"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-3-port-14", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-3-port-14-input"}, + {"service-interface-point-uuid": "node-3-port-14-output"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-3-port-15", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-3-port-15-output"}, + {"service-interface-point-uuid": "node-3-port-15-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-3-port-16", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-3-port-16-output"}, + {"service-interface-point-uuid": "node-3-port-16-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-3-port-17", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-3-port-17-output"}, + {"service-interface-point-uuid": "node-3-port-17-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-3-port-18", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-3-port-18-output"}, + {"service-interface-point-uuid": "node-3-port-18-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-3-port-1", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + }, + { + "uuid": "node-3-port-2", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + }, + { + "uuid": "node-3-port-4", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + } + ] + }, + { + "uuid": "node-4", + "owned-node-edge-point": [ + { + "uuid": "node-4-port-13", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-4-port-13-output"}, + {"service-interface-point-uuid": "node-4-port-13-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-4-port-14", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-4-port-14-input"}, + {"service-interface-point-uuid": "node-4-port-14-output"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-4-port-15", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-4-port-15-output"}, + {"service-interface-point-uuid": "node-4-port-15-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-4-port-16", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-4-port-16-output"}, + {"service-interface-point-uuid": "node-4-port-16-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-4-port-17", + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC", + "mapped-service-interface-point": [ + {"service-interface-point-uuid": "node-4-port-17-output"}, + {"service-interface-point-uuid": "node-4-port-17-input"} + ], + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"] + }, + { + "uuid": "node-4-port-1", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + }, + { + "uuid": "node-4-port-2", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + }, + { + "uuid": "node-4-port-3", + "layer-protocol-name": "PHOTONIC_MEDIA", + "supported-cep-layer-protocol-qualifier": ["tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC"], + "link-port-direction": "UNIDIRECTIONAL", + "link-port-role": "SYMMETRIC" + } + ] + } + ], + "link": [ + { + "uuid": "link-1:3-3:1", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-1", "node-edge-point-uuid": "node-1-port-3"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-3", "node-edge-point-uuid": "node-3-port-1"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-1:4-4:1", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-1", "node-edge-point-uuid": "node-1-port-4"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-4", "node-edge-point-uuid": "node-4-port-1"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-2:3-3:2", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-2", "node-edge-point-uuid": "node-2-port-3"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-3", "node-edge-point-uuid": "node-3-port-2"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-2:4-4:2", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-2", "node-edge-point-uuid": "node-2-port-4"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-4", "node-edge-point-uuid": "node-4-port-2"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-3:1-1:3", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-3", "node-edge-point-uuid": "node-3-port-1"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-1", "node-edge-point-uuid": "node-1-port-3"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-3:2-2:3", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-3", "node-edge-point-uuid": "node-3-port-2"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-2", "node-edge-point-uuid": "node-2-port-3"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-3:4-4:3", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-3", "node-edge-point-uuid": "node-3-port-4"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-4", "node-edge-point-uuid": "node-4-port-3"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-4:1-1:4", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-4", "node-edge-point-uuid": "node-4-port-1"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-1", "node-edge-point-uuid": "node-1-port-4"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-4:2-2:4", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-4", "node-edge-point-uuid": "node-4-port-2"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-2", "node-edge-point-uuid": "node-2-port-4"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + }, + { + "uuid": "link-4:3-3:4", + "direction": "UNIDIRECTIONAL", + "cost-characteristic": [{"cost-name": "te-metric", "cost-value": 1}], + "node-edge-point": [ + {"topology-uuid": "ols-topo", "node-uuid": "node-4", "node-edge-point-uuid": "node-4-port-3"}, + {"topology-uuid": "ols-topo", "node-uuid": "node-3", "node-edge-point-uuid": "node-3-port-4"} + ], + "layer-protocol-name": ["PHOTONIC_MEDIA"] + } + ] + } + ] + }, + "connectivity-context": { + "connectivity-service": [], + "connection": [] + } +} diff --git a/hackfest/tapi/server_old/.swagger-codegen-ignore b/hackfest/tapi/server_old/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4c557bf997d5dd21797de782545dc9e5..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/hackfest/tapi/server_old/LICENSE b/hackfest/tapi/server_old/LICENSE deleted file mode 100644 index 8dada3edaf50dbc082c9a125058f25def75e625a..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/hackfest/tapi/server_old/README.md b/hackfest/tapi/server_old/README.md deleted file mode 100644 index 937af5f5ae08d46d707d6636964edff9ba7785c3..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# Swagger generated server - -## Overview -This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the -[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This -is an example of building a swagger-enabled Flask server. - -This example uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask. - -To run the server, please execute the following: - -``` -sudo pip3 install -U connexion # install Connexion from PyPI -python3 app.py -``` - -and open your browser to here: - -``` -http://localhost:8080/restconf/ui/ -``` - -Your Swagger definition lives here: - -``` -http://localhost:8080/restconf/swagger.json -``` - diff --git a/hackfest/tapi/server_old/__init__.py b/hackfest/tapi/server_old/__init__.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/hackfest/tapi/server_old/controllers/__init__.py b/hackfest/tapi/server_old/controllers/__init__.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/hackfest/tapi/server_old/controllers/default_controller.py b/hackfest/tapi/server_old/controllers/default_controller.py deleted file mode 100644 index 21a618227536ab6ce537bdb0982bc0e29257dc3e..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/controllers/default_controller.py +++ /dev/null @@ -1,1038 +0,0 @@ -import logging -import database.database as database - -def create_context_by_id(context) -> str: - if database.context: - raise Exception ("TAPI Context cannot be created/deleted since it is the root presence-container for all client-server interaction") - logging.info("create_context_by_id %s", context) - database.context=context - return context - - - -def create_context_connectivity_service_connectivity_service_by_id(uuid, connectivityService) -> str: - logging.info("create_context_connectivity_service_connectivity_service_by_id %s %s", uuid, connectivityService) - connection = { - "uuid" : uuid, - "connection-end-point": [ - "/restconf/config/context/topology/topo-nwk/node/node-pe-1/owned-node-edge-point/NEP_PE_01_NNI3/cep-list/cep11", - "/restconf/config/context/topology/topo-nwk/node/node-pe-3/owned-node-edge-point/NEP_PE_03_NNI2/cep-list/cep11", - "/restconf/config/context/topology/topo-nwk/node/node-pe-2/owned-node-edge-point/NEP_PE_02_NNI3/cep-list/cep11" - ] - } - database.context['connection'].append(connection) - connectivityService['connection'] = [ "/restconf/config/connection/" + uuid +"/" ] - database.context['connectivity-service'].append(connectivityService) - return connectivityService - -def create_context_connectivity_service_end_point_capacity_capacity_by_id(uuid, localId, capacity) -> str: - return 'do some magic!' - -def create_context_connectivity_service_end_point_end_point_by_id(uuid, localId, endPoint) -> str: - return 'do some magic!' - -def create_context_connectivity_service_end_point_name_name_by_id(uuid, localId, valueName, name) -> str: - return 'do some magic!' - -def create_context_connectivity_service_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def create_context_connectivity_service_resilience_type_resilience_type_by_id(uuid, resilienceType) -> str: - return 'do some magic!' - -def create_context_connectivity_service_schedule_schedule_by_id(uuid, schedule) -> str: - return 'do some magic!' - -def create_context_name_name_by_id(valueName, name) -> str: - return 'do some magic!' - -def create_context_path_comp_service_end_point_end_point_by_id(uuid, localId, endPoint) -> str: - return 'do some magic!' - -def create_context_path_comp_service_end_point_name_name_by_id(uuid, localId, valueName, name) -> str: - return 'do some magic!' - -def create_context_path_comp_service_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def create_context_path_comp_service_objective_function_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def create_context_path_comp_service_objective_function_objective_function_by_id(uuid, objectiveFunction) -> str: - return 'do some magic!' - -def create_context_path_comp_service_optimization_constraint_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def create_context_path_comp_service_optimization_constraint_optimization_constraint_by_id(uuid, optimizationConstraint) -> str: - return 'do some magic!' - -def create_context_path_comp_service_path_comp_service_by_id(uuid, pathCompService) -> str: - return 'do some magic!' - -def create_context_path_comp_service_routing_constraint_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def create_context_path_comp_service_routing_constraint_routing_constraint_by_id(uuid, routingConstraint) -> str: - return 'do some magic!' - -def create_context_service_interface_point_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def create_context_service_interface_point_service_interface_point_by_id(uuid, serviceInterfacePoint) -> str: - return 'do some magic!' - -def create_create_connectivity_service_by_id(createConnectivityService) -> str: - return 'do some magic!' - -def create_delete_connectivity_service_by_id(deleteConnectivityService) -> str: - return 'do some magic!' - -def create_get_connection_details_by_id(getConnectionDetails) -> str: - return 'do some magic!' - -def create_get_connectivity_service_details_by_id(getConnectivityServiceDetails) -> str: - return 'do some magic!' - -def create_get_connectivity_service_list_by_id() -> str: - return 'do some magic!' - -def create_update_connectivity_service_by_id(updateConnectivityService) -> str: - return 'do some magic!' - -def delete_context_by_id() -> str: - if database.context: - raise Exception ("TAPI Context cannot be created/deleted since it is the root presence-container for all client-server interaction") - return 'do some magic!' - -def delete_context_connectivity_service_connectivity_service_by_id(uuid) -> str: - for connection in database.context['connection']: - if connection['uuid'] == uuid : - database.context['connection'].remove(connection) - for cs in database.context['connectivity-service']: - if cs['uuid'] == uuid : - database.context['connectivity-service'].remove(cs) - return "done" - return error, 404 - -def delete_context_connectivity_service_end_point_capacity_capacity_by_id(uuid, localId) -> str: - return 'do some magic!' - -def delete_context_connectivity_service_end_point_end_point_by_id(uuid, localId) -> str: - return 'do some magic!' - -def delete_context_connectivity_service_end_point_name_name_by_id(uuid, localId, valueName) -> str: - return 'do some magic!' - -def delete_context_connectivity_service_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def delete_context_connectivity_service_resilience_type_resilience_type_by_id(uuid) -> str: - return 'do some magic!' - -def delete_context_connectivity_service_schedule_schedule_by_id(uuid) -> str: - return 'do some magic!' - -def delete_context_name_name_by_id(valueName) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_end_point_end_point_by_id(uuid, localId) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_end_point_name_name_by_id(uuid, localId, valueName) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_objective_function_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_objective_function_objective_function_by_id(uuid) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_optimization_constraint_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_optimization_constraint_optimization_constraint_by_id(uuid) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_path_comp_service_by_id(uuid) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_routing_constraint_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def delete_context_path_comp_service_routing_constraint_routing_constraint_by_id(uuid) -> str: - return 'do some magic!' - -def delete_context_service_interface_point_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def delete_context_service_interface_point_service_interface_point_by_id(uuid) -> str: - return 'do some magic!' - -def retrieve_context() -> str: - logging.info("retrieve_context") - return database.context - -def retrieve_context_connection_connection() -> str: - logging.info("retrieve_context_connection_connection") - array_cs=[] - for connection in database.context['connection']: - uri="/restconf/config/context/connection/"+connection["uuid"]+"/" - array_cs.append(uri) - #json = { 'itemlist' : array_cs } - return array_cs - -def retrieve_context_connection_connection_by_id(uuid) -> str: - logging.info("retrieve_context_connection_connection_by_id %s", uuid) - for item in database.context['connection']: - if item['uuid'] == uuid: - return item - -def retrieve_context_connection_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connection_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_connection_route_name_name(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connection_route_name_name_by_id(uuid, localId, valueName) -> str: - return 'do some magic!' - -def retrieve_context_connection_route_route(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connection_route_route_by_id(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_name_name(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_name_name_by_id(uuid, localId, valueName) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_resilience_type_resilience_type(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_switch_control(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_switch_control_by_id(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_switch_name_name(uuid, localId, localId2) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_switch_name_name_by_id(uuid, localId, localId2, valueName) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_switch_switch(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connection_switch_control_switch_switch_by_id(uuid, localId, localId2) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_connectivity_service() -> str: - logging.info("retrieve_context_connectivity_service_connectivity_service") - array_cs=[] - for cs in database.context['connectivity-service']: - uri="/restconf/config/context/connectivity-service/"+cs["uuid"]+"/" - array_cs.append(uri) - #json = { 'itemlist' : array_cs } - return array_cs - -def retrieve_context_connectivity_service_connectivity_service_by_id(uuid) -> str: - logging.info("retrieve_context_connectivity_service_connectivity_service_by_id %s", uuid) - for item in database.context['connectivity-service']: - if item['uuid'] == uuid: - return item - -def retrieve_context_connectivity_service_cost_characteristic_cost_characteristic(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_cost_characteristic_cost_characteristic_by_id(uuid, costName) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_available_capacity_available_capacity(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_bandwidth_profile(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_available_capacity_total_size_total_size(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_capacity(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_bandwidth_profile(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_total_potential_capacity(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_total_size_total_size(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_end_point(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_end_point_by_id(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_name_name(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_end_point_name_name_by_id(uuid, localId, valueName) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_latency_characteristic_latency_characteristic(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_latency_characteristic_latency_characteristic_by_id(uuid, trafficPropertyName) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_bandwidth_profile(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_requested_capacity_requested_capacity(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_requested_capacity_total_size_total_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_resilience_type_resilience_type(uuid) -> str: - return 'do some magic!' - -def retrieve_context_connectivity_service_schedule_schedule(uuid) -> str: - return 'do some magic!' - -def retrieve_context_name_name() -> str: - return 'do some magic!' - -def retrieve_context_name_name_by_id(valueName) -> str: - return 'do some magic!' - -def retrieve_context_nw_topology_service_name_name() -> str: - return 'do some magic!' - -def retrieve_context_nw_topology_service_name_name_by_id(valueName) -> str: - return 'do some magic!' - -def retrieve_context_nw_topology_service_nw_topology_service() -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_end_point_end_point(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_end_point_end_point_by_id(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_end_point_name_name(uuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_end_point_name_name_by_id(uuid, localId, valueName) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_objective_function_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_objective_function_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_objective_function_objective_function(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_optimization_constraint_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_optimization_constraint_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_optimization_constraint_optimization_constraint(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_path_comp_service() -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_path_comp_service_by_id(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_cost_characteristic_cost_characteristic(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_cost_characteristic_cost_characteristic_by_id(uuid, costName) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_latency_characteristic_latency_characteristic(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_latency_characteristic_latency_characteristic_by_id(uuid, trafficPropertyName) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_bandwidth_profile(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_requested_capacity_requested_capacity(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_requested_capacity_total_size_total_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_comp_service_routing_constraint_routing_constraint(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_path_path() -> str: - return 'do some magic!' - -def retrieve_context_path_path_by_id(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_cost_characteristic_cost_characteristic(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_cost_characteristic_cost_characteristic_by_id(uuid, costName) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_latency_characteristic_latency_characteristic(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_latency_characteristic_latency_characteristic_by_id(uuid, trafficPropertyName) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_bandwidth_profile(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_requested_capacity_requested_capacity(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_requested_capacity_total_size_total_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_path_routing_constraint_routing_constraint(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_available_capacity_available_capacity(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_available_capacity_bandwidth_profile_bandwidth_profile(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_available_capacity_total_size_total_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_service_interface_point() -> str: - logging.info("retrieve_context_service_interface_point_service_interface_point") - array_cs=[] - for sip in database.context['service-interface-point']: - uri="/restconf/config/context/service-interface-point/"+sip["uuid"]+"/" - array_cs.append(uri) - #json = { 'itemlist' : array_cs } - return array_cs - -def retrieve_context_service_interface_point_service_interface_point_by_id(uuid) -> str: - logging.info("retrieve_context_service_interface_point_service_interface_point_by_id %s", uuid) - for item in database.context['service-interface-point']: - if item['uuid'] == uuid: - return item - -def retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_bandwidth_profile(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_total_potential_capacity_total_potential_capacity(uuid) -> str: - return 'do some magic!' - -def retrieve_context_service_interface_point_total_potential_capacity_total_size_total_size(uuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_available_capacity_available_capacity(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_available_capacity_bandwidth_profile_bandwidth_profile(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_available_capacity_total_size_total_size(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_cost_characteristic_cost_characteristic(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_cost_characteristic_cost_characteristic_by_id(uuid, linkUuid, costName) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_latency_characteristic_latency_characteristic(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_latency_characteristic_latency_characteristic_by_id(uuid, linkUuid, trafficPropertyName) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_link(uuid) -> str: - logging.info("retrieve_context_topology_link_link %s", uuid) - for item in database.context['topology']: - if item['uuid'] == uuid: - array_cs=[] - for link in item['link']: - uri="/restconf/config/context/topology/"+uuid+"/link/"+link["uuid"]+"/" - array_cs.append(uri) - #json = { 'itemlist' : array_cs } - return array_cs - - -def retrieve_context_topology_link_link_by_id(uuid, link_uuid) -> str: - logging.info("retrieve_context_topology_link_link_by_id %s $s", uuid, link_uuid) - for item in database.context['topology']: - if item['uuid'] == uuid: - for link in item['link']: - if link['uuid'] == link_uuid: - return link - -def retrieve_context_topology_link_name_name(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_name_name_by_id(uuid, linkUuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_resilience_type_resilience_type(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_risk_characteristic_risk_characteristic(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_risk_characteristic_risk_characteristic_by_id(uuid, linkUuid, riskCharacteristicName) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_bandwidth_profile(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_total_potential_capacity_total_potential_capacity(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_total_potential_capacity_total_size_total_size(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_validation_mechanism_validation_mechanism(uuid, linkUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_link_validation_mechanism_validation_mechanism_by_id(uuid, linkUuid, validationMechanism) -> str: - return 'do some magic!' - -def retrieve_context_topology_name_name(uuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_name_name_by_id(uuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_available_capacity_available_capacity(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_available_capacity_bandwidth_profile_bandwidth_profile(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_available_capacity_total_size_total_size(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_cost_characteristic_cost_characteristic(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_cost_characteristic_cost_characteristic_by_id(uuid, nodeUuid, costName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_latency_characteristic_latency_characteristic(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_latency_characteristic_latency_characteristic_by_id(uuid, nodeUuid, trafficPropertyName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_name_name(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_name_name_by_id(uuid, nodeUuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node(uuid) -> str: - logging.info("retrieve_context_topology_node_node %s", uuid) - for item in database.context['topology']: - if item['uuid'] == uuid: - array_cs=[] - for node in item['node']: - uri="/restconf/config/context/topology/"+uuid+"/node/"+node["uuid"]+"/" - array_cs.append(uri) - #json = { 'itemlist' : array_cs } - return array_cs - -def retrieve_context_topology_node_node_by_id(uuid, node_uuid) -> str: - logging.info("retrieve_context_topology_node_node_by_id %s %s", uuid, node_uuid) - for item in database.context['topology']: - if item['uuid'] == uuid: - for node in item['node']: - if node['uuid'] == node_uuid: - return node - -def retrieve_context_topology_node_node_rule_group_available_capacity_available_capacity(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_bandwidth_profile(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_available_capacity_total_size_total_size(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_cost_characteristic_cost_characteristic(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_cost_characteristic_cost_characteristic_by_id(uuid, nodeUuid, nodeRuleGroupUuid, costName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_available_capacity(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_bandwidth_profile(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_total_size_total_size(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_cost_characteristic_cost_characteristic(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_cost_characteristic_cost_characteristic_by_id(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid, costName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_inter_rule_group(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_inter_rule_group_by_id(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_latency_characteristic_latency_characteristic(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_latency_characteristic_latency_characteristic_by_id(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid, trafficPropertyName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_name_name(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_name_name_by_id(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_risk_characteristic_risk_characteristic(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_risk_characteristic_risk_characteristic_by_id(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid, riskCharacteristicName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_name_name(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_name_name_by_id(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid, localId, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_rule(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_rule_by_id(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_bandwidth_profile(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_total_potential_capacity(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_total_size_total_size(uuid, nodeUuid, nodeRuleGroupUuid, interRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_latency_characteristic_latency_characteristic(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_latency_characteristic_latency_characteristic_by_id(uuid, nodeUuid, nodeRuleGroupUuid, trafficPropertyName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_name_name(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_name_name_by_id(uuid, nodeUuid, nodeRuleGroupUuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_node_rule_group(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_node_rule_group_by_id(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_risk_characteristic_risk_characteristic(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_risk_characteristic_risk_characteristic_by_id(uuid, nodeUuid, nodeRuleGroupUuid, riskCharacteristicName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_rule_name_name(uuid, nodeUuid, nodeRuleGroupUuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_rule_name_name_by_id(uuid, nodeUuid, nodeRuleGroupUuid, localId, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_rule_rule(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_rule_rule_by_id(uuid, nodeUuid, nodeRuleGroupUuid, localId) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_bandwidth_profile(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_total_potential_capacity_total_potential_capacity(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_node_rule_group_total_potential_capacity_total_size_total_size(uuid, nodeUuid, nodeRuleGroupUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_owned_node_edge_point_connection_end_point_connection_end_point(uuid, nodeUuid, ownedNodeEdgePointUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_owned_node_edge_point_connection_end_point_connection_end_point_by_id(uuid, nodeUuid, ownedNodeEdgePointUuid, connectionEndPointUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_owned_node_edge_point_connection_end_point_name_name(uuid, nodeUuid, ownedNodeEdgePointUuid, connectionEndPointUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_owned_node_edge_point_connection_end_point_name_name_by_id(uuid, nodeUuid, ownedNodeEdgePointUuid, connectionEndPointUuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_owned_node_edge_point_name_name(uuid, nodeUuid, ownedNodeEdgePointUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_owned_node_edge_point_name_name_by_id(uuid, nodeUuid, ownedNodeEdgePointUuid, valueName) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_owned_node_edge_point_owned_node_edge_point(uuid, node_uuid) -> str: - logging.info("retrieve_context_topology_node_owned_node_edge_point_owned_node_edge_point %s %s", uuid, node_uuid) - for item in database.context['topology']: - if item['uuid'] == uuid: - for node in item['node']: - if node['uuid']==node_uuid: - array_cs=[] - for nep in node['owned-node-edge-point']: - uri="/restconf/config/context/topology/"+uuid+"/node/"+node_uuid+"/owned-node-edge-point/"+nep['uuid']+"/" - array_cs.append(uri) - #json = { 'itemlist' : array_cs } - return array_cs - - -def retrieve_context_topology_node_owned_node_edge_point_owned_node_edge_point_by_id(uuid, node_uuid, owned_node_edge_point_uuid) -> str: - logging.info("retrieve_context_topology_node_owned_node_edge_point_owned_node_edge_point_by_id %s %s %s", uuid, node_uuid, owned_node_edge_point_uuid) - for item in database.context['topology']: - if item['uuid'] == uuid: - for node in item['node']: - if node['uuid'] == node_uuid: - for nep in node['owned-node-edge-point']: - if nep['uuid'] == owned_node_edge_point_uuid: - return nep - -def retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_bandwidth_profile(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_total_potential_capacity_total_potential_capacity(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_node_total_potential_capacity_total_size_total_size(uuid, nodeUuid) -> str: - return 'do some magic!' - -def retrieve_context_topology_topology() -> str: - logging.info("retrieve_context_topology_topology") - array_cs=[] - for top in database.context['topology']: - uri="/restconf/config/context/topology/"+top["uuid"]+"/" - array_cs.append(uri) - #json = { 'itemlist' : array_cs } - return array_cs - -def retrieve_context_topology_topology_by_id(uuid) -> str: - logging.info("retrieve_context_topology_topology_by_id %s", uuid) - for item in database.context['topology']: - if item['uuid'] == uuid: - return item - -def update_context_by_id(context) -> str: - return 'do some magic!' - -def update_context_connectivity_service_connectivity_service_by_id(uuid, connectivityService) -> str: - return 'do some magic!' - -def update_context_connectivity_service_end_point_capacity_capacity_by_id(uuid, localId, capacity) -> str: - return 'do some magic!' - -def update_context_connectivity_service_end_point_end_point_by_id(uuid, localId, endPoint) -> str: - return 'do some magic!' - -def update_context_connectivity_service_end_point_name_name_by_id(uuid, localId, valueName, name) -> str: - return 'do some magic!' - -def update_context_connectivity_service_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def update_context_connectivity_service_resilience_type_resilience_type_by_id(uuid, resilienceType) -> str: - return 'do some magic!' - -def update_context_connectivity_service_schedule_schedule_by_id(uuid, schedule) -> str: - return 'do some magic!' - -def update_context_name_name_by_id(valueName, name) -> str: - return 'do some magic!' - -def update_context_path_comp_service_end_point_end_point_by_id(uuid, localId, endPoint) -> str: - return 'do some magic!' - -def update_context_path_comp_service_end_point_name_name_by_id(uuid, localId, valueName, name) -> str: - return 'do some magic!' - -def update_context_path_comp_service_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def update_context_path_comp_service_objective_function_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def update_context_path_comp_service_objective_function_objective_function_by_id(uuid, objectiveFunction) -> str: - return 'do some magic!' - -def update_context_path_comp_service_optimization_constraint_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def update_context_path_comp_service_optimization_constraint_optimization_constraint_by_id(uuid, optimizationConstraint) -> str: - return 'do some magic!' - -def update_context_path_comp_service_path_comp_service_by_id(uuid, pathCompService) -> str: - return 'do some magic!' - -def update_context_path_comp_service_routing_constraint_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def update_context_path_comp_service_routing_constraint_routing_constraint_by_id(uuid, routingConstraint) -> str: - return 'do some magic!' - -def update_context_service_interface_point_name_name_by_id(uuid, valueName, name) -> str: - return 'do some magic!' - -def update_context_service_interface_point_service_interface_point_by_id(uuid, serviceInterfacePoint) -> str: - return 'do some magic!' diff --git a/hackfest/tapi/server_old/database/context.json b/hackfest/tapi/server_old/database/context.json deleted file mode 100644 index 733300df8466e59ecfbca73bab3a2ba11e4c5a0a..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/database/context.json +++ /dev/null @@ -1,810 +0,0 @@ -{ - "uuid": "ctx-ref", - "name": [ - {"value-name": "name", "value": "REFERENCE_CONTEXT"} - ], - "service-interface-point": [ - { - "uuid": "sip-pe1-uni1", - "name": [ - {"value-name": "name", "value": "PE_01_UNI_01"} - ], - "layer-protocol-name": ["ETH"], - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "total-potential-capacity": { - "total-size": {"value": "10", "unit": "GBPS"} - }, - "available-capacity": { - "total-size": {"value": "10", "unit": "GBPS"} - } - }, - { - "uuid": "sip-pe2-uni1", - "name": [ - {"value-name": "name", "value": "PE_02_UNI_01"} - ], - "layer-protocol-name": ["ETH"], - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "total-potential-capacity": { - "total-size": {"value": "10", "unit": "GBPS"} - }, - "available-capacity": { - "total-size": {"value": "10", "unit": "GBPS"} - } - }, - - { - "uuid": "sip-pe3-uni1", - "name": [ - { - "value-name": "name", - "value": "PE_03_UNI_01" - } - ], - - "layer-protocol-name": [ - "ETH" - ], - - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "total-potential-capacity": { - "total-size": { - "value": "10", - "unit": "GBPS" - } - }, - - "available-capacity": { - "total-size": { - "value": "10", - "unit": "GBPS" - } - } - }, - - { - "uuid": "sip-pe4-uni1", - "name": [ - { - "value-name": "name", - "value": "PE_04_UNI_01" - } - ], - - "layer-protocol-name": [ - "ETH" - ], - - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "total-potential-capacity": { - "total-size": { - "value": "10", - "unit": "GBPS" - } - }, - - "available-capacity": { - "total-size": { - "value": "10", - "unit": "GBPS" - } - } - } - - ], - - "topology": - [ - { - "uuid": "topo-nwk", - "name": [ - { - "value-name": "name", - "value": "NETWORK_TOPOLOGY" - } - ], - - "node": - [ - { - "uuid": "node-pe-1", - "name": - [ - { - "value-name": "name", - "value": "NODE_PE_01" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "owned-node-edge-point": [ - { - "uuid": "NEP_PE_01_UNI1", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_01_UNI1" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC", - "mapped-service-interface-point" : ["/restconf/config/context/service-interface-point/sip-pe1-uni1/"] - }, - { - "uuid": "NEP_PE_01_NNI3", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_01_NNI3" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - }, - { - "uuid": "NEP_PE_01_NNI4", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_01_NNI4" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - } - ], - "aggregated-node-edge-point": [] - }, - - { - "uuid": "node-pe-2", - "name": - [ - { - "value-name": "name", - "value": "NODE_PE_02" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "owned-node-edge-point": [ - { - "uuid": "NEP_PE_02_UNI1", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_02_UNI1" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC", - "mapped-service-interface-point" : ["/restconf/config/context/service-interface-point/sip-pe2-uni1/"] - }, - - { - "uuid": "NEP_PE_02_NNI3", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_02_NNI3" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - }, - { - "uuid": "NEP_PE_02_NNI4", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_02_NNI4" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - } - ], - "aggregated-node-edge-point": [] - }, - - { - "uuid": "node-pe-3", - "name": - [ - { - "value-name": "name", - "value": "NODE_PE_03" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "owned-node-edge-point": [ - { - "uuid": "NEP_PE_03_UNI1", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_03_UNI1" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC", - "mapped-service-interface-point" : ["/restconf/config/context/service-interface-point/sip-pe3-uni1/"] - }, - { - "uuid": "NEP_PE_03_NNI1", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_03_NNI1" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - }, - { - "uuid": "NEP_PE_03_NNI2", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_03_NNI2" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - }, - { - "uuid": "NEP_PE_03_NNI4", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_03_NNI4" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - } - ], - "aggregated-node-edge-point": [] - }, - - { - "uuid": "node-pe-4", - "name": - [ - { - "value-name": "name", - "value": "NODE_PE_04" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "aggregated-node-edge-point": [], - "owned-node-edge-point": - [ - { - "uuid": "NEP_PE_04_UNI1", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_04_UNI1" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC", - "mapped-service-interface-point" : ["/restconf/config/context/service-interface-point/sip-pe4-uni1/"] - }, - { - "uuid": "NEP_PE_04_NNI1", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_04_NNI1" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - }, - { - "uuid": "NEP_PE_04_NNI2", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_04_NNI2" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - }, - { - "uuid": "NEP_PE_04_NNI3", - "name": - [ - { - "value-name": "name", - "value": "NEP_PE_04_NNI3" - } - ], - - "layer-protocol-name": "ETH", - "administrative-state": "UNLOCKED", - "operational-state": "ENABLED", - "lifecycle-state": "INSTALLED", - "termination-state": "LP_CAN_NEVER_TERMINATE", - "termination-direction": "BIDIRECTIONAL", - "link-port-direction": "BIDIRECTIONAL", - "link-port-role": "SYMMETRIC" - } - ] - } - ], - - "link": - [ - { - "uuid": "PE1_NNI3_PI3_NNI1", - "name": - [ - { - "value-name": "name", - "value": "PE1_NNI3_PI3_NNI1" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "direction": "BIDIRECTIONAL", - "resilience-type": - { - "protection-type": "NO_PROTECTON", - "restoration-policy": "NA" - }, - - "total-potential-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "available-capacity": - { - "total-size": - { - "value": "90", - "unit": "GBPS" - } - }, - - "cost-characteristic": - [ - { - "cost-name": "hop_count", - "cost-value": "1" - } - ], - - "latency-characteristic": - [ - { - "traffic-property-name": "FixedLatency", - "fixed-latency-characteristic": "1" - } - ], - - "node-edge-point": - [ - "/restconf/config/context/topology/topo-nwk/node/node-pe-1/owned-node-edge-point/NEP_PE_01_NNI3", - "/restconf/config/context/topology/topo-nwk/node/node-pe-3/owned-node-edge-point/NEP_PE_03_NNI1" - ] - }, - - { - "uuid": "PE1_NNI4_PI4_NNI1", - "name": - [ - { - "value-name": "name", - "value": "PE1_NNI4_PI4_NNI1" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "direction": "BIDIRECTIONAL", - "resilience-type": - { - "protection-type": "NO_PROTECTON", - "restoration-policy": "NA" - }, - - "total-potential-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "available-capacity": - { - "total-size": - { - "value": "90", - "unit": "GBPS" - } - }, - - "cost-characteristic": - [ - { - "cost-name": "hop_count", - "cost-value": "1" - } - ], - - "latency-characteristic": - [ - { - "traffic-property-name": "FixedLatency", - "fixed-latency-characteristic": "1" - } - ], - - "node-edge-point": - [ - "/restconf/config/context/topology/topo-nwk/node/node-pe-1/owned-node-edge-point/NEP_PE_01_NNI4", - "/restconf/config/context/topology/topo-nwk/node/node-pe-4/owned-node-edge-point/NEP_PE_04_NNI1" - ] - }, - - { - "uuid": "PE2_NNI3_PI3_NNI2", - "name": - [ - { - "value-name": "name", - "value": "PE2_NNI3_PI3_NNI2" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "direction": "BIDIRECTIONAL", - "resilience-type": - { - "protection-type": "NO_PROTECTON", - "restoration-policy": "NA" - }, - - "total-potential-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "available-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "cost-characteristic": - [ - { - "cost-name": "hop_count", - "cost-value": "1" - } - ], - - "latency-characteristic": - [ - { - "traffic-property-name": "FixedLatency", - "fixed-latency-characteristic": "1" - } - ], - - "node-edge-point": - [ - "/restconf/config/context/topology/topo-nwk/node/node-pe-2/owned-node-edge-point/NEP_PE_02_NNI3", - "/restconf/config/context/topology/topo-nwk/node/node-pe-3/owned-node-edge-point/NEP_PE_03_NNI2" - ] - }, - - { - "uuid": "PE2_NNI4_PI4_NNI2", - "name": - [ - { - "value-name": "name", - "value": "PE2_NNI4_PI4_NNI2" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "direction": "BIDIRECTIONAL", - "resilience-type": - { - "protection-type": "NO_PROTECTON", - "restoration-policy": "NA" - }, - - "total-potential-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "available-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "cost-characteristic": - [ - { - "cost-name": "hop_count", - "cost-value": "1" - } - ], - - "latency-characteristic": - [ - { - "traffic-property-name": "FixedLatency", - "fixed-latency-characteristic": "1" - } - ], - - "node-edge-point": - [ - "/restconf/config/context/topology/topo-nwk/node/node-pe-2/owned-node-edge-point/NEP_PE_02_NNI4", - "/restconf/config/context/topology/topo-nwk/node/node-pe-4/owned-node-edge-point/NEP_PE_04_NNI2" - ] - }, - { - "uuid": "PE3_NNI4_PI4_NNI3", - "name": - [ - { - "value-name": "name", - "value": "PE3_NNI4_PI4_NNI3" - } - ], - - "layer-protocol-name": - [ - "ETH" - ], - - "direction": "BIDIRECTIONAL", - "resilience-type": - { - "protection-type": "NO_PROTECTON", - "restoration-policy": "NA" - }, - - "total-potential-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "available-capacity": - { - "total-size": - { - "value": "100", - "unit": "GBPS" - } - }, - - "cost-characteristic": - [ - { - "cost-name": "hop_count", - "cost-value": "1" - } - ], - - "latency-characteristic": - [ - { - "traffic-property-name": "FixedLatency", - "fixed-latency-characteristic": "1" - } - ], - - "node-edge-point": - [ - "/restconf/config/context/topology/topo-nwk/node/node-pe-3/owned-node-edge-point/NEP_PE_03_NNI4", - "/restconf/config/context/topology/topo-nwk/node/node-pe-4/owned-node-edge-point/NEP_PE_04_NNI3" - ] - } - ] - } - ], - - "connection": - [ - - ], - - "connectivity-service": - [ - - ] -} diff --git a/hackfest/tapi/server_old/database/database.py b/hackfest/tapi/server_old/database/database.py deleted file mode 100644 index cfc4b84acb356f1462fc8363c223cdd2764d0eaf..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/database/database.py +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python3 - -import logging - -context = { } \ No newline at end of file diff --git a/hackfest/tapi/server_old/requirements.txt b/hackfest/tapi/server_old/requirements.txt deleted file mode 100644 index fa7fef50be55b2da057cbe7e4c79420ebf185ed5..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -connexion == 2.14.1 -python_dateutil == 2.6.0 -setuptools >= 21.0.0 diff --git a/hackfest/tapi/server_old/swagger/swagger.yaml b/hackfest/tapi/server_old/swagger/swagger.yaml deleted file mode 100644 index a62ba726cc96c4c2efc9818f9909f9ed4a4c57ff..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/swagger/swagger.yaml +++ /dev/null @@ -1,10862 +0,0 @@ ---- -swagger: "2.0" -info: - description: "tapi-connectivity API generated from tapi-connectivity.yang" - version: "1.0.0" - title: "tapi-connectivity API" -host: "localhost:8080" -basePath: "/restconf" -schemes: -- "http" -paths: - /config/context/: - get: - tags: - - "default_controller" - summary: "Retrieve context" - description: "Retrieve operation of resource: context" - operationId: "controllers.default_controller.retrieve_context" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/context_schema" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create context by ID" - description: "Create operation of resource: context" - operationId: "controllers.default_controller.create_context_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - in: "body" - name: "context" - description: "contextbody object" - required: true - schema: - $ref: "#/definitions/context_schema" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update context by ID" - description: "Update operation of resource: context" - operationId: "controllers.default_controller.update_context_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - in: "body" - name: "context" - description: "contextbody object" - required: true - schema: - $ref: "#/definitions/context_schema" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete context by ID" - description: "Delete operation of resource: context" - operationId: "controllers.default_controller.delete_context_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/connection/: - get: - tags: - - "default_controller" - summary: "Retrieve connection" - description: "Retrieve operation of resource: connection" - operationId: "controllers.default_controller.retrieve_context_connection_connection" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve connection by ID" - description: "Retrieve operation of resource: connection" - operationId: "controllers.default_controller.retrieve_context_connection_connection_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/connection" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/route/: - get: - tags: - - "default_controller" - summary: "Retrieve route" - description: "Retrieve operation of resource: route" - operationId: "controllers.default_controller.retrieve_context_connection_route_route" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/route/{local-id}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/route/{local-id}/: - get: - tags: - - "default_controller" - summary: "Retrieve route by ID" - description: "Retrieve operation of resource: route" - operationId: "controllers.default_controller.retrieve_context_connection_route_route_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/route" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/route/{local-id}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_route_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/route/{local-id}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/route/{local-id}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_route_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/: - get: - tags: - - "default_controller" - summary: "Retrieve switch-control" - description: "Retrieve operation of resource: switch-control" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_switch_control" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/switch-control/{local-id}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/: - get: - tags: - - "default_controller" - summary: "Retrieve switch-control by ID" - description: "Retrieve operation of resource: switch-control" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_switch_control_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/switch-control" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/switch-control/{local-id}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/resilience-type/: - get: - tags: - - "default_controller" - summary: "Retrieve resilience-type" - description: "Retrieve operation of resource: resilience-type" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_resilience_type_resilience_type" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/resilience-type" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/switch/: - get: - tags: - - "default_controller" - summary: "Retrieve switch" - description: "Retrieve operation of resource: switch" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_switch_switch" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/switch-control/{local-id}/switch/{local-id}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/switch/{local-id2}/: - get: - tags: - - "default_controller" - summary: "Retrieve switch by ID" - description: "Retrieve operation of resource: switch" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_switch_switch_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "local-id2" - in: "path" - description: "ID of local-id2" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/switch" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/switch/{local-id2}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_switch_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "local-id2" - in: "path" - description: "ID of local-id2" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connection/{uuid}/switch-control/{local-id}/switch/{local-id}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/connection/{uuid}/switch-control/{local-id}/switch/{local-id2}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connection_switch_control_switch_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "local-id2" - in: "path" - description: "ID of local-id2" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/: - get: - tags: - - "default_controller" - summary: "Retrieve connectivity-service" - description: "Retrieve operation of resource: connectivity-service" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_connectivity_service" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connectivity-service/{uuid}/" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve connectivity-service by ID" - description: "Retrieve operation of resource: connectivity-service" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_connectivity_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/connectivity-service" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create connectivity-service by ID" - description: "Create operation of resource: connectivity-service" - operationId: "controllers.default_controller.create_context_connectivity_service_connectivity_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "connectivityService" - description: "connectivity-servicebody object" - required: true - schema: - $ref: "#/definitions/connectivity-service" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update connectivity-service by ID" - description: "Update operation of resource: connectivity-service" - operationId: "controllers.default_controller.update_context_connectivity_service_connectivity_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "connectivity-service" - description: "connectivity-servicebody object" - required: true - schema: - $ref: "#/definitions/connectivity-service" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete connectivity-service by ID" - description: "Delete operation of resource: connectivity-service" - operationId: "controllers.default_controller.delete_context_connectivity_service_connectivity_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/cost-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_cost_characteristic_cost_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connectivity-service/{uuid}/cost-characteristic/{cost-name}/" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/cost-characteristic/{cost-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic by ID" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_cost_characteristic_cost_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "cost-name" - in: "path" - description: "ID of cost-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/cost-characteristic" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/: - get: - tags: - - "default_controller" - summary: "Retrieve end-point" - description: "Retrieve operation of resource: end-point" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_end_point" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connectivity-service/{uuid}/end-point/{local-id}/" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/: - get: - tags: - - "default_controller" - summary: "Retrieve end-point by ID" - description: "Retrieve operation of resource: end-point" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/connectivity-service-end-point" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create end-point by ID" - description: "Create operation of resource: end-point" - operationId: "controllers.default_controller.create_context_connectivity_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - in: "body" - name: "end-point" - description: "end-pointbody object" - required: true - schema: - $ref: "#/definitions/connectivity-service-end-point" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update end-point by ID" - description: "Update operation of resource: end-point" - operationId: "controllers.default_controller.update_context_connectivity_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - in: "body" - name: "end-point" - description: "end-pointbody object" - required: true - schema: - $ref: "#/definitions/connectivity-service-end-point" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete end-point by ID" - description: "Delete operation of resource: end-point" - operationId: "controllers.default_controller.delete_context_connectivity_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve capacity" - description: "Retrieve operation of resource: capacity" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-pac" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create capacity by ID" - description: "Create operation of resource: capacity" - operationId: "controllers.default_controller.create_context_connectivity_service_end_point_capacity_capacity_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - in: "body" - name: "capacity" - description: "capacitybody object" - required: true - schema: - $ref: "#/definitions/capacity-pac" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update capacity by ID" - description: "Update operation of resource: capacity" - operationId: "controllers.default_controller.update_context_connectivity_service_end_point_capacity_capacity_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - in: "body" - name: "capacity" - description: "capacitybody object" - required: true - schema: - $ref: "#/definitions/capacity-pac" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete capacity by ID" - description: "Delete operation of resource: capacity" - operationId: "controllers.default_controller.delete_context_connectivity_service_end_point_capacity_capacity_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/available-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve available-capacity" - description: "Retrieve operation of resource: available-capacity" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_available_capacity_available_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Capacity available to be assigned." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/available-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - ? /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/available-capacity/bandwidth-profile/committed-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/available-capacity/bandwidth-profile/committed-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/available-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/available-capacity/bandwidth-profile/peak-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/available-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_available_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/total-potential-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve total-potential-capacity" - description: "Retrieve operation of resource: total-potential-capacity" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_total_potential_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "An optimistic view of the capacity of the TopologicalEntity\ - \ assuming that any shared capacity is available to be taken." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/total-potential-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - ? /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/total-potential-capacity/bandwidth-profile/committed-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/total-potential-capacity/bandwidth-profile/committed-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/total-potential-capacity/bandwidth-profile/peak-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/total-potential-capacity/bandwidth-profile/peak-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/capacity/total-potential-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_capacity_total_potential_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connectivity-service/{uuid}/end-point/{local-id}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/end-point/{local-id}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_connectivity_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_connectivity_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_connectivity_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/latency-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_latency_characteristic_latency_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connectivity-service/{uuid}/latency-characteristic/{traffic-property-name}/" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/latency-characteristic/{traffic-property-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic by ID" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_latency_characteristic_latency_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "traffic-property-name" - in: "path" - description: "ID of traffic-property-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/latency-characteristic" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/connectivity-service/{uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_connectivity_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_connectivity_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_connectivity_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/requested-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve requested-capacity" - description: "Retrieve operation of resource: requested-capacity" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_requested_capacity_requested_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/requested-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/requested-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/requested-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/requested-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/requested-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_requested_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/requested-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_requested_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/resilience-type/: - get: - tags: - - "default_controller" - summary: "Retrieve resilience-type" - description: "Retrieve operation of resource: resilience-type" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_resilience_type_resilience_type" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/resilience-type" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create resilience-type by ID" - description: "Create operation of resource: resilience-type" - operationId: "controllers.default_controller.create_context_connectivity_service_resilience_type_resilience_type_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "resilience-type" - description: "resilience-typebody object" - required: true - schema: - $ref: "#/definitions/resilience-type" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update resilience-type by ID" - description: "Update operation of resource: resilience-type" - operationId: "controllers.default_controller.update_context_connectivity_service_resilience_type_resilience_type_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "resilience-type" - description: "resilience-typebody object" - required: true - schema: - $ref: "#/definitions/resilience-type" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete resilience-type by ID" - description: "Delete operation of resource: resilience-type" - operationId: "controllers.default_controller.delete_context_connectivity_service_resilience_type_resilience_type_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/connectivity-service/{uuid}/schedule/: - get: - tags: - - "default_controller" - summary: "Retrieve schedule" - description: "Retrieve operation of resource: schedule" - operationId: "controllers.default_controller.retrieve_context_connectivity_service_schedule_schedule" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/time-range" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create schedule by ID" - description: "Create operation of resource: schedule" - operationId: "controllers.default_controller.create_context_connectivity_service_schedule_schedule_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "schedule" - description: "schedulebody object" - required: true - schema: - $ref: "#/definitions/time-range" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update schedule by ID" - description: "Update operation of resource: schedule" - operationId: "controllers.default_controller.update_context_connectivity_service_schedule_schedule_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "schedule" - description: "schedulebody object" - required: true - schema: - $ref: "#/definitions/time-range" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete schedule by ID" - description: "Delete operation of resource: schedule" - operationId: "controllers.default_controller.delete_context_connectivity_service_schedule_schedule_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/nw-topology-service/: - get: - tags: - - "default_controller" - summary: "Retrieve nw-topology-service" - description: "Retrieve operation of resource: nw-topology-service" - operationId: "controllers.default_controller.retrieve_context_nw_topology_service_nw_topology_service" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/network-topology-service" - 400: - description: "Internal Error" - /config/context/nw-topology-service/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_nw_topology_service_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/nw-topology-service/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/nw-topology-service/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_nw_topology_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/path-comp-service/: - get: - tags: - - "default_controller" - summary: "Retrieve path-comp-service" - description: "Retrieve operation of resource: path-comp-service" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_path_comp_service" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve path-comp-service by ID" - description: "Retrieve operation of resource: path-comp-service" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_path_comp_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/path-computation-service" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create path-comp-service by ID" - description: "Create operation of resource: path-comp-service" - operationId: "controllers.default_controller.create_context_path_comp_service_path_comp_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "path-comp-service" - description: "path-comp-servicebody object" - required: true - schema: - $ref: "#/definitions/path-computation-service" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update path-comp-service by ID" - description: "Update operation of resource: path-comp-service" - operationId: "controllers.default_controller.update_context_path_comp_service_path_comp_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "path-comp-service" - description: "path-comp-servicebody object" - required: true - schema: - $ref: "#/definitions/path-computation-service" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete path-comp-service by ID" - description: "Delete operation of resource: path-comp-service" - operationId: "controllers.default_controller.delete_context_path_comp_service_path_comp_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/end-point/: - get: - tags: - - "default_controller" - summary: "Retrieve end-point" - description: "Retrieve operation of resource: end-point" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_end_point_end_point" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/end-point/{local-id}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/end-point/{local-id}/: - get: - tags: - - "default_controller" - summary: "Retrieve end-point by ID" - description: "Retrieve operation of resource: end-point" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/path-service-end-point" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create end-point by ID" - description: "Create operation of resource: end-point" - operationId: "controllers.default_controller.create_context_path_comp_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - in: "body" - name: "end-point" - description: "end-pointbody object" - required: true - schema: - $ref: "#/definitions/path-service-end-point" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update end-point by ID" - description: "Update operation of resource: end-point" - operationId: "controllers.default_controller.update_context_path_comp_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - in: "body" - name: "end-point" - description: "end-pointbody object" - required: true - schema: - $ref: "#/definitions/path-service-end-point" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete end-point by ID" - description: "Delete operation of resource: end-point" - operationId: "controllers.default_controller.delete_context_path_comp_service_end_point_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/end-point/{local-id}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_end_point_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/end-point/{local-id}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/end-point/{local-id}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_path_comp_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_path_comp_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_path_comp_service_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_path_comp_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_path_comp_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_path_comp_service_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/objective-function/: - get: - tags: - - "default_controller" - summary: "Retrieve objective-function" - description: "Retrieve operation of resource: objective-function" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_objective_function_objective_function" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/path-objective-function" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create objective-function by ID" - description: "Create operation of resource: objective-function" - operationId: "controllers.default_controller.create_context_path_comp_service_objective_function_objective_function_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "objective-function" - description: "objective-functionbody object" - required: true - schema: - $ref: "#/definitions/path-objective-function" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update objective-function by ID" - description: "Update operation of resource: objective-function" - operationId: "controllers.default_controller.update_context_path_comp_service_objective_function_objective_function_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "objective-function" - description: "objective-functionbody object" - required: true - schema: - $ref: "#/definitions/path-objective-function" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete objective-function by ID" - description: "Delete operation of resource: objective-function" - operationId: "controllers.default_controller.delete_context_path_comp_service_objective_function_objective_function_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/objective-function/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_objective_function_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/objective-function/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/objective-function/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_objective_function_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_path_comp_service_objective_function_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_path_comp_service_objective_function_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_path_comp_service_objective_function_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/optimization-constraint/: - get: - tags: - - "default_controller" - summary: "Retrieve optimization-constraint" - description: "Retrieve operation of resource: optimization-constraint" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_optimization_constraint_optimization_constraint" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/path-optimization-constraint" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create optimization-constraint by ID" - description: "Create operation of resource: optimization-constraint" - operationId: "controllers.default_controller.create_context_path_comp_service_optimization_constraint_optimization_constraint_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "optimization-constraint" - description: "optimization-constraintbody object" - required: true - schema: - $ref: "#/definitions/path-optimization-constraint" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update optimization-constraint by ID" - description: "Update operation of resource: optimization-constraint" - operationId: "controllers.default_controller.update_context_path_comp_service_optimization_constraint_optimization_constraint_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "optimization-constraint" - description: "optimization-constraintbody object" - required: true - schema: - $ref: "#/definitions/path-optimization-constraint" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete optimization-constraint by ID" - description: "Delete operation of resource: optimization-constraint" - operationId: "controllers.default_controller.delete_context_path_comp_service_optimization_constraint_optimization_constraint_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/optimization-constraint/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_optimization_constraint_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/optimization-constraint/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/optimization-constraint/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_optimization_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_path_comp_service_optimization_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_path_comp_service_optimization_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_path_comp_service_optimization_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/: - get: - tags: - - "default_controller" - summary: "Retrieve routing-constraint" - description: "Retrieve operation of resource: routing-constraint" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_routing_constraint" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/routing-constraint" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create routing-constraint by ID" - description: "Create operation of resource: routing-constraint" - operationId: "controllers.default_controller.create_context_path_comp_service_routing_constraint_routing_constraint_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "routing-constraint" - description: "routing-constraintbody object" - required: true - schema: - $ref: "#/definitions/routing-constraint" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update routing-constraint by ID" - description: "Update operation of resource: routing-constraint" - operationId: "controllers.default_controller.update_context_path_comp_service_routing_constraint_routing_constraint_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "routing-constraint" - description: "routing-constraintbody object" - required: true - schema: - $ref: "#/definitions/routing-constraint" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete routing-constraint by ID" - description: "Delete operation of resource: routing-constraint" - operationId: "controllers.default_controller.delete_context_path_comp_service_routing_constraint_routing_constraint_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/cost-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_cost_characteristic_cost_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/routing-constraint/cost-characteristic/{cost-name}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/cost-characteristic/{cost-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic by ID" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_cost_characteristic_cost_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "cost-name" - in: "path" - description: "ID of cost-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/cost-characteristic" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/latency-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_latency_characteristic_latency_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/routing-constraint/latency-characteristic/{traffic-property-name}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/latency-characteristic/{traffic-property-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic by ID" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_latency_characteristic_latency_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "traffic-property-name" - in: "path" - description: "ID of traffic-property-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/latency-characteristic" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path-comp-service/{uuid}/routing-constraint/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_path_comp_service_routing_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_path_comp_service_routing_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_path_comp_service_routing_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/requested-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve requested-capacity" - description: "Retrieve operation of resource: requested-capacity" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_requested_capacity_requested_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_requested_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path-comp-service/{uuid}/routing-constraint/requested-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_path_comp_service_routing_constraint_requested_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path/: - get: - tags: - - "default_controller" - summary: "Retrieve path" - description: "Retrieve operation of resource: path" - operationId: "controllers.default_controller.retrieve_context_path_path" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path/{uuid}/" - 400: - description: "Internal Error" - /config/context/path/{uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve path by ID" - description: "Retrieve operation of resource: path" - operationId: "controllers.default_controller.retrieve_context_path_path_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/path" - 400: - description: "Internal Error" - /config/context/path/{uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path/{uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/path/{uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/: - get: - tags: - - "default_controller" - summary: "Retrieve routing-constraint" - description: "Retrieve operation of resource: routing-constraint" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_routing_constraint" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/routing-constraint" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/cost-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_cost_characteristic_cost_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path/{uuid}/routing-constraint/cost-characteristic/{cost-name}/" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/cost-characteristic/{cost-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic by ID" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_cost_characteristic_cost_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "cost-name" - in: "path" - description: "ID of cost-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/cost-characteristic" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/latency-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_latency_characteristic_latency_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path/{uuid}/routing-constraint/latency-characteristic/{traffic-property-name}/" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/latency-characteristic/{traffic-property-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic by ID" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_latency_characteristic_latency_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "traffic-property-name" - in: "path" - description: "ID of traffic-property-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/latency-characteristic" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/path/{uuid}/routing-constraint/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/requested-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve requested-capacity" - description: "Retrieve operation of resource: requested-capacity" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_requested_capacity_requested_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/requested-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_requested_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/path/{uuid}/routing-constraint/requested-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_path_routing_constraint_requested_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/: - get: - tags: - - "default_controller" - summary: "Retrieve service-interface-point" - description: "Retrieve operation of resource: service-interface-point" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_service_interface_point" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/service-interface-point/{uuid}/" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve service-interface-point by ID" - description: "Retrieve operation of resource: service-interface-point" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_service_interface_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/service-interface-point" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create service-interface-point by ID" - description: "Create operation of resource: service-interface-point" - operationId: "controllers.default_controller.create_context_service_interface_point_service_interface_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "service-interface-point" - description: "service-interface-pointbody object" - required: true - schema: - $ref: "#/definitions/service-interface-point" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update service-interface-point by ID" - description: "Update operation of resource: service-interface-point" - operationId: "controllers.default_controller.update_context_service_interface_point_service_interface_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - in: "body" - name: "service-interface-point" - description: "service-interface-pointbody object" - required: true - schema: - $ref: "#/definitions/service-interface-point" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete service-interface-point by ID" - description: "Delete operation of resource: service-interface-point" - operationId: "controllers.default_controller.delete_context_service_interface_point_service_interface_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/available-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve available-capacity" - description: "Retrieve operation of resource: available-capacity" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_available_capacity_available_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Capacity available to be assigned." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/available-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_available_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/available-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/available-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/available-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/available-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/available-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_available_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/service-interface-point/{uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - post: - tags: - - "default_controller" - summary: "Create name by ID" - description: "Create operation of resource: name" - operationId: "controllers.default_controller.create_context_service_interface_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - put: - tags: - - "default_controller" - summary: "Update name by ID" - description: "Update operation of resource: name" - operationId: "controllers.default_controller.update_context_service_interface_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - - in: "body" - name: "name" - description: "namebody object" - required: true - schema: - $ref: "#/definitions/name-and-value" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - delete: - tags: - - "default_controller" - summary: "Delete name by ID" - description: "Delete operation of resource: name" - operationId: "controllers.default_controller.delete_context_service_interface_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/total-potential-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve total-potential-capacity" - description: "Retrieve operation of resource: total-potential-capacity" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_total_potential_capacity_total_potential_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "An optimistic view of the capacity of the TopologicalEntity\ - \ assuming that any shared capacity is available to be taken." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/total-potential-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/total-potential-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/total-potential-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/total-potential-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/total-potential-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/service-interface-point/{uuid}/total-potential-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_service_interface_point_total_potential_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/: - get: - tags: - - "default_controller" - summary: "Retrieve topology" - description: "Retrieve operation of resource: topology" - operationId: "controllers.default_controller.retrieve_context_topology_topology" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve topology by ID" - description: "Retrieve operation of resource: topology" - operationId: "controllers.default_controller.retrieve_context_topology_topology_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/topology" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/: - get: - tags: - - "default_controller" - summary: "Retrieve link" - description: "Retrieve operation of resource: link" - operationId: "controllers.default_controller.retrieve_context_topology_link_link" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/link/{link_uuid}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve link by ID" - description: "Retrieve operation of resource: link" - operationId: "controllers.default_controller.retrieve_context_topology_link_link_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/link" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/available-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve available-capacity" - description: "Retrieve operation of resource: available-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_link_available_capacity_available_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Capacity available to be assigned." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/available-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_link_available_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/available-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_link_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/available-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_link_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/available-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_link_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/available-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_link_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/available-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_link_available_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/cost-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_link_cost_characteristic_cost_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/link/{link_uuid}/cost-characteristic/{cost-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/cost-characteristic/{cost-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic by ID" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_link_cost_characteristic_cost_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - - name: "cost-name" - in: "path" - description: "ID of cost-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/cost-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/latency-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_link_latency_characteristic_latency_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/link/{link_uuid}/latency-characteristic/{traffic-property-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/latency-characteristic/{traffic-property-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic by ID" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_link_latency_characteristic_latency_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - - name: "traffic-property-name" - in: "path" - description: "ID of traffic-property-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/latency-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_link_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/link/{link_uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_link_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/resilience-type/: - get: - tags: - - "default_controller" - summary: "Retrieve resilience-type" - description: "Retrieve operation of resource: resilience-type" - operationId: "controllers.default_controller.retrieve_context_topology_link_resilience_type_resilience_type" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/resilience-type" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/risk-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve risk-characteristic" - description: "Retrieve operation of resource: risk-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_link_risk_characteristic_risk_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/link/{link_uuid}/risk-characteristic/{risk-characteristic-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/risk-characteristic/{risk-characteristic-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve risk-characteristic by ID" - description: "Retrieve operation of resource: risk-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_link_risk_characteristic_risk_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - - name: "risk-characteristic-name" - in: "path" - description: "ID of risk-characteristic-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/risk-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/total-potential-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve total-potential-capacity" - description: "Retrieve operation of resource: total-potential-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_link_total_potential_capacity_total_potential_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "An optimistic view of the capacity of the TopologicalEntity\ - \ assuming that any shared capacity is available to be taken." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/total-potential-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/total-potential-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/total-potential-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/total-potential-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/total-potential-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_link_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/total-potential-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_link_total_potential_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/validation-mechanism/: - get: - tags: - - "default_controller" - summary: "Retrieve validation-mechanism" - description: "Retrieve operation of resource: validation-mechanism" - operationId: "controllers.default_controller.retrieve_context_topology_link_validation_mechanism_validation_mechanism" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/link/{link_uuid}/validation-mechanism/{validation-mechanism}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/link/{link_uuid}/validation-mechanism/{validation-mechanism}/: - get: - tags: - - "default_controller" - summary: "Retrieve validation-mechanism by ID" - description: "Retrieve operation of resource: validation-mechanism" - operationId: "controllers.default_controller.retrieve_context_topology_link_validation_mechanism_validation_mechanism_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "link_uuid" - in: "path" - description: "ID of link_uuid" - required: true - type: "string" - - name: "validation-mechanism" - in: "path" - description: "ID of validation-mechanism" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/validation-mechanism" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/: - get: - tags: - - "default_controller" - summary: "Retrieve node" - description: "Retrieve operation of resource: node" - operationId: "controllers.default_controller.retrieve_context_topology_node_node" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve node by ID" - description: "Retrieve operation of resource: node" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/node" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/available-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve available-capacity" - description: "Retrieve operation of resource: available-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_node_available_capacity_available_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Capacity available to be assigned." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/available-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_node_available_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/available-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/available-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/available-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/available-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/available-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_available_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/cost-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_cost_characteristic_cost_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/cost-characteristic/{cost-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/cost-characteristic/{cost-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic by ID" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_cost_characteristic_cost_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "cost-name" - in: "path" - description: "ID of cost-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/cost-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/latency-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_latency_characteristic_latency_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/latency-characteristic/{traffic-property-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/latency-characteristic/{traffic-property-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic by ID" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_latency_characteristic_latency_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "traffic-property-name" - in: "path" - description: "ID of traffic-property-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/latency-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/: - get: - tags: - - "default_controller" - summary: "Retrieve node-rule-group" - description: "Retrieve operation of resource: node-rule-group" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_node_rule_group" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve node-rule-group by ID" - description: "Retrieve operation of resource: node-rule-group" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_node_rule_group_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/node-rule-group" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/available-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve available-capacity" - description: "Retrieve operation of resource: available-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_available_capacity_available_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Capacity available to be assigned." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/available-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/available-capacity/bandwidth-profile/committed-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/available-capacity/bandwidth-profile/committed-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/available-capacity/bandwidth-profile/peak-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/available-capacity/bandwidth-profile/peak-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/available-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_available_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/cost-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_cost_characteristic_cost_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/cost-characteristic/{cost-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/cost-characteristic/{cost-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic by ID" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_cost_characteristic_cost_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "cost-name" - in: "path" - description: "ID of cost-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/cost-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/: - get: - tags: - - "default_controller" - summary: "Retrieve inter-rule-group" - description: "Retrieve operation of resource: inter-rule-group" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_inter_rule_group" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/ - : get: - tags: - - "default_controller" - summary: "Retrieve inter-rule-group by ID" - description: "Retrieve operation of resource: inter-rule-group" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_inter_rule_group_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/inter-rule-group" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/available-capacity/ - : get: - tags: - - "default_controller" - summary: "Retrieve available-capacity" - description: "Retrieve operation of resource: available-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_available_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Capacity available to be assigned." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/available-capacity/bandwidth-profile/ - : get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/available-capacity/bandwidth-profile/committed-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/available-capacity/bandwidth-profile/committed-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/available-capacity/bandwidth-profile/peak-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/available-capacity/bandwidth-profile/peak-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/available-capacity/total-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_available_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/cost-characteristic/ - : get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_cost_characteristic_cost_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/cost-characteristic/{cost-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/cost-characteristic/{cost-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve cost-characteristic by ID" - description: "Retrieve operation of resource: cost-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_cost_characteristic_cost_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - - name: "cost-name" - in: "path" - description: "ID of cost-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/cost-characteristic" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/latency-characteristic/ - : get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_latency_characteristic_latency_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/latency-characteristic/{traffic-property-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/latency-characteristic/{traffic-property-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic by ID" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_latency_characteristic_latency_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - - name: "traffic-property-name" - in: "path" - description: "ID of traffic-property-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/latency-characteristic" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/name/ - : get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/name/{value-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/name/{value-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/risk-characteristic/ - : get: - tags: - - "default_controller" - summary: "Retrieve risk-characteristic" - description: "Retrieve operation of resource: risk-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_risk_characteristic_risk_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/risk-characteristic/{risk-characteristic-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/risk-characteristic/{risk-characteristic-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve risk-characteristic by ID" - description: "Retrieve operation of resource: risk-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_risk_characteristic_risk_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - - name: "risk-characteristic-name" - in: "path" - description: "ID of risk-characteristic-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/risk-characteristic" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/rule/ - : get: - tags: - - "default_controller" - summary: "Retrieve rule" - description: "Retrieve operation of resource: rule" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_rule" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/rule/{local-id}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/rule/{local-id}/ - : get: - tags: - - "default_controller" - summary: "Retrieve rule by ID" - description: "Retrieve operation of resource: rule" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_rule_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/rule" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/rule/{local-id}/name/ - : get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/rule/{local-id}/name/{value-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/rule/{local-id}/name/{value-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_rule_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/total-potential-capacity/ - : get: - tags: - - "default_controller" - summary: "Retrieve total-potential-capacity" - description: "Retrieve operation of resource: total-potential-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_total_potential_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "An optimistic view of the capacity of the TopologicalEntity\ - \ assuming that any shared capacity is available to be taken." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/total-potential-capacity/bandwidth-profile/ - : get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/total-potential-capacity/bandwidth-profile/committed-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/total-potential-capacity/bandwidth-profile/committed-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/total-potential-capacity/bandwidth-profile/peak-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/total-potential-capacity/bandwidth-profile/peak-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/inter-rule-group/{inter-rule-group_uuid}/total-potential-capacity/total-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_inter_rule_group_total_potential_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "inter-rule-group_uuid" - in: "path" - description: "ID of inter-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/latency-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_latency_characteristic_latency_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/latency-characteristic/{traffic-property-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/latency-characteristic/{traffic-property-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve latency-characteristic by ID" - description: "Retrieve operation of resource: latency-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_latency_characteristic_latency_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "traffic-property-name" - in: "path" - description: "ID of traffic-property-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/latency-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/risk-characteristic/: - get: - tags: - - "default_controller" - summary: "Retrieve risk-characteristic" - description: "Retrieve operation of resource: risk-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_risk_characteristic_risk_characteristic" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/risk-characteristic/{risk-characteristic-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/risk-characteristic/{risk-characteristic-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve risk-characteristic by ID" - description: "Retrieve operation of resource: risk-characteristic" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_risk_characteristic_risk_characteristic_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "risk-characteristic-name" - in: "path" - description: "ID of risk-characteristic-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/risk-characteristic" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/rule/: - get: - tags: - - "default_controller" - summary: "Retrieve rule" - description: "Retrieve operation of resource: rule" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_rule_rule" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/rule/{local-id}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/rule/{local-id}/: - get: - tags: - - "default_controller" - summary: "Retrieve rule by ID" - description: "Retrieve operation of resource: rule" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_rule_rule_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/rule" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/rule/{local-id}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_rule_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/rule/{local-id}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/rule/{local-id}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_rule_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - - name: "local-id" - in: "path" - description: "ID of local-id" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/total-potential-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve total-potential-capacity" - description: "Retrieve operation of resource: total-potential-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_total_potential_capacity_total_potential_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "An optimistic view of the capacity of the TopologicalEntity\ - \ assuming that any shared capacity is available to be taken." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/total-potential-capacity/bandwidth-profile/ - : get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/total-potential-capacity/bandwidth-profile/committed-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/total-potential-capacity/bandwidth-profile/committed-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/total-potential-capacity/bandwidth-profile/peak-burst-size/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/total-potential-capacity/bandwidth-profile/peak-information-rate/ - : get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/node-rule-group/{node-rule-group_uuid}/total-potential-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_node_rule_group_total_potential_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "node-rule-group_uuid" - in: "path" - description: "ID of node-rule-group_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/: - get: - tags: - - "default_controller" - summary: "Retrieve owned-node-edge-point" - description: "Retrieve operation of resource: owned-node-edge-point" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_owned_node_edge_point" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned_node_edge_point_uuid}/: - get: - tags: - - "default_controller" - summary: "Retrieve owned-node-edge-point by ID" - description: "Retrieve operation of resource: owned-node-edge-point" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_owned_node_edge_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "owned_node_edge_point_uuid" - in: "path" - description: "ID of owned-node-edge-point_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/owned-node-edge-point_schema" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/connection-end-point/: - get: - tags: - - "default_controller" - summary: "Retrieve connection-end-point" - description: "Retrieve operation of resource: connection-end-point" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_connection_end_point_connection_end_point" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "owned-node-edge-point_uuid" - in: "path" - description: "ID of owned-node-edge-point_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/connection-end-point/{connection-end-point_uuid}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/connection-end-point/{connection-end-point_uuid}/ - : get: - tags: - - "default_controller" - summary: "Retrieve connection-end-point by ID" - description: "Retrieve operation of resource: connection-end-point" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_connection_end_point_connection_end_point_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "owned-node-edge-point_uuid" - in: "path" - description: "ID of owned-node-edge-point_uuid" - required: true - type: "string" - - name: "connection-end-point_uuid" - in: "path" - description: "ID of connection-end-point_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/connection-end-point" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/connection-end-point/{connection-end-point_uuid}/name/ - : get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_connection_end_point_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "owned-node-edge-point_uuid" - in: "path" - description: "ID of owned-node-edge-point_uuid" - required: true - type: "string" - - name: "connection-end-point_uuid" - in: "path" - description: "ID of connection-end-point_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/connection-end-point/{connection-end-point_uuid}/name/{value-name}/" - 400: - description: "Internal Error" - ? /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/connection-end-point/{connection-end-point_uuid}/name/{value-name}/ - : get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_connection_end_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "owned-node-edge-point_uuid" - in: "path" - description: "ID of owned-node-edge-point_uuid" - required: true - type: "string" - - name: "connection-end-point_uuid" - in: "path" - description: "ID of connection-end-point_uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/name/: - get: - tags: - - "default_controller" - summary: "Retrieve name" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_name_name" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "owned-node-edge-point_uuid" - in: "path" - description: "ID of owned-node-edge-point_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - type: "string" - x-path: "/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/name/{value-name}/" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/owned-node-edge-point/{owned-node-edge-point_uuid}/name/{value-name}/: - get: - tags: - - "default_controller" - summary: "Retrieve name by ID" - description: "Retrieve operation of resource: name" - operationId: "controllers.default_controller.retrieve_context_topology_node_owned_node_edge_point_name_name_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - - name: "owned-node-edge-point_uuid" - in: "path" - description: "ID of owned-node-edge-point_uuid" - required: true - type: "string" - - name: "value-name" - in: "path" - description: "ID of value-name" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/name-and-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/total-potential-capacity/: - get: - tags: - - "default_controller" - summary: "Retrieve total-potential-capacity" - description: "Retrieve operation of resource: total-potential-capacity" - operationId: "controllers.default_controller.retrieve_context_topology_node_total_potential_capacity_total_potential_capacity" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "An optimistic view of the capacity of the TopologicalEntity\ - \ assuming that any shared capacity is available to be taken." - $ref: "#/definitions/capacity" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/total-potential-capacity/bandwidth-profile/: - get: - tags: - - "default_controller" - summary: "Retrieve bandwidth-profile" - description: "Retrieve operation of resource: bandwidth-profile" - operationId: "controllers.default_controller.retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_bandwidth_profile" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/bandwidth-profile" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/total-potential-capacity/bandwidth-profile/committed-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-burst-size" - description: "Retrieve operation of resource: committed-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_committed_burst_size_committed_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/total-potential-capacity/bandwidth-profile/committed-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve committed-information-rate" - description: "Retrieve operation of resource: committed-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_committed_information_rate_committed_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/total-potential-capacity/bandwidth-profile/peak-burst-size/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-burst-size" - description: "Retrieve operation of resource: peak-burst-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_peak_burst_size_peak_burst_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/total-potential-capacity/bandwidth-profile/peak-information-rate/: - get: - tags: - - "default_controller" - summary: "Retrieve peak-information-rate" - description: "Retrieve operation of resource: peak-information-rate" - operationId: "controllers.default_controller.retrieve_context_topology_node_total_potential_capacity_bandwidth_profile_peak_information_rate_peak_information_rate" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /config/context/topology/{uuid}/node/{node_uuid}/total-potential-capacity/total-size/: - get: - tags: - - "default_controller" - summary: "Retrieve total-size" - description: "Retrieve operation of resource: total-size" - operationId: "controllers.default_controller.retrieve_context_topology_node_total_potential_capacity_total_size_total_size" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - name: "uuid" - in: "path" - description: "ID of uuid" - required: true - type: "string" - - name: "node_uuid" - in: "path" - description: "ID of node_uuid" - required: true - type: "string" - responses: - 200: - description: "Successful operation" - schema: - description: "Total capacity of the TopologicalEntity in MB/s. In case\ - \ of bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - 400: - description: "Internal Error" - /operations/create-connectivity-service/: - post: - tags: - - "default_controller" - summary: "Create create-connectivity-service by ID" - description: "Create operation of resource: create-connectivity-service" - operationId: "controllers.default_controller.create_create_connectivity_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - in: "body" - name: "create-connectivity-service" - description: "create-connectivity-servicebody object" - required: true - schema: - $ref: "#/definitions/create-connectivity-serviceRPC_input_schema" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/create-connectivity-serviceRPC_output_schema" - 400: - description: "Internal Error" - /operations/delete-connectivity-service/: - post: - tags: - - "default_controller" - summary: "Create delete-connectivity-service by ID" - description: "Create operation of resource: delete-connectivity-service" - operationId: "controllers.default_controller.create_delete_connectivity_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - in: "body" - name: "delete-connectivity-service" - description: "delete-connectivity-servicebody object" - required: true - schema: - $ref: "#/definitions/delete-connectivity-serviceRPC_input_schema" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/delete-connectivity-serviceRPC_output_schema" - 400: - description: "Internal Error" - /operations/get-connection-details/: - post: - tags: - - "default_controller" - summary: "Create get-connection-details by ID" - description: "Create operation of resource: get-connection-details" - operationId: "controllers.default_controller.create_get_connection_details_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - in: "body" - name: "get-connection-details" - description: "get-connection-detailsbody object" - required: true - schema: - $ref: "#/definitions/get-connection-detailsRPC_input_schema" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/get-connection-detailsRPC_output_schema" - 400: - description: "Internal Error" - /operations/get-connectivity-service-details/: - post: - tags: - - "default_controller" - summary: "Create get-connectivity-service-details by ID" - description: "Create operation of resource: get-connectivity-service-details" - operationId: "controllers.default_controller.create_get_connectivity_service_details_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - in: "body" - name: "get-connectivity-service-details" - description: "get-connectivity-service-detailsbody object" - required: true - schema: - $ref: "#/definitions/get-connectivity-service-detailsRPC_input_schema" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/get-connectivity-service-detailsRPC_output_schema" - 400: - description: "Internal Error" - /operations/get-connectivity-service-list/: - post: - tags: - - "default_controller" - summary: "Create get-connectivity-service-list by ID" - description: "Create operation of resource: get-connectivity-service-list" - operationId: "controllers.default_controller.create_get_connectivity_service_list_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: [] - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/get-connectivity-service-listRPC_output_schema" - 400: - description: "Internal Error" - /operations/update-connectivity-service/: - post: - tags: - - "default_controller" - summary: "Create update-connectivity-service by ID" - description: "Create operation of resource: update-connectivity-service" - operationId: "controllers.default_controller.create_update_connectivity_service_by_id" - consumes: - - "application/json" - produces: - - "application/json" - parameters: - - in: "body" - name: "update-connectivity-service" - description: "update-connectivity-servicebody object" - required: true - schema: - $ref: "#/definitions/update-connectivity-serviceRPC_input_schema" - responses: - 200: - description: "Successful operation" - schema: - $ref: "#/definitions/update-connectivity-serviceRPC_output_schema" - 400: - description: "Internal Error" -definitions: - connection: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/operational-state-pac" - - properties: - connection-end-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point/tapi-connectivity:uuid" - lower-connection: - type: "array" - items: - type: "string" - description: "An Connection object supports a recursive aggregation relationship\ - \ such that the internal construction of an Connection can be exposed\ - \ as multiple lower level Connection objects (partitioning).\nAggregation\ - \ is used as for the Node/Topology to allow changes in hierarchy. \n\ - Connection aggregation reflects Node/Topology aggregation. \nThe FC\ - \ represents a Cross-Connection in an NE. The Cross-Connection in an\ - \ NE is not necessarily the lowest level of FC partitioning." - x-path: "/tapi-common:context/tapi-connectivity:connection/tapi-connectivity:uuid" - route: - type: "array" - items: - $ref: "#/definitions/route" - x-key: "local-id" - switch-control: - type: "array" - items: - $ref: "#/definitions/switch-control" - x-key: "local-id" - direction: - type: "string" - enum: - - "BIDIRECTIONAL" - - "UNIDIRECTIONAL" - - "UNDEFINED_OR_UNKNOWN" - layer-protocol-name: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - description: "The ForwardingConstruct (FC) object class models enabled potential\ - \ for forwarding between two or more LTPs and like the LTP supports any transport\ - \ protocol including all circuit and packet forms.\nAt the lowest level of recursion,\ - \ a FC represents a cross-connection within an NE." - connection-end-point: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/operational-state-pac" - - $ref: "#/definitions/termination-pac" - - properties: - layer-protocol-name: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - connectivity-service-end-point: - type: "string" - x-path: "/tapi-common:context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point/tapi-connectivity:local-id" - parent-node-edge-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:uuid" - client-node-edge-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:uuid" - connection-port-direction: - type: "string" - description: "The orientation of defined flow at the EndPoint." - enum: - - "BIDIRECTIONAL" - - "INPUT" - - "OUTPUT" - - "UNIDENTIFIED_OR_UNKNOWN" - connection-port-role: - type: "string" - description: "Each EP of the FC has a role (e.g., working, protection, protected,\ - \ symmetric, hub, spoke, leaf, root) in the context of the FC with respect\ - \ to the FC function. " - enum: - - "SYMMETRIC" - - "ROOT" - - "LEAF" - - "TRUNK" - - "UNKNOWN" - description: "The LogicalTerminationPoint (LTP) object class encapsulates the\ - \ termination and adaptation functions of one or more transport layers. \nThe\ - \ structure of LTP supports all transport protocols including circuit and packet\ - \ forms." - connectivity-constraint: - allOf: - - $ref: "#/definitions/route-compute-policy" - - properties: - service-type: - type: "string" - enum: - - "POINT_TO_POINT_CONNECTIVITY" - - "POINT_TO_MULTIPOINT_CONNECTIVITY" - - "MULTIPOINT_CONNECTIVITY" - - "ROOTED_MULTIPOINT_CONNECTIVITY" - service-level: - type: "string" - description: "An abstract value the meaning of which is mutually agreed\ - \ – typically represents metrics such as - Class of service, priority,\ - \ resiliency, availability" - is-exclusive: - type: "boolean" - description: "To distinguish if the resources are exclusive to the service\ - \ - for example between EPL(isExclusive=true) and EVPL (isExclusive=false),\ - \ or between EPLAN (isExclusive=true) and EVPLAN (isExclusive=false)" - requested-capacity: - $ref: "#/definitions/capacity" - schedule: - $ref: "#/definitions/time-range" - cost-characteristic: - type: "array" - description: "The list of costs where each cost relates to some aspect of\ - \ the TopologicalEntity." - items: - $ref: "#/definitions/cost-characteristic" - x-key: "cost-name" - latency-characteristic: - type: "array" - description: "The effect on the latency of a queuing process. This only\ - \ has significant effect for packet based systems and has a complex characteristic." - items: - $ref: "#/definitions/latency-characteristic" - x-key: "traffic-property-name" - coroute-inclusion: - type: "string" - x-path: "/tapi-common:context/tapi-connectivity:connectivity-service/tapi-connectivity:uuid" - diversity-exclusion: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-connectivity:connectivity-service/tapi-connectivity:uuid" - connectivity-service: - allOf: - - $ref: "#/definitions/service-spec" - - $ref: "#/definitions/connectivity-constraint" - - $ref: "#/definitions/topology-constraint" - - $ref: "#/definitions/admin-state-pac" - - $ref: "#/definitions/resilience-constraint" - - properties: - end-point: - type: "array" - items: - $ref: "#/definitions/connectivity-service-end-point" - x-key: "local-id" - connection: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-connectivity:connection/tapi-connectivity:uuid" - direction: - type: "string" - enum: - - "BIDIRECTIONAL" - - "UNIDIRECTIONAL" - - "UNDEFINED_OR_UNKNOWN" - layer-protocol-name: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - description: "The ForwardingConstruct (FC) object class models enabled potential\ - \ for forwarding between two or more LTPs and like the LTP supports any transport\ - \ protocol including all circuit and packet forms.\nAt the lowest level of recursion,\ - \ a FC represents a cross-connection within an NE." - connectivity-service-end-point: - allOf: - - $ref: "#/definitions/local-class" - - $ref: "#/definitions/admin-state-pac" - - properties: - layer-protocol-name: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - service-interface-point: - type: "string" - x-path: "/tapi-common:context/tapi-common:service-interface-point/tapi-common:uuid" - capacity: - $ref: "#/definitions/capacity-pac" - direction: - type: "string" - description: "The orientation of defined flow at the EndPoint." - enum: - - "BIDIRECTIONAL" - - "INPUT" - - "OUTPUT" - - "UNIDENTIFIED_OR_UNKNOWN" - role: - type: "string" - description: "Each EP of the FC has a role (e.g., working, protection, protected,\ - \ symmetric, hub, spoke, leaf, root) in the context of the FC with respect\ - \ to the FC function. " - enum: - - "SYMMETRIC" - - "ROOT" - - "LEAF" - - "TRUNK" - - "UNKNOWN" - protection-role: - type: "string" - description: "To specify the protection role of this Port when create or\ - \ update ConnectivityService." - enum: - - "WORK" - - "PROTECT" - - "PROTECTED" - - "NA" - - "WORK_RESTORE" - - "PROTECT_RESTORE" - description: "The association of the FC to LTPs is made via EndPoints.\nThe EndPoint\ - \ (EP) object class models the access to the FC function. \nThe traffic forwarding\ - \ between the associated EPs of the FC depends upon the type of FC and may be\ - \ associated with FcSwitch object instances. \nIn cases where there is resilience\ - \ the EndPoint may convey the resilience role of the access to the FC. \nIt\ - \ can represent a protected (resilient/reliable) point or a protecting (unreliable\ - \ working or protection) point.\nThe EP replaces the Protection Unit of a traditional\ - \ protection model. \nThe ForwadingConstruct can be considered as a component\ - \ and the EndPoint as a Port on that component" - route: - allOf: - - $ref: "#/definitions/local-class" - - properties: - connection-end-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point/tapi-connectivity:uuid" - description: "The FC Route (FcRoute) object class models the individual routes\ - \ of an FC. \nThe route of an FC object is represented by a list of FCs at a\ - \ lower level. \nNote that depending on the service supported by an FC, an the\ - \ FC can have multiple routes." - connectivity-context: - properties: - connectivity-service: - type: "array" - items: - $ref: "#/definitions/connectivity-service" - x-key: "uuid" - connection: - type: "array" - items: - $ref: "#/definitions/connection" - x-key: "uuid" - switch: - allOf: - - $ref: "#/definitions/local-class" - - properties: - selected-connection-end-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point/tapi-connectivity:uuid" - selected-route: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-connectivity:connection/tapi-connectivity:route/tapi-connectivity:local-id" - selection-control: - type: "string" - description: "Degree of administrative control applied to the switch selection." - enum: - - "LOCK_OUT" - - "NORMAL" - - "MANUAL" - - "FORCED" - selection-reason: - type: "string" - description: "The reason for the current switch selection." - enum: - - "LOCKOUT" - - "NORMAL" - - "MANUAL" - - "FORCED" - - "WAIT_TO_REVERT" - - "SIGNAL_DEGRADE" - - "SIGNAL_FAIL" - switch-direction: - type: "string" - description: "Indicates whether the switch selects from ingress to the FC\ - \ or to egress of the FC, or both." - enum: - - "BIDIRECTIONAL" - - "INPUT" - - "OUTPUT" - - "UNIDENTIFIED_OR_UNKNOWN" - description: "The class models the switched forwarding of traffic (traffic flow)\ - \ between FcPorts (ConnectionEndPoints) and is present where there is protection\ - \ functionality in the FC (Connection). \nIf an FC exposes protection (having\ - \ two or more FcPorts that provide alternative identical inputs/outputs), the\ - \ FC will have one or more associated FcSwitch objects to represent the alternative\ - \ flow choices visible at the edge of the FC.\nThe FC switch represents and\ - \ defines a protection switch structure encapsulated in the FC. \nEssentially\ - \ performs one of the functions of the Protection Group in a traditional model.\ - \ It associates to 2 or more FcPorts each playing the role of a Protection Unit.\ - \ \nOne or more protection, i.e. standby/backup, FcPorts provide protection\ - \ for one or more working (i.e. regular/main/preferred) FcPorts where either\ - \ protection or working can feed one or more protected FcPort.\nThe switch may\ - \ be used in revertive or non-revertive (symmetric) mode. When in revertive\ - \ mode it may define a waitToRestore time.\nIt may be used in one of several\ - \ modes including source switch, destination switched, source and destination\ - \ switched etc (covering cases such as 1+1 and 1:1).\nIt may be locked out (prevented\ - \ from switching), force switched or manual switched.\nIt will indicate switch\ - \ state and change of state.\nThe switch can be switched away from all sources\ - \ such that it becomes open and hence two coordinated switches can both feed\ - \ the same LTP so long as at least one of the two is switched away from all\ - \ sources (is 'open').\nThe ability for a Switch to be 'high impedance' allows\ - \ bidirectional ForwardingConstructs to be overlaid on the same bidirectional\ - \ LTP where the appropriate control is enabled to prevent signal conflict.\n\ - This ability allows multiple alternate routes to be present that otherwise would\ - \ be in conflict." - switch-control: - allOf: - - $ref: "#/definitions/local-class" - - $ref: "#/definitions/resilience-constraint" - - properties: - sub-switch-control: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-connectivity:connection/tapi-connectivity:switch-control/tapi-connectivity:local-id" - switch: - type: "array" - items: - $ref: "#/definitions/switch" - x-key: "local-id" - description: "Represents the capability to control and coordinate switches, to\ - \ add/delete/modify FCs and to add/delete/modify LTPs/LPs so as to realize a\ - \ protection scheme." - resilience-constraint: - properties: - resilience-type: - $ref: "#/definitions/resilience-type" - restoration-coordinate-type: - type: "string" - description: " The coordination mechanism between multi-layers." - enum: - - "NO_COORDINATE" - - "HOLD_OFF_TIME" - - "WAIT_FOR_NOTIFICATION" - restore-priority: - type: "string" - reversion-mode: - type: "string" - description: "Indcates whether the protection scheme is revertive or non-revertive." - enum: - - "REVERTIVE" - - "NON-REVERTIVE" - wait-to-revert-time: - type: "string" - description: "If the protection system is revertive, this attribute specifies\ - \ the time, in minutes, to wait after a fault clears on a higher priority\ - \ (preferred) resource before reverting to the preferred resource." - hold-off-time: - type: "string" - description: "This attribute indicates the time, in milliseconds, between\ - \ declaration of signal degrade or signal fail, and the initialization of\ - \ the protection switching algorithm." - is-lock-out: - type: "boolean" - description: "The resource is configured to temporarily not be available for\ - \ use in the protection scheme(s) it is part of.\nThis overrides all other\ - \ protection control states including forced.\nIf the item is locked out\ - \ then it cannot be used under any circumstances.\nNote: Only relevant when\ - \ part of a protection scheme." - is-frozen: - type: "boolean" - description: "Temporarily prevents any switch action to be taken and, as such,\ - \ freezes the current state. \nUntil the freeze is cleared, additional near-end\ - \ external commands are rejected and fault condition changes and received\ - \ APS messages are ignored.\nAll administrative controls of any aspect of\ - \ protection are rejected." - is-coordinated-switching-both-ends: - type: "boolean" - description: "Is operating such that switching at both ends of each flow acorss\ - \ the FC is coordinated at both ingress and egress ends." - max-switch-times: - type: "string" - description: "Used to limit the maximum swtich times. When work fault disappears\ - \ , and traffic return to the original work path, switch counter reset." - layer-protocol: - type: "string" - description: "Indicate which layer this resilience parameters package configured\ - \ for." - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - description: "A list of control parameters to apply to a switch." - topology-constraint: - properties: - include-topology: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:uuid" - avoid-topology: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:uuid" - include-path: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-path-computation:path/tapi-path-computation:uuid" - exclude-path: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-path-computation:path/tapi-path-computation:uuid" - include-link: - type: "array" - items: - type: "string" - description: "This is a loose constraint - that is it is unordered and could\ - \ be a partial list " - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:link/tapi-topology:uuid" - exclude-link: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:link/tapi-topology:uuid" - include-node: - type: "array" - items: - type: "string" - description: "This is a loose constraint - that is it is unordered and could\ - \ be a partial list" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:uuid" - exclude-node: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:uuid" - preferred-transport-layer: - type: "array" - items: - type: "string" - description: "soft constraint requested by client to indicate the layer(s)\ - \ of transport connection that it prefers to carry the service. This could\ - \ be same as the service layer or one of the supported server layers" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - cep-list: - properties: - connection-end-point: - type: "array" - items: - $ref: "#/definitions/connection-end-point" - x-key: "uuid" - route-compute-policy: - properties: - route-objective-function: - type: "string" - enum: - - "MIN_WORK_ROUTE_HOP" - - "MIN_WORK_ROUTE_COST" - - "MIN_WORK_ROUTE_LATENCY" - - "MIN_SUM_OF_WORK_AND_PROTECTION_ROUTE_HOP" - - "MIN_SUM_OF_WORK_AND_PROTECTION_ROUTE_COST" - - "MIN_SUM_OF_WORK_AND_PROTECTION_ROUTE_LATENCY" - - "LOAD_BALANCE_MAX_UNUSED_CAPACITY" - diversity-policy: - type: "string" - enum: - - "SRLG" - - "SRNG" - - "SNG" - - "NODE" - - "LINK" - admin-state-pac: - properties: - administrative-state: - type: "string" - enum: - - "LOCKED" - - "UNLOCKED" - operational-state: - type: "string" - enum: - - "DISABLED" - - "ENABLED" - lifecycle-state: - type: "string" - enum: - - "PLANNED" - - "POTENTIAL_AVAILABLE" - - "POTENTIAL_BUSY" - - "INSTALLED" - - "PENDING_REMOVAL" - description: "Provides state attributes that are applicable to an entity that\ - \ can be administered. Such an entity also has operational and lifecycle aspects." - global-class: - properties: - uuid: - type: "string" - description: "UUID: An identifier that is universally unique within an identifier\ - \ space, where the identifier space is itself globally unique, and immutable.\ - \ An UUID carries no semantics with respect to the purpose or state of the\ - \ entity.\nUUID here uses string representation as defined in RFC 4122.\ - \ The canonical representation uses lowercase characters.\nPattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-'\ - \ + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} \nExample of a UUID in string representation:\ - \ f81d4fae-7dec-11d0-a765-00a0c91e6bf6" - name: - type: "array" - description: "List of names. A property of an entity with a value that is\ - \ unique in some namespace but may change during the life of the entity.\ - \ A name carries no semantics with respect to the purpose of the entity." - items: - $ref: "#/definitions/name-and-value" - x-key: "value-name" - description: "The TAPI GlobalComponent serves as the super class for all TAPI\ - \ entities that can be directly retrieved by their ID. As such, these are first\ - \ class entities and their ID is expected to be globally unique. " - lifecycle-state-pac: - properties: - lifecycle-state: - type: "string" - enum: - - "PLANNED" - - "POTENTIAL_AVAILABLE" - - "POTENTIAL_BUSY" - - "INSTALLED" - - "PENDING_REMOVAL" - description: "Provides state attributes for an entity that has lifeccycle aspects\ - \ only." - local-class: - properties: - local-id: - type: "string" - name: - type: "array" - description: "List of names. A property of an entity with a value that is\ - \ unique in some namespace but may change during the life of the entity.\ - \ A name carries no semantics with respect to the purpose of the entity." - items: - $ref: "#/definitions/name-and-value" - x-key: "value-name" - description: "The TAPI GlobalComponent serves as the super class for all TAPI\ - \ entities that can be directly retrieved by their ID. As such, these are first\ - \ class entities and their ID is expected to be globally unique. " - operational-state-pac: - properties: - operational-state: - type: "string" - enum: - - "DISABLED" - - "ENABLED" - lifecycle-state: - type: "string" - enum: - - "PLANNED" - - "POTENTIAL_AVAILABLE" - - "POTENTIAL_BUSY" - - "INSTALLED" - - "PENDING_REMOVAL" - description: "Provides state attributes that are applicable to an entity that\ - \ reflects operational aspects. Such an entity is expected to also have lifecycle\ - \ aspects." - context: - allOf: - - $ref: "#/definitions/global-class" - - properties: - service-interface-point: - type: "array" - items: - $ref: "#/definitions/service-interface-point" - x-key: "uuid" - description: "The Network Control Domain (NCD) object class represents the scope\ - \ of control that a particular SDN controller has with respect to a particular\ - \ network, (i.e., encompassing a designated set of interconnected (virtual)\ - \ network elements)." - resource-spec: - $ref: "#/definitions/global-class" - service-spec: - $ref: "#/definitions/global-class" - service-interface-point: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/admin-state-pac" - - $ref: "#/definitions/capacity-pac" - - properties: - layer-protocol-name: - type: "array" - items: - type: "string" - description: "Usage of layerProtocolName [>1] in the ServiceInterfacePoint\ - \ should be considered experimental" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - description: "The LogicalTerminationPoint (LTP) object class encapsulates the\ - \ termination and adaptation functions of one or more transport layers. \nThe\ - \ structure of LTP supports all transport protocols including circuit and packet\ - \ forms." - capacity-pac: - properties: - total-potential-capacity: - description: "An optimistic view of the capacity of the TopologicalEntity\ - \ assuming that any shared capacity is available to be taken." - $ref: "#/definitions/capacity" - available-capacity: - description: "Capacity available to be assigned." - $ref: "#/definitions/capacity" - description: "The TopologicalEntity derives capacity from the underlying realization.\ - \ \nA TopologicalEntity may be an abstraction and virtualization of a subset\ - \ of the underlying capability offered in a view or may be directly reflecting\ - \ the underlying realization.\nA TopologicalEntity may be directly used in the\ - \ view or may be assigned to another view for use.\nThe clients supported by\ - \ a multi-layer TopologicalEntity may interact such that the resources used\ - \ by one client may impact those available to another. This is derived from\ - \ the LTP spec details.\nRepresents the capacity available to user (client)\ - \ along with client interaction and usage. \nA TopologicalEntity may reflect\ - \ one or more client protocols and one or more members for each profile." - termination-pac: - properties: - termination-direction: - type: "string" - description: "The overall directionality of the LP. \n- A BIDIRECTIONAL LP\ - \ will have some SINK and/or SOURCE flowss.\n- A SINK LP can only contain\ - \ elements with SINK flows or CONTRA_DIRECTION_SOURCE flows\n- A SOURCE\ - \ LP can only contain SOURCE flows or CONTRA_DIRECTION_SINK flows" - enum: - - "BIDIRECTIONAL" - - "SINK" - - "SOURCE" - - "UNDEFINED_OR_UNKNOWN" - termination-state: - type: "string" - description: "Indicates whether the layer is terminated and if so how." - enum: - - "LP_CAN_NEVER_TERMINATE" - - "LT_NOT_TERMINATED" - - "TERMINATED_SERVER_TO_CLIENT_FLOW" - - "TERMINATED_CLIENT_TO_SERVER_FLOW" - - "TERMINATED_BIDIRECTIONAL" - - "LT_PERMENANTLY_TERMINATED" - - "TERMINATION_STATE_UNKNOWN" - description: "Each transport layer is represented by a LayerProtocol (LP) instance.\ - \ The LayerProtocol instances it can be used for controlling termination and\ - \ monitoring functionality. \nIt can also be used for controlling the adaptation\ - \ (i.e. encapsulation and/or multiplexing of client signal), tandem connection\ - \ monitoring, traffic conditioning and/or shaping functionality at an intermediate\ - \ point along a connection. \nWhere the client – server relationship is fixed\ - \ 1:1 and immutable, the layers can be encapsulated in a single LTP instance.\ - \ Where the is a n:1 relationship between client and server, the layers must\ - \ be split over two separate instances of LTP. " - name-and-value: - properties: - value-name: - type: "string" - description: "The name of the value. The value need not have a name." - value: - type: "string" - description: "The value" - description: "A scoped name-value pair" - capacity: - properties: - total-size: - description: "Total capacity of the TopologicalEntity in MB/s. In case of\ - \ bandwidthProfile, this is expected to same as the committedInformationRate." - $ref: "#/definitions/capacity-value" - bandwidth-profile: - $ref: "#/definitions/bandwidth-profile" - description: "Information on capacity of a particular TopologicalEntity." - bandwidth-profile: - properties: - bw-profile-type: - type: "string" - enum: - - "MEF_10.x" - - "RFC_2697" - - "RFC_2698" - - "RFC_4115" - committed-information-rate: - $ref: "#/definitions/capacity-value" - committed-burst-size: - $ref: "#/definitions/capacity-value" - peak-information-rate: - $ref: "#/definitions/capacity-value" - peak-burst-size: - $ref: "#/definitions/capacity-value" - color-aware: - type: "boolean" - coupling-flag: - type: "boolean" - capacity-value: - properties: - value: - type: "string" - unit: - type: "string" - enum: - - "TB" - - "TBPS" - - "GB" - - "GBPS" - - "MB" - - "MBPS" - - "KB" - - "KBPS" - description: "The Capacity (Bandwidth) values that are applicable for digital\ - \ layers." - time-range: - properties: - end-time: - type: "string" - start-time: - type: "string" - link: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/admin-state-pac" - - $ref: "#/definitions/capacity-pac" - - $ref: "#/definitions/transfer-cost-pac" - - $ref: "#/definitions/transfer-integrity-pac" - - $ref: "#/definitions/transfer-timing-pac" - - $ref: "#/definitions/risk-parameter-pac" - - $ref: "#/definitions/validation-pac" - - $ref: "#/definitions/layer-protocol-transition-pac" - - properties: - node-edge-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:uuid" - layer-protocol-name: - type: "array" - items: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - direction: - type: "string" - description: "The directionality of the Link. \nIs applicable to simple\ - \ Links where all LinkEnds are BIDIRECTIONAL (the Link will be BIDIRECTIONAL)\ - \ or UNIDIRECTIONAL (the Link will be UNIDIRECTIONAL). \nIs not present\ - \ in more complex cases." - enum: - - "BIDIRECTIONAL" - - "UNIDIRECTIONAL" - - "UNDEFINED_OR_UNKNOWN" - resilience-type: - $ref: "#/definitions/resilience-type" - description: "The Link object class models effective adjacency between two or\ - \ more ForwardingDomains (FD). " - node: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/admin-state-pac" - - $ref: "#/definitions/capacity-pac" - - $ref: "#/definitions/transfer-cost-pac" - - $ref: "#/definitions/transfer-integrity-pac" - - $ref: "#/definitions/transfer-timing-pac" - - properties: - owned-node-edge-point: - type: "array" - items: - $ref: "#/definitions/node-edge-point" - x-key: "uuid" - aggregated-node-edge-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:uuid" - node-rule-group: - type: "array" - items: - $ref: "#/definitions/node-rule-group" - x-key: "uuid" - encap-topology: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:uuid" - layer-protocol-name: - type: "array" - items: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - description: "The ForwardingDomain (FD) object class models the “ForwardingDomainâ€\ - \ topological component which is used to effect forwarding of transport characteristic\ - \ information and offers the potential to enable forwarding. \nAt the lowest\ - \ level of recursion, an FD (within a network element (NE)) represents a switch\ - \ matrix (i.e., a fabric). Note that an NE can encompass multiple switch matrices\ - \ (FDs). " - topology: - allOf: - - $ref: "#/definitions/resource-spec" - - properties: - node: - type: "array" - items: - $ref: "#/definitions/node" - x-key: "uuid" - link: - type: "array" - items: - $ref: "#/definitions/link" - x-key: "uuid" - layer-protocol-name: - type: "array" - items: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - description: "The ForwardingDomain (FD) object class models the “ForwardingDomainâ€\ - \ topological component which is used to effect forwarding of transport characteristic\ - \ information and offers the potential to enable forwarding. \nAt the lowest\ - \ level of recursion, an FD (within a network element (NE)) represents a switch\ - \ matrix (i.e., a fabric). Note that an NE can encompass multiple switch matrices\ - \ (FDs). " - layer-protocol-transition-pac: - properties: - transitioned-layer-protocol-name: - type: "array" - items: - type: "string" - description: "Provides the ordered structure of layer protocol transitions\ - \ encapsulated in the TopologicalEntity. The ordering relates to the LinkPort\ - \ role." - description: "Relevant for a Link that is formed by abstracting one or more LTPs\ - \ (in a stack) to focus on the flow and deemphasize the protocol transformation.\ - \ \nThis abstraction is relevant when considering multi-layer routing. \nThe\ - \ layer protocols of the LTP and the order of their application to the signal\ - \ is still relevant and need to be accounted for. This is derived from the LTP\ - \ spec details.\nThis Pac provides the relevant abstractions of the LTPs and\ - \ provides the necessary association to the LTPs involved.\nLinks that included\ - \ details in this Pac are often referred to as Transitional Links." - node-edge-point: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/admin-state-pac" - - $ref: "#/definitions/termination-pac" - - properties: - layer-protocol-name: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - aggregated-node-edge-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:uuid" - mapped-service-interface-point: - type: "array" - items: - type: "string" - description: "NodeEdgePoint mapped to more than ServiceInterfacePoint\ - \ (slicing/virtualizing) or a ServiceInterfacePoint mapped to more than\ - \ one NodeEdgePoint (load balancing/Resilience) should be considered\ - \ experimental" - x-path: "/tapi-common:context/tapi-common:service-interface-point/tapi-common:uuid" - link-port-direction: - type: "string" - description: "The orientation of defined flow at the LinkEnd." - enum: - - "BIDIRECTIONAL" - - "INPUT" - - "OUTPUT" - - "UNIDENTIFIED_OR_UNKNOWN" - link-port-role: - type: "string" - description: "Each LinkEnd of the Link has a role (e.g., symmetric, hub,\ - \ spoke, leaf, root) in the context of the Link with respect to the Link\ - \ function. " - enum: - - "SYMMETRIC" - - "ROOT" - - "LEAF" - - "TRUNK" - - "UNKNOWN" - description: "The LogicalTerminationPoint (LTP) object class encapsulates the\ - \ termination and adaptation functions of one or more transport layers. \nThe\ - \ structure of LTP supports all transport protocols including circuit and packet\ - \ forms." - risk-parameter-pac: - properties: - risk-characteristic: - type: "array" - description: "A list of risk characteristics for consideration in an analysis\ - \ of shared risk. Each element of the list represents a specific risk consideration." - items: - $ref: "#/definitions/risk-characteristic" - x-key: "risk-characteristic-name" - description: "The risk characteristics of a TopologicalEntity come directly from\ - \ the underlying physical realization. \nThe risk characteristics propagate\ - \ from the physical realization to the client and from the server layer to the\ - \ client layer, this propagation may be modified by protection.\nA TopologicalEntity\ - \ may suffer degradation or failure as a result of a problem in a part of the\ - \ underlying realization.\nThe realization can be partitioned into segments\ - \ which have some relevant common failure modes.\nThere is a risk of failure/degradation\ - \ of each segment of the underlying realization.\nEach segment is a part of\ - \ a larger physical/geographical unit that behaves as one with respect to failure\ - \ (i.e. a failure will have a high probability of impacting the whole unit (e.g.\ - \ all cables in the same duct).\nDisruptions to that larger physical/geographical\ - \ unit will impact (cause failure/errors to) all TopologicalEntities that use\ - \ any part of that larger physical/geographical entity.\nAny TopologicalEntity\ - \ that uses any part of that larger physical/geographical unit will suffer impact\ - \ and hence each TopologicalEntity shares risk.\nThe identifier of each physical/geographical\ - \ unit that is involved in the realization of each segment of a Topological\ - \ entity can be listed in the RiskParameter_Pac of that TopologicalEntity.\n\ - A segment has one or more risk characteristic.\nShared risk between two TopologicalEntities\ - \ compromises the integrity of any solution that use one of those TopologicalEntity\ - \ as a backup for the other.\nWhere two TopologicalEntities have a common risk\ - \ characteristic they have an elevated probability of failing simultaneously\ - \ compared to two TopologicalEntities that do not share risk characteristics." - transfer-cost-pac: - properties: - cost-characteristic: - type: "array" - description: "The list of costs where each cost relates to some aspect of\ - \ the TopologicalEntity." - items: - $ref: "#/definitions/cost-characteristic" - x-key: "cost-name" - description: "The cost characteristics of a TopologicalEntity not necessarily\ - \ correlated to the cost of the underlying physical realization. \nThey may\ - \ be quite specific to the individual TopologicalEntity e.g. opportunity cost.\ - \ Relates to layer capacity\nThere may be many perspectives from which cost\ - \ may be considered for a particular TopologicalEntity and hence many specific\ - \ costs and potentially cost algorithms. \nUsing an entity will incur a cost. " - transfer-integrity-pac: - properties: - error-characteristic: - type: "string" - description: "Describes the degree to which the signal propagated can be errored.\ - \ \nApplies to TDM systems as the errored signal will be propagated and\ - \ not packet as errored packets will be discarded." - loss-characteristic: - type: "string" - description: "Describes the acceptable characteristic of lost packets where\ - \ loss may result from discard due to errors or overflow.\nApplies to packet\ - \ systems and not TDM (as for TDM errored signals are propagated unless\ - \ grossly errored and overflow/underflow turns into timing slips)." - repeat-delivery-characteristic: - type: "string" - description: "Primarily applies to packet systems where a packet may be delivered\ - \ more than once (in fault recovery for example). \nIt can also apply to\ - \ TDM where several frames may be received twice due to switching in a system\ - \ with a large differential propagation delay." - delivery-order-characteristic: - type: "string" - description: "Describes the degree to which packets will be delivered out\ - \ of sequence.\nDoes not apply to TDM as the TDM protocols maintain strict\ - \ order." - unavailable-time-characteristic: - type: "string" - description: "Describes the duration for which there may be no valid signal\ - \ propagated." - server-integrity-process-characteristic: - type: "string" - description: "Describes the effect of any server integrity enhancement process\ - \ on the characteristics of the TopologicalEntity." - description: "Transfer intergrity characteristic covers expected/specified/acceptable\ - \ characteristic of degradation of the transfered signal.\nIt includes all aspects\ - \ of possible degradation of signal content as well as any damage of any form\ - \ to the total TopologicalEntity and to the carried signals.\nNote that the\ - \ statement is of total impact to the TopologicalEntity so any partial usage\ - \ of the TopologicalEntity (e.g. a signal that does not use full capacity) will\ - \ only suffer its portion of the impact." - transfer-timing-pac: - properties: - latency-characteristic: - type: "array" - description: "The effect on the latency of a queuing process. This only has\ - \ significant effect for packet based systems and has a complex characteristic." - items: - $ref: "#/definitions/latency-characteristic" - x-key: "traffic-property-name" - description: "A TopologicalEntity will suffer effects from the underlying physical\ - \ realization related to the timing of the information passed by the TopologicalEntity." - validation-pac: - properties: - validation-mechanism: - type: "array" - description: "Provides details of the specific validation mechanism(s) used\ - \ to confirm the presence of an intended topologicalEntity." - items: - $ref: "#/definitions/validation-mechanism" - x-key: "validation-mechanism" - description: "Validation covers the various adjacenct discovery and reachability\ - \ verification protocols. Also may cover Information source and degree of integrity." - network-topology-service: - allOf: - - $ref: "#/definitions/service-spec" - - properties: - topology: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:uuid" - topology-context: - properties: - nw-topology-service: - $ref: "#/definitions/network-topology-service" - topology: - type: "array" - items: - $ref: "#/definitions/topology" - x-key: "uuid" - inter-rule-group: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/capacity-pac" - - $ref: "#/definitions/transfer-cost-pac" - - $ref: "#/definitions/transfer-timing-pac" - - $ref: "#/definitions/risk-parameter-pac" - - properties: - rule: - type: "array" - items: - $ref: "#/definitions/rule" - x-key: "local-id" - associated-node-rule-group: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:node-rule-group/tapi-topology:uuid" - node-rule-group: - allOf: - - $ref: "#/definitions/resource-spec" - - $ref: "#/definitions/capacity-pac" - - $ref: "#/definitions/transfer-cost-pac" - - $ref: "#/definitions/transfer-timing-pac" - - $ref: "#/definitions/risk-parameter-pac" - - properties: - rule: - type: "array" - items: - $ref: "#/definitions/rule" - x-key: "local-id" - node-edge-point: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:uuid" - node-rule-group: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:node-rule-group/tapi-topology:uuid" - inter-rule-group: - type: "array" - items: - $ref: "#/definitions/inter-rule-group" - x-key: "uuid" - rule: - allOf: - - $ref: "#/definitions/local-class" - - properties: - rule-type: - type: "string" - enum: - - "FORWARDING" - - "CAPACITY" - - "COST" - - "TIMING" - - "RISK" - - "GROUPING" - forwarding-rule: - type: "string" - enum: - - "MAY_FORWARD_ACROSS_GROUP" - - "MUST_FORWARD_ACROSS_GROUP" - - "CANNOT_FORWARD_ACROSS_GROUP" - - "NO_STATEMENT_ON_FORWARDING" - override-priority: - type: "string" - cost-characteristic: - properties: - cost-name: - type: "string" - description: "The cost characteristic will related to some aspect of the TopologicalEntity\ - \ (e.g. $ cost, routing weight). This aspect will be conveyed by the costName." - cost-value: - type: "string" - description: "The specific cost." - cost-algorithm: - type: "string" - description: "The cost may vary based upon some properties of the TopologicalEntity.\ - \ The rules for the variation are conveyed by the costAlgorithm." - description: "The information for a particular cost characteristic." - latency-characteristic: - properties: - traffic-property-name: - type: "string" - description: "The identifier of the specific traffic property to which the\ - \ queuing latency applies." - fixed-latency-characteristic: - type: "string" - description: "A TopologicalEntity suffers delay caused by the realization\ - \ of the servers (e.g. distance related; FEC encoding etc.) along with some\ - \ client specific processing. This is the total average latency effect of\ - \ the TopologicalEntity" - queing-latency-characteristic: - type: "string" - description: "The specific queuing latency for the traffic property." - jitter-characteristic: - type: "string" - description: "High frequency deviation from true periodicity of a signal and\ - \ therefore a small high rate of change of transfer latency.\nApplies to\ - \ TDM systems (and not packet)." - wander-characteristic: - type: "string" - description: "Low frequency deviation from true periodicity of a signal and\ - \ therefore a small low rate of change of transfer latency.\nApplies to\ - \ TDM systems (and not packet)." - description: "Provides information on latency characteristic for a particular\ - \ stated trafficProperty." - risk-characteristic: - properties: - risk-characteristic-name: - type: "string" - description: "The name of the risk characteristic. The characteristic may\ - \ be related to a specific degree of closeness. \nFor example a particular\ - \ characteristic may apply to failures that are localized (e.g. to one side\ - \ of a road) where as another characteristic may relate to failures that\ - \ have a broader impact (e.g. both sides of a road that crosses a bridge).\n\ - Depending upon the importance of the traffic being routed different risk\ - \ characteristics will be evaluated." - risk-identifier-list: - type: "array" - items: - type: "string" - description: "A list of the identifiers of each physical/geographic unit\ - \ (with the specific risk characteristic) that is related to a segment\ - \ of the TopologicalEntity." - description: "The information for a particular risk characteristic where there\ - \ is a list of risk identifiers related to that characteristic." - validation-mechanism: - properties: - validation-mechanism: - type: "string" - description: "Name of mechanism used to validate adjacency" - layer-protocol-adjacency-validated: - type: "string" - description: "State of validatiion" - validation-robustness: - type: "string" - description: "Quality of validation (i.e. how likely is the stated validation\ - \ to be invalid)" - description: "Identifies the validation mechanism and describes the characteristics\ - \ of that mechanism" - resilience-type: - properties: - restoration-policy: - type: "string" - enum: - - "PER_DOMAIN_RESTORATION" - - "END_TO_END_RESTORATION" - - "NA" - protection-type: - type: "string" - enum: - - "NO_PROTECTON" - - "ONE_PLUS_ONE_PROTECTION" - - "ONE_PLUS_ONE_PROTECTION_WITH_DYNAMIC_RESTORATION" - - "PERMANENT_ONE_PLUS_ONE_PROTECTION" - - "ONE_FOR_ONE_PROTECTION" - - "DYNAMIC_RESTORATION" - - "PRE_COMPUTED_RESTORATION" - path: - allOf: - - $ref: "#/definitions/resource-spec" - - properties: - link: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:link/tapi-topology:uuid" - routing-constraint: - $ref: "#/definitions/routing-constraint" - description: "Path is described by an ordered list of TE Links. A TE Link is defined\ - \ by a pair of Node/NodeEdgePoint IDs. A Connection is realized by concatenating\ - \ link resources (associated with a Link) and the lower-level connections (cross-connections)\ - \ in the different nodes" - path-service-end-point: - allOf: - - $ref: "#/definitions/local-class" - - properties: - service-interface-point: - type: "string" - x-path: "/tapi-common:context/tapi-common:service-interface-point/tapi-common:uuid" - role: - type: "string" - description: "Each EP of the FC has a role (e.g., working, protection, protected,\ - \ symmetric, hub, spoke, leaf, root) in the context of the FC with respect\ - \ to the FC function. " - enum: - - "SYMMETRIC" - - "ROOT" - - "LEAF" - - "TRUNK" - - "UNKNOWN" - direction: - type: "string" - description: "The orientation of defined flow at the EndPoint." - enum: - - "BIDIRECTIONAL" - - "INPUT" - - "OUTPUT" - - "UNIDENTIFIED_OR_UNKNOWN" - service-layer: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - description: "The association of the FC to LTPs is made via EndPoints.\nThe EndPoint\ - \ (EP) object class models the access to the FC function. \nThe traffic forwarding\ - \ between the associated EPs of the FC depends upon the type of FC and may be\ - \ associated with FcSwitch object instances. \nIn cases where there is resilience\ - \ the EndPoint may convey the resilience role of the access to the FC. \nIt\ - \ can represent a protected (resilient/reliable) point or a protecting (unreliable\ - \ working or protection) point.\nThe EP replaces the Protection Unit of a traditional\ - \ protection model. \nThe ForwadingConstruct can be considered as a component\ - \ and the EndPoint as a Port on that component" - path-computation-service: - allOf: - - $ref: "#/definitions/service-spec" - - properties: - path: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-path-computation:path/tapi-path-computation:uuid" - end-point: - type: "array" - items: - $ref: "#/definitions/path-service-end-point" - x-key: "local-id" - routing-constraint: - $ref: "#/definitions/routing-constraint" - objective-function: - $ref: "#/definitions/path-objective-function" - optimization-constraint: - $ref: "#/definitions/path-optimization-constraint" - path-objective-function: - allOf: - - $ref: "#/definitions/local-class" - - properties: - bandwidth-optimization: - type: "string" - concurrent-paths: - type: "string" - cost-optimization: - type: "string" - link-utilization: - type: "string" - resource-sharing: - type: "string" - path-optimization-constraint: - allOf: - - $ref: "#/definitions/local-class" - - properties: - traffic-interruption: - type: "string" - routing-constraint: - allOf: - - $ref: "#/definitions/local-class" - - properties: - requested-capacity: - $ref: "#/definitions/capacity" - service-level: - type: "string" - description: "An abstract value the meaning of which is mutually agreed\ - \ – typically represents metrics such as - Class of service, priority,\ - \ resiliency, availability" - path-layer: - type: "array" - items: - type: "string" - enum: - - "OTSiA" - - "OCH" - - "OTU" - - "ODU" - - "ETH" - - "ETY" - cost-characteristic: - type: "array" - description: "The list of costs where each cost relates to some aspect of\ - \ the TopologicalEntity." - items: - $ref: "#/definitions/cost-characteristic" - x-key: "cost-name" - latency-characteristic: - type: "array" - description: "The effect on the latency of a queuing process. This only\ - \ has significant effect for packet based systems and has a complex characteristic." - items: - $ref: "#/definitions/latency-characteristic" - x-key: "traffic-property-name" - include-topology: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:uuid" - avoid-topology: - type: "array" - items: - type: "string" - x-path: "/tapi-common:context/tapi-topology:topology/tapi-topology:uuid" - path-computation-context: - properties: - path-comp-service: - type: "array" - items: - $ref: "#/definitions/path-computation-service" - x-key: "uuid" - path: - type: "array" - items: - $ref: "#/definitions/path" - x-key: "uuid" - context_schema: - allOf: - - $ref: "#/definitions/context" - - properties: - uuid: - type: "string" - description: "UUID: An identifier that is universally unique within an identifier\ - \ space, where the identifier space is itself globally unique, and immutable.\ - \ An UUID carries no semantics with respect to the purpose or state of\ - \ the entity.\nUUID here uses string representation as defined in RFC\ - \ 4122. The canonical representation uses lowercase characters.\nPattern:\ - \ [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\ - \ \nExample of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6" - name: - type: "array" - description: "List of names. A property of an entity with a value that is\ - \ unique in some namespace but may change during the life of the entity.\ - \ A name carries no semantics with respect to the purpose of the entity." - items: - $ref: "#/definitions/name-and-value" - x-key: "value-name" - nw-topology-service: - $ref: "#/definitions/network-topology-service" - topology: - type: "array" - items: - $ref: "#/definitions/topology" - x-key: "uuid" - path-comp-service: - type: "array" - items: - $ref: "#/definitions/path-computation-service" - x-key: "uuid" - path: - type: "array" - items: - $ref: "#/definitions/path" - x-key: "uuid" - connectivity-service: - type: "array" - items: - $ref: "#/definitions/connectivity-service" - x-key: "uuid" - connection: - type: "array" - items: - $ref: "#/definitions/connection" - x-key: "uuid" - get-service-interface-point-detailsRPC_input_schema: - properties: - sip-id-or-name: - type: "string" - get-service-interface-point-detailsRPC_output_schema: - properties: - sip: - $ref: "#/definitions/service-interface-point" - get-service-interface-point-listRPC_output_schema: - properties: - sip: - type: "array" - items: - $ref: "#/definitions/service-interface-point" - update-service-interface-pointRPC_input_schema: - properties: - sip-id-or-name: - type: "string" - state: - type: "string" - owned-node-edge-point_schema: - allOf: - - $ref: "#/definitions/node-edge-point" - - properties: - owned-node-edge-point_uuid: - type: "string" - description: "UUID: An identifier that is universally unique within an identifier\ - \ space, where the identifier space is itself globally unique, and immutable.\ - \ An UUID carries no semantics with respect to the purpose or state of\ - \ the entity.\nUUID here uses string representation as defined in RFC\ - \ 4122. The canonical representation uses lowercase characters.\nPattern:\ - \ [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\ - \ \nExample of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6" - name: - type: "array" - description: "List of names. A property of an entity with a value that is\ - \ unique in some namespace but may change during the life of the entity.\ - \ A name carries no semantics with respect to the purpose of the entity." - items: - $ref: "#/definitions/name-and-value" - x-key: "value-name" - administrative-state: - type: "string" - enum: - - "LOCKED" - - "UNLOCKED" - operational-state: - type: "string" - enum: - - "DISABLED" - - "ENABLED" - lifecycle-state: - type: "string" - enum: - - "PLANNED" - - "POTENTIAL_AVAILABLE" - - "POTENTIAL_BUSY" - - "INSTALLED" - - "PENDING_REMOVAL" - termination-direction: - type: "string" - description: "The overall directionality of the LP. \n- A BIDIRECTIONAL\ - \ LP will have some SINK and/or SOURCE flowss.\n- A SINK LP can only contain\ - \ elements with SINK flows or CONTRA_DIRECTION_SOURCE flows\n- A SOURCE\ - \ LP can only contain SOURCE flows or CONTRA_DIRECTION_SINK flows" - enum: - - "BIDIRECTIONAL" - - "SINK" - - "SOURCE" - - "UNDEFINED_OR_UNKNOWN" - termination-state: - type: "string" - description: "Indicates whether the layer is terminated and if so how." - enum: - - "LP_CAN_NEVER_TERMINATE" - - "LT_NOT_TERMINATED" - - "TERMINATED_SERVER_TO_CLIENT_FLOW" - - "TERMINATED_CLIENT_TO_SERVER_FLOW" - - "TERMINATED_BIDIRECTIONAL" - - "LT_PERMENANTLY_TERMINATED" - - "TERMINATION_STATE_UNKNOWN" - connection-end-point: - type: "array" - items: - $ref: "#/definitions/connection-end-point" - x-key: "uuid" - get-connection-detailsRPC_input_schema: - properties: - service-id-or-name: - type: "string" - connection-id-or-name: - type: "string" - get-connection-detailsRPC_output_schema: - properties: - connection: - $ref: "#/definitions/connection" - get-connectivity-service-listRPC_output_schema: - properties: - service: - type: "array" - items: - $ref: "#/definitions/connectivity-service" - get-connectivity-service-detailsRPC_input_schema: - properties: - service-id-or-name: - type: "string" - get-connectivity-service-detailsRPC_output_schema: - properties: - service: - $ref: "#/definitions/connectivity-service" - create-connectivity-serviceRPC_input_schema: - properties: - end-point: - type: "array" - items: - $ref: "#/definitions/connectivity-service-end-point" - conn-constraint: - $ref: "#/definitions/connectivity-constraint" - topo-constraint: - $ref: "#/definitions/topology-constraint" - resilience-constraint: - type: "array" - items: - $ref: "#/definitions/resilience-constraint" - state: - type: "string" - create-connectivity-serviceRPC_output_schema: - properties: - service: - $ref: "#/definitions/connectivity-service" - update-connectivity-serviceRPC_input_schema: - properties: - service-id-or-name: - type: "string" - end-point: - $ref: "#/definitions/connectivity-service-end-point" - conn-constraint: - $ref: "#/definitions/connectivity-constraint" - topo-constraint: - $ref: "#/definitions/topology-constraint" - resilience-constraint: - type: "array" - items: - $ref: "#/definitions/resilience-constraint" - state: - type: "string" - update-connectivity-serviceRPC_output_schema: - properties: - service: - $ref: "#/definitions/connectivity-service" - delete-connectivity-serviceRPC_input_schema: - properties: - service-id-or-name: - type: "string" - delete-connectivity-serviceRPC_output_schema: - properties: - service: - $ref: "#/definitions/connectivity-service" diff --git a/hackfest/tapi/server_old/tapi_server.py b/hackfest/tapi/server_old/tapi_server.py deleted file mode 100644 index 991bc2a1ba6ee07883959572c7bd848640c2dd4e..0000000000000000000000000000000000000000 --- a/hackfest/tapi/server_old/tapi_server.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python3 - -import connexion -import json -import logging - -from flask import current_app -import database.database as database - -logging.basicConfig(level=logging.DEBUG) - -if __name__ == '__main__': - app = connexion.App(__name__, specification_dir='swagger/') - app.add_api('swagger.yaml', arguments={'title': 'tapi-connectivity API generated from tapi-connectivity.yang'}) - app.app.config['JSON_SORT_KEYS']=False - with app.app.app_context(): - with current_app.open_resource("database/context.json", 'r') as f: - database.context = json.load(f) - app.run(port=8080) diff --git a/hackfest/tapi/tapi_app/requirements.txt b/hackfest/tapi/tapi_app/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..43c1b1341f489fd80fe350d1e7916df6a3c5506d --- /dev/null +++ b/hackfest/tapi/tapi_app/requirements.txt @@ -0,0 +1,2 @@ +matplotlib == 3.6.1 +networkx == 2.6.3 diff --git a/hackfest/tapi/tapi_app/tapi_app.py b/hackfest/tapi/tapi_app/tapi_app.py index 6fac85af28902ad344eac46a75a7ff1ce63ba191..d9fc4b27926659a30bb984f48fdabfc3c4f4f24a 100644 --- a/hackfest/tapi/tapi_app/tapi_app.py +++ b/hackfest/tapi/tapi_app/tapi_app.py @@ -6,16 +6,21 @@ from requests.auth import HTTPBasicAuth import json import matplotlib.pyplot as plt import networkx as nx -import random + +from networkx.drawing.nx_pydot import write_dot IP = '127.0.0.1' -PORT = '8080' +PORT = 8080 +USER = '' +PASS = '' +TOPO_UUID = 'ols-topo' +TOPO_LIST_URL = 'http://{:s}:{:d}/restconf/data/tapi-common:context/tapi-topology:topology-context/topology={:s}/' -def retrieveTopology(ip, port, user='', password=''): +def retrieveTopology(ip, port, user, password, topo_uuid): print ("Reading network-topology") topologies = [] - topo_list_url = 'http://' + ip + ':' + port + '/restconf/config/context/topology/topo-nwk/' + topo_list_url = TOPO_LIST_URL.format(ip, port, topo_uuid) response = requests.get(topo_list_url, auth=HTTPBasicAuth(user, password)) topologies.append(response.json()) print ("Retrieved Topology: " + json.dumps(response.json(), indent=4)) @@ -26,18 +31,17 @@ def draw_topologies (topo) : for node in topo[0]['node']: if node['owned-node-edge-point']: - uuid = node['uuid'] - layer = node['layer-protocol-name'][0] - nwk_graph.add_node(uuid) + nwk_graph.add_node(node['uuid']) + for link in topo[0]['link']: - nep1_path = link['node-edge-point'][0].split('/') - nep2_path = link['node-edge-point'][1].split('/') - layer = link['layer-protocol-name'][0] - nwk_graph.add_edge(nep1_path[7], nep2_path[7]) + node1 = link['node-edge-point'][0]['node-uuid'] + node2 = link['node-edge-point'][1]['node-uuid'] + nwk_graph.add_edge(node1, node2) - nx.draw_networkx(nwk_graph) + nx.draw(nwk_graph, pos=nx.spring_layout(nwk_graph, scale=500)) + plt.show(block=False) + plt.savefig('{:s}.png'.format(TOPO_UUID), format='PNG') if __name__ == "__main__": - topologies = retrieveTopology(IP, PORT) + topologies = retrieveTopology(IP, PORT, USER, PASS, TOPO_UUID) draw_topologies(topologies) - plt.show()