Class: Ansible::Ruby::Modules::Sros_rollback

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

Overview

Configure the rollback feature on remote Nokia devices running the SR OS operating system. this module provides a stateful implementation for managing the configuration of the rollback feature

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

#local_max_checkpointsObject?

Returns The I(local_max_checkpoints) argument configures the maximum number of rollback files that can be saved on the devices local compact flash. Valid values for this argument are in the range of 1 to 50.

Returns:

  • (Object, nil)

    The I(local_max_checkpoints) argument configures the maximum number of rollback files that can be saved on the devices local compact flash. Valid values for this argument are in the range of 1 to 50



19
# File 'lib/ansible/ruby/modules/generated/network/sros/sros_rollback.rb', line 19

attribute :local_max_checkpoints

#remote_max_checkpointsObject?

Returns The I(remote_max_checkpoints) argument configures the maximum number of rollback files that can be transferred and saved to a remote location. Valid values for this argument are in the range of 1 to 50.

Returns:

  • (Object, nil)

    The I(remote_max_checkpoints) argument configures the maximum number of rollback files that can be transferred and saved to a remote location. Valid values for this argument are in the range of 1 to 50



16
# File 'lib/ansible/ruby/modules/generated/network/sros/sros_rollback.rb', line 16

attribute :remote_max_checkpoints

#rescue_locationObject?

Returns The I(rescue_location) specifies the location of the rescue file. This argument supports any valid local or remote URL as specified in SR OS.

Returns:

  • (Object, nil)

    The I(rescue_location) specifies the location of the rescue file. This argument supports any valid local or remote URL as specified in SR OS



22
# File 'lib/ansible/ruby/modules/generated/network/sros/sros_rollback.rb', line 22

attribute :rescue_location

#rollback_locationString?

Returns The I(rollback_location) specifies the location and filename of the rollback checkpoint files. This argument supports any valid local or remote URL as specified in SR OS.

Returns:

  • (String, nil)

    The I(rollback_location) specifies the location and filename of the rollback checkpoint files. This argument supports any valid local or remote URL as specified in SR OS



12
# File 'lib/ansible/ruby/modules/generated/network/sros/sros_rollback.rb', line 12

attribute :rollback_location

#state:present, ...

Returns The I(state) argument specifies the state of the configuration entries in the devices active configuration. When the state value is set to C(true) the configuration is present in the devices active configuration. When the state value is set to C(false) the configuration values are removed from the devices active configuration.

Returns:

  • (:present, :absent, nil)

    The I(state) argument specifies the state of the configuration entries in the devices active configuration. When the state value is set to C(true) the configuration is present in the devices active configuration. When the state value is set to C(false) the configuration values are removed from the devices active configuration.



25
# File 'lib/ansible/ruby/modules/generated/network/sros/sros_rollback.rb', line 25

attribute :state