@@ -51,7 +51,7 @@ const (
51
51
Basic = "Basic"
52
52
JobObject = "JobObject"
53
53
COW = "COW" // Container on Windows
54
- BackendNIC = "BackendNIC "
54
+ BackendNICNC = "BackendNICNC "
55
55
)
56
56
57
57
// Orchestrator Types
@@ -78,6 +78,8 @@ const (
78
78
InfraNIC NICType = "InfraNIC"
79
79
// Delegated VM NICs are projected from VM to container network namespace
80
80
DelegatedVMNIC NICType = "DelegatedVMNIC"
81
+ // BackendNIC NICs are used for infiniband nics on a VM
82
+ BackendNIC NICType = "BackendNIC"
81
83
)
82
84
83
85
// ChannelMode :- CNS channel modes
@@ -107,7 +109,7 @@ type CreateNetworkContainerRequest struct {
107
109
AllowNCToHostCommunication bool
108
110
EndpointPolicies []NetworkContainerRequestPolicies
109
111
NCStatus v1alpha.NCStatus
110
- backendNICInfo BackendNICInfo //nolint // introducing new field for backendnic, to be used later by cni code
112
+ networkInterfaceInfo NetworkInterfaceInfo //nolint // introducing new field for backendnic, to be used later by cni code
111
113
}
112
114
113
115
// CreateNetworkContainerRequest implements fmt.Stringer for logging
@@ -319,7 +321,7 @@ type MultiTenancyInfo struct {
319
321
ID int // This can be vlanid, vxlanid, gre-key etc. (depends on EnacapType).
320
322
}
321
323
322
- type BackendNICInfo struct {
324
+ type NetworkInterfaceInfo struct {
323
325
NICType string
324
326
MACAddress string
325
327
}
@@ -422,7 +424,7 @@ type PodIpInfo struct {
422
424
PodIPConfig IPSubnet
423
425
NetworkContainerPrimaryIPConfig IPConfiguration
424
426
HostPrimaryIPInfo HostIPInfo
425
- // NICType defines whether NIC is InfraNIC or DelegatedVMNIC
427
+ // NICType defines whether NIC is InfraNIC or DelegatedVMNIC or BackendNIC
426
428
NICType NICType
427
429
InterfaceName string
428
430
// MacAddress of interface
0 commit comments