mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
* Added page as stats * Fixed network discovery table and REST, added MAC address sorting function in JS utility class --------- Co-authored-by: DGabri <gabriele.deri@gmail.com>
85 lines
No EOL
1.4 KiB
JSON
85 lines
No EOL
1.4 KiB
JSON
{
|
|
"id": "network_discovery",
|
|
"data_url": "lua/rest/v2/get/network/discovery/discover.lua",
|
|
"use_current_page": false,
|
|
"enable_search": false,
|
|
"paging": false,
|
|
"display_empty_rows": true,
|
|
"default_sort": {
|
|
"column_id": "name",
|
|
"sort": 0
|
|
},
|
|
"columns": [
|
|
{
|
|
"id": "ip",
|
|
"title_i18n": "ip_address",
|
|
"data_field": "ip",
|
|
"sortable": true,
|
|
"sticky": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
],
|
|
"min-width": "80px"
|
|
},
|
|
{
|
|
"title_i18n": "name",
|
|
"data_field": "name",
|
|
"sortable": true,
|
|
"min-width": "155px",
|
|
"class": [
|
|
"text-nowrap"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "mac_stats.manufacturer",
|
|
"data_field": "manufacturer",
|
|
"sortable": true,
|
|
"min-width": "100px",
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "mac_address",
|
|
"data_field": "mac_address",
|
|
"sortable": true,
|
|
"min-width": "100px",
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "os",
|
|
"data_field": "os",
|
|
"sortable": true,
|
|
"min-width": "100px",
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "info",
|
|
"data_field": "info",
|
|
"sortable": false,
|
|
"min-width": "100px",
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "device",
|
|
"data_field": "device_type",
|
|
"sortable": true,
|
|
"min-width": "100px",
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
]
|
|
}
|
|
]
|
|
} |