You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The add_devices_to_inventory method adds the devices to the parent container but does not create the task to complete the addition to the parent container. It would be useful if the method could create the task[s] and return the task_iid[s] so I can execute the tasks and complete the operation. The image below shows the state after the add_devices_to_inventory() call successfully completed.
Maybe I am missing something. Is there an easy way to deterministically queue up the task programmatically?
Workaround is to specify the Undefined container for the devices to be placed in. Since they come in in ZTP mode there is no move to a container and therefore no proposed change wrt placement within the container.
CVP Version: cvp2020.1.2
The add_devices_to_inventory method adds the devices to the parent container but does not create the task to complete the addition to the parent container. It would be useful if the method could create the task[s] and return the task_iid[s] so I can execute the tasks and complete the operation. The image below shows the state after the add_devices_to_inventory() call successfully completed.
Maybe I am missing something. Is there an easy way to deterministically queue up the task programmatically?
[device_list](https://github.com/aristanetworks/cvprac/blob/develop/cvprac/cvp_api.py#L628:~:text=def-,add_devices_to_inventory,-(self%2C)
[call to move_device_to_container()](https://github.com/aristanetworks/cvprac/blob/develop/cvprac/cvp_api.py#L715:~:text=%27add_device_to_inventory%20API-,v2,-%27%2C)
Could set the create task flag to True on the call to move_device_to_container().
The text was updated successfully, but these errors were encountered: