Skip to content

Commit 385b3f9

Browse files
authored
Merge pull request #790 from bbiggerr/ips-example-fixes
Fixed Networking Information List response and examples
2 parents 6f5050e + b8c7e44 commit 385b3f9

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

openapi.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7798,13 +7798,13 @@ paths:
77987798
slaac:
77997799
$ref: '#/components/schemas/IPAddressV6Slaac'
78007800
global:
7801-
$ref: '#/components/schemas/IPv6Pool'
7801+
$ref: '#/components/schemas/IPv6Range'
78027802
default:
78037803
$ref: '#/components/responses/ErrorResponse'
78047804
x-code-samples:
78057805
- lang: Shell
78067806
source: >
7807-
curl -H "Content-Type: application/json" \
7807+
curl -H "Authorization: Bearer $TOKEN" \
78087808
https://api.linode.com/v4/linode/instances/123/ips
78097809
- lang: CLI
78107810
source: >
@@ -7916,7 +7916,7 @@ paths:
79167916
x-code-samples:
79177917
- lang: Shell
79187918
source: >
7919-
curl -H "Content-Type: application/json" \
7919+
curl -H "Authorization: Bearer $TOKEN" \
79207920
https://api.linode.com/v4/linode/instances/123/ips/97.107.143.141
79217921
- lang: CLI
79227922
source: >
@@ -21729,8 +21729,7 @@ components:
2172921729
prefix:
2173021730
type: integer
2173121731
description: >
21732-
The prefix length of the address, denoting how many addresses can be
21733-
assigned from this pool calculated as 2 <sup>128-prefix</sup>.
21732+
The prefix length of the address. The total number of addresses that can be assigned from this range is calculated as 2<sup>(128 - prefix length)</sup>.
2173421733
example: 124
2173521734
x-linode-cli-display: 2
2173621735
region:
@@ -21755,15 +21754,14 @@ components:
2175521754
range:
2175621755
type: string
2175721756
description: >
21758-
The IPv6 range of addresses in this pool.
21757+
The IPv6 address of this range.
2175921758
example: '2600:3c01::'
2176021759
readOnly: true
2176121760
x-linode-cli-display: 1
2176221761
prefix:
2176321762
type: integer
2176421763
description: >
21765-
The prefix length of the address, denoting how many addresses can be
21766-
assigned from this range calculated as 2 <sup>128-prefix</sup>.
21764+
The prefix length of the address. The total number of addresses that can be assigned from this range is calculated as 2<sup>(128 - prefix length)</sup>.
2176721765
example: 64
2176821766
x-linode-cli-display: 2
2176921767
region:
@@ -21776,9 +21774,8 @@ components:
2177621774
route_target:
2177721775
type: string
2177821776
description: >
21779-
The last address in this block of IPv6 addresses.
21777+
The IPv6 SLAAC address.
2178021778
example: '2600:3c01::ffff:ffff:ffff:ffff'
21781-
nullable: true
2178221779
IPv6RangeBGP:
2178321780
type: object
2178421781
description: >
@@ -21787,15 +21784,14 @@ components:
2178721784
range:
2178821785
type: string
2178921786
description: >
21790-
The IPv6 range of addresses in this pool.
21787+
The IPv6 address of this range.
2179121788
example: '2600:3c01::'
2179221789
readOnly: true
2179321790
x-linode-cli-display: 1
2179421791
prefix:
2179521792
type: integer
2179621793
description: >
21797-
The prefix length of the address, denoting how many addresses can be
21798-
assigned from this range calculated as 2 <sup>128-prefix</sup>.
21794+
The prefix length of the address. The total number of addresses that can be assigned from this range is calculated as 2<sup>(128 - prefix length)</sup>.
2179921795
example: 64
2180021796
x-linode-cli-display: 2
2180121797
region:

0 commit comments

Comments
 (0)