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 (
34
34
V2Prefix = "/v0.2"
35
35
EndpointPath = "/network/endpoints/"
36
36
// IBDevice API paths
37
- IBDevicesPodPath = "/ibdevices/pod" // PUT /ibdevices/pod
37
+ IBDevicesPodPath = "/ibdevices/pod" // POST /ibdevices/pod
38
38
IBDevicesPath = "/ibdevices/" // GET /ibdevices/{mac-address-of-device}
39
39
// Service Fabric SWIFTV2 mode
40
40
StandaloneSWIFTV2 SWIFTV2Mode = "StandaloneSWIFTV2"
@@ -390,7 +390,7 @@ type GetVMUniqueIDResponse struct {
390
390
// IBDevice API Contracts
391
391
392
392
// AssignIBDevicesToPodRequest represents the request to assign InfiniBand devices to a pod
393
- // PUT /ibdevices/pod
393
+ // POST /ibdevices/pod
394
394
type AssignIBDevicesToPodRequest struct {
395
395
PodID string `json:"podID"` // podname-podnamespace format
396
396
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:
121
121
$ref : " #/components/schemas/UnpublishNetworkContainerResponse"
122
122
123
123
/ibdevices/pod :
124
- put :
124
+ post :
125
125
summary : Assigns IB devices to a pod
126
126
description : >-
127
127
Assigns the specified IB devices to the pod identified by PodID. The
You can’t perform that action at this time.
0 commit comments