Skip to content

Commit e4b068a

Browse files
authored
Merge pull request #696 from bbiggerr/ip-share-update
IPv4 Sharing Configure => IP Addresses Share
2 parents 518506f + dcb4797 commit e4b068a

File tree

1 file changed

+42
-59
lines changed

1 file changed

+42
-59
lines changed

openapi.yaml

Lines changed: 42 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -13087,24 +13087,18 @@ paths:
1308713087
x-linode-cli-command: networking
1308813088
post:
1308913089
servers:
13090-
- url: https://api.linode.com/v4beta
1309113090
- url: https://api.linode.com/v4
13091+
- url: https://api.linode.com/v4beta
1309213092
x-linode-grant: read_write
1309313093
tags:
1309413094
- Networking
1309513095
summary: IP Addresses Share
1309613096
description: |
1309713097
Configure shared IPs.
1309813098

13099-
IP sharing allows IP address reassignment (also referred to as IP failover) from one Linode to another if
13100-
the primary Linode becomes unresponsive. This means that requests to the primary Linode's IP address can be
13101-
automatically rerouted to secondary Linodes at the configured shared IP addresses.
13102-
13103-
IP failover requires configuration of a failover service (such as [Keepalived](/docs/guides/ip-failover-keepalived))
13104-
within the internal system of the primary Linode.
13099+
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.
1310513100

13106-
**Note**: IPv6 range sharing has limited availability in certain regions. Please contact customer support for
13107-
assistance in enabling IPv6 range sharing for your Linodes.
13101+
IP failover requires configuration of a failover service (such as [Keepalived](/docs/guides/ip-failover-keepalived)) within the internal system of the primary Linode.
1310813102
operationId: shareIPs
1310913103
x-linode-cli-action: ip-share
1311013104
security:
@@ -13118,27 +13112,7 @@ paths:
1311813112
content:
1311913113
application/json:
1312013114
schema:
13121-
required:
13122-
- linode_id
13123-
- ips
13124-
properties:
13125-
linode_id:
13126-
type: integer
13127-
description: >
13128-
The ID of the primary Linode that the addresses will be shared with.
13129-
example: 123
13130-
ips:
13131-
type: array
13132-
items:
13133-
type: string
13134-
format: ip
13135-
description: |
13136-
A list of secondary Linode IPs to share with the primary Linode.
13137-
* Can include both IPv4 addresses and IPv6 ranges (omit /56 and /64 prefix lengths)
13138-
* Can include both private and public IPv4 addresses.
13139-
* You must have access to all of these addresses and they must be in the same Region as the primary
13140-
Linode.
13141-
* Enter an empty array to remove all shared IP addresses.
13115+
$ref: '#/components/schemas/IPAddressesShareRequest'
1314213116
responses:
1314313117
'200':
1314413118
description: IP Address sharing successful.
@@ -13160,7 +13134,7 @@ paths:
1316013134
"2001:db8:3c4d:15::"
1316113135
]
1316213136
}' \
13163-
https://api.linode.com/v4beta/networking/ips/share
13137+
https://api.linode.com/v4/networking/ips/share
1316413138
- lang: CLI
1316513139
source: >
1316613140
linode-cli networking ip-share \
@@ -13268,10 +13242,12 @@ paths:
1326813242
tags:
1326913243
- Networking
1327013244
summary: IPv4 Sharing Configure
13271-
description: >
13272-
Configure shared IPs. A shared IP may be brought up on a Linode other
13273-
than the one it lists in its response. This can be used to allow one
13274-
Linode to begin serving requests should another become unresponsive.
13245+
description: |
13246+
Configure shared IPs. This command is equivalent to **IP Addresses Share** ([POST /networking/ips/share](#ip-addresses-share)).
13247+
13248+
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+
13250+
IP failover requires configuration of a failover service (such as [Keepalived](/docs/guides/ip-failover-keepalived)) within the internal system of the primary Linode.
1327513251
operationId: shareIPv4s
1327613252
x-linode-cli-skip: true
1327713253
security:
@@ -13285,28 +13261,7 @@ paths:
1328513261
content:
1328613262
application/json:
1328713263
schema:
13288-
required:
13289-
- linode_id
13290-
- ips
13291-
properties:
13292-
linode_id:
13293-
type: integer
13294-
description: >
13295-
The ID of the Linode that the addresses will be shared with.
13296-
example: 123
13297-
ips:
13298-
type: array
13299-
items:
13300-
type: string
13301-
format: ip
13302-
example: 12.34.56.78
13303-
description: >
13304-
A list of IPs that will be shared with this Linode. When
13305-
this is finished, the given Linode will be able to bring up
13306-
these addresses in addition to the Linodes that these
13307-
addresses belong to. You must have access to all of these
13308-
addresses and they must be in the same Region as the
13309-
Linode.
13264+
$ref: '#/components/schemas/IPAddressesShareRequest'
1331013265
responses:
1331113266
'200':
1331213267
description: Sharing configured successfully.
@@ -13324,15 +13279,17 @@ paths:
1332413279
-X POST -d '{
1332513280
"linode_id": 123,
1332613281
"ips": [
13327-
"12.34.56.78"
13282+
"192.0.2.1",
13283+
"192.0.2.2"
1332813284
]
1332913285
}' \
1333013286
https://api.linode.com/v4/networking/ipv4/share
1333113287
- lang: CLI
1333213288
source: >
1333313289
linode-cli networking ip-share \
1333413290
--linode_id 123 \
13335-
--ips 12.34.56.78
13291+
--ips 192.0.2.1 \
13292+
--ips 192.0.2.2
1333613293
/networking/ipv6/pools:
1333713294
x-linode-cli-command: networking
1333813295
get:
@@ -22172,6 +22129,32 @@ components:
2217222129
readOnly: true
2217322130
x-linode-filterable: true
2217422131
x-linode-cli-display: 5
22132+
IPAddressesShareRequest:
22133+
type: object
22134+
description: A request object IP Addresses Share (POST /networking/ips/share)
22135+
required:
22136+
- linode_id
22137+
- ips
22138+
properties:
22139+
linode_id:
22140+
type: integer
22141+
description: >
22142+
The ID of the primary Linode that the addresses will be shared with.
22143+
example: 123
22144+
ips:
22145+
type: array
22146+
items:
22147+
type: string
22148+
format: ip
22149+
example:
22150+
- "192.0.2.1"
22151+
- "2001:db8:3c4d:15::"
22152+
description: |
22153+
A list of secondary Linode IPs to share with the primary Linode.
22154+
* Can include both IPv4 addresses and IPv6 ranges (omit /56 and /64 prefix lengths)
22155+
* Can include both private and public IPv4 addresses.
22156+
* You must have access to all of these addresses and they must be in the same Region as the primary Linode.
22157+
* Enter an empty array to remove all shared IP addresses.
2217522158
IPAddressPrivate:
2217622159
type: object
2217722160
description: >

0 commit comments

Comments
 (0)