git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
502c66d
)
add support for netconfig aspect
author
smbaker
<smbaker@fc8-storktest.lan>
Mon, 27 May 2013 21:59:27 +0000
(14:59 -0700)
committer
smbaker
<smbaker@fc8-storktest.lan>
Mon, 27 May 2013 21:59:27 +0000
(14:59 -0700)
PLC/API.py
patch
|
blob
|
history
diff --git
a/PLC/API.py
b/PLC/API.py
index
6cab28e
..
201de2d
100644
(file)
--- 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.