Class: Ansible::Ruby::Modules::Junos_vrf

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

Overview

This module provides declarative management of VRF definitions on Juniper JUNOS devices. It allows playbooks to manage individual or the entire VRF collection.

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

#activeBoolean?

Returns Specifies whether or not the configuration is active or deactivated.

Returns:

  • (Boolean, nil)

    Specifies whether or not the configuration is active or deactivated



44
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 44

attribute :active

#aggregateArray<Hash>, ...

Returns The set of VRF definition objects to be configured on the remote JUNOS device. Ths list entries can either be the VRF name or a hash of VRF definitions and attributes. This argument is mutually exclusive with the C(name) argument.

Returns:

  • (Array<Hash>, Hash, nil)

    The set of VRF definition objects to be configured on the remote JUNOS device. Ths list entries can either be the VRF name or a hash of VRF definitions and attributes. This argument is mutually exclusive with the C(name) argument.



36
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 36

attribute :aggregate

#descriptionString?

Returns Provides a short description of the VRF definition in the current active configuration. The VRF definition value accepts alphanumeric characters used to provide additional information about the VRF.

Returns:

  • (String, nil)

    Provides a short description of the VRF definition in the current active configuration. The VRF definition value accepts alphanumeric characters used to provide additional information about the VRF.



16
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 16

attribute :description

#interfacesArray<String>, ...

Returns Identifies the set of interfaces that should be configured in the VRF. Interfaces must be routed interfaces in order to be placed into a VRF.

Returns:

  • (Array<String>, String, nil)

    Identifies the set of interfaces that should be configured in the VRF. Interfaces must be routed interfaces in order to be placed into a VRF.



24
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 24

attribute :interfaces

#nameString?

Returns The name of the VRF definition to be managed on the remote IOS device. The VRF definition name is an ASCII string name used to uniquely identify the VRF. This argument is mutually exclusive with the C(aggregate) argument.

Returns:

  • (String, nil)

    The name of the VRF definition to be managed on the remote IOS device. The VRF definition name is an ASCII string name used to uniquely identify the VRF. This argument is mutually exclusive with the C(aggregate) argument



12
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 12

attribute :name

#rdString?

Returns The router-distinguisher value uniquely identifies the VRF to routing processes on the remote IOS system. The RD value takes the form of C(A:B) where C(A) and C(B) are both numeric values.

Returns:

  • (String, nil)

    The router-distinguisher value uniquely identifies the VRF to routing processes on the remote IOS system. The RD value takes the form of C(A:B) where C(A) and C(B) are both numeric values.



20
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 20

attribute :rd

#state:present, ...

Returns Configures the state of the VRF definition as it relates to the device operational configuration. When set to I(present), the VRF should be configured in the device active configuration and when set to I(absent) the VRF should not be in the device active configuration.

Returns:

  • (:present, :absent, nil)

    Configures the state of the VRF definition as it relates to the device operational configuration. When set to I(present), the VRF should be configured in the device active configuration and when set to I(absent) the VRF should not be in the device active configuration



40
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 40

attribute :state

#table_labelSymbol?

Returns Causes JUNOS to allocate a VPN label per VRF rather than per VPN FEC. This allows for forwarding of traffic to directly connected subnets, COS Egress filtering etc.

Returns:

  • (Symbol, nil)

    Causes JUNOS to allocate a VPN label per VRF rather than per VPN FEC. This allows for forwarding of traffic to directly connected subnets, COS Egress filtering etc.



32
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 32

attribute :table_label

#targetString?

Returns It configures VRF target community configuration. The target value takes the form of C(target:A:B) where C(A) and C(B) are both numeric values.

Returns:

  • (String, nil)

    It configures VRF target community configuration. The target value takes the form of C(target:A:B) where C(A) and C(B) are both numeric values.



28
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 28

attribute :target