cnp3 / ipmininet

Mininet extension to make experimenting with IP networks easy
GNU General Public License v2.0
65 stars 51 forks source link

ImportError: cannot import name 'StaticRoute' #105

Closed caopeirui closed 3 years ago

caopeirui commented 3 years ago

I already installed ipmininet according to the guide (sudo pip install --process-dependency-links --upgrade git+https://github.com/cnp3/ipmininet.git@v0.9)

However, it is still has an error: , when I execute sudo python3 topo.py (cloned by git clone https://github.com/ljm625/SRv6_Sandbox).

How should I do?

caopeirui commented 3 years ago

Sorry to bother you. I find that the StaticRoute exist in ipmininet.router.config.staticd instead of ipmininet.router.config.zebra. My problem is solved. Thanks~