Reference For: developers, administrators

kyvernon traffic

The traffic command of the kyvernon CLI with its subcommands and arguments.

kyvernon traffic

Monthly traffic, limits and extra packages

Usage
kyvernon traffic <COMMAND>

Subcommands: report, vm, tenant, policy, package

kyvernon traffic report

Traffic per VM and tenant in a period

Usage
kyvernon traffic report [OPTIONS]
ArgumentDescriptionRequired
--tenantOnly this tenant
--vmOnly this VM
--monthPeriod starting in this month (YYYY-MM)

API operation: GET /v1/traffic

kyvernon traffic vm

One VM's traffic, limit and daily bytes

Usage
kyvernon traffic vm [OPTIONS] <VM>
ArgumentDescriptionRequired
<VM>VM idyes
--monthPeriod starting in this month (YYYY-MM)

API operation: GET /v1/vms/{id}/traffic

kyvernon traffic tenant

A tenant's traffic and public addresses (for billing)

Usage
kyvernon traffic tenant [OPTIONS] <TENANT>
ArgumentDescriptionRequired
<TENANT>Tenant idyes
--monthPeriod starting in this month (YYYY-MM)

API operation: GET /v1/tenants/{tenant}/network-usage

kyvernon traffic policy

The traffic limit of a VM

Usage
kyvernon traffic policy <COMMAND>

Subcommands: get, set, delete

kyvernon traffic policy get

Show the policy

Usage
kyvernon traffic policy get <VM>
ArgumentDescriptionRequired
<VM>VM idyes

API operation: GET /v1/vms/{id}/traffic-policy

kyvernon traffic policy set

Set the policy

Usage
kyvernon traffic policy set [OPTIONS] <VM>
ArgumentDescriptionRequired
<VM>VM idyes
--limit-bytesBytes per period (absent: no limit)
--throttleThrottle at 100 % instead of notifying only
--throttle-kbpsThrottle rate (kbit/s)
--anchor-dayAnchor day of the period (1 to 28)
--tenantTenant

API operation: PUT /v1/vms/{id}/traffic-policy

kyvernon traffic policy delete

Remove the policy

Usage
kyvernon traffic policy delete <VM>
ArgumentDescriptionRequired
<VM>VM idyes

API operation: DELETE /v1/vms/{id}/traffic-policy

kyvernon traffic package

Add an extra package to the VM's current period

Usage
kyvernon traffic package [OPTIONS] <VM>
ArgumentDescriptionRequired
<VM>VM idyes
--bytesBytesyes
--referenceOrder reference (adds once per period)

API operation: POST /v1/vms/{id}/traffic-packages

Version 0.1.