mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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:
parent
ca73c60579
commit
f198e37876
@ -257,6 +257,8 @@ sub data_consumer ($$) {
|
|||||||
process_xml_server ($self->getConfig (), $file_name, $xml_data, $self->getDBH ());
|
process_xml_server ($self->getConfig (), $file_name, $xml_data, $self->getDBH ());
|
||||||
} elsif (defined($xml_data->{'connection_source'})) {
|
} elsif (defined($xml_data->{'connection_source'})) {
|
||||||
enterprise_hook('process_xml_connections', [$self->getConfig (), $file_name, $xml_data, $self->getDBH ()]);
|
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'})){
|
} elsif (defined($xml_data->{'network_matrix'})){
|
||||||
process_xml_matrix_network(
|
process_xml_matrix_network(
|
||||||
$self->getConfig(), $xml_data, $self->getDBH()
|
$self->getConfig(), $xml_data, $self->getDBH()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user