sk2/autonetkit — Issue #117: AutoNetkit not creating eBGP sessions
Author: sk2
Created: 2012-01-06 15:22:01+00:00
State: open
Labels: iBGP

/ank:508$ autonetkit -f 4as.graphml --junos --junosphere --isis
2012-01-06 13:52:27,441 INFO Loading
2012-01-06 13:52:27,465 INFO Compiling
[('n0',
{'Network': u'AS1',
'asn': 111,
'ibgp_level': 1,
'label': '1',
'platform': 'NETKIT',
'route_reflector': False}),
('n1',
{'Network': u'AS2',
'asn': 222,
'ibgp_level': 1,
'label': '2',
'platform': 'NETKIT',
'route_reflector': False}),
('n2',
{'Network': u'AS3',
'asn': 333,
'ibgp_level': 1,
'label': '3',
'platform': 'NETKIT',
'route_reflector': False}),
('n3',
{'Network': u'AS4',
'asn': 444,
'ibgp_level': 1,
'label': '4',
'platform': 'NETKIT',
'route_reflector': False})]
Traceback (most recent call last):
File "/usr/local/bin/autonetkit", line 8, in
load_entry_point('AutoNetkit==0.5.65dev-20120106', 'console_scripts', 'autonetkit')()
File "/Library/Python/2.7/site-packages/AutoNetkit/console_script.py", line 91, in main
inet.compile()
File "/Library/Python/2.7/site-packages/AutoNetkit/internet.py", line 283, in compile
junos_comp.configure()
File "/Library/Python/2.7/site-packages/AutoNetkit/compiler/junoscompiler.py", line 422, in configure
self.configure_junosphere()
File "/Library/Python/2.7/site-packages/AutoNetkit/compiler/junoscompiler.py", line 154, in configure_junosphere
subnet = data['sn']
KeyError: 'sn'