-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
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
- Create and publish rabbitmq events to both fwdctl and discovery for nso
- Update both fwdctl and discovery cached node hash for nso
- Replace busted Database::decom_node logic (see admin-ui-refresh branch for correct logic)