diff options
Diffstat (limited to 'webapp/src/app/@core-xds/services/xdsagent.service.ts')
-rw-r--r-- | webapp/src/app/@core-xds/services/xdsagent.service.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/webapp/src/app/@core-xds/services/xdsagent.service.ts b/webapp/src/app/@core-xds/services/xdsagent.service.ts index adbee98..002c84b 100644 --- a/webapp/src/app/@core-xds/services/xdsagent.service.ts +++ b/webapp/src/app/@core-xds/services/xdsagent.service.ts @@ -665,6 +665,21 @@ export class XDSAgentService { { cols: cols, rows: rows }); } + /*** + ** Supervision + ***/ + getTopoSupervisor(): Observable<any> { + return this._get('/supervisor/topo'); + } + + startTraceSupervisor(cfg: any): Observable<any> { + return this._post('/supervisor/trace/start', cfg); + } + + stopTraceSupervisor(cfg: any): Observable<any> { + return this._post('/supervisor/trace/stop', cfg); + } + /** ** Private functions ***/ |