We're currently relying on update_cache to propagate node turn down events to fwdctl and discovery.
NSO discovery at least needs a notification of this event to stop tracking changes for the decom'd node. NSO fwdctl's update_cache doesn't current read in node state changes.
Database code that gets called is busted:
https://github.com/GlobalNOC/OESS/blob/admin-ui-refresh/perl-lib/OESS/lib/OESS/Database.pm#L5144-L5192
We're currently relying on update_cache to propagate node turn down events to fwdctl and discovery.
NSO discovery at least needs a notification of this event to stop tracking changes for the decom'd node. NSO fwdctl's update_cache doesn't current read in node state changes.
Database code that gets called is busted:
https://github.com/GlobalNOC/OESS/blob/admin-ui-refresh/perl-lib/OESS/lib/OESS/Database.pm#L5144-L5192