ui: show backend traffic audit in dialog log
This commit is contained in:
@@ -37,6 +37,7 @@ from api_client import (
|
||||
TrafficAppMarkItem,
|
||||
TrafficAppProfile,
|
||||
TrafficAppProfileSaveResult,
|
||||
TrafficAudit,
|
||||
TrafficInterfaces,
|
||||
TrafficModeStatus,
|
||||
TraceDump,
|
||||
@@ -767,6 +768,9 @@ class DashboardController:
|
||||
def traffic_app_profile_delete(self, id: str) -> CmdResult:
|
||||
return self.client.traffic_app_profile_delete(id)
|
||||
|
||||
def traffic_audit(self) -> TrafficAudit:
|
||||
return self.client.traffic_audit_get()
|
||||
|
||||
def routes_nft_progress_from_event(self, ev: Event) -> RoutesNftProgressView:
|
||||
"""
|
||||
Превращает Event(kind='routes_nft_progress') в удобную модель
|
||||
|
||||
Reference in New Issue
Block a user