git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oops
[tests.git]
/
system
/
config_default.py
diff --git
a/system/config_default.py
b/system/config_default.py
index
ea51da6
..
103fcc7
100644
(file)
--- a/
system/config_default.py
+++ b/
system/config_default.py
@@
-518,7
+518,7
@@
def plc (options,index) :
'initscripts': initscripts(options,index),
'slices' : slices(options,index),
'tcp_specs' : tcp_specs(options,index),
'initscripts': initscripts(options,index),
'slices' : slices(options,index),
'tcp_specs' : tcp_specs(options,index),
- 'sfa' : sfa(options,index),
+
'sfa' : sfa(options,index),
'leases' : leases (options, index),
# big distros need more time to install nodes
'ssh_node_boot_timers': (40,38),
'leases' : leases (options, index),
# big distros need more time to install nodes
'ssh_node_boot_timers': (40,38),
@@
-619,7
+619,7
@@
def config (plc_specs, options):
return result
### for creating a sample config interactively
return result
### for creating a sample config interactively
-def sample_test_plc ():
+def sample_test_plc
_spec
():
class Void: pass
options = Void()
class Void: pass
options = Void()
@@
-629,8
+629,8
@@
def sample_test_plc ():
return config([], options)[0]
if __name__ == '__main__':
return config([], options)[0]
if __name__ == '__main__':
- s = sample_test_plc()
- print
'Sample plc_spec has the following keys'
+ s = sample_test_plc
_spec
()
+ print
('Sample plc_spec has the following keys')
for k in sorted(s.keys()):
for k in sorted(s.keys()):
- print
k
+ print
(k)