diff --git a/crd/multitenancy/api/v1alpha1/nodeinfo.go b/crd/multitenancy/api/v1alpha1/nodeinfo.go index ba47ff8b77..7ebb4d0d35 100644 --- a/crd/multitenancy/api/v1alpha1/nodeinfo.go +++ b/crd/multitenancy/api/v1alpha1/nodeinfo.go @@ -45,8 +45,8 @@ type NodeInfoStatus struct { } type DeviceInfo struct { - DeviceType DeviceType `json:"deviceType,omitempty"` - DeviceCount int `json:"deviceCount"` + DeviceType DeviceType `json:"deviceType,omitempty"` + MacAddress string `json:"macAddress"` } func init() { diff --git a/crd/multitenancy/manifests/multitenancy.acn.azure.com_nodeinfo.yaml b/crd/multitenancy/manifests/multitenancy.acn.azure.com_nodeinfo.yaml index 4e9da80828..27f2979577 100644 --- a/crd/multitenancy/manifests/multitenancy.acn.azure.com_nodeinfo.yaml +++ b/crd/multitenancy/manifests/multitenancy.acn.azure.com_nodeinfo.yaml @@ -49,15 +49,15 @@ spec: deviceInfos: items: properties: - deviceCount: - type: integer deviceType: enum: - acn.azure.com/vnet-nic - acn.azure.com/infiniband-nic type: string + macAddress: + type: string required: - - deviceCount + - macAddress type: object type: array type: object