@@ -12,7 +12,7 @@ import (
1212
1313 "github.com/Azure/azure-container-networking/cns/common"
1414 "github.com/Azure/azure-container-networking/cns/types"
15- "github.com/Azure/azure-container-networking/cns/types/infiniband "
15+ "github.com/Azure/azure-container-networking/crd/multitenancy/api/v1alpha1 "
1616 "github.com/Azure/azure-container-networking/crd/nodenetworkconfig/api/v1alpha"
1717 "github.com/pkg/errors"
1818)
@@ -393,9 +393,9 @@ type AssignIBDevicesToPodResponse struct {
393393
394394// GetIBDeviceStatusResponse represents the response containing InfiniBand device programming status
395395type GetIBDeviceStatusResponse struct {
396- MACAddress net.HardwareAddr `json:"macAddress"` // MAC address of the device
397- PodNamespace string `json:"podNamespace"` // Namespace of pod to which the device is assigned, if any
398- PodName string `json:"podName"` // Name of pod to which the device is assigned, if any
399- Status infiniband. Status `json:"status"` // Device status (e.g., "Available", "ProgrammingPending", etc.)"
400- Message string `json:"message"` // Additional message or error description
396+ MACAddress net.HardwareAddr `json:"macAddress"` // MAC address of the device
397+ PodNamespace string `json:"podNamespace"` // Namespace of pod to which the device is assigned, if any
398+ PodName string `json:"podName"` // Name of pod to which the device is assigned, if any
399+ Status v1alpha1. InfinibandStatus `json:"status"` // Device status (e.g., "Available", "ProgrammingPending", etc.)"
400+ Message string `json:"message"` // Additional message or error description
401401}
0 commit comments