Module: Junos::Ez::RE

Defined in:
lib/junos-ez/utils/re.rb

Overview


This file contains routing-engine utility methods. These are a misc. collection of methods that perform basic automation tasks like upgrading software or getting process information. The following lists the methods and the equivalent Junos CLI commands

  • status show chassis routing-engine

  • uptime show system uptime

  • system_alarms show system alarms

  • chassis_alarms show chassis alarms

  • memory show system memeory

  • users show system users

  • software_install! request system software add

  • software_rollback! request system software rollback

  • software_validate? request system software validate

  • software_images - provides image file names for current/rollback

  • license_install! request system license add !! TBD !!

  • license_rm! request system license delete

  • license_save request system license save !! TBD !!

  • licenses show system license

  • reboot!: request system reboot (no confirm!!)

  • shutdown!: request system power-off (no confirm!!)


Defined Under Namespace

Classes: Provider

Class Method Summary collapse

Class Method Details

.Utils(ndev, varsym) ⇒ Object



33
34
35
36
# File 'lib/junos-ez/utils/re.rb', line 33

def self.Utils( ndev, varsym )            
  newbie = Junos::Ez::RE::Provider.new( ndev )      
  Junos::Ez::Provider.attach_instance_variable( ndev, varsym, newbie )    
end