Skip to main content
Version: 028-rc14

Pantavisor Metadata

This page contains reference information about Pantavisor metadata.

Device metadata

This is the device metadata created by Pantavisor that will give you useful information about your device:

KeyValueDescription
interfacesjsonnetwork interfaces of the device, keyed by <iface>.<family> where family is ipv4, ipv6 or mac (see below)
pantahub.addressIP:portPantacor Hub address the client is communicating with
pantahub.claimed0 or 11 if claimed in Pantacor Hub
pantahub.online0 or 11 if connection to Pantacor Hub was established
pantahub.statestringsee Pantacor Hub states (init, register, claim, sync, login, wait hub, report, idle, prep download or download)
pantavisor.archstringCPU architecture
pantavisor.claimed0 or 11 if device has ever been claimed (local or remote)
pantavisor.cpumodelstringCPU model name
pantavisor.dtmodelstringDevice Tree model name
pantavisor.modelocal or remotesee operation modes
pantavisor.revisionstringrevision number
pantavisor.statusstringrevision status
pantavisor.unamejsonuname output
pantavisor.versionstringPantavisor build version
storagejsondisk usage of the device
sysinfojsonsysinfo
timejsontime information

interfaces format

The interfaces device metadata is a JSON object keyed by <iface>.<family>. Each value is an array, since an interface can hold multiple addresses of the same family. The mac family carries the interface hardware (MAC) address; interfaces without a hardware address (e.g. lo) have no mac entry.

{
"eth0.mac": ["b8:27:eb:00:11:22"],
"eth0.ipv4": ["192.168.1.10"],
"eth0.ipv6": ["fe80::ba27:ebff:fe00:1122"],
"lo.ipv4": ["127.0.0.1"],
"lo.ipv6": ["::1"]
}

User metadata

This is the user metadata that can be set by the user which is parsed and have some actions on Pantavisor:

KeyValueDescription
pvr-sdk.authorized_keysSSH pub keyset public key to get SSH access
pvr-auto-follow.urlURLdevice will automatically pull every change in the device associated to that clone URL
pantahub.log.push0 or 1disable/enable log pushing to Pantacor Hub. Overrides PV_LOG_PUSH
<config-key>config-valueoverride any configuration keys that allow RUN level
<container>/<key>valuesend user metadata that can be consumed by one of the containers