Commit cd5ffdf3 authored by Wei-Chun Chao's avatar Wei-Chun Chao

fix tunnel_mesh.py

The IP assignment was wrong.
Signed-off-by: default avatarWei-Chun Chao <weichunc@plumgrid.com>
parent 2ac4b662
......@@ -67,8 +67,8 @@ def run():
br.add_port(v)
br.up()
ifc_gc.append(v.ifname)
ipaddr = "99.1.%d.%d/24" % (i, host_id + 1)
br.add_ip(ipaddr)
ipaddr = "99.1.%d.%d/24" % (j, host_id + 1)
br.add_ip(ipaddr)
ifc_gc.append(br.ifname)
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment