-
Problem report
-
Resolution: Unresolved
-
Major
-
None
-
7.0.12, 7.2.6, 7.4.0beta2
-
None
-
Support backlog
Steps to reproduce:
- setup Fortigate with Template "Fortigate by HTTP"
Result:
reult from "Get interface data" show rx/tx Values only on physical Interface not vlans
{ "alias": "", "description": "Fortivoice VLAN", "id": "voice", "link": false, "mode": "static", "name": "voice", "q_origin_key": "voice", "type": "vlan" } , { "alias": "", "description": "", "duplex": 0, "id": "wan1", "ip": "0.0.0.0", "link": false, "mac": "xx:xx:xx:xx:xx:xx", "mask": 0, "mode": "dhcp", "name": "wan1", "q_origin_key": "wan1", "rx_bytes": 0, "rx_errors": 0, "rx_packets": 0, "speed": 0, "tx_bytes": 0, "tx_errors": 0, "tx_packets": 0, "type": "physical" } ,
Expected:
Add include_vlan=true to api call at
OLD:
var netif_data = getHttpData( api_url + '/api/v2/monitor/system/interface?access_token=' + encodeURIComponent(params.token) );
NEW:
var netif_data = getHttpData( api_url + '/api/v2/monitor/system/interface?include_vlan=true&access_token=' + encodeURIComponent(params.token) );