Class: Ansible::Ruby::Modules::Nxos_static_route
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_static_route
- Defined in:
- lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb
Overview
Manages static route configuration
Instance Method Summary collapse
-
#aggregate ⇒ Object?
List of static route definitions.
-
#next_hop ⇒ String
Next hop address or interface of static route.
-
#pref ⇒ Integer?
Preference or administrative difference of route (range 1-255) or keyword ‘default’.
-
#prefix ⇒ String
Destination prefix of static route.
-
#route_name ⇒ String?
Name of the route or keyword ‘default’.
-
#state ⇒ :present, ...
Manage the state of the resource.
-
#tag ⇒ Object?
Route tag value (numeric) or keyword ‘default’.
-
#vrf ⇒ String?
VRF for static route.
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
#aggregate ⇒ Object?
Returns List of static route definitions.
35 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 35 attribute :aggregate |
#next_hop ⇒ String
Returns Next hop address or interface of static route. If interface, it must be the fully-qualified interface name.
16 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 16 attribute :next_hop |
#pref ⇒ Integer?
Returns Preference or administrative difference of route (range 1-255) or keyword ‘default’.
31 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 31 attribute :pref |
#prefix ⇒ String
Returns Destination prefix of static route.
12 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 12 attribute :prefix |
#route_name ⇒ String?
Returns Name of the route or keyword ‘default’. Used with the name parameter on the CLI.
27 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 27 attribute :route_name |
#state ⇒ :present, ...
Returns Manage the state of the resource.
38 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 38 attribute :state |
#tag ⇒ Object?
Returns Route tag value (numeric) or keyword ‘default’.
24 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 24 attribute :tag |
#vrf ⇒ String?
Returns VRF for static route.
20 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 20 attribute :vrf |