Class: Ansible::Ruby::Modules::Net_vrf

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/layer3/net_vrf.rb

Overview

This module provides declarative management of VRFs on network devices.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#aggregateArray<Hash>, ...

Returns List of VRFs definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of VRFs definitions



19
# File 'lib/ansible/ruby/modules/generated/network/layer3/net_vrf.rb', line 19

attribute :aggregate

#interfacesObject?

Returns List of interfaces the VRF should be configured on.

Returns:

  • (Object, nil)

    List of interfaces the VRF should be configured on.



16
# File 'lib/ansible/ruby/modules/generated/network/layer3/net_vrf.rb', line 16

attribute :interfaces

#nameString?

Returns Name of the VRF.

Returns:

  • (String, nil)

    Name of the VRF.



12
# File 'lib/ansible/ruby/modules/generated/network/layer3/net_vrf.rb', line 12

attribute :name

#purgeBoolean?

Returns Purge VRFs not defined in the I(aggregate) parameter.

Returns:

  • (Boolean, nil)

    Purge VRFs not defined in the I(aggregate) parameter.



23
# File 'lib/ansible/ruby/modules/generated/network/layer3/net_vrf.rb', line 23

attribute :purge

#state:present, ...

Returns State of the VRF configuration.

Returns:

  • (:present, :absent, nil)

    State of the VRF configuration.



27
# File 'lib/ansible/ruby/modules/generated/network/layer3/net_vrf.rb', line 27

attribute :state