@@ -80,24 +80,28 @@ const (
80
80
81
81
// CreateNetworkContainerRequest specifies request to create a network container or network isolation boundary.
82
82
type CreateNetworkContainerRequest struct {
83
- HostPrimaryIP string
84
- Version string
85
- NetworkContainerType string
86
- NetworkContainerid string // Mandatory input.
87
- PrimaryInterfaceIdentifier string // Primary CA.
88
- AuthorizationToken string
89
- LocalIPConfiguration IPConfiguration
90
- OrchestratorContext json.RawMessage
91
- IPConfiguration IPConfiguration
92
- SecondaryIPConfigs map [string ]SecondaryIPConfig // uuid is key
93
- MultiTenancyInfo MultiTenancyInfo
94
- CnetAddressSpace []IPSubnet // To setup SNAT (should include service endpoint vips).
95
- Routes []Route
96
- AllowHostToNCCommunication bool
97
- AllowNCToHostCommunication bool
98
- EndpointPolicies []NetworkContainerRequestPolicies
99
- BackendNetworkInterfaceID string
100
- MACAddress string
83
+ HostPrimaryIP string
84
+ Version string
85
+ NetworkContainerType string
86
+ NetworkContainerid string // Mandatory input.
87
+ PrimaryInterfaceIdentifier string // Primary CA.
88
+ AuthorizationToken string
89
+ LocalIPConfiguration IPConfiguration
90
+ OrchestratorContext json.RawMessage
91
+ IPConfiguration IPConfiguration
92
+ SecondaryIPConfigs map [string ]SecondaryIPConfig // uuid is key
93
+ MultiTenancyInfo MultiTenancyInfo
94
+ CnetAddressSpace []IPSubnet // To setup SNAT (should include service endpoint vips).
95
+ Routes []Route
96
+ AllowHostToNCCommunication bool
97
+ AllowNCToHostCommunication bool
98
+ EndpointPolicies []NetworkContainerRequestPolicies
99
+ BackendNetworkInterfaceInfo backendNetworkInterfaceInfo
100
+ }
101
+
102
+ type backendNetworkInterfaceInfo struct {
103
+ BackendNetworkInterfaceID string
104
+ MACAddress string
101
105
}
102
106
103
107
// CreateNetworkContainerRequest implements fmt.Stringer for logging
0 commit comments