-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
While using Mininet release 2.3.1b4
Consider a file custom.py containing the following code :
from mininet.link import Link
class CustomLink(Link):
pass
links = { 'custom_link' : CustomLink }Running the following command :
sudo mn --custom custom.py --link custom_linkThe output is :
*** No default OpenFlow controller found for default switch!
*** Falling back to OVS Bridge
--------------------------------------------------------------------------------
Caught exception. Cleaning up...
Exception: error: custom_link is unknown - please specify one of dict_keys(['default', 'tc', 'tcu', 'ovs'])
--------------------------------------------------------------------------------
...
I think the issue arise from a missing comma between at the end of the line 202 bellow :
Lines 202 to 203 in 6eb8973
| if name in ( 'topos', 'switches', 'hosts', 'controllers', 'links' | |
| 'testnames', 'tests' ): |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels