spinn_machine.tags package¶
Submodules¶
spinn_machine.tags.abstract_tag module¶
Bases:
object
The board address of the tag
The port of the tag
The tag id of the tag
spinn_machine.tags.iptag module¶
Bases:
spinn_machine.tags.abstract_tag.AbstractTag
Used to hold data that is contained within an IPTag
Parameters: - board_address (str or None) – The ip address of the board on which the tag is allocated
- destination_x (int) – The x-coordinate where users of this tag should send packets to
- destination_y (int) – The y-coordinate where users of this tag should send packets to
- tag (int) – The tag of the SDP packet
- ip_address (str) – The IP address to which SDP packets with the tag will be sent
- port (int or None if not yet assigned) – The port to which the SDP packets with the tag will be sent
- strip_sdp (bool) – Indicates whether the SDP header should be removed
- traffic_identifier (str) – the identifier for traffic transmitted using this tag
Raises: None – No known exceptions are raised
The x-coordinate where users of this tag should send packets to
The y-coordinate where users of this tag should send packets to
Return the IP address of the tag
Return if the SDP header is to be stripped
The identifier of traffic using this tag
spinn_machine.tags.reverse_iptag module¶
Bases:
spinn_machine.tags.abstract_tag.AbstractTag
Used to hold data that is contained within an IPTag
Parameters: - board_address (str or None) – The ip address of the board on which the tag is allocated
- tag (int) – The tag of the SDP packet
- port (int) – The UDP port on which SpiNNaker will listen for packets
- destination_x (int) – The x-coordinate of the chip to send packets to
- destination_y (int) – The y-coordinate of the chip to send packets to
- destination_p (int) – The id of the processor to send packets to
- sdp_port (int) – The optional port number to use for SDP packets that are formed on the machine (default is 1)
Raises: None – No known exceptions are raised
The destination p for a reverse ip tag
The destination x for a reverse ip tag
The destination y for a reverse ip tag
The SDP port of the tag
Module contents¶
Bases:
object
The board address of the tag
The port of the tag
The tag id of the tag
Bases:
spinn_machine.tags.abstract_tag.AbstractTag
Used to hold data that is contained within an IPTag
Parameters: - board_address (str or None) – The ip address of the board on which the tag is allocated
- destination_x (int) – The x-coordinate where users of this tag should send packets to
- destination_y (int) – The y-coordinate where users of this tag should send packets to
- tag (int) – The tag of the SDP packet
- ip_address (str) – The IP address to which SDP packets with the tag will be sent
- port (int or None if not yet assigned) – The port to which the SDP packets with the tag will be sent
- strip_sdp (bool) – Indicates whether the SDP header should be removed
- traffic_identifier (str) – the identifier for traffic transmitted using this tag
Raises: None – No known exceptions are raised
The x-coordinate where users of this tag should send packets to
The y-coordinate where users of this tag should send packets to
Return the IP address of the tag
Return if the SDP header is to be stripped
The identifier of traffic using this tag
Bases:
spinn_machine.tags.abstract_tag.AbstractTag
Used to hold data that is contained within an IPTag
Parameters: - board_address (str or None) – The ip address of the board on which the tag is allocated
- tag (int) – The tag of the SDP packet
- port (int) – The UDP port on which SpiNNaker will listen for packets
- destination_x (int) – The x-coordinate of the chip to send packets to
- destination_y (int) – The y-coordinate of the chip to send packets to
- destination_p (int) – The id of the processor to send packets to
- sdp_port (int) – The optional port number to use for SDP packets that are formed on the machine (default is 1)
Raises: None – No known exceptions are raised
The destination p for a reverse ip tag
The destination x for a reverse ip tag
The destination y for a reverse ip tag
The SDP port of the tag