Reference For: developers

API schemas: N

Schemas of the native REST API whose name starts with N.

NbdExportView

OpenAPI stand-in for NbdExport.

NameTypeRequiredDescription
exportNamestringyesNBD export name.
fleecingbooleanyesWhether a fleecing image protects the running VM.
metaContextsarray of stringyesMeta contexts the server offers.
readOnlybooleanyesExports are read-only for backup (writable for restore).
sizeinteger (int64)yesSize of the export in bytes.
transportNbdTransportViewyesWhere to connect.

NbdTransportView

OpenAPI stand-in for NbdTransport (tagged on kind).

One of: object, object

Network

A standard (host-scoped) network.

NameTypeRequiredDescription
backingNetworkBacking or null
hostsarray of stringHosts offering this network.
namestringyesDisplay name.
vlan_idinteger (int32)VLAN id, 0 for untagged.

NetworkBacking

How VMs on a network reach the host.

One of: HostBridgeBacking, object

NetworkEvidence

The network the guest was verified on.

NameTypeRequiredDescription
bridgestringyesBridge on the hosts.
idstringyesNetwork record id.
namestringyesNetwork name.
quarantinebooleanyesAlways true for a verified restore.

NetworkHealthCheckView

One host-bridge network's VLAN/MTU check.

NameTypeRequiredDescription
bridgestringyesBridge name.
healthybooleanyesTrue when this check is healthy.
mtuExpectedinteger (int32) or nullExpected MTU when declared.
mtuObservedinteger (int32) or nullObserved MTU when known.
mtuStatusstringyesMTU status (ok, mismatch, skipped, bridgeMissing, unknown, unchecked).
namestring or nullDisplay name.
networkIdstring or nullInventory network id.
vlanExpectedinteger (int32)yesExpected VLAN id.
vlanObservedarray of NetworkHealthPortVlanViewObserved mismatched ports (VLAN mismatch only).
vlanStatusstringyesVLAN status (ok, mismatch, noPorts, bridgeMissing, unchecked).

NetworkHealthPortVlanView

Observed VLAN on a mismatched port.

NameTypeRequiredDescription
portstringyesPort / tap name.
taginteger (int32) or nullOVS tag when present.

NetworkHealthView

Native VLAN/MTU health response.

NameTypeRequiredDescription
checksarray of NetworkHealthCheckViewyesPer host-bridge network results.
healthybooleanyesTrue when every check is healthy (or there is nothing to check).
sourcestringyesagent when the host agent answered; none when detached.

NetworkHintView

One physical NIC's discovered neighbour summary (PhysicalNicHintInfo).

NameTypeRequiredDescription
cdpCdpHintView or null
devicestringyesHost interface name (eno1, OVS port name, …).
lldpLldpHintView or null

NetworkHintsView

Native QueryNetworkHint response (agent scrape + optional device filter).

NameTypeRequiredDescription
hintsarray of NetworkHintViewyesPer-device hints (only devices with at least one neighbour protocol).
sourcestringyesCollector that produced the scrape (ovs, lldpd, or none).

NfcLeaseFileView

One file on a native NFC lease.

NameTypeRequiredDescription
bytesReceivedinteger (int64)Import: bytes the controller has received of this file so far, also while the upload runs (another browser tab or a reload can show the progress).
capacityBytesinteger (int64)yesVirtual capacity in bytes.
diskbooleanyesDisk (converted) vs ISO/image.
keystringyesDevice / import key.
namestringyesBasename (disk-0.vmdk).
requireUploadbooleanyesImport: must be uploaded before Complete.
sizeinteger (int64)yesKnown size (prepared download or received upload).
urlstringyesRelative transfer URL (/v1/nfc-leases/{id}/files/{name}). A browser uploads with PUT and Authorization: Bearer <access token>, the body is the file as it is (application/octet-stream); no CSRF header is needed. The controller converts VMDK (sparse or streamOptimized), qcow2 and raw disks at complete.

NfcLeaseProgressRequest

Progress update (POST /v1/nfc-leases/{id}/progress).

NameTypeRequiredDescription
percentinteger (int32)yesPercent complete (0 to 100).

NfcLeaseView

Native HttpNfcLease view (GET /v1/nfc-leases/{id}, ExportVm / ImportVApp).

NameTypeRequiredDescription
entityIdstring or nullImported VM id (import) or exported VM id (export).
errorstring or nullError message when state is error.
expiresAtstringWhen the lease is aborted unless it is used before (RFC 3339): every upload chunk, progress report and read of the lease moves it 15 minutes ahead. An abandoned import is aborted and its virtual machine removed.
filesarray of NfcLeaseFileViewTransferrable files.
idstringyesLease id (nfc-lease- plus 32 random hex digits).
initializeProgressinteger (int32)yesInitialize progress (0 to 100).
kindstringyesimport or export.
sourceVmIdstring or nullSource VM id on export.
statestringyesinitializing / ready / done / error.
totalDiskCapacityKbinteger (int64)yesSum of disk capacities in KiB.
transferProgressinteger (int32)yesTransfer progress (0 to 100).

NicIpv6

An IPv6 prefix of a NIC (a /64 per server).

NameTypeRequiredDescription
prefixstringyesThe prefix, host bits zero.
prefix_leninteger (int32)yesIts length.

NicPolicy

Policy of one NIC on a host-bridge network (§11.2). A NIC with a policy always has port security: anti-spoofing is mandatory for tenant NICs.

NameTypeRequiredDescription
extra_ipv4array of stringExtra addresses from IP pools (port security allows them; the guest configures them).
ipv4PoolLease or null
ipv6array of NicIpv6IPv6 prefixes from IP pools.
rate_limit_kbpsinteger (int64) or nullTraffic throttle in kbit/s, both directions (ingress policing and linux-htb).
smtp_block_v4booleanOutgoing SMTP (TCP 25) over IPv4 is dropped (pool smtp_ipv4, per-VM unblock).
smtp_block_v6booleanOutgoing SMTP (TCP 25) over IPv6 is dropped (pool smtp_ipv6, default blocked).

NicProfileBody

Body of PUT /v1/vms/{id}/nics/{key}/firewall.

NameTypeRequiredDescription
profilestring or nullProfile id; null: the profile of the NIC kind.

Version 0.1.