Reference For: developers, administrators

kyvernon ip-pools

The ip-pools command of the kyvernon CLI with its subcommands and arguments.

kyvernon ip-pools

Public IP pools on host-bridge networks and their allocations

Usage
kyvernon ip-pools <COMMAND>

Subcommands: list, get, create, update, delete, allocations, available, allocate, free, ptr, ptr-applied, ptr-rejected

kyvernon ip-pools list

List pools with their usage

Usage
kyvernon ip-pools list

API operation: GET /v1/ip-pools

kyvernon ip-pools get

One pool

Usage
kyvernon ip-pools get <ID>
ArgumentDescriptionRequired
<ID>Pool idyes

API operation: GET /v1/ip-pools/{id}

kyvernon ip-pools create

Create a pool

Usage
kyvernon ip-pools create [OPTIONS]
ArgumentDescriptionRequired
--namePool nameyes
--networkHost-bridge network id (network-N)yes
--prefix-lenPrefix length of the IPv4 subnetyes
--rangeIPv4 range start-end (repeat)
--addressSingle IPv4 address of the subnet (repeat; a provider's on-link addresses)
--gatewayGateway
--dnsDNS server (repeat)
--reservedAddress never handed out (repeat)
--ipv6-prefixIPv6 prefix prefix/len (32 to 127, shorter than the block length)
--ipv6-block-lenLength of every server's IPv6 block, 64 to 128 (default 64; 112 for a /112 per VPS)
--ipv6-reservedIPv6 address inside the prefix used by others, e.g. the host's (repeat)
--ipv6-gatewayIPv6 gateway of the guests (the router's link-local or on-link address)
--quarantine-sQuarantine of released addresses in seconds
--smtp-ipv4Outgoing SMTP over IPv4: allowed (default) or blocked
--smtp-ipv6Outgoing SMTP over IPv6: blocked (default) or allowed
--rdnsReverse DNS: provider (default) or manual (an operator applies requests)

API operation: POST /v1/ip-pools

kyvernon ip-pools update

Replace a pool's definition (allocations are kept)

Usage
kyvernon ip-pools update [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Pool idyes
--namePool nameyes
--networkHost-bridge network id (network-N)yes
--prefix-lenPrefix length of the IPv4 subnetyes
--rangeIPv4 range start-end (repeat)
--addressSingle IPv4 address of the subnet (repeat; a provider's on-link addresses)
--gatewayGateway
--dnsDNS server (repeat)
--reservedAddress never handed out (repeat)
--ipv6-prefixIPv6 prefix prefix/len (32 to 127, shorter than the block length)
--ipv6-block-lenLength of every server's IPv6 block, 64 to 128 (default 64; 112 for a /112 per VPS)
--ipv6-reservedIPv6 address inside the prefix used by others, e.g. the host's (repeat)
--ipv6-gatewayIPv6 gateway of the guests (the router's link-local or on-link address)
--quarantine-sQuarantine of released addresses in seconds
--smtp-ipv4Outgoing SMTP over IPv4: allowed (default) or blocked
--smtp-ipv6Outgoing SMTP over IPv6: blocked (default) or allowed
--rdnsReverse DNS: provider (default) or manual (an operator applies requests)

API operation: PUT /v1/ip-pools/{id}

kyvernon ip-pools delete

Delete a pool without allocations

Usage
kyvernon ip-pools delete <ID>
ArgumentDescriptionRequired
<ID>Pool idyes

API operation: DELETE /v1/ip-pools/{id}

kyvernon ip-pools allocations

Allocated and quarantined addresses

Usage
kyvernon ip-pools allocations <ID>
ArgumentDescriptionRequired
<ID>Pool idyes

API operation: GET /v1/ip-pools/{id}/allocations

kyvernon ip-pools available

Free IPv4 addresses (the first one is what allocate takes) and the number of free IPv4 addresses and IPv6 blocks

Usage
kyvernon ip-pools available [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Pool idyes
--limitMost addresses listed (default 256, at most 4096)

API operation: GET /v1/ip-pools/{id}/available

kyvernon ip-pools allocate

Allocate an address (or a /64) and bind it to a VM NIC

Usage
kyvernon ip-pools allocate [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Pool idyes
--vmVM to bind to
--macNIC MAC (default: the VM's first NIC on the pool's network)
--addressA specific IPv4 address
--extraAn extra address (not the primary one)
--ipv6A /64 instead of an IPv4 address
--tenantTenant (quota)
--referenceOrder reference

API operation: POST /v1/ip-pools/{id}/allocations

kyvernon ip-pools free

Return an address (or prefix/64) to the pool

Usage
kyvernon ip-pools free <ID> <ADDRESS>
ArgumentDescriptionRequired
<ID>Pool idyes
<ADDRESS>Addressyes

API operation: DELETE /v1/ip-pools/{id}/allocations/{address}

kyvernon ip-pools ptr

Set (or with no --name remove) the PTR name of an address

Usage
kyvernon ip-pools ptr [OPTIONS] <ID> <ADDRESS>
ArgumentDescriptionRequired
<ID>Pool idyes
<ADDRESS>Addressyes
--nameHost name

API operation: PUT /v1/ip-pools/{id}/allocations/{address}/ptr

kyvernon ip-pools ptr-applied

Manual rDNS: the PTR request of an address is applied (or its removal done)

Usage
kyvernon ip-pools ptr-applied <ID> <ADDRESS>
ArgumentDescriptionRequired
<ID>Pool idyes
<ADDRESS>Address (IPv4, or the server address of an IPv6 block)yes

API operation: POST /v1/ip-pools/{id}/allocations/{address}/ptr/applied

kyvernon ip-pools ptr-rejected

Manual rDNS: the PTR request of an address could not be applied

Usage
kyvernon ip-pools ptr-rejected [OPTIONS] <ID> <ADDRESS>
ArgumentDescriptionRequired
<ID>Pool idyes
<ADDRESS>Addressyes
--reasonWhy (shown to the tenant)yes

API operation: POST /v1/ip-pools/{id}/allocations/{address}/ptr/rejected

Version 0.1.