Add support for IPAM XML files.

The Data Server can now process IPAM data coming from Satellite Servers
through XML files.
This commit is contained in:
Ramon Novoa 2022-08-08 13:50:25 +02:00
parent ca73c60579
commit f198e37876
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()