File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,15 @@ const (
7070 Vxlan = "Vxlan"
7171)
7272
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+
7382// ChannelMode :- CNS channel modes
7483const (
7584 Direct = "Direct"
@@ -406,6 +415,15 @@ type PodIpInfo struct {
406415 PodIPConfig IPSubnet
407416 NetworkContainerPrimaryIPConfig IPConfiguration
408417 HostPrimaryIPInfo HostIPInfo
418+ // NICType defines whether NIC is InfraNIC or DelegatedVMNIC
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
409427}
410428
411429type HostIPInfo struct {
You can’t perform that action at this time.
0 commit comments