Documentation Reference gRPC API reference gRPC: ippool
Reference For: developers
gRPC: ippool
Services, methods, messages and enums of ippool.proto.
Public IP pools, address allocation bound to VM NICs, reverse DNS and monthly traffic (decision L-127, docs/network/DESIGN.md section 11.2 to 11.5). Pools themselves are created and changed through REST (/v1/ip-pools); this service carries the calls a portal or the tenancy module makes per server.
IpPoolServicePublic IP pools, their allocations and traffic.
Messages
IpPoolAn IP pool with its counts.
Field Number Type Description id1 stringId of the pool.
name2 stringName.
network3 stringId of the host-bridge network of the pool.
prefix_len4 uint32IPv4 prefix length of the subnet.
ranges5 repeated string "start-end" per range.
gateway6 stringIPv4 gateway.
dns_servers7 repeated string DNS servers handed to the guests.
ipv6_prefix8 string"prefix/len", empty without IPv6.
capacity9 uint64IPv4 addresses the pool can hand out.
allocated10 uint64Addresses allocated.
quarantined11 uint64Addresses in quarantine after a release.
free12 uint64Addresses free now.
ipv6_server_prefix_len13 uint32Length of the IPv6 block per server (64 to 128); 0 without IPv6.
addresses14 repeated string Explicit IPv4 addresses handed out besides the ranges.
ListPoolsResponseThe IP pools.
Field Number Type Description items1 repeated IpPool Every pool.
ListAllocationsRequestLists the allocations of a pool.
Field Number Type Description pool_id1 stringId of the pool.
AllocationAn address of a pool and who has it.
Field Number Type Description address1 stringIPv4 address or "prefix/64".
family2 string"ipv4" or "ipv6".
status3 string"allocated" or "quarantined".
role4 string"primary" or "extra" (IPv4).
vm_id5 stringId of the virtual machine.
mac6 stringMAC address of the network adapter.
tenant7 stringId of the tenant; empty without one.
ptr8 stringReverse DNS name; empty without one.
allocated_at9 stringTime of the allocation, RFC 3339.
quarantined_until10 stringEnd of the quarantine of a released address, RFC 3339; empty otherwise.
ListAllocationsResponseThe allocations.
Field Number Type Description items1 repeated Allocation Allocations of the pool.
AllocateAddressRequestAllocates an address.
Field Number Type Description pool_id1 stringId of the pool.
vm_id2 stringEmpty: reserved for the tenant, not bound.
mac3 stringEmpty: the VM's first NIC on the pool's network.
address4 stringEmpty: the lowest free address.
role5 string"primary" (default) or "extra".
family6 string"ipv4" (default) or "ipv6".
tenant7 stringId of the tenant the address is for.
reference8 stringFree text kept with the allocation (an order number).
FreeAddressRequestReleases an address.
Field Number Type Description pool_id1 stringId of the pool.
address2 stringThe address, or the IPv6 block as prefix/64.
SetPtrRequestSets the reverse DNS name of an address.
Field Number Type Description pool_id1 stringId of the pool.
address2 stringThe address.
ptr3 stringHost name; empty removes it.
AllocateForServerRequestAllocates the addresses of a new server.
Field Number Type Description vm_id1 stringId of the virtual machine.
pool_id2 stringId of the pool; empty for the first pool on the server's networks.
tenant3 stringId of the tenant.
no_ipv64 boolNo IPv6 block, even when the pool has a prefix.
reference5 stringFree text kept with the allocation.
ServerAddressesThe addresses of a server.
Field Number Type Description pool_id1 stringId of the pool.
mac2 stringMAC address of the network adapter.
ipv43 stringIPv4 address.
prefix_len4 uint32IPv4 prefix length.
gateway5 stringIPv4 gateway.
dns_servers6 repeated string DNS servers.
ipv6_prefix7 stringIPv6 block of the server.
ipv6_address8 stringIPv6 address of the server in its block.
ipv6_gateway9 stringIPv6 gateway.
ipv6_onlink_len10 uint32Prefix length the guest configures on ipv6_address (on-link, at least 64).
ReleaseForServerRequestReleases the addresses of a deleted server.
Field Number Type Description vm_id1 stringId of the virtual machine.
ReleaseForServerResponseNo fields.
Field Number Type Description addresses1 repeated string Addresses or "prefix" of the released /64s.
GetTrafficRequestAsks for the monthly traffic.
Field Number Type Description tenant1 stringOnly the virtual machines of this tenant.
vm_id2 stringOnly this virtual machine.
month3 string"YYYY-MM"; empty: the current period.
VmTrafficTraffic of one virtual machine in the period.
Field Number Type Description vm_id1 stringId of the virtual machine.
name2 stringName of the virtual machine.
tenant3 stringId of its tenant; empty without one.
in_bytes4 uint64Bytes received.
out_bytes5 uint64Bytes sent.
billable_bytes6 uint64Bytes that count toward the limit.
TrafficReportTraffic of the period.
Field Number Type Description period_start1 stringStart of the period, RFC 3339.
period_end2 stringEnd of the period, RFC 3339.
billable3 string"out", "in_out" or "max".
vms4 repeated VmTraffic One line per virtual machine.
Guides
Previous gRPC: tenants Next gRPC: firewall
Version 0.1.