Skip to content

Trigger automaton enqueue-work when configured SSH key changes for device

In this case, after upgrading IOS XR, the ssh key had changed on the device. This is expected, so the fix is to delete devices device FOO ssh host-key and then trigger device-automaton. I figure we can shortcut this by installing a kicker on /devices/device/ssh and automatically trigger enqueue-work. Hit or shit?

Should we expose an action to forget the current key or is removing the host-key manually the waay to go?