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:
Blake J. Harnden 2017-08-07 16:40:39 -07:00
parent 73eea80f51
commit f3863ead73
11 changed files with 26 additions and 117 deletions

View file

@ -6,7 +6,6 @@ firewall)
from core import constants
from core import logger
from core.service import CoreService
from core.service import ServiceManager
class VPNClient(CoreService):
@ -115,11 +114,3 @@ class Firewall(CoreService):
logger.exception("Error opening Firewall configuration template (%s)", fname)
return cfg
def load_services():
# this line is required to add the above class to the list of available services
ServiceManager.add(VPNClient)
ServiceManager.add(VPNServer)
ServiceManager.add(IPsec)
ServiceManager.add(Firewall)