zenoss / ZenPacks.zenoss.OpenvSwitch

GNU General Public License v2.0
1 stars 0 forks source link

ZEN-16435: consider all possible daemon not running scenarios. #38

Closed yichi-lu closed 9 years ago

yichi-lu commented 9 years ago

The openvswitch service consists of two daemons: opeb-vswitchd and ovsdb-server. Previously ZP checks the service status as a whole, rather than checking each daemon individually. This commit fixed this problem. On centos 7, "systemctl status openvswitch.service" was replaced by "systemctl status openvswitch-nonetwork.service". Also re-factored OVSStatus.py.