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
more IPs for vplc
[tests.git]
/
system
/
LocalSubstrate.inria.py
diff --git
a/system/LocalSubstrate.inria.py
b/system/LocalSubstrate.inria.py
index
0460c7f
..
6156835
100755
(executable)
--- a/
system/LocalSubstrate.inria.py
+++ b/
system/LocalSubstrate.inria.py
@@
-26,20
+26,22
@@
class OnelabSubstrate (Substrate):
# the lxc-capable box for PLCs
def plc_lxc_boxes_spec (self):
# we now use the same box as for builds
# the lxc-capable box for PLCs
def plc_lxc_boxes_spec (self):
# we now use the same box as for builds
- return [ ('buzzcocks',
12
), ]
+ return [ ('buzzcocks',
20
), ]
def qemu_boxes_spec (self):
# ditto, a single big box now is enough
return [ ('boxtops', 64), ]
def qemu_boxes_spec (self):
# ditto, a single big box now is enough
return [ ('boxtops', 64), ]
- # vplc01 to 40
+ # may use vplc01 to 25 - out of the existing 30
+ # keep 5 upper addresses for more persistent instances
def vplc_ips (self):
return [ ( 'vplc{:02d}'.format(i), # DNS name
'unused') # MAC address
def vplc_ips (self):
return [ ( 'vplc{:02d}'.format(i), # DNS name
'unused') # MAC address
- for i in range(1,
41
) ]
+ for i in range(1,
26
) ]
- # the nodes pool has a MAC address as user-data (3rd elt in tuple)
+ # vnode01 to 20
+ # the nodes IP pool has a MAC address as user-data (3rd elt in tuple)
def vnode_ips (self):
return [ ( 'vnode{:02d}'.format(i), # DNS name
'02:34:56:00:00:{:02d}'.format(i)) # MAC address
def vnode_ips (self):
return [ ( 'vnode{:02d}'.format(i), # DNS name
'02:34:56:00:00:{:02d}'.format(i)) # MAC address