ibtracert -G 0xa088c203000fcea4 -G 0x946dae0300f2a8a2 From ca {0xa088c203000fcea4}…
- User
ibtracert -G 0xa088c203000fcea4 -G 0x946dae0300f2a8a2 From ca {0xa088c203000fcea4} portnum 1 lid 179-179 "10-102-32-10 mlx5_27" [1] -> switch port {0xfc6a1c03007f5e40}[10] lid 86-86 "L1-6" [42] -> switch port {0xfc6a1c03007f3980}[11] lid 134-134 "SP-05" [10] -> switch port {0xfc6a1c03007f6480}[42] lid 110-110 "L1-5" [12] -> ca port {0x946dae0300f2a8a2}[1] lid 133-133 "10-102-32-11 mlx5_26" To ca {0x946dae0300f2a8a2} portnum 1 lid 133-133 "10-102-32-11 mlx5_26" the two -G param are from two hosts. show a python code to draw topo diagram for such kind of command, for example, i have multiple ibtracert with different pair of NICs
- Assistant
- User
so, i have two host , select two device from each port: 10.39.85.82:mlx5_20,mlx5_20 10.39.19.48:mlx5_26,mlx5_27, after using ibtracert, i generate a csv: 10.39.85.82:mlx5_20,mlx5_20[1]->[1]mlx5_20,mlx5_20[1]->[10]L1-1[59]->[2]SP-14[10]->[59]L1-5[12]->[1]mlx5_26,mlx5_20[1]->[10]L1-1[63]->[2]SP-16[12]->[64]L1-6[12]->[1]mlx5_27 10.39.19.48:mlx5_26,mlx5_26[1]->[12]L1-5[55]->[10]SP-12[2]->[55]L1-1[10]->[1]mlx5_20,mlx5_26[1]->[1]mlx5_26,mlx5_26[1]->[12]L1-5[49]->[9]SP-09[11]->[50]L1-6[12]->[1]mlx5_27 10.39.19.48:mlx5_27,mlx5_27[1]->[12]L1-6[50]->[11]SP-09[1]->[49]L1-1[10]->[1]mlx5_20,mlx5_27[1]->[12]L1-6[42]->[11]SP-05[10]->[42]L1-5[12]->[1]mlx5_26,mlx5_27[1]->[1]mlx5_27 row head is device from first host, column header is device from another, the cell is the route, the format is as followed: mlx5_20[1]->[10]L1-1[59]->[2]SP-14[10]->[59]L1-5[12]->[1]mlx5_26: this say going out from mlx5_20 port 1, and go in to leaf switch L1-1 via port 10 and out via port 59, go in to spine swith SP-14 via port 2 and out via port 10, and go in to another leaf switch L1-5 via port 59 and out via port 12 ,and finally go in via port 1 to another device in another mlx5_26, pls show complete code to parse the csv and generate device/switch network topo diagram.
- Assistant
- User
pls read csv content from file provided by arg input
- Assistant
- User
csv is like: Device,10.39.85.82:mlx5_20,10.39.19.48:mlx5_26,10.39.19.48:mlx5_27 10.39.85.82:mlx5_20,mlx5_20[1]->[1]mlx5_20,mlx5_20[1]->[10]L1-1[59]->[2]SP-14[10]->[59]L1-5[12]->[1]mlx5_26,mlx5_20[1]->[10]L1-1[63]->[2]SP-16[12]->[64]L1-6[12]->[1]mlx5_27 10.39.19.48:mlx5_26,mlx5_26[1]->[12]L1-5[55]->[10]SP-12[2]->[55]L1-1[10]->[1]mlx5_20,mlx5_26[1]->[1]mlx5_26,mlx5_26[1]->[12]L1-5[49]->[9]SP-09[11]->[50]L1-6[12]->[1]mlx5_27 10.39.19.48:mlx5_27,mlx5_27[1]->[12]L1-6[50]->[11]SP-09[1]->[49]L1-1[10]->[1]mlx5_20,mlx5_27[1]->[12]L1-6[42]->[11]SP-05[10]->[42]L1-5[12]->[1]mlx5_26,mlx5_27[1]->[1]mlx5_27 pls update the script
- Assistant
- User
dont use plot-show, write to an file
- Assistant
- User
zip or tar a file with password
- Assistant
To add password protection to compressed files, you have a couple of common options,
zipandtar. However, it's important to note that while thezipformat natively supports encryption, thetarformat does not. You can, however, combinetarwith other tools likegpgto achieve similar functionality. - User
how to show the topo in grafana dashboard?
- Assistant
- User
is there any json to export from grafana site?
- Assistant
- User
i am asking if any available json to export to show the plot?
- Assistant
- User
is there any good IB monitor dashboard for grafana?
- Assistant
- User
any good existing dashboard to use for Mellanox IB monnitoring dashboard?
- Assistant
- User
no specifying resource like nvidia.com/gpu, in a container, what is the constraints for cpu/memory/gpu?
- Assistant
- User
if i don't specify any resource in yaml file, can i use all resource?
- Assistant