Seperate Cisco 7940/7960 from Cisco SPA so that both can work with check-sync for reboot and reprovision.

This commit is contained in:
markjcrane
2015-12-01 21:12:52 -07:00
parent b2d4749559
commit 3c9bac53ed
2 changed files with 13 additions and 0 deletions

View File

@@ -67,6 +67,16 @@
--cisco
if (vendor == "cisco") then
if (command == "reboot") then
event:addHeader('event-string', 'check-sync');
end
if (command == "check_sync") then
event:addHeader('event-string', 'check-sync');
end
end
--cisco-spa
if (vendor == "cisco-spa") then
if (command == "reboot") then
event:addHeader('event-string', 'reboot=true');
end