Skip to content

brk: changes to IPv4 and IPv6 response objects #66

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 13, 2018
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/data/endpoints/networking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ endpoints:
can be as compressed as you want.
methods:
GET:
response: ipv6pool
response: ipv6-address
oauth: ips:view
description: >
Return a single IPv6 Address.
Expand Down
26 changes: 13 additions & 13 deletions src/data/objects/ipaddress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@ schema:
type: String
value: 97.107.143.1
description: The default gateway. Gateways for private IP's are always null.
subnet_mask:
type: String
value: 255.255.255.0
description: The subnet mask.
linode_id:
type: Integer
value: 42
description: The Linode this IP is associated with.
prefix:
type: String
value: 24
description: The network prefix.
type:
type: Enum
subtype: IPAddressType
value: public
description: The type of IP Address, either public or private.
rdns:
editable: true
type: String
value: null
description: Reverse DNS address for this IP Address. Null to reset.
linode_id:
type: Integer
description: The Linode this IP is associated with.
value: 42
region:
type: String
value: us-east-1a
description: The region this IP is in.
subnet_mask:
type: String
value: 255.255.255.0
description: The subnet mask.
type:
type: Enum
subtype: IPAddressType
value: public
description: The type of IP Address, either public or private.
enums:
IPAddressType:
public: Public IP Address.
Expand Down
20 changes: 12 additions & 8 deletions src/data/objects/ipv6-address.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@ schema:
type: String
value: "fe80::1"
description: The default gateway.
range:
type: String
value: "2600:3c01::2:5000"
description: The IPv6 range.
rdns:
type: String
value: "example.org"
description: Optional reverse DNS address for this IPv6 Address.
linode_id:
type: Integer
value: 42
description: The Linode this IP is associated with.
prefix:
type: Integer
value: 116
description: The network prefix.
rdns:
type: String
value: "example.org"
description: Optional reverse DNS address for this IPv6 Address.
region:
type: String
value: us-east-1a
description: The region this IP is in.
subnet_mask:
type: String
value: "ffff:ffff:ffff:ffff:ffff:ffff:ffff:f000"
Expand Down