path: root/src/osmo_gsm_tester/
diff options
authorPau Espin Pedrol <>2018-05-28 12:21:35 +0200
committerPau Espin Pedrol <>2018-05-28 13:04:42 +0200
commit7f4807a4bca610694ce44dd58bb6597a068ac869 (patch)
tree7b608b1634d40db412ad0a531977ed6cd5e569a5 /src/osmo_gsm_tester/
parente9749444961c0a0296a8e08f0f86003d213112a8 (diff)
powersupply_sispm: Add port number to log name
This way it can easily be spotted which port is being triggered in case someone wants to manually test it. Change-Id: Ibd2c70170d97a786e37b6838b1ed6d4eb637ad8b
Diffstat (limited to 'src/osmo_gsm_tester/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/ b/src/osmo_gsm_tester/
index b35592f..4505b17 100644
--- a/src/osmo_gsm_tester/
+++ b/src/osmo_gsm_tester/
@@ -86,6 +86,7 @@ class PowerSupplySispm(PowerSupply):
raise log.Error('No "port" attribute provided in power_supply conf!')
if not int(myport):
raise log.Error('Wrong non numeric "port" attribute provided in power_supply conf!')
+ self.set_name('sispm-'+mydevid+'-'+myport)
self.port = int(myport)
device = self._get_device()
if device is None: