DINKIN / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

SwitchNode.linknet() excepts with "Interface local name 'vethxxx.xxxx.xx' too long" #282

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running SwitchNode.linknet(net) results in a creation of a too long object 
ID as can be extracted from the exception below.

Traceback (most recent call last):
  File "main.py", line 389, in <module>
    main()
  File "main.py", line 214, in main
    switchnode_list[0].linknet(switchnode2_list[counter-1][0])
  File "/usr/local/lib/python2.7/dist-packages/core/netns/vnet.py", line 428, in linknet
    localname
ValueError: interface local name 'vethef6e.dee6.5b' too long

What is the expected output? What do you see instead?
Seamless veth pair creation, unhandled exception is thrown instead.

What version of the product are you using? On what operating system?
SVN nightly release (22.06.2015), Ubuntu 15.04 with ip utility, 
iproute2-ss140804 installed.

Original issue reported on code.google.com by erminsakic@gmail.com on 22 Jun 2015 at 2:38