File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const (
3434 V2Prefix = "/v0.2"
3535 EndpointPath = "/network/endpoints/"
3636 // IBDevice API paths
37- IBDevicesPodPath = "/ibdevices/pod" // PUT /ibdevices/pod
37+ IBDevicesPodPath = "/ibdevices/pod" // POST /ibdevices/pod
3838 IBDevicesPath = "/ibdevices/" // GET /ibdevices/{mac-address-of-device}
3939 // Service Fabric SWIFTV2 mode
4040 StandaloneSWIFTV2 SWIFTV2Mode = "StandaloneSWIFTV2"
@@ -390,7 +390,7 @@ type GetVMUniqueIDResponse struct {
390390// IBDevice API Contracts
391391
392392// AssignIBDevicesToPodRequest represents the request to assign InfiniBand devices to a pod
393- // PUT /ibdevices/pod
393+ // POST /ibdevices/pod
394394type AssignIBDevicesToPodRequest struct {
395395 PodID string `json:"podID"` // podname-podnamespace format
396396 MACAddresses []string `json:"macAddresses"` // Array of MAC addresses like ["60:45:bd:a4:b5:7a", "7c:1e:52:07:11:36"]
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ paths:
121121 $ref : " #/components/schemas/UnpublishNetworkContainerResponse"
122122
123123 /ibdevices/pod :
124- put :
124+ post :
125125 summary : Assigns IB devices to a pod
126126 description : >-
127127 Assigns the specified IB devices to the pod identified by PodID. The
You can’t perform that action at this time.
0 commit comments