openoptics.utils.tor_table_verify_desired_node

openoptics.utils.tor_table_verify_desired_node#

openoptics.utils.tor_table_verify_desired_node(tor_id) List[TableEntry][source]#

Generate table entries for checking if the receiver is the dst node.

Parameters:

tor_id – ID of the ToR switch

Returns:

one for tor_id, one wildcard 255).

Return type:

List of TableEntry objects (two entries