Class: Ansible::Ruby::Modules::Nxos_static_route

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

Overview

Manages static route configuration

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

#aggregateObject?

Returns List of static route definitions.

Returns:

  • (Object, nil)

    List of static route definitions



35
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 35

attribute :aggregate

#next_hopString

Returns Next hop address or interface of static route. If interface, it must be the fully-qualified interface name.

Returns:

  • (String)

    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

#prefInteger?

Returns Preference or administrative difference of route (range 1-255) or keyword ‘default’.

Returns:

  • (Integer, nil)

    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

#prefixString

Returns Destination prefix of static route.

Returns:

  • (String)

    Destination prefix of static route.



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

attribute :prefix

#route_nameString?

Returns Name of the route or keyword ‘default’. Used with the name parameter on the CLI.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



38
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_static_route.rb', line 38

attribute :state

#tagObject?

Returns Route tag value (numeric) or keyword ‘default’.

Returns:

  • (Object, nil)

    Route tag value (numeric) or keyword ‘default’.



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

attribute :tag

#vrfString?

Returns VRF for static route.

Returns:

  • (String, nil)

    VRF for static route.



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

attribute :vrf