Reference For: developers

API schemas: H

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

Host

A hypervisor host.

NameTypeRequiredDescription
agent_credential_hashstring or nullSHA-256 of the agent's bearer credential issued at registration. The API strips this field from every host view.
agent_versionstringHost OS / agent version string.
bridgesarray of stringDeclared standard-switch / host-bridge names (HostNetworkSystem.AddVirtualSwitch). Port groups on host-bridge networks also imply their bridge here when projected.
capabilitiesarray of stringCapabilities the agent declared at registration (kvm, tcg, swtpm, secure-boot, live-migration, nbd-export, dirty-bitmaps, runtime:<kind>). Placement and operations check them (a host without suspend-to-disk cannot suspend).
certificate_expires_atstring or nullExpiry of the issued host certificate.
certificate_sha256string or nullSHA-256 (hex) of the DER host certificate the control plane issued at registration. Agent calls are accepted only over mutual TLS with exactly this certificate; issuing a new one (re-registration) revokes the old one.
hardwareHostHardwareAgent-reported hardware.
iscsi_chapHostIscsiChapAuth or null
iscsi_discovered_targetsarray of HostIscsiDiscoveredTargetDiscovered static targets after RescanHba (iscsiadm discovery).
iscsi_scsi_disksarray of HostIscsiScsiDiskSCSI disks visible after software iSCSI rescan (for QueryAvailableDisksForVmfs).
iscsi_send_targetsarray of HostIscsiSendTargetConfigured iSCSI send targets (AddInternetScsiSendTargets).
iscsi_static_targetsarray of HostIscsiDiscoveredTargetManually configured static targets (AddInternetScsiStaticTargets). Survives send-target removal; RescanHba logs in without discovery.
management_addressstringManagement address the control plane dials.
namestringyesDisplay name (usually the FQDN).
runtimeHostRuntimeAgent-reported runtime.
software_internet_scsi_enabledboolean or nullSoftware iSCSI initiator enabled (HostStorageSystem / storageDeviceInfo). None means enabled (legacy / default); Some(false) disables the projected HBA.

HostBridgeBacking

A host-bridge backing.

NameTypeRequiredDescription
bridgestringyesBridge name on the hosts.
bridge_kindBridgeKindBridge kind.
ipv4HostBridgeIpv4 or null
leasesobjectStatic leases, MAC (lower case, colon form) to address; maintained by the control plane ([HostBridgeBacking::reconcile_leases]).
nic_policiesobjectPer-NIC policy, MAC (lower case, colon form) to policy: public addresses from IP pools and traffic throttles (docs/network/DESIGN.md §11.2). Projected by the control plane from the ip_pool allocations and the traffic state; never edited by hand.
policyHostBridgePortGroupPolicy or null
port_securitybooleanEnforce each NIC's MAC and leased address.
quarantinebooleanA quarantine network (M2-NET-02, docs/network/DESIGN.md §11.1): the agent creates the bridge itself, dedicated and without uplink, the lease carries no gateway and no DNS, and the pipeline lets VMs reach each other and the DHCP responder only. Restore verification boots restored backups here (M2-STO-03).
uplinkHostBridgeUplink or null

HostBridgeBackingRequest

Host-bridge backing for a standard network / port group.

NameTypeRequiredDescription
bridgestringyesBridge name on every host (br-vm).
bridgeKindstring or nullovs (default) or linux.
ipv4HostBridgeIpv4Request or null
policyHostBridgePortGroupPolicy or null
portSecurityboolean or nullEnforce each NIC's MAC and leased address (default true).
quarantineboolean or nullQuarantine network (default false): a dedicated bridge the agents create, without uplink, gateway or DNS; VMs reach each other and DHCP only. Needs ipv4 with a serverId and no gateway; used by restore verification.
uplinkHostBridgeUplink or null

HostBridgeIpv4

IPv4 settings and DHCP of a host-bridge network.

NameTypeRequiredDescription
dhcpbooleanAnswer DHCP (otherwise guests configure the leased address themselves).
dns_serversarray of stringDNS servers handed out; empty: the host agent's defaults.
domain_namestring or nullDomain name handed out.
gatewaystring or nullDefault gateway handed out (and the DHCP server identifier unless server_id is set).
lease_time_sinteger (int32)Lease time in seconds.
mtuinteger (int32) or nullInterface MTU handed out.
prefix_leninteger (int32)yesPrefix length of the subnet.
range_endstringyesLast address leases are allocated from (inclusive).
range_startstringyesFirst address leases are allocated from.
server_idstring or nullDHCP server identifier.

HostBridgeIpv4Request

IPv4 / DHCP settings for a host-bridge network (POST/PUT /v1/networks).

NameTypeRequiredDescription
dhcpboolean or nullAnswer DHCP (default true).
dnsServersarray of stringDNS servers handed out.
domainNamestring or nullDomain name handed out.
gatewaystring or nullDefault gateway handed out (and DHCP server id unless serverId is set).
leaseTimeSinteger (int32) or nullLease time in seconds (default 86400).
mtuinteger (int32) or nullInterface MTU handed out.
prefixLeninteger (int32)yesPrefix length of the subnet.
rangeEndstringyesLast address leases are allocated from (inclusive).
rangeStartstringyesFirst address leases are allocated from.
serverIdstring or nullDHCP server identifier.

HostBridgeNicTeamingPolicy

NIC teaming overrides (HostNicTeamingPolicy) for facade round-trip and OVS bonds.

With ≥2 members in active_nic + standby_nic, [HostBridgeNicTeamingPolicy::bond_spec] maps the policy to an OVS uplink bond the agent realises on the host-bridge (docs/network/VSPHERE_MAPPING.md). Fewer than two members stay facade-only (the operator plugs a single uplink). Beacon probing is stored but not realised.

NameTypeRequiredDescription
active_nicarray of stringnicOrder.activeNic.
check_beaconboolean or nullfailureCriteria.checkBeacon.
notify_switchesboolean or nullnotifySwitches.
policystring or nullpolicy (loadbalance_srcid, failover_explicit, …).
reverse_policyboolean or nullreversePolicy.
rolling_orderboolean or nullrollingOrder (true means no failback).
standby_nicarray of stringnicOrder.standbyNic.

HostBridgePortGroupPolicy

Port-group HostNetworkPolicy overrides persisted on a host-bridge network.

NameTypeRequiredDescription
nic_teamingHostBridgeNicTeamingPolicy or null
securityHostBridgeSecurityPolicy or null
shapingHostBridgeShapingPolicy or null

HostBridgeSecurityPolicy

Layer-2 security overrides for a host-bridge port group (HostNetworkSecurityPolicy).

Persisted for SOAP / Terraform round-trip (M1-NET-01). macChanges / forgedTransmits drive OpenFlow MAC enforcement on host-bridge VM taps via [HostBridgeSecurityPolicy::mac_enforcement] → [BridgeAttach::port_security]. allowPromiscuous=true is refused (use a mirror session); OVS/OVN cannot dump the switch onto a port without mirroring.

NameTypeRequiredDescription
allow_promiscuousboolean or nullallowPromiscuous.
forged_transmitsboolean or nullforgedTransmits.
mac_changesboolean or nullmacChanges.

HostBridgeShapingPolicy

Traffic shaping overrides (HostNetworkTrafficShapingPolicy) for facade round-trip.

Bandwidth figures are bit/s and burst is bytes, matching vim25. When enabled, the host agent realises average/burst as OVS Interface.ingress_policing_* on VM taps ([HostBridgeShapingPolicy::ingress_policing], from the VM into the switch) and as a Port.qos linux-htb queue ([HostBridgeShapingPolicy::egress_htb], to the VM). Peak sizes the burst bucket when burst_size is unset. Standard-switch HostNetworkTrafficShapingPolicy is one policy; both directions share those figures.

NameTypeRequiredDescription
average_bandwidthinteger (int64) or nullaverageBandwidth (bit/s).
burst_sizeinteger (int64) or nullburstSize (bytes).
enabledboolean or nullenabled.
peak_bandwidthinteger (int64) or nullpeakBandwidth (bit/s).

Uplink of a host-bridge network.

NameTypeRequiredDescription
interfacestring or nullThe host interface facing the provider's router (eno1); required in proxy mode.
modeUplinkModebridged (default) or proxy.

HostBusAdapter

Physical HBA reported by the host agent (not software iSCSI).

NameTypeRequiredDescription
businteger (int32)Host / bus number.
devicestringyesDevice name (vmhba0).
driverstring or nullKernel driver.
kindstringparallel-scsi | block | serial-attached.
modelstringModel / description.
pcistring or nullParent PCI address when known.

HostConnectionState

Host connection state as seen by the control plane.

Values: "connected", "disconnected", "not_responding"

HostCountView

Counters of one rule on one host.

NameTypeRequiredDescription
bytesinteger (int64)yesBytes.
lastHitstring or nullLast report with a non-zero count.
packetsinteger (int64)yesPackets.

HostHardware

Hardware summary reported by the host agent.

NameTypeRequiredDescription
cpu_mhzinteger (int32)Nominal CPU frequency.
cpu_modelstringCPU model string.
cpu_socketsinteger (int32)Physical sockets.
cpu_threadsinteger (int32)Logical CPUs (threads).
host_bus_adaptersarray of HostBusAdapterPhysical SCSI / block HBAs (HostStorageDeviceInfo.hostBusAdapter). Software iSCSI (vmhba64) is projected separately from [Host::software_internet_scsi_enabled].
local_disksarray of HostLocalDiskLocal disks (HostStorageDeviceInfo.scsiLun); software iSCSI disks are not here.
memory_bytesinteger (int64)Installed memory.
modelstringModel string.
pci_devicesarray of HostPciDevicePhysical PCI functions (HostHardwareInfo.pciDevice).
vendorstringVendor string.

HostIscsiChapAuth

CHAP credentials for software iSCSI (adapter-level or per send target).

Uni-directional fields map to chapName/chapSecret; mutual fields map to mutualChapName/mutualChapSecret (node.session.auth.username_in / password_in via open-iscsi). Secrets are persisted for RescanHba and stripped from REST host views.

NameTypeRequiredDescription
enabledbooleanchapAuthEnabled on the HBA / target.
mutual_enabledbooleanMutual CHAP enabled (mutualChapAuthenticationType ≠ chapProhibited).
mutual_secretstringMutual CHAP secret (mutualChapSecret / password_in).
mutual_usernamestringMutual CHAP user name (mutualChapName / username_in).
secretstringCHAP secret (chapSecret).
usernamestringCHAP user name (chapName).

HostIscsiDiscoveredTarget

An iSCSI static target IQN (HostInternetScsiHbaStaticTarget).

Used for both manually configured targets (AddInternetScsiStaticTargets) and discovery results after RescanHba.

NameTypeRequiredDescription
addressstringyesPortal address.
chapHostIscsiChapAuth or null
iqnstringyesTarget IQN.
portinteger (int32) or nullPortal TCP port.

HostIscsiScsiDisk

A SCSI disk reached via software iSCSI after rescan.

NameTypeRequiredDescription
canonical_namestringyesCanonical name projected to vim (naa.<wwid>).
capacity_bytesinteger (int64)Capacity in bytes.
device_pathstringyesHost device path (/dev/mapper/… when multipath has a map, else by-id).
luninteger (int32)LUN number.
portalstringyesPortal used for login (host or host:port).
targetstringyesTarget IQN the LUN was discovered on.
wwidstringyesMultipath / by-id WWID (hex without 0x).

HostIscsiSendTarget

An iSCSI discovery / send target on a host (HostInternetScsiHbaSendTarget).

NameTypeRequiredDescription
addressstringyesPortal address (hostname or IP).
chapHostIscsiChapAuth or null
portinteger (int32) or nullPortal TCP port; omit for the iSCSI default (3260).

HostLocalDisk

Local block disk reported by the host agent (/sys/block).

NameTypeRequiredDescription
capacity_bytesinteger (int64)Size in bytes.
modelstringModel.
namestringyesKernel name (sda, nvme0n1).
scsi_addressstring or nullSCSI address H:C:T:L (adapter vmhbaH); none for NVMe / virtio disks.
ssdbooleanNon-rotational.
vendorstringVendor.
wwidstringWorld-wide id (naa.…), empty when the device has none.

HostPciDevice

One PCI function reported by the host agent.

NameTypeRequiredDescription
businteger (int32)PCI bus number.
class_idinteger (int32)Base class + subclass.
device_class_namestring or nullShort class label when known.
device_idinteger (int32)Device id.
device_namestringDevice display name.
functioninteger (int32)Function number.
idstringyesDomain:bus:slot.function (0000:00:1f.2).
slotinteger (int32)Device / slot number.
sub_device_idinteger (int32)Subsystem device id.
sub_vendor_idinteger (int32)Subsystem vendor id.
vendor_idinteger (int32)Vendor id.
vendor_namestringVendor display name.

HostPowerRequest

Body of POST /v1/hosts/{id}/reboot and POST /v1/hosts/{id}/shutdown.

NameTypeRequiredDescription
forcebooleanReboot or shut down although the host is not in maintenance mode (default false). Virtual machines that still run on the host stop with it.

HostRealizationView

Realization of the firewall on one host.

NameTypeRequiredDescription
agentVersioninteger (int64) or nullVersion the agent holds.
appliedVersioninteger (int64) or nullVersion every bridge confirmed.
errorstring or nullWhy not.
firewalledinteger (int32)yesFirewalled vNICs.
flowsinteger (int64)yesFirewall flows.
hoststringyesHost id.
preconditionsarray of stringyesHost preconditions that do not hold (owner actions, e.g. ct-zone-range).
realizedbooleanyesThe host applied the plan last sent.
reportedAtstring or nullTime of the last report.
wantedVersioninteger (int64) or nullPlan version last sent.

HostRuntime

Runtime state reported by the host agent.

NameTypeRequiredDescription
admin_disconnectedbooleanOperator disconnected the host (DisconnectHost_Task); heartbeats and agent re-registration keep it disconnected until ReconnectHost_Task.
applied_generationinteger (int64)Host-level desired-state generation the agent last applied (from its heartbeat or state report); compared with the generation the control plane last sent.
boot_timestring or nullTime of the host's last boot.
connectionHostConnectionStateConnection state.
cpu_usage_mhzinteger (int32)CPU in use.
heartbeat_sequenceinteger (int64)Sequence number of the last accepted heartbeat (increases per agent run).
last_heartbeatstring or nullTime of the last accepted heartbeat.
maintenance_modebooleanWhether the host is in maintenance mode.
memory_usage_bytesinteger (int64)Memory in use.

HostUplinksRequest

The physical NICs of one member host (hostUplinks[]).

NameTypeRequiredDescription
hoststringyesMember host id.
nicsobjectUplink name to the host's physical NIC ({"uplink1": "eno2"}).

Version 0.1.