git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove config and options parameters from start function as nobody uses them
[nodemanager.git]
/
net.py
diff --git
a/net.py
b/net.py
index
b67acf4
..
de3360b
100644
(file)
--- a/
net.py
+++ b/
net.py
@@
-17,7
+17,7
@@
priority=1
dev_default = tools.get_default_if()
dev_default = tools.get_default_if()
-def start(
options, conf
):
+def start():
logger.log("net: plugin starting up...")
def GetSlivers(data, config, plc):
logger.log("net: plugin starting up...")
def GetSlivers(data, config, plc):
@@
-156,6
+156,3
@@
def InitNAT(plc, data):
fields['source'] = "0.0.0.0/0"
ipt.add_pf(fields)
ipt.commit()
fields['source'] = "0.0.0.0/0"
ipt.add_pf(fields)
ipt.commit()
-
-def start(options, config):
- pass