-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autonetkit 0.9.0 unable to build any topology #239
Comments
if i build on top of the json example showed in the readme it still fails: anubisg1@linux-uau6:~/netkit> autonetkit --debug -f home.json |
Hi, is this the github version of ANK? if so, do you know which branch? There's a lot of code in flux for 0.9 at the moment - many core modules are being tidied up and extended. |
hello, i downloaded the "release" tarball. It's marked as 0.9.0 from here: and this is the commit referred to: |
it seems anyway, that running the latest git code does not have this problem :) i'm going to close this. |
It's possible pulling the latest tagged version. I haven't tagged many since it's in such alpha state. So it's quite possible the latest would be fine.
Sent from a mobile device.
|
anubisg1@linux-uau6:~/netkit/autonetkit-0.9.0/example> autonetkit --debug -f small_internet.graphml
INFO AutoNetkit 0.9.0
INFO Converting graph input to undirected
DEBUG [Node: as20r2]: No interfaces initialised for
INFO Automatically assigning input interfaces
DEBUG [Overlay: input]: Initialised interfaces for as100r1, as100r2, as100r3, as1r1, as200r1, as20r1, as20r2, as20r3, as300r1, as300r2, as300r3, as300r4, as30r1, as40r1
INFO Unable to connect to visualisation server http://127.0.0.1:8000/publish
ERROR Error generating network configurations: 'NoneType' object does not support item assignment. More information may be available in the debug log.
DEBUG Error generating network configurations
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/autonetkit/console_script.py", line 226, in main
build_options=build_options, grid=options.grid)
File "/usr/lib/python2.7/site-packages/autonetkit/console_script.py", line 50, in manage_network
anm = build_network.build(graph)
File "/usr/lib/python2.7/site-packages/autonetkit/ank_utils.py", line 11, in decorator
return fn(_args, *_kwargs)
File "/usr/lib/python2.7/site-packages/autonetkit/build_network.py", line 256, in build
anm = initialise(input_graph)
File "/usr/lib/python2.7/site-packages/autonetkit/ank_utils.py", line 11, in decorator
return fn(_args, *_kwargs)
File "/usr/lib/python2.7/site-packages/autonetkit/build_network.py", line 84, in initialise
g_in = anm.add_overlay("input", graph=input_graph)
File "/usr/lib/python2.7/site-packages/autonetkit/anm/network_model.py", line 172, in add_overlay
overlay.allocate_interfaces()
File "/usr/lib/python2.7/site-packages/autonetkit/anm/graph.py", line 242, in allocate_interfaces
edge.raw_interfaces[src.id] = src_int_id
TypeError: 'NoneType' object does not support item assignment
Unable to build configurations.
The text was updated successfully, but these errors were encountered: