Infoblox::DHCP::FilterRule::Fingerprint - DHCP Fingerprint Filter Rule object.


NAME

Infoblox::DHCP::FilterRule::Fingerprint - DHCP Fingerprint Filter Rule object.


DESCRIPTION

DHCP Fingerprint Filter Rule object.


CONSTRUCTOR

 my $filter_rule = Infoblox::DHCP::FilterRule::Fingerprint->new(
       filter_name   => $string,          #Required
       permission    => "grant" | "deny", #Required
 );


MODULE METHODS

The following functions are available to apply to a DHCP Fingerprint Filter Rule object.

Infoblox::DHCP::Range->filters( )

Use this method to add a DHCP fingerprint Filter Rule object to the DHCP Range on the Infoblox appliance. See Infoblox::DHCP::Range->filters() for parameters and return values.

Example
 #Construct a DHCP Fingerprint Filter Rule object
 my $filter_rule = Infoblox::DHCP::FilterRule::Fingerprint->new(
       filter_name   => "filter",
       permission    => "grant",
 );
 #Add Fingerprint Filter Rule to the DHCP Range object.
 my $response = $dhcp_range->filters([$filter_rule]);

Infoblox::DHCP::RangeTemplate->filters( )

Use this method to add a DHCP fingerprint Filter Rule object to the DHCP Range Template on the Infoblox appliance. See Infoblox::DHCP::RangeTemplate->filters() for parameters and return values.

Example
 #Construct a DHCP Fingerprint Filter Rule object
 my $filter_rule = Infoblox::DHCP::FilterRule::Fingerprint->new(
       filter_name   => "filter",
       permission    => "grant",
 );
 #Add Fingerprint Filter Rule to the DHCP Range Template object.
 my $response = $dhcp_range_template->filters([$filter_rule]);


METHODS

This section describes all the methods that can be used to set and retrieve the attribute values of a DHCP Fingerprint Filter Rule object.

filter_name( )

Use this method to set or retrieve the filter_name of a DHCP Fingerprint Filter Rule object.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

Name of the DHCP Fingerprint filter. Maximum length up to 1024 bytes is supported.

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 filter_name
 my $filter_name = $filter_rule->filter_name();
 #Modify filter_name
 $filter_rule->filter_name("fingerprint filter");

permission( )

Use this method to set or retrieve the permission of a DHCP Fingerprint Filter Rule object.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

Specify the permission in string format. The permission can be either "grant" or "deny".

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 permission
 my $permission = $filter_rule->permission();
 #Modify permission
 $filter_rule->permission("deny");


AUTHOR

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


SEE ALSO

Infoblox::DHCP::Fingerprint, Infoblox::DHCP::Filter::Fingerprint, Infoblox::DHCP::Range, Infoblox::DHCP::RangeTemplate


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.