Infoblox::Grid::Member::Discovery::VRF - Object represents the relation between network view and the virtual network membership.


NAME

Infoblox::Grid::Member::Discovery::VRF - Object represents the relation between network view and the virtual network membership.


DESCRIPTION

This object is used to represents relation between network view and the virtual network membership. Object is read-only.


SESSION METHODS

Infoblox::Session->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.

Key References

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

Returns Virtual network membership object.

Example
  #Get VRF object with the name 'VRF1'
  my $vrf_obj = $session->get(
      object  => "Infoblox::Grid::Member::Discovery::VRF" ,
      name    => 'VRF1'
  );

Infoblox::Session->search()

Use this method to search for a virtual network objects in the Infoblox appliance. See Infoblox::Session->search() for parameters and return values.

Key References
 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

Returns Virtual network membership object(s).

Example
  # 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'
  );


METHODS

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.

Parameter

None

Returns

The method returns the attribute value.

Example
  #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.

Parameter

None

Returns

The returned string contains name network view. This is a read-only attribute.

Example
  #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.

Parameter

None

Returns

The method returns the attribute value.

Example
  #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.

Parameter

None

Returns

The method returns the attribute value.

Example
  #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.

Parameter

None

Returns

The valid return value is an Infoblox::Grid::Discovery::Device partial object.

Example
  #Get VRF device
  my $vrf_device = $vrf->device();


AUTHOR

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


SEE ALSO

Infoblox::Grid::Discovery::Device Infoblox::Session, Infoblox::Session->get(), Infoblox::Session->search()


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.