diff --git a/classes.py b/classes.py index 99ddb37..2ca91da 100644 --- a/classes.py +++ b/classes.py @@ -467,6 +467,30 @@ class PyLinkNetworkCore(structures.CamelCaseToSnakeCase): """ return self.serverdata.get('netname', self.name) + def get_service_option(self, servicename, option, default=None, global_option=None): + """ + Returns the value of the requested service bot option on the current network, or the + global value if it is not set for this network. This function queries and returns: + + 1) If present, the value of the config option servers::::_