nsg-ethz / metha Goto Github PK
View Code? Open in Web Editor NEWA framework for automated testing of network analysis and verification tools.
License: MIT License
A framework for automated testing of network analysis and verification tools.
License: MIT License
I have GNS# docker running. I have the metha docker running. I have the Cisco and Juniper images listed in the READMe in the images folder.
command: python3 metha.py -p example-tests/batfish-tests/ run -s batfish
output:
Traceback (most recent call last):
File "metha.py", line 366, in
main()
File "metha.py", line 362, in main
args.func(args)
File "metha.py", line 291, in run
test_coordinator.generate_metha_tests(
File "/home/pvarkhedi/Metha/test_coordinator.py", line 203, in generate_metha_tests
generate_tests(topos, init, test_gen, get_kwargs)
File "/home/pvarkhedi/Metha/test_coordinator.py", line 144, in generate_tests
runner, features, possible_args = init(t, test_num)
File "/home/pvarkhedi/Metha/test_coordinator.py", line 201, in init
return system.init_runner(path, t, num, allowed_features)
File "/home/pvarkhedi/Metha/Systems/systems.py", line 36, in init_runner
runner = TestRunner(path, topo, self, router_features)
File "/home/pvarkhedi/Metha/test_runner.py", line 91, in init
self.gp = self.set_up_testbed()
File "/home/pvarkhedi/Metha/test_runner.py", line 109, in set_up_testbed
gp = gns3_interface.setup_gns_from_topology(f'{self.path}base_configs/topology.json')
File "/home/pvarkhedi/Metha/GNS3/gns3_interface.py", line 265, in setup_gns_from_topology
nodes[node['name']] = gp.create_node(node['name'], router_type, node['config'])
File "/home/pvarkhedi/Metha/GNS3/gns3_interface.py", line 90, in create_node
node = node_types[router_type](name, self, config)
File "/home/pvarkhedi/Metha/GNS3/Nodes/cisco7200_node.py", line 21, in init
super().init(jdata['node_id'], jdata['console'], name, 'show run', 'show ip route', 'clear ip route *')
KeyError: 'node_id'
Exception ignored in: <function NetmikoNode.del at 0x7f930803ec10>
Traceback (most recent call last):
File "/home/pvarkhedi/Metha/GNS3/Nodes/netmiko_node.py", line 26, in del
if self.telnet_connection is not None:
AttributeError: 'Cisco7200Node' object has no attribute 'telnet_connection'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.