Commit 3207808 Jaeryn
committed
1 parent f28fe96 commit 3207808 Copy full SHA for 3207808
File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,15 @@ const (
70
70
Vxlan = "Vxlan"
71
71
)
72
72
73
+ type NICType string
74
+
75
+ // NIC Types
76
+ const (
77
+ InfraNIC NICType = "InfraNIC"
78
+ // Delegated VM NICs are projected from VM to container network namespace
79
+ DelegatedVMNIC NICType = "DelegatedVMNIC"
80
+ )
81
+
73
82
// ChannelMode :- CNS channel modes
74
83
const (
75
84
Direct = "Direct"
@@ -406,6 +415,15 @@ type PodIpInfo struct {
406
415
PodIPConfig IPSubnet
407
416
NetworkContainerPrimaryIPConfig IPConfiguration
408
417
HostPrimaryIPInfo HostIPInfo
418
+ // NICType defines whether NIC is Default or Secondary
419
+ NICType NICType
420
+ InterfaceName string
421
+ // MacAddress of interface
422
+ MacAddress string
423
+ // SkipDefaultRoutes is true if default routes should not be added on interface
424
+ SkipDefaultRoutes bool
425
+ // Routes to configure on interface
426
+ Routes []Route
409
427
}
410
428
411
429
type HostIPInfo struct {
You can’t perform that action at this time.
0 commit comments