Infoblox::Grid::Member::Discovery::VRF - Object represents the relation between network view and the virtual network membership.
This object is used to represents relation between network view and the virtual network membership. Object is read-only.
get()
Use this method to retrieve all the matching virtual network objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.
Apply the following attributes to get a specific virtual network objects:
name - Optional. A name in string format. description - Optional. A description in string format. route_distinguisher - Optional. Route distinguisher associated with the VRF in sting format. network_view - Optional. Name of the network view associated with the VRF in sting format.
Returns Virtual network membership object.
#Get VRF object with the name 'VRF1' my $vrf_obj = $session->get( object => "Infoblox::Grid::Member::Discovery::VRF" , name => 'VRF1' );
search()
Use this method to search for a virtual network objects in the Infoblox appliance. See Infoblox::Session->search() for parameters and return values.
Apply the following attributes to search for a virtual network object:
name - Optional. A name in string format (regular expression). description - Optional. A description in string format (regular expression). route_distinguisher - Optional. Route distinguisher associated with the VRF in sting format. network_view - Optional. Name of the network view associated with the VRF in sting format.
Returns Virtual network membership object(s).
# Get all VRFs my @all_vrfs = $session->search( object => 'Infoblox::Grid::Member::Discovery::VRF', name => '^.*$' ); # Get vrf by Route distinguisher my $vrf = $session->search( object => 'Infoblox::Grid::Member::Discovery::VRF', route_distinguisher => '123:500' );
This section describes all the methods that can be used to retrieve values from VRF object.
name()
Use this method to retrieve name associated with the VRF. This is a read-only attribute.
None
The method returns the attribute value.
#Get VRF name my $vrf_name = $vrf->name();
network_view()
Use this method to retrieve name of network view associated with the VRF. This is a read-only attribute.
None
The returned string contains name network view. This is a read-only attribute.
#Get VRF network view name my $vrf_nv = $vrf->network_view();
route_distinguisher()
Use this method to retrieve route distinguisher associated with the VRF. This is a read-only attribute.
None
The method returns the attribute value.
#Get VRF route distinguisher my $vrf_rd = $vrf->route_distinguisher();
description()
Use this method to retrieve description associated with the VRF. This is a read-only attribute.
None
The method returns the attribute value.
#Get VRF description my $vrf_desc = $vrf->description();
device()
Use this method to retrieve Infoblox::Grid::Discovery::Device object from which this VRF membership configuration was collected. This is a read-only attribute.
None
The valid return value is an Infoblox::Grid::Discovery::Device partial object.
#Get VRF device my $vrf_device = $vrf->device();
Infoblox Inc. http://www.infoblox.com/
Infoblox::Grid::Discovery::Device Infoblox::Session, Infoblox::Session->get(), Infoblox::Session->search()
Copyright (c) 2017 Infoblox Inc.