Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
4080
Description
symmetric path-ids are implicitly consecutive but they do not need to be for many reasons. Therefore they must be present in RSP structure
RENDERED_SERVICE_PATH_RESP_JSON = """
{
"rendered-service-paths": {
"rendered-service-path": [
{
"name": "Path-1-SFC1-Path-1",
"path-id": 1,
"parent-service-function-path": "Path-1-SFC1",
"starting-index": 255,
"service-chain-name": "SFC1",
"rendered-service-path-hop": [
,
,
{ "hop-number": 2, "service-index": 253, "service-function-forwarder": "SFF3", "service-function-forwarder-locator": "eth0", "service-function-name": "SF3" } ]
},
{
"name": "Path-1-SFC1-Path-1-Reverse",
"path-id": 2,
"parent-service-function-path": "Path-1-SFC1",
"starting-index": 253,
"service-chain-name": "SFC1",
"rendered-service-path-hop": [
,
,
{ "hop-number": 2, "service-index": 251, "service-function-forwarder": "SFF1", "service-function-forwarder-locator": "eth0", "service-function-name": "SF1" } ]
}
]
}
}"""