Yup code is here:
https://github.com/openstack/nova/blob/926e584136e7dce59f32065292aa4eb8120f628c/nova/virt/libvirt/driver.py#L2914-L2947
This code could probably be cleaned up by using FixedIntervalWithTimeoutLoopingCall from the oslo.service library:
https://github.com/openstack/oslo.service/blob/1.38.0/oslo_service/loopingcall.py#L197
Yup code is here:
https:/ /github. com/openstack/ nova/blob/ 926e584136e7dce 59f32065292aa4e b8120f628c/ nova/virt/ libvirt/ driver. py#L2914- L2947
This code could probably be cleaned up by using FixedIntervalWi thTimeoutLoopin gCall from the oslo.service library:
https:/ /github. com/openstack/ oslo.service/ blob/1. 38.0/oslo_ service/ loopingcall. py#L197