Class: Ansible::Ruby::Modules::Vyos_static_route
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vyos_static_route
- 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
-
#admin_distance ⇒ Object?
Admin distance of the static route.
-
#aggregate ⇒ Array<Hash>, ...
List of static route definitions.
-
#mask ⇒ Integer?
Network prefix mask of the static route.
-
#next_hop ⇒ String?
Next hop IP of the static route.
-
#prefix ⇒ String?
Network prefix of the static route.
-
#state ⇒ :present, ...
State of the static route 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
#admin_distance ⇒ Object?
Returns Admin distance of the static route.
24 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 24 attribute :admin_distance |
#aggregate ⇒ Array<Hash>, ...
Returns List of static route definitions.
27 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 27 attribute :aggregate |
#mask ⇒ Integer?
Returns 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_hop ⇒ String?
Returns 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 |
#prefix ⇒ String?
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).
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.
31 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_static_route.rb', line 31 attribute :state |