Infoblox::DTC - A DTC functions.


NAME

Infoblox::DTC - A DTC functions.


DESCRIPTION

The object provides access to DTC functions.


CONSTRUCTOR

 my $dtc = Infoblox::DTC->new(
    'session' => $session,      # Required
 );


SESSION METHODS

The object does not support any session methods.


METHODS

query( )

Use this method to perform a DTC query on a given member.

Parameter

Valid value is an Infoblox::DTC::Query::Parameters object.

Returns

The method returns an Infoblox::DTC::Query::Response object when operation succeeds, and returns 'false' when the operation fails.

Example
 #perform DTC query
 my $response = $dtc->query($params);

import_maxminddb( )

Use this method to upload the MaxMind database.

Key Reference
 Apply the following attribute to upload a MaxMind Database:
     path - Required. The path to a tar archive that contains the MaxMind database.
Returns

The method returns "true" when an upload of a MaxMind Database has been performed successfully, and returns "false" when the operation fails.

Example
 #upload MaxMind DB
 my $res = $dtc->import_maxminddb(path => $path_to_maxminddb);

add_certificate( )

Use this method to upload a DTC certificate.

Key Reference
 Apply the following attribute to upload a DTC certificate:
     
    path - Required. The path to the DTC certificate file.
Returns

The method returns 'true' when the upload of a DTC certificate has been performed successfully, and returns 'false' when the operation fails.

Example
 #add certificate with a path given
 my $res = $dtc->add_certificate(path => $path_to_cert);


SEE ALSO

Infoblox::DTC::Query::Parameters.


AUTHOR

Infoblox Inc. http://www.infoblox.com/


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.