Network Information Database

class autonetkit.nidb.interface_data_dict(data)

A dictionary which allows access as dict.key as well as dict[‘key’] Based on http://stackoverflow.com/questions/3387691 only allows read only acess

class autonetkit.nidb.lab_topology(nidb, topology_id)[source]

API to access lab topology in network

class autonetkit.nidb.lab_topology_accessor(nidb)[source]

API to access overlay graphs in ANM

class autonetkit.nidb.nidb_graph_data(nidb)[source]

API to access overlay graph data in network

class autonetkit.nidb.nidb_node(nidb, node_id)[source]

API to access overlay graph node in network

get_interfaces(*args, **kwargs)[source]

Public function to view interfaces

Temporary function name until Compiler/NIDB/Templates move to using “proper” interfaces

is_l3device[source]

Layer 3 devices: router, server, cloud, host ie not switch

class autonetkit.nidb.overlay_data_dict(parent, index, data)[source]

A dictionary which allows access as dict.key as well as dict[‘key’] Based on http://stackoverflow.com/questions/3387691

class autonetkit.nidb.overlay_edge(nidb, src_id, dst_id)[source]

API to access edge in nidb

get(key)[source]

For consistency, edge.get(key) is neater than getattr(edge, key)

overlay[source]

Access node in another overlay graph

class autonetkit.nidb.overlay_edge_accessor(nidb, edge)[source]

API to access overlay edges in NIDB