Closed ibaldin closed 2 years ago
So I ran the test_abqm.py in fabric_cf/actor/test/. It produced abqm.graphml, which I then loaded as AdvertisedTopology
. I'm seeing everything look normal - not clear how to reproduce missing links:
import fim.user as f
Backend MacOSX is interactive backend. Turning interactive mode on.
t = f.AdvertisedTopology(graph_file='abqm.graphml')
t.draw()
print(t)
UKY
Components:
NVME-P4510: NVME P4510 { disk: 10,000/10,000 G, unit: 10/10 }
SmartNIC-ConnectX-5: SmartNIC ConnectX-5 { unit: 2/2 }
SmartNIC-ConnectX-6: SmartNIC ConnectX-6 { unit: 2/2 }
GPU-Tesla T4: GPU Tesla T4 { unit: 4/4 }
GPU-RTX6000: GPU RTX6000 { unit: 2/2 }
SharedNIC-ConnectX-6: SharedNIC ConnectX-6 { unit: 381/381 }
Site Interfaces:
UKY_RENC: TrunkPort { bw: 100/100 Gbps}
UKY_LBNL: TrunkPort { bw: 100/100 Gbps}
LBNL
Components:
SharedNIC-ConnectX-6: SharedNIC ConnectX-6 { unit: 381/381 }
NVME-P4510: NVME P4510 { disk: 10,000/10,000 G, unit: 10/10 }
SmartNIC-ConnectX-5: SmartNIC ConnectX-5 { unit: 2/2 }
SmartNIC-ConnectX-6: SmartNIC ConnectX-6 { unit: 2/2 }
GPU-Tesla T4: GPU Tesla T4 { unit: 4/4 }
GPU-RTX6000: GPU RTX6000 { unit: 2/2 }
Site Interfaces:
LBNL_RENC: TrunkPort { bw: 10/10 Gbps}
LBNL_UKY: TrunkPort { bw: 10/10 Gbps}
STAR
Components:
Site Interfaces:
RENC
Components:
SharedNIC-ConnectX-6: SharedNIC ConnectX-6 { unit: 381/381 }
NVME-P4510: NVME P4510 { disk: 10,000/10,000 G, unit: 10/10 }
GPU-RTX6000: GPU RTX6000 { unit: 2/2 }
GPU-Tesla T4: GPU Tesla T4 { unit: 4/4 }
SmartNIC-ConnectX-6: SmartNIC ConnectX-6 { unit: 2/2 }
SmartNIC-ConnectX-5: SmartNIC ConnectX-5 { unit: 2/2 }
Site Interfaces:
RENC_LBNL: TrunkPort { bw: 10/10 Gbps}
RENC_UKY: TrunkPort { bw: 10/10 Gbps}
Links:
port+renc-data-sw:TenGigE0/0/0/2/0.3999-link[L2Path]: ['UKY_RENC', 'RENC_UKY']
port+lbnl-data-sw:TenGigE0/0/0/6/0.2401-link[L2Path]: ['UKY_LBNL', 'LBNL_UKY']
port+lbnl-data-sw:TenGigE0/0/0/6/0.2400-link[L2Path]: ['RENC_LBNL', 'LBNL_RENC']
The problem is in the latest network AM model switch nodes have type 'VM' instead of 'Switch'. Requires further investigation. This doesn't show up in the older models.
The issue is addressed in information model utils fabric-testbed/information-model-utils#18
@paul-ruth and @kthare10 report not seeing links in ads. Seems to depend on level of detail. requires investigation.