Skip to content
Browse files

shorten exp ID to avoid startup errors on linux

The addNodeIfcToBridge procedure has a problem when the experiment id is bigger
than 6 characters. Error message:
Error: argument "peer" is wrong: "name" too long
    while executing
    "exec ip link add name "$hostIfc" type veth peer name "$guestIfc""
This problem is experienced when running DNS+Mail+WEB/NETWORK.imn
Linux experiments shouldn't have bigger eids than the standard 6 characters.
  • Loading branch information...
oikuda committed Aug 28, 2015
1 parent e162244 commit c95bf53eddf05b3715641f91b747de31490bfd01
Showing with 1 addition and 1 deletion.
  1. +1 −1 benchmark/
@@ -18,7 +18,7 @@ mfree() {

# generate a random experiment ID used for starting experiments
genEid() {
echo i`openssl rand -hex 3`
echo i`openssl rand -hex 3 | head -c 5`

# start topology with IMUNES

0 comments on commit c95bf53

Please sign in to comment.
You can’t perform that action at this time.