Class: Ansible::Ruby::Modules::Nxos_evpn_vni

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

Overview

Manages Cisco Ethernet Virtual Private Network (EVPN) VXLAN Network Identifier (VNI) configurations of a Nexus device.

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

#route_distinguisherString

Returns The VPN Route Distinguisher (RD). The RD is combined with the IPv4 or IPv6 prefix learned by the PE router to create a globally unique address.

Returns:

  • (String)

    The VPN Route Distinguisher (RD). The RD is combined with the IPv4 or IPv6 prefix learned by the PE router to create a globally unique address.



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_evpn_vni.rb', line 16

attribute :route_distinguisher

#route_target_bothString?

Returns Enables/Disables route-target settings for both import and export target communities using a single property.

Returns:

  • (String, nil)

    Enables/Disables route-target settings for both import and export target communities using a single property.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_evpn_vni.rb', line 20

attribute :route_target_both

#route_target_exportString?

Returns Sets the route-target ‘export’ extended communities.

Returns:

  • (String, nil)

    Sets the route-target ‘export’ extended communities.



28
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_evpn_vni.rb', line 28

attribute :route_target_export

#route_target_importArray<String>, ...

Returns Sets the route-target ‘import’ extended communities.

Returns:

  • (Array<String>, String, nil)

    Sets the route-target ‘import’ extended communities.



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_evpn_vni.rb', line 24

attribute :route_target_import

#state:present, ...

Returns Determines whether the config should be present or not on the device.

Returns:

  • (:present, :absent, nil)

    Determines whether the config should be present or not on the device.



32
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_evpn_vni.rb', line 32

attribute :state

#vniInteger

Returns The EVPN VXLAN Network Identifier.

Returns:

  • (Integer)

    The EVPN VXLAN Network Identifier.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_evpn_vni.rb', line 12

attribute :vni