Infoblox::Discovery::NetworkDeprovisionInfo - Network deprovision information.


NAME

Infoblox::Discovery::NetworkDeprovisionInfo - Network deprovision information.


DESCRIPTION

The object provides information about network deprovision.


CONSTRUCTOR

 my $object = Infoblox::Discovery::NetworkDeprovisionInfo->new(
    'interface'         => $interface,      # Required
    'network'           => $network,        # Required
    'network_view'      => $address/cidr,   # Optional, default value is the default network view
 );


SESSION METHODS

The object does not support any session methods.


METHODS

interface( )

Use this method to set or retrieve the interface object.

Parameter

Valid value is an Infoblox::Grid::Discovery::DeviceInterface object.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get interface value
 $value = $deprovision_info->interface();
 #Set interface value
 $deprovision_info->interface($interface);

network( )

Use this method to set or retrieve the network address.

Parameter

Valid value is a string representing the address and netmask of the network in CIDR format (example: 10.0.0.0/8).

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get attribute value
 my $value = $deprovision_info->network();
 #Set attribute value
 $deprovision_info->network("10.0.0.0/8");

network_view( )

Use this method to set or retrieve the network view name.

Parameter

Valid value is a string representing network view name.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get attribute value
 my $value = $deprovision_info->network_view();
 #Set attribute value
 $deprovision_info->network_view($view);


AUTHOR

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


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.