File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -113,15 +113,23 @@ type errorResponse struct {
113113
114114// CreateNetworkContainerRequest specifies request to create a network container or network isolation boundary.
115115type CreateNetworkContainerRequest struct {
116- Version string
117- NetworkContainerType string
118- NetworkContainerid string // Mandatory input.
119- PrimaryInterfaceIdentifier string // Primary CA.
120- AuthorizationToken string
121- IPConfiguration IPConfiguration
122- MultiTenancyInfo MultiTenancyInfo
123- VnetAddressSpace []IPSubnet // To setup SNAT (should include service endpoint vips).
124- Routes []Route
116+ Version string
117+ NetworkContainerType string
118+ NetworkContainerid string // Mandatory input.
119+ PrimaryInterfaceIdentifier string // Primary CA.
120+ AuthorizationToken string
121+ NetworkContainerOrchestratorInfo NetworkContainerOrchestratorInfo
122+ IPConfiguration IPConfiguration
123+ MultiTenancyInfo MultiTenancyInfo
124+ VnetAddressSpace []IPSubnet // To setup SNAT (should include service endpoint vips).
125+ Routes []Route
126+ }
127+
128+ // NetworkContainerOrchestratorInfo contains orchestrator type, pod name and pod namespace.
129+ type NetworkContainerOrchestratorInfo struct {
130+ OrchestratorType string
131+ PodName string
132+ PodNamespace string
125133}
126134
127135// MultiTenancyInfo contains encap type and id.
You can’t perform that action at this time.
0 commit comments