Class: Ansible::Ruby::Modules::Vyos_static_route

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

Overview

This module provides declarative management of static IP routes on Vyatta VyOS 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, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#admin_distanceObject?

Returns Admin distance of the static route.

Returns:

  • (Object, nil)

    Admin distance of the static route.



24
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 24

attribute :admin_distance

#aggregateArray<Hash>, ...

Returns List of static route definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of static route definitions



27
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 27

attribute :aggregate

#maskInteger?

Returns Network prefix mask of the static route.

Returns:

  • (Integer, nil)

    Network prefix mask of the static route.



16
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 16

attribute :mask

#next_hopString?

Returns Next hop IP of the static route.

Returns:

  • (String, nil)

    Next hop IP of the static route.



20
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 20

attribute :next_hop

#prefixString?

Returns Network prefix of the static route. C(mask) param should be ignored if C(prefix) is provided with C(mask) value C(prefix/mask).

Returns:

  • (String, nil)

    Network prefix of the static route. C(mask) param should be ignored if C(prefix) is provided with C(mask) value C(prefix/mask).



12
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 12

attribute :prefix

#state:present, ...

Returns State of the static route configuration.

Returns:

  • (:present, :absent, nil)

    State of the static route configuration.



31
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 31

attribute :state