Skip to content

Inventory models

AntaInventoryInput

Bases: BaseModel

Device inventory input model.

AntaInventoryHost

Bases: BaseModel

Host entry of AntaInventoryInput.

Attributes:

Name Type Description
host IP Address or FQDN of the device.

port: Custom eAPI port to use. name: Custom name of the device. tags: Tags of the device. disable_cache: Disable cache for this device.

AntaInventoryNetwork

Bases: BaseModel

Network entry of AntaInventoryInput.

Attributes:

Name Type Description
network Subnet to use for scanning.

tags: Tags of the devices in this network. disable_cache: Disable cache for all devices in this network.

AntaInventoryRange

Bases: BaseModel

IP Range entry of AntaInventoryInput.

Attributes:

Name Type Description
start IPv4 or IPv6 address for the beginning of the range.

stop: IPv4 or IPv6 address for the end of the range. tags: Tags of the devices in this IP range. disable_cache: Disable cache for all devices in this IP range.