kytos-ng / telemetry_int

Kytos Telemetry Napp
MIT License
0 stars 2 forks source link

UI: implement a k-toolbar to list EVCs in a new k-info-panel #92

Open viniarck opened 2 months ago

viniarck commented 2 months ago

20240426_102933

Example getting http://127.0.0.1:8181/api/kytos/mef_eline/v2/evc/ (with 1 existing EVC with INT enabled too):

❯ http http://127.0.0.1:8181/api/kytos/mef_eline/v2/evc/
HTTP/1.1 200 OK
content-length: 3672
content-type: application/json
date: Fri, 26 Apr 2024 13:20:51 GMT
server: uvicorn

{
    "db43d585b64242": {
        "active": true,
        "archived": false,
        "backup_links": [],
        "backup_path": [],
        "bandwidth": 0,
        "circuit_scheduler": [],
        "creation_time": "2024-04-26T13:17:54",
        "current_path": [
          ...  
        ],
        "dynamic_backup_path": true,
        "enabled": true,
        "end_date": null,
        "execution_rounds": 0,
        "failover_path": [
           ...
        ],
        "flow_removed_at": null,
        "id": "db43d585b64242",
        "metadata": {
            "telemetry": {
                "enabled": true,
                "status": "UP",
                "status_reason": [],
                "status_updated_at": "2024-04-26T13:20:35"
            }
        },
        "name": "inter_evpl_2222",
        "owner": null,
        "primary_constraints": {},
        "primary_links": [],
        "primary_path": [],
        "queue_id": -1,
        "request_time": "2024-04-26T13:17:54",
        "sb_priority": null,
        "secondary_constraints": {},
        "service_level": 0,
        "start_date": "2024-04-26T13:17:54",
        "uni_a": {
            "interface_id": "00:00:00:00:00:00:00:01:1",
            "tag": {
                "tag_type": "vlan",
                "value": 2222
            }
        },
        "uni_z": {
            "interface_id": "00:00:00:00:00:00:00:03:1",
            "tag": {
                "tag_type": "vlan",
                "value": 2222
            }
        },
        "updated_at": "2024-04-26T13:17:54"
    }
}
viniarck commented 2 months ago

@HeriLFIU will work on this one