Skip to content

brk: separated /networking/ipv6 into /pools and /ranges #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions src/data/endpoints/networking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ endpoints:
curl -H "Authorization: Bearer $TOKEN" \
-X DELETE \
https://$api_root/$version/networking/ips/97.107.143.37
/networking/ipv6:
/networking/ipv6/pools:
group: IPv6
authenticated: true
description: >
Expand All @@ -95,9 +95,27 @@ endpoints:
examples:
curl: |
curl -H "Authorization: Bearer $TOKEN" \
https://$api_root/$version/networking/ipv6
https://$api_root/$version/networking/ipv6/pools
python: |
my_ipv6s = client.networking.get_ipv6()
my_ipv6s = client.networking.get_ipv6_pools()
/networking/ipv6/ranges:
group: IPv6
authenticated: true
description: >
Manage IPv6 Ranges.
methods:
GET:
response: ipv6pool
paginationKey: ipv6s
oauth: ips:view
description: >
Returns a list of IPv6 Ranges.
examples:
curl: |
curl -H "Authorization: Bearer $TOKEN" \
https://$api_root/$version/networking/ipv6/ranges
python: |
my_ipv6s = client.networking.get_ipv6_ranges()
/networking/ipv6/$address:
group: IPv6
type: resource
Expand Down