sk2/autonetkit — Issue #189: netkit compiler bug
Author: coaj
Created: 2012-01-24 07:51:46+00:00
State: open

coajmacbook:Ank askarjaboldinov$ autonetkit -f gr-eg.graphml --bgp_policy gr-eg.main --ospf --netkit
INFO Loading
INFO Compiling
INFO Applying BGP policy from gr-eg.main
INFO Applying function gao_rexford({A}, A_customers, A_peers, A_upstream)
INFO Applying function gao_rexford({B}, B_customers, B_peers, B_upstream)
INFO Applying function gao_rexford({C}, C_customers, C_peers, C_upstream)
INFO Applying function gao_rexford({U1}, U1_customers, U1_peers, {})
INFO Applying function gao_rexford({U2}, U2_customers, U2_peers, {})
INFO Applying function prefer_customer({C}, C_customers)
INFO Configuring Netkit
Traceback (most recent call last):
File "/usr/local/bin/autonetkit", line 8, in
load_entry_point('AutoNetkit==0.5.65dev-20120124', 'console_scripts', 'autonetkit')()
File "/Library/Python/2.6/site-packages/AutoNetkit/console_script.py", line 78, in main
inet.compile()
File "/Library/Python/2.6/site-packages/AutoNetkit/internet.py", line 321, in compile
nk_comp.configure()
File "/Library/Python/2.6/site-packages/AutoNetkit/compiler/netkitcompiler.py", line 804, in configure
self.configure_bgp()
File "/Library/Python/2.6/site-packages/AutoNetkit/compiler/netkitcompiler.py", line 612, in configure_bgp
interfaces = self.configure_interfaces(router)
File "/Library/Python/2.6/site-packages/AutoNetkit/compiler/netkitcompiler.py", line 435, in configure_interfaces
int_id = self.int_id(data['id'])
AttributeError: NetkitCompiler instance has no attribute 'int_id'