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
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: 127.0.0. 3:6230) 127.0.0. 1:6210) 127.0.0. 4:6240) 127.0.0. 2:6220) ======= ======= ======= ======= ======= ==== 127.0.0. 4) sdb4 127.0.0. 1) sdb1
Not mounted: sdb3 on hostname1(
Not mounted: sdb1 on hostname2(
Not mounted: sdb4 on hostname3(
Not mounted: sdb2 on hostname4(
=======
1.12% hostname4(
1.12% hostname1(