diff --git a/services/web/apps/pm/ddash/dashboards/mo.py b/services/web/apps/pm/ddash/dashboards/mo.py index 9d855f70a0a8ad180694abef30d4a93d6b6342b5..8a4e41e9617fcdd9e03f37855c94cb158f5f06e3 100644 --- a/services/web/apps/pm/ddash/dashboards/mo.py +++ b/services/web/apps/pm/ddash/dashboards/mo.py @@ -135,6 +135,7 @@ class MODashboard(BaseDashboard): "status": iface.status, "metrics": interface_dom_metrics(profile), "type": profile.id, + "profile_name": profile.name, } ] if iface.type == "physical": @@ -164,7 +165,7 @@ class MODashboard(BaseDashboard): if radio: radio_types += [{"type": profile.id, "name": profile.name, "ports": radio}] if dom: - dom_types = dom + dom_types += dom if self.object.object_profile.report_ping_rtt: object_metrics += ["rtt"] @@ -190,7 +191,7 @@ class MODashboard(BaseDashboard): "lags": lags, "subifaces": subif, "radio_types": radio_types, - "dom_types": dom_types, + "dom_types": sorted(dom_types, key=lambda x: alnum_key(x["name"])), } def render(self):