removed service load methids, since they are no longer used, added way for custom service load code to facilitate the unique docker service case
This commit is contained in:
parent
73eea80f51
commit
f3863ead73
11 changed files with 26 additions and 117 deletions
|
@ -5,7 +5,6 @@ sdn.py defines services to start Open vSwitch and the Ryu SDN Controller.
|
|||
import re
|
||||
|
||||
from core.service import CoreService
|
||||
from core.service import ServiceManager
|
||||
|
||||
|
||||
class SdnService(CoreService):
|
||||
|
@ -121,8 +120,3 @@ class RyuService(SdnService):
|
|||
cfg += "# auto-generated by ryuService (ryuService.py)\n"
|
||||
cfg += '/usr/local/bin/ryu-manager --observe-links %s/ofctl_rest.py %s/rest_topology.py' % (app_path, app_path)
|
||||
return cfg
|
||||
|
||||
|
||||
def load_services():
|
||||
ServiceManager.add(OvsService)
|
||||
ServiceManager.add(RyuService)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue