Closed gretelliz closed 1 year ago
@viniarck, note that now the result is:
curl -H 'Content-type: application/json' -X PUT http://127.0.0.1:8181/api/amlight/sdntrace_cp/v1/trace -d '{"trace": {"switch": {"dpid": "00:00:00:00:00:00:00:03", "in_port": 2}}}' | jq
{
"result": [
{
"dpid": "00:00:00:00:00:00:00:03",
"port": 2,
"time": "2023-07-28 11:29:32.309321",
"type": "last",
"out": {
"port": 3
}
}
]
}
In this case an endpoint was found, that is why the type didn't change.
Closes #102
Summary
This update
tracepath
to removeincomplete
type. There are 4 types now:starting
,intermediary
,last
andloop
. The only step_trace of traces with size 1 has the typelast
.Local Test
The step in issue #102 where followed:
End-to-end Test
In progress.