Merge branch 'ent-8756-ipam-desde-satelite' into 'develop'

Add support for IPAM XML files.

See merge request artica/pandorafms!5046
This commit is contained in:
Daniel Rodriguez 2022-08-10 13:34:55 +00:00
commit 622a9523f8
1 changed files with 2 additions and 0 deletions

View File

@ -257,6 +257,8 @@ sub data_consumer ($$) {
process_xml_server ($self->getConfig (), $file_name, $xml_data, $self->getDBH ());
} elsif (defined($xml_data->{'connection_source'})) {
enterprise_hook('process_xml_connections', [$self->getConfig (), $file_name, $xml_data, $self->getDBH ()]);
} elsif (defined($xml_data->{'ipam_source'})) {
enterprise_hook('process_xml_ipam', [$self->getConfig (), $file_name, $xml_data, $self->getDBH ()]);
} elsif (defined($xml_data->{'network_matrix'})){
process_xml_matrix_network(
$self->getConfig(), $xml_data, $self->getDBH()