Class: Ansible::Ruby::Modules::Junos_static_route

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

Overview

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

#activeBoolean?

Returns Specifies whether or not the configuration is active or deactivated.

Returns:

  • (Boolean, nil)

    Specifies whether or not the configuration is active or deactivated



40
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_static_route.rb', line 40

attribute :active

#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/junos/junos_static_route.rb', line 12

attribute :address

#aggregateArray<Hash>, ...

Returns List of static route definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of static route definitions



32
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_static_route.rb', line 32

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/junos/junos_static_route.rb', line 16

attribute :next_hop

#preferenceInteger?

Returns Global admin preference of the static route.

Returns:

  • (Integer, nil)

    Global admin preference of the static route.



24
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_static_route.rb', line 24

attribute :preference

#qualified_next_hopString?

Returns Qualified next hop IP of the static route. Qualified next hops allow to associate preference with a particular next-hop address.

Returns:

  • (String, nil)

    Qualified next hop IP of the static route. Qualified next hops allow to associate preference with a particular next-hop address.



20
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_static_route.rb', line 20

attribute :qualified_next_hop

#qualified_preferenceInteger?

Returns Assign preference for qualified next hop.

Returns:

  • (Integer, nil)

    Assign preference for qualified next hop.



28
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_static_route.rb', line 28

attribute :qualified_preference

#state:present, ...

Returns State of the static route configuration.

Returns:

  • (:present, :absent, nil)

    State of the static route configuration.



36
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_static_route.rb', line 36

attribute :state