File tree Expand file tree Collapse file tree 2 files changed +30
-19
lines changed Expand file tree Collapse file tree 2 files changed +30
-19
lines changed Original file line number Diff line number Diff line change @@ -926,25 +926,6 @@ endpoints:
926
926
"type": "private"
927
927
}' \
928
928
https://$api_root/$version/linode/instances/$linode_id/ips
929
- /linode/instances/$id/ips/sharing :
930
- group : IPs
931
- methods :
932
- POST :
933
- description : >
934
- Sets IP Sharing for this Linode.
935
- params :
936
- ips :
937
- type : String
938
- description : >
939
- A list of IP Addresses this Linode will share.
940
- examples :
941
- curl : |
942
- curl -H "Content-Type: application/json" \
943
- -H "Authorization: Bearer $TOKEN" \
944
- -X POST -d '{
945
- "ips": [ "97.107.143.29", "97.107.143.112" ]
946
- }' \
947
- https://$api_root/$version/linode/instances/$linode_id/ips/sharing
948
929
/linode/instances/$id/ips/$ip_address :
949
930
group : IPs
950
931
type : Action
Original file line number Diff line number Diff line change @@ -174,3 +174,33 @@ endpoints:
174
174
ip2 = linode_2.ips.ipv4.public[0]
175
175
176
176
client.networking.assign_ips(linode_1.region, ip1.to(linode_2), ip2.to(linode_1))
177
+ /networking/ip-sharing :
178
+ group : IPv4
179
+ type : Strange
180
+ authenticated : true
181
+ description : >
182
+ Set IP sharing for a Linode.
183
+ methods :
184
+ POST :
185
+ description : >
186
+ Sets IP Sharing for this Linode.
187
+ params :
188
+ linode_id :
189
+ type : Integer
190
+ description : >
191
+ The ID of the Linode to set up IP sharing for.
192
+ ips :
193
+ type : Array
194
+ subtype : string
195
+ description : >
196
+ A list of IP Addresses this Linode will share.
197
+ examples :
198
+ curl : |
199
+ curl -H "Content-Type: application/json" \
200
+ -H "Authorization: Bearer $TOKEN" \
201
+ -X POST -d '{
202
+ "linode_id": 12345,
203
+ "ips": [ "97.107.143.29", "97.107.143.112" ]
204
+ }' \
205
+ https://$api_root/$version/networking/ip-sharing
206
+
You can’t perform that action at this time.
0 commit comments