A network automation script executes a REST API call to a Cisco SD-WAN vManage controller to retrieve operational statistics. The API returns the following JSON payload:
{
"system_status": {
"controller_group": "Group-Alpha",
"devices": [
{
"hostname": "vEdge-Branch1",
"site_id": 100,
"reachability": "reachable",
"tunnel_stats": [
{"color": "biz-internet", "latency_ms": 12},
{"color": "mpls", "latency_ms": 8}
]
},
{
"hostname": "vEdge-Branch2",
"site_id": 200,
"reachability": "unreachable",
"tunnel_stats": [
{"color": "biz-internet", "latency_ms": 45}
]
}
]
}
}
Assuming the response is stored in a Python dictionary named `payload`, which data path expression correctly extracts the integer value `8` representing the MPLS tunnel latency for `vEdge-Branch1`?
- payload["system_status"]["devices"][0]["tunnel_stats"][1]["latency_ms"]Cevap
- Bpayload["system_status"]["devices"][1]["tunnel_stats"][1]["latency_ms"]
- Cpayload["system_status"]["devices"][0]["tunnel_stats"][2]["latency_ms"]
- Dpayload["system_status"]["devices"][0]["tunnel_stats"]["mpls"]["latency_ms"]