caida.save
Save the current experiment CAIDA network topology to a JSON file. It is important to note that this does not save ALL FIREWHEEL experiment information but focuses particularly on the BGP routing information.
- Model Component Dependencies:
Plugin
- class caida.save_plugin.Save(graph, log)[source]
Bases:
AbstractPluginSave the current experiment network topology to a JSON file.
- __annotate_func__ = None
- __annotations_cache__ = {}
- __firstlineno__ = 9
- __static_attributes__ = ()
- find_switch(v1, v2)[source]
Find a switch vertex that connects two router vertices. If multiple switches are found, a warning is printed and only one the switches is returned.
- run(filename)[source]
Save the current experiment network topology to a JSON file. Switches are not included in the output as they can be inferred from
base_objects.VMEndpointinterfaces.