Skip to content

Commit 8440899

Browse files
committed
Add GET networking/ipv6/ranges/{range}
1 parent 9dbed6e commit 8440899

File tree

1 file changed

+75
-6
lines changed

1 file changed

+75
-6
lines changed

openapi.yaml

Lines changed: 75 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10323,7 +10323,7 @@ paths:
1032310323
the primary Linode becomes unresponsive. This means that requests to the primary Linode's IP address can be
1032410324
automatically rerouted to secondary Linodes at the configured shared IP addresses.
1032510325

10326-
IP failover requires configuration of a failover service (such as [Keepalived](/docs/guides/ip-failover-keepalived#configuring-ip-sharing))
10326+
IP failover requires configuration of a failover service (such as [Keepalived](/docs/guides/ip-failover-keepalived))
1032710327
within the internal system of the primary Linode.
1032810328

1032910329
**Note**: IPv6 range sharing has limited availability in certain regions. Please contact customer support for
@@ -10360,20 +10360,20 @@ paths:
1036010360
items:
1036110361
type: string
1036210362
format: ip
10363-
example: 192.0.2.1
1036410363
description: |
1036510364
A list of secondary Linode IPs to share with the primary Linode.
1036610365
* Can include both IPv4 addresses and IPv6 ranges (omit /56 and /64 prefix lengths)
1036710366
* Can include both private and public IPv4 addresses.
1036810367
* You must have access to all of these addresses and they must be in the same Region as the primary
1036910368
Linode.
10369+
* Enter an empty array to remove all shared IP addresses.
1037010370
responses:
1037110371
'200':
10372-
description: IP Address allocated successfully.
10372+
description: IP Address sharing successful.
1037310373
content:
1037410374
application/json:
1037510375
schema:
10376-
$ref: '#/components/schemas/IPAddress'
10376+
type: object
1037710377
default:
1037810378
$ref: '#/components/responses/ErrorResponse'
1037910379
x-code-samples:
@@ -10388,7 +10388,7 @@ paths:
1038810388
"192.0.2.2"
1038910389
]
1039010390
}' \
10391-
https://api.linode.com/v4/networking/ips/share
10391+
https://api.linode.com/v4beta2/networking/ips/share
1039210392
- lang: CLI
1039310393
source: >
1039410394
linode-cli networking ip-share \
@@ -10495,7 +10495,7 @@ paths:
1049510495
x-linode-grant: read_write
1049610496
tags:
1049710497
- Networking
10498-
summary: IP Sharing Configure
10498+
summary: IPv4 Sharing Configure
1049910499
description: >
1050010500
Configure shared IPs. A shared IP may be brought up on a Linode other
1050110501
than the one it lists in its response. This can be used to allow one
@@ -10770,12 +10770,42 @@ paths:
1077010770
type: string
1077110771
format: ipv6
1077210772
x-linode-cli-command: networking
10773+
get:
10774+
tags:
10775+
- Networking
10776+
summary: IPv6 Range View
10777+
description: |
10778+
View IPv6 range information.
10779+
operationId: getIPv6Range
10780+
x-linode-cli-action: v6-range-view
10781+
security:
10782+
- personalAccessToken: []
10783+
- oauth:
10784+
- ips:read
10785+
responses:
10786+
'200':
10787+
description: Returns IPv6 range information.
10788+
content:
10789+
application/json:
10790+
schema:
10791+
$ref: '#/components/schemas/IPv6RangeBGP'
10792+
default:
10793+
$ref: '#/components/responses/ErrorResponse'
10794+
x-code-samples:
10795+
- lang: Shell
10796+
source: >
10797+
curl -H "Authorization: Bearer $TOKEN" https://api.linode.com/v4/networking/ipv6/ranges/2001:0db8::
10798+
- lang: CLI
10799+
source: >
10800+
linode-cli networking v6-range-view 2001:0db8::
1077310801
delete:
1077410802
tags:
1077510803
- Networking
1077610804
summary: IPv6 Range Delete
1077710805
description: |
1077810806
Removes this IPv6 range from your account and disconnects the range from any assigned Linodes.
10807+
10808+
**Note:** Shared IPv6 ranges cannot be deleted at this time. Please contact Customer Support for assistance.
1077910809
operationId: deleteIPv6Range
1078010810
x-linode-cli-action: v6-range-delete
1078110811
security:
@@ -18550,6 +18580,45 @@ components:
1855018580
The last address in this block of IPv6 addresses.
1855118581
example: '2600:3c01::ffff:ffff:ffff:ffff'
1855218582
nullable: true
18583+
IPv6RangeBGP:
18584+
type: object
18585+
description: >
18586+
An object representing an IPv6 range.
18587+
properties:
18588+
range:
18589+
type: string
18590+
description: >
18591+
The IPv6 range of addresses in this pool.
18592+
example: '2600:3c01::'
18593+
readOnly: true
18594+
x-linode-cli-display: 1
18595+
prefix:
18596+
type: integer
18597+
description: >
18598+
The prefix length of the address, denoting how many addresses can be
18599+
assigned from this range calculated as 2 <sup>128-prefix</sup>.
18600+
example: 64
18601+
x-linode-cli-display: 2
18602+
region:
18603+
type: string
18604+
description: >
18605+
The region for this range of IPv6 addresses.
18606+
example: us-east
18607+
readOnly: true
18608+
x-linode-cli-display: 3
18609+
is_bgp:
18610+
type: boolean
18611+
description: >
18612+
Whether this IPv6 range is shared.
18613+
example: false
18614+
linodes:
18615+
type: array
18616+
items:
18617+
type: integer
18618+
example:
18619+
- 123
18620+
description: >
18621+
A list of Linodes targeted by this IPv6 range. Includes Linodes with IP sharing.
1855318622
Kernel:
1855418623
type: object
1855518624
description: Linux kernel object

0 commit comments

Comments
 (0)