Currently cv_device fails if a device is not present in CVP. It is possible to set the is_deployed fact on the device, to ignore the missing device, but I would like a feature where we could automatically ignore any missing device. Maybe warn in the output when we ignore such devices.
Which component of AVD is impacted
cv_device_v3
Use case example
Customer is driving Ansible inventory directly from a source-of-truth DB, so as soon as you add a new device to the DB, it must either be on CVP or have a flag set to trigger is_deployed:false. This is not very useful in dynamic environements.
Describe the solution you'd like
New argument:
ignore_missing_devices: true
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Enhancement summary
Currently cv_device fails if a device is not present in CVP. It is possible to set the
is_deployed
fact on the device, to ignore the missing device, but I would like a feature where we could automatically ignore any missing device. Maybe warn in the output when we ignore such devices.Which component of AVD is impacted
cv_device_v3
Use case example
Customer is driving Ansible inventory directly from a source-of-truth DB, so as soon as you add a new device to the DB, it must either be on CVP or have a flag set to trigger
is_deployed:false
. This is not very useful in dynamic environements.Describe the solution you'd like
New argument:
ignore_missing_devices: true
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct