Skip to content

Commit

Permalink
only 1 BMPConnectionData
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 1, 2023
1 parent 0354ea4 commit 3a67966
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions spinnman/transceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def create_transceiver_from_hostname(
:param int version: the type of SpiNNaker board used within the SpiNNaker
machine being used. If a Spinn-5 board, then the version will be 5,
Spinn-3 would equal 3 and so on.
:param list(BMPConnectionData) bmp_connection_data:
:param BMPConnectionData bmp_connection_data:
the details of the BMP connections used to boot multi-board systems
:param bool auto_detect_bmp:
``True`` if the BMP of version 4 or 5 boards should be
Expand Down Expand Up @@ -141,12 +141,10 @@ def create_transceiver_from_hostname(

# handle BMP connections
if bmp_connection_data is not None:
bmp_ip_list = list()
for conn_data in bmp_connection_data:
bmp_connection = BMPConnection(conn_data)
connections.append(bmp_connection)
bmp_ip_list.append(bmp_connection.remote_ip_address)
logger.info("Transceiver using BMPs: {}", bmp_ip_list)
bmp_connection = BMPConnection(bmp_connection_data)
connections.append(bmp_connection)
logger.info("Transceiver using BMP: {}",
bmp_connection.remote_ip_address)

connections.append(SCAMPConnection(remote_host=hostname))

Expand Down

0 comments on commit 3a67966

Please sign in to comment.