Class: Ansible::Ruby::Modules::Junos_vrf
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_vrf
- 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
-
#active ⇒ Boolean?
Specifies whether or not the configuration is active or deactivated.
-
#aggregate ⇒ Array<Hash>, ...
The set of VRF definition objects to be configured on the remote JUNOS device.
-
#description ⇒ String?
Provides a short description of the VRF definition in the current active configuration.
-
#interfaces ⇒ Array<String>, ...
Identifies the set of interfaces that should be configured in the VRF.
-
#name ⇒ String?
The name of the VRF definition to be managed on the remote IOS device.
-
#rd ⇒ String?
The router-distinguisher value uniquely identifies the VRF to routing processes on the remote IOS system.
-
#state ⇒ :present, ...
Configures the state of the VRF definition as it relates to the device operational configuration.
-
#table_label ⇒ Symbol?
Causes JUNOS to allocate a VPN label per VRF rather than per VPN FEC.
-
#target ⇒ String?
It configures VRF target community configuration.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#active ⇒ Boolean?
Returns 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 |
#aggregate ⇒ Array<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.
36 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 36 attribute :aggregate |
#description ⇒ String?
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.
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 16 attribute :description |
#interfaces ⇒ Array<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.
24 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 24 attribute :interfaces |
#name ⇒ String?
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.
12 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 12 attribute :name |
#rd ⇒ String?
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.
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.
40 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 40 attribute :state |
#table_label ⇒ Symbol?
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.
32 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 32 attribute :table_label |
#target ⇒ String?
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.
28 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vrf.rb', line 28 attribute :target |