Infoblox::Grid::Discovery::VRFMappingRule - VRF mapping rule.


NAME

Infoblox::Grid::Discovery::VRFMappingRule - VRF mapping rule.


DESCRIPTION

The object provides mapping of regular expressions that represent the VRF name and network view.


CONSTRUCTOR

 my $object = Infoblox::Grid::Discovery::VRFMappingRule->new(
    'network_view'     => $string,    # Required
    'criteria'         => $string,    # Required
    'comment'          => $string,    # Optional
 );


SESSION METHODS

The object does not support any session methods.


METHODS

This section describes all the methods that you can use to set or retrieve the attribute values of the object.

network_view( )

Use this method to set or retrieve the name of the network view associated with the VRF mapping rule.

Parameter

The name of the network view associated with the VRF mapping rule.

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 = $object->network_view();
 # Modify attribute value
 $object->network_view('default');

criteria( )

Use this method to set or retrieve the criteria of the VRF mapping rule.

Parameter

Extended POSIX regular expression matching the VRF name. The regular expression string should contain the leading caret anchor ^ and the trailing dollar anchor $ symbols.

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 = $object->criteria();
 # Modify attribute value
 $object->criteria('.*+Red\d');

comment( )

Use this method to set or retrieve the comment for the VRF mapping rule.

Parameter

The comment in string format.

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 = $object->comment();
 # Modify attribute value
 $object->comment('comment');


AUTHOR

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


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.