linspector/linspector/services/net/fritzboxuplink.py

24 lines
775 B
Python
Raw Normal View History

"""
This file is part of Linspector (https://linspector.org/)
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
See LICENSE.txt (MIT license).
"""
from linspector.core.service import Service
def create(configuration, environment, log):
return FritzboxUplinkService(configuration, environment, log)
class FritzboxUplinkService(Service):
def __init__(self, configuration, environment, log):
super().__init__(configuration, environment, log)
self.__configuration = configuration
self.__environment = environment
self.__log = log
def execute(self, **kwargs):
self.__log.debug('FritzboxUplinkService object ' + str(self) + ' using kwargs: ' +
str(kwargs))
return