POST /api/v2/discovered_hosts/facts
上传主机详情,如需要,请创建主机。
参数
参数名字
描述
facts
必填
hash containing facts for the host with minimum set of facts:
discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces:
eth0 (example in case primary interface is named eth0)