Fixed arrows AA in the module groups networkmap.
This commit is contained in:
parent
3d61418519
commit
9c1c3ace5c
pandora_console/include
|
@ -707,6 +707,7 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Define edges for the module interfaces relations
|
// Define edges for the module interfaces relations
|
||||||
// Get the remote_snmp_proc relations
|
// Get the remote_snmp_proc relations
|
||||||
$relations = modules_get_relations();
|
$relations = modules_get_relations();
|
||||||
|
@ -740,7 +741,9 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
|
||||||
$id_networkmap);
|
$id_networkmap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Relation into agents
|
||||||
elseif ($module_a_type == 6 && $module_b_type == 6) {
|
elseif ($module_a_type == 6 && $module_b_type == 6) {
|
||||||
|
if ($l2_network_or_mixed !== 'mix_l2_l3') {
|
||||||
if (isset($node_ref[$agent_a]) &&
|
if (isset($node_ref[$agent_a]) &&
|
||||||
isset($node_ref[$agent_b])) {
|
isset($node_ref[$agent_b])) {
|
||||||
$graph .= networkmap_create_edge(
|
$graph .= networkmap_create_edge(
|
||||||
|
@ -759,6 +762,7 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
|
||||||
'topology',
|
'topology',
|
||||||
$id_networkmap);
|
$id_networkmap);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif ($module_a_type == 6 && $module_b_type == 18) {
|
elseif ($module_a_type == 6 && $module_b_type == 18) {
|
||||||
|
|
Loading…
Reference in New Issue