Method: Rbeapi::Client::Node#startup_config

Defined in:
lib/rbeapi/client.rb

#startup_configString

Provides access to the nodes startup-configuration. This is a lazily loaded memoized property for working with the nodes startup config.

Returns:

  • The node’s startup-config as a string.



323
324
325
326
# File 'lib/rbeapi/client.rb', line 323

def startup_config
  return @startup_config if @startup_config
  @startup_config = get_config(config: 'startup-config', as_string: true)
end