Class: Ansible::Ruby::Modules::Eos_static_route

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

Overview

This module provides declarative management of static IP routes on Arista EOS 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

#addressString

Returns Network address with prefix of the static route.

Returns:

  • (String)

    Network address with prefix of the static route.



12
# File 'lib/ansible/ruby/modules/generated/network/eos/eos_static_route.rb', line 12

attribute :address

#admin_distanceInteger?

Returns Admin distance of the static route.

Returns:

  • (Integer, nil)

    Admin distance of the static route.



20
# File 'lib/ansible/ruby/modules/generated/network/eos/eos_static_route.rb', line 20

attribute :admin_distance

#aggregateArray<Hash>, ...

Returns List of static route definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of static route definitions



24
# File 'lib/ansible/ruby/modules/generated/network/eos/eos_static_route.rb', line 24

attribute :aggregate

#next_hopString

Returns Next hop IP of the static route.

Returns:

  • (String)

    Next hop IP of the static route.



16
# File 'lib/ansible/ruby/modules/generated/network/eos/eos_static_route.rb', line 16

attribute :next_hop

#state:present, ...

Returns State of the static route configuration.

Returns:

  • (:present, :absent, nil)

    State of the static route configuration.



28
# File 'lib/ansible/ruby/modules/generated/network/eos/eos_static_route.rb', line 28

attribute :state