We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e2b9d0 + ad59c10 commit 5fdda58Copy full SHA for 5fdda58
netbox_agent/network.py
@@ -197,6 +197,12 @@ def get_netbox_type_for_nic(self, nic):
197
if nic["ethtool"]["port"] in ("FIBRE", "Direct Attach Copper"):
198
return self.dcim_choices["interface:type"]["SFP28 (25GE)"]
199
200
+ elif max_speed == "5000Mb/s":
201
+ return self.dcim_choices["interface:type"]["5GBASE-T (5GE)"]
202
+
203
+ elif max_speed == "2500Mb/s":
204
+ return self.dcim_choices["interface:type"]["2.5GBASE-T (2.5GE)"]
205
206
elif max_speed == "1000Mb/s":
207
208
return self.dcim_choices["interface:type"]["SFP (1GE)"]
0 commit comments