IIUC, ApplyConfigletToDevice does two things:
- actually set the configlet on a a device.
- create a tempaction
However this function does not create a tempaction when the configlet is already on the device. In fact, with the current functions in go-cvprac, I have no idea how to create a tempaction now in the scenario that a device already holds a configlet, but does not have an accompanying tempaction yet.
Note that this behaviour does not seem to be in the Python version of cvprac.
IIUC,
ApplyConfigletToDevicedoes two things:However this function does not create a tempaction when the configlet is already on the device. In fact, with the current functions in go-cvprac, I have no idea how to create a tempaction now in the scenario that a device already holds a configlet, but does not have an accompanying tempaction yet.
Note that this behaviour does not seem to be in the Python version of cvprac.