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)