X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FAPI.py;h=201de2d925f25a127c0eadc2fa64a264f8ac643c;hb=12c40b08c0317282d4d278bc8272c55cf2f529ba;hp=6cab28e5411002d6710acd46562c7e60d5778d79;hpb=502c66df9890a99c0887a3a9c89f7a54fb6914f8;p=plcapi.git diff --git a/PLC/API.py b/PLC/API.py index 6cab28e..201de2d 100644 --- a/PLC/API.py +++ b/PLC/API.py @@ -155,6 +155,9 @@ class PLCAPI: from aspects import apply_ratelimit_aspect apply_ratelimit_aspect() + if getattr(self.config, "PLC_NETCONFIG_ENABLED", False): + from aspects.netconfigaspects import apply_netconfig_aspect + apply_netconfig_aspect() # Enable Caching. Only for GetSlivers for the moment. # TODO: we may consider to do this in an aspect like the ones above.