Пример #1
0
    def __init__(self, parent = None):
        # Call super constructor
        RPCService.__init__(self, parent)

        # servicename in database
        self._name = "netboot"
        self._config = None
Пример #2
0
    def __init__(self, parent = None):
        # Call super constructor
        RPCService.__init__(self, parent)

        # servicename in database
        self._name = "static_routing"
        self._config = None
Пример #3
0
    def __init__(self, parent=None):
        # Call super constructor
        RPCService.__init__(self, parent)

        # servicename in database
        self._name = "netboot"
        self._config = None
Пример #4
0
    def __init__(self, parent=None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "rinetd"
        self._config = None
        self._configfile = None
        self._daemon = "/usr/sbin/rinetd"
Пример #5
0
    def __init__(self, parent=None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "flowgrindd"
        self._config = None
        self._daemon = None
        self._daemon_path = "/usr/local/sbin"
Пример #6
0
    def __init__(self, parent = None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "routemonitor"
        self._config = None
        self._daemon = "/usr/local/bin/routemonitor"
        self._pidfile = "/var/run/routemonitor.pid"
Пример #7
0
    def __init__(self, parent=None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "routemonitor"
        self._config = None
        self._daemon = "/usr/local/bin/routemonitor"
        self._pidfile = "/var/run/routemonitor.pid"
Пример #8
0
    def __init__(self, parent = None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "rinetd"
        self._config = None
        self._configfile = None
        self._daemon = "/usr/sbin/rinetd"
Пример #9
0
    def __init__(self, parent = None):

        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "relayd"
        self._config = None
        self._configfile = None
        self._daemon = "/opt/fleximsd/relayd"
Пример #10
0
    def __init__(self, parent=None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "routelogger"
        self._config = None
        self._daemon = "/sbin/rtmon"
        self._pidfile = "/tmp/routeLogger.pid"
        self._hostname = socket.gethostname()
Пример #11
0
    def __init__(self, parent=None):

        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "relayd"
        self._config = None
        self._configfile = None
        self._daemon = "/opt/fleximsd/relayd"
Пример #12
0
    def __init__(self, parent = None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "routelogger"
        self._config = None
        self._daemon = "/sbin/rtmon"
        self._pidfile = "/tmp/routeLogger.pid"
        self._hostname = socket.gethostname()
Пример #13
0
    def __init__(self, parent=None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "olsr"
        self._config = None
        self._configfile = None
        self._daemon_path = "/usr/local/sbin"
        self._daemon = None
        self._running_daemon = None
Пример #14
0
    def __init__(self, parent = None):
        # Call super constructor
        RPCService.__init__(self, parent)

        self._name = "olsr"
        self._config = None
        self._configfile = None
        self._daemon_path = "/usr/local/sbin"
        self._daemon = None
        self._running_daemon = None
Пример #15
0
    def __init__(self, parent = None):
        # Call super constructor
        RPCService.__init__(self, parent)

        # service name in the database
        self._name = "ipmasq"

        # stores a list of device configuration
        self._configs = None

        self._rule_incoming = ["FORWARD","-m","state","--state","ESTABLISHED,RELATED","-j","ACCEPT"]
        self._rule_outgoing = ["FORWARD","-j","ACCEPT"]
        self._rule_nat = ["POSTROUTING", "-t", "nat", "-j", "MASQUERADE"]