Привет всем!
Обращаясь к API /api/s/{{SITE}}/stat/device, можно было читать chassis_descr и port_descr из lldp_table. К сожалению, эти данные отсутствуют в последней версии Network 9.0.108, хотя они очень полезны. Нельзя ли вернуть их в будущем?
Сейчас выглядит так: отсутствует chassis_descr, port_descr: 'lldp_table' =>
array (
0 =>
(object) array(
'chassis_id' => 'ac:8b:a9:3b:c8:8f',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => 'ac:8b:a9:3b:c8:8f',
'power_allocated' => 15400,
'power_requested' => 15400,
),
1 =>
(object) array(
'chassis_id' => 'e4:38:83:72:a3:99',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => 'e4:38:83:72:a3:99',
'power_allocated' => 15400,
'power_requested' => 15400,
),
2 =>
(object) array(
'chassis_id' => 'ac:8b:a9:12:ca:7a',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => 'ac:8b:a9:12:ca:7a',
'power_allocated' => 15400,
'power_requested' => 15400,
),
3 =>
(object) array(
'chassis_id' => '98:f2:b3:65:eb:bc',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => '98:f2:b3:65:eb:be',
),
)
С уважением.
Обращаясь к API /api/s/{{SITE}}/stat/device, можно было читать chassis_descr и port_descr из lldp_table. К сожалению, эти данные отсутствуют в последней версии Network 9.0.108, хотя они очень полезны. Нельзя ли вернуть их в будущем?
Сейчас выглядит так: отсутствует chassis_descr, port_descr: 'lldp_table' =>
array (
0 =>
(object) array(
'chassis_id' => 'ac:8b:a9:3b:c8:8f',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => 'ac:8b:a9:3b:c8:8f',
'power_allocated' => 15400,
'power_requested' => 15400,
),
1 =>
(object) array(
'chassis_id' => 'e4:38:83:72:a3:99',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => 'e4:38:83:72:a3:99',
'power_allocated' => 15400,
'power_requested' => 15400,
),
2 =>
(object) array(
'chassis_id' => 'ac:8b:a9:12:ca:7a',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => 'ac:8b:a9:12:ca:7a',
'power_allocated' => 15400,
'power_requested' => 15400,
),
3 =>
(object) array(
'chassis_id' => '98:f2:b3:65:eb:bc',
'chassis_id_subtype' => 'mac',
'is_wired' => true,
'local_port_idx' => 1,
'local_port_name' => 'eth0',
'port_id' => '98:f2:b3:65:eb:be',
),
)
С уважением.
