commit 804677c0d7f501cefb78852a77ec64bbd198f841
Author: Lucas Ratusznei Fonseca <email address hidden>
Date: Thu Feb 22 16:05:46 2024 -0300
Fix links to LLDP neighbors in API responses for host and port
Responses from calls to host and port APIs return links to LLDP
neighbors with incorrect paths. The correct path is
/lldp_neighbours, but the links point to /lldp_neighbors. This commit
fixes the paths.
Test plan
System: AIO-SX
[PASS] Call /v1/ihosts/{host_id} API, check that links are correct
[PASS] Call /v1/ports/{port_id} API, check that links are correct
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/909924 /opendev. org/starlingx/ config/ commit/ 804677c0d7f501c efb78852a77ec64 bbd198f841
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 804677c0d7f501c efb78852a77ec64 bbd198f841
Author: Lucas Ratusznei Fonseca <email address hidden>
Date: Thu Feb 22 16:05:46 2024 -0300
Fix links to LLDP neighbors in API responses for host and port
Responses from calls to host and port APIs return links to LLDP neighbours, but the links point to /lldp_neighbors. This commit
neighbors with incorrect paths. The correct path is
/lldp_
fixes the paths.
Test plan
System: AIO-SX
[PASS] Call /v1/ihosts/ {host_ id} API, check that links are correct {port_ id} API, check that links are correct
[PASS] Call /v1/ports/
Partial-Bug: #2054707 d493e507869977a d34e6ae7a3d
Change-Id: Ib70fd5f325b0e6
Signed-off-by: Lucas Ratusznei Fonseca <email address hidden>