You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+84-95Lines changed: 84 additions & 95 deletions
Original file line number
Diff line number
Diff line change
@@ -12983,18 +12983,20 @@ paths:
12983
12983
x-linode-grant: read_write
12984
12984
tags:
12985
12985
- Networking
12986
-
summary: Linodes Assign IPs
12986
+
summary: IP Addresses Assign
12987
12987
description: |
12988
-
Assign multiple IPv4 addresses and/or IPv6 ranges to multiple Linodes in one Region. This allows
12989
-
swapping, shuffling, or otherwise reorganizing IPs to your Linodes.
12988
+
Assign multiple IPv4 addresses and/or IPv6 ranges to multiple Linodes in one Region. This allows swapping, shuffling, or otherwise reorganizing IPs to your Linodes.
12990
12989
12991
12990
The following restrictions apply:
12992
12991
* All Linodes involved must have at least one public IPv4 address after assignment.
12993
12992
* Linodes may have no more than one assigned private IPv4 address.
12994
12993
* Linodes may have no more than one assigned IPv6 range.
12995
-
* [Open a Support Ticket](/docs/api/support/#support-ticket-open) to request additional IPv4 addresses or IPv6 ranges.
12996
12994
12997
-
**Note**: Removing an IP address that has been set as a Managed Linode's `ssh.ip` causes the Managed Linode's SSH access settings to reset to their default values. To view and configure Managed Linode SSH settings, use the **Linode's Managed Settings View** ([GET /managed/linode-settings/{linodeId}](/docs/api/managed/#linodes-managed-settings-view)) and **Linode's Managed Settings Update** ([PUT /managed/linode-settings/{linodeId}](/docs/api/managed/#linodes-managed-settings-update)) commands.
12995
+
[Open a Support Ticket](/docs/api/support/#support-ticket-open) to request additional IPv4 addresses or IPv6 ranges beyond standard account limits.
12996
+
12997
+
**Note**: Removing an IP address that has been set as a Managed Linode's `ssh.ip` causes the Managed Linode's SSH access settings to reset to their default values. To view and configure Managed Linode SSH settings, use the following commands:
description: All assignments completed successfully.
@@ -13067,7 +13030,7 @@ paths:
13067
13030
"region": "us-east",
13068
13031
"assignments": [
13069
13032
{
13070
-
"address": "12.34.56.100",
13033
+
"address": "192.0.2.1",
13071
13034
"linode_id": 123
13072
13035
},
13073
13036
{
@@ -13081,8 +13044,10 @@ paths:
13081
13044
source: >
13082
13045
linode-cli networking ip-assign \
13083
13046
--region us-east \
13047
+
--assignments.address 192.0.2.1 \
13048
+
--assignments.linode_id 123 \
13084
13049
--assignments.address 2001:db8:3c4d:15::/64 \
13085
-
--assignments.linode_id 123
13050
+
--assignments.linode_id 234
13086
13051
/networking/ips/share:
13087
13052
x-linode-cli-command: networking
13088
13053
post:
@@ -13148,13 +13113,21 @@ paths:
13148
13113
tags:
13149
13114
- Networking
13150
13115
summary: Linodes Assign IPv4s
13151
-
description: >
13152
-
Assign multiple IPv4s to multiple Linodes in one Region. This allows
13153
-
swapping, shuffling, or otherwise reorganizing IPv4 Addresses to your
13154
-
Linodes. When the assignment is finished, all Linodes must end up with
13155
-
at least one public IPv4 and no more than one private IPv4.
13116
+
description: |
13117
+
This command is equivalent to **IP Addresses Assign** ([POST /networking/ips/assign](#ip-addresses-assign)).
13118
+
13119
+
Assign multiple IPv4 addresses and/or IPv6 ranges to multiple Linodes in one Region. This allows swapping, shuffling, or otherwise reorganizing IPs to your Linodes.
13120
+
13121
+
The following restrictions apply:
13122
+
* All Linodes involved must have at least one public IPv4 address after assignment.
13123
+
* Linodes may have no more than one assigned private IPv4 address.
13124
+
* Linodes may have no more than one assigned IPv6 range.
13156
13125
13157
-
To assign IPv6 ranges or to use the CLI, see the Linodes Assign IPs ([POST /networking/ips/assign](/docs/api/networking/#linodes-assign-ips)) command.
13126
+
[Open a Support Ticket](/docs/api/support/#support-ticket-open) to request additional IPv4 addresses or IPv6 ranges beyond standard account limits.
13127
+
13128
+
**Note**: Removing an IP address that has been set as a Managed Linode's `ssh.ip` causes the Managed Linode's SSH access settings to reset to their default values. To view and configure Managed Linode SSH settings, use the following commands:
description: All assignments completed successfully.
@@ -13225,16 +13161,24 @@ paths:
13225
13161
"region": "us-east",
13226
13162
"assignments": [
13227
13163
{
13228
-
"address": "12.34.56.100",
13164
+
"address": "192.0.2.1",
13229
13165
"linode_id": 123
13230
13166
},
13231
13167
{
13232
-
"address": "23.45.67.200",
13168
+
"address": "2001:db8:3c4d:15::/64",
13233
13169
"linode_id": 234
13234
13170
}
13235
13171
]
13236
13172
}' \
13237
13173
https://api.linode.com/v4/networking/ipv4/assign
13174
+
- lang: CLI
13175
+
source: >
13176
+
linode-cli networking ip-assign \
13177
+
--region us-east \
13178
+
--assignments.address 192.0.2.1 \
13179
+
--assignments.linode_id 123 \
13180
+
--assignments.address 2001:db8:3c4d:15::/64 \
13181
+
--assignments.linode_id 234
13238
13182
/networking/ipv4/share:
13239
13183
x-linode-cli-command: networking
13240
13184
post:
@@ -13243,7 +13187,9 @@ paths:
13243
13187
- Networking
13244
13188
summary: IPv4 Sharing Configure
13245
13189
description: |
13246
-
Configure shared IPs. This command is equivalent to **IP Addresses Share** ([POST /networking/ips/share](#ip-addresses-share)).
13190
+
This command is equivalent to **IP Addresses Share** ([POST /networking/ips/share](#ip-addresses-share)).
13191
+
13192
+
Configure shared IPs.
13247
13193
13248
13194
IP sharing allows IP address reassignment (also referred to as IP failover) from one Linode to another if the primary Linode becomes unresponsive. This means that requests to the primary Linode's IP address can be automatically rerouted to secondary Linodes at the configured shared IP addresses.
13249
13195
@@ -13399,7 +13345,7 @@ paths:
13399
13345
* `linode_id` and `route_target` are mutually exclusive. Submitting values for both properties in a request results in an error.
13400
13346
* Upon a successful request, an IPv6 range is created in the [Region](/docs/api/regions/#regions-list) that corresponds to the provided `linode_id` or `route_target`.
13401
13347
* Your Linode is responsible for routing individual addresses in the range, or handling traffic for all the addresses in the range.
13402
-
* Access the Linodes Assign IPs ([POST /networking/ips/assign](/docs/api/networking/#linodes-assign-ips)) endpoint to re-assign IPv6 Ranges to your Linodes.
13348
+
* Access the IP Addresses Assign ([POST /networking/ips/assign](/docs/api/networking/#ip-addresses-assign)) endpoint to re-assign IPv6 Ranges to your Linodes.
13403
13349
13404
13350
**Note**: The following restrictions apply:
13405
13351
* A Linode can only have one IPv6 range targeting its SLAAC address.
@@ -22240,6 +22186,49 @@ components:
22240
22186
readOnly: true
22241
22187
x-linode-filterable: true
22242
22188
x-linode-cli-display: 5
22189
+
IPAddressesAssignRequest:
22190
+
type: object
22191
+
description: Request object for IP Addresses Assign (POST /networking/ips/assign).
22192
+
required:
22193
+
- region
22194
+
- assignments
22195
+
properties:
22196
+
region:
22197
+
type: string
22198
+
description: >
22199
+
The ID of the Region in which these assignments are to take
22200
+
place. All IPs and Linodes must exist in this Region.
22201
+
example: us-east
22202
+
assignments:
22203
+
type: array
22204
+
description: >
22205
+
The list of assignments to make. You must have read_write
22206
+
access to all IPs being assigned and all Linodes being
22207
+
assigned to in order for the assignments to succeed.
22208
+
required:
22209
+
- address
22210
+
- linode_id
22211
+
items:
22212
+
type: object
22213
+
properties:
22214
+
address:
22215
+
type: string
22216
+
format: ipv4|ipv6/prefix_length
22217
+
description: |
22218
+
The IPv4 address or IPv6 range for this assignment.
22219
+
* Must be an IPv4 address or an IPv6 range you can access in the Region specified.
22220
+
* IPv6 ranges must include a prefix length of `/56` or `/64`, for example: `2001:db8:3c4d:15::/64`.
22221
+
* Assignment of an IPv6 range to a Linode updates the route target of the range to the assigned Linode's SLAAC address.
22222
+
* May be a public or private address.
22223
+
example: 192.0.2.1
22224
+
linode_id:
22225
+
type: integer
22226
+
description: >
22227
+
The ID of the Linode to assign this address to. The IP's
22228
+
previous Linode will lose this address, and must end up
22229
+
with at least one public address and no more than one
22230
+
private address once all assignments have been made.
22231
+
example: 123
22243
22232
IPAddressesShareRequest:
22244
22233
type: object
22245
22234
description: A request object IP Addresses Share (POST /networking/ips/share)
0 commit comments