Comment 0 for bug 2034054

Revision history for this message
kim nuri (knr1231) wrote : Display host as host name in swift-recon with human-readable suffix

Currently, swift-recon displays host information in either IP or IP:Port format.

Adding the host name alongside the IP would make this information more easily readable.

Therefore, I plan to implement a feature where using a human-readable suffix will display the host information as HostName(IP or IP:Port)

The following is a sample of the proposed changes.

prev:
Not mounted: sdb3 on 127.0.0.3:6230
Not mounted: sdb1 on 127.0.0.1:6210
Not mounted: sdb4 on 127.0.0.4:6240
Not mounted: sdb2 on 127.0.0.2:6220
===================================
1.12% 127.0.0.4 sdb4
1.12% 127.0.0.1 sdb1

after:
Not mounted: sdb3 on hostname1(127.0.0.3:6230)
Not mounted: sdb1 on hostname2(127.0.0.1:6210)
Not mounted: sdb4 on hostname3(127.0.0.4:6240)
Not mounted: sdb2 on hostname4(127.0.0.2:6220)
==============================================
1.12% hostname4(127.0.0.4) sdb4
1.12% hostname1(127.0.0.1) sdb1