не понимаю какое событие искать.
передернул сервис на договоре, в логах увидел записи:
Код:
mq 10-30/21:12:26 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: vent[ru.bitel.bgbilling.modules.inet.api.server.event.InetServModifiedEvent] oduleId: 6; pluginId: no; cid: 12; scid: -1; userId: 1; timestamp: 1572459146358
mq 10-30/21:12:26 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Reload InetServRuntime: 511
mq 10-30/21:12:26 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Removing InetServRuntime: 511
mq 10-30/21:12:26 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Adding InetServRuntime: 511
mq 10-30/21:12:26 INFO [event-proc-p-2-t-1] InetServRuntimeMap - ContractId: 12; status: 0; servId: 511
10.10.0.88
Options [] TariffModuleTreeSet [14:30.12.2010-22.10.2019; 36:23.10.2019-…; ]
Device state: 1; optionSet:10
connection 10-30/21:12:26 INFO [sa-p-9-t-29] ServiceActivatorSet - Connecting to device
connection 10-30/21:12:26 INFO [sa-p-9-t-29] SSHServiceActivator - Connected to Linux router: [10.10.0.3]
connection 10-30/21:12:26 INFO [sa-p-9-t-29] ServiceActivatorDeviceWorker - Do task deviceId: 3; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaServModifyEvent] moduleId: 6; pluginId: no; cid: 12; scid: -1; userId: -1; oldInetServ: 10.10.0.88; newInetServ: 10.10.0.88; newInetServState: 0; newInetServOptionList: ; timestamp: 1572459146370
connection 10-30/21:12:26 INFO [sa-p-9-t-29] InetApplication - contract tariffOptions: {}
connection 10-30/21:12:26 INFO [sa-p-9-t-29] InetApplication - OptionSet: [16]
connection 10-30/21:12:26 INFO [sa-p-9-t-29] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 511; call: false; oldState: 1; newState: 0; oldOptionSet: 10; newOptionSet: 16
connection 10-30/21:12:26 INFO [sa-p-9-t-29] ServiceActivatorDeviceWorker - Processing deviceId:3; command ServiceActivatorEvent type=2; inetServId: 511; call: false; oldState: 1; newState: 0; oldOptionSet: 10; newOptionSet: 16
connection 10-30/21:12:26 INFO [sa-p-9-t-29] ServiceActivatorSet - Invoking serviceModify
connection 10-30/21:12:26 INFO [sa-p-9-t-29] AbstractTerminalServiceActivator - serviceModify
connection 10-30/21:12:26 INFO [sa-p-9-t-29] AbstractTerminalServiceActivator - serviceDisable
connection 10-30/21:12:26 INFO [sa-p-9-t-29] AbstractTerminalServiceActivator - switchOptions
connection 10-30/21:12:26 INFO [sa-p-9-t-29] SSHServiceActivator - [Linux router: [10.10.0.3]] execute: sudo /usr/local/sbin/ipctrl del 12
connection 10-30/21:12:27 INFO [sa-p-9-t-29] SSHServiceActivator - sudo /usr/local/sbin/ipctrl del 12
На договоре новый тариф висит с 23.10.2019, а опция поменялась с 10 на 16 только когда я передернул сервис вручную.
Видимо что не так у меня настроено?