changed some logging from info to debug, removed startindex and depends from services
This commit is contained in:
parent
0aca9d7809
commit
37517c45f4
18 changed files with 35 additions and 104 deletions
|
@ -12,7 +12,6 @@ class SdnService(CoreService):
|
|||
Parent class for SDN services.
|
||||
"""
|
||||
group = "SDN"
|
||||
startindex = 50
|
||||
|
||||
@classmethod
|
||||
def generateconfig(cls, node, filename):
|
||||
|
@ -23,10 +22,8 @@ class OvsService(SdnService):
|
|||
name = "OvsService"
|
||||
executables = ("ovs-ofctl", "ovs-vsctl")
|
||||
group = "SDN"
|
||||
depends = ()
|
||||
dirs = ("/etc/openvswitch", "/var/run/openvswitch", "/var/log/openvswitch")
|
||||
configs = ('OvsService.sh',)
|
||||
startindex = 50
|
||||
startup = ('sh OvsService.sh',)
|
||||
shutdown = ('killall ovs-vswitchd', 'killall ovsdb-server')
|
||||
|
||||
|
@ -98,10 +95,8 @@ class RyuService(SdnService):
|
|||
name = "ryuService"
|
||||
executables = ("ryu-manager",)
|
||||
group = "SDN"
|
||||
depends = ()
|
||||
dirs = ()
|
||||
configs = ('ryuService.sh',)
|
||||
startindex = 50
|
||||
startup = ('sh ryuService.sh',)
|
||||
shutdown = ('killall ryu-manager',)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue