fix(striker-ui-api): include ifaceId in GET host conn response

main^2
Tsu-ba-me 7 months ago
parent 4dd1733200
commit 6d7829b5e0
  1. 1
      striker-ui-api/src/lib/request_handlers/host/getHostConnection.ts
  2. 1
      striker-ui-api/src/types/ApiHost.d.ts

@ -101,6 +101,7 @@ export const getHostConnection = buildGetRequestHandler(
connections[connectionKey].inbound.ipAddress[ip] = { connections[connectionKey].inbound.ipAddress[ip] = {
hostUUID: hostUuid, hostUUID: hostUuid,
ifaceId,
ipAddress: ip, ipAddress: ip,
ipAddressUUID: ipUuid, ipAddressUUID: ipUuid,
networkLinkNumber: Number(rNetworkLinkNumber), networkLinkNumber: Number(rNetworkLinkNumber),

@ -19,6 +19,7 @@ type HostConnectionOverview = {
ipAddress: { ipAddress: {
[ipAddress: string]: { [ipAddress: string]: {
hostUUID: string; hostUUID: string;
ifaceId: string;
ipAddress: string; ipAddress: string;
ipAddressUUID: string; ipAddressUUID: string;
networkLinkNumber: number; networkLinkNumber: number;

Loading…
Cancel
Save