Sindbad~EG File Manager

Current Path : /opt/imh-python/lib/python3.9/site-packages/ntc_templates/templates/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/ntc_templates/templates/cisco_ios_show_boot.textfsm

Value SWITCH_NUMBER (\d+)
Value BOOT_PATH (\S+)
Value CONFIG_FILE (\S+)
Value PRIV_CONFIG_FILE (\S+)
Value ENABLE_BREAK (yes|no)
Value MANUAL_BOOT (yes|no)
Value ALLOW_DEV_KEY (yes|no)
Value HELPER_PATH_LIST (\S+)
Value AUTO_UPGRADE (yes|no)
Value AUTO_UPGRADE_PATH (\S+)
Value BUFFER_SIZE (\d+)
Value TIMEOUT_CONFIG_DOWNLOAD (\d+)
Value CONFIG_DOWNLOAD_DHCP (enabled|disabled)
Value CONFIG_DOWNLOAD_DHCP_NEXT_BOOT (enabled|disabled)
Value BOOT_MODE (\S+)
Value BOOT_OPTIMIZATION (\S+)
Value CURRENT_BOOT_VARIABLES (BOOT\s*variable\s*does\s*not\s*exist|BOOT\s*variable\s*=\s*\S+)

Start
  ^.+show\s+boot
  ^Current\s*Boot\s*Variables: -> CurrentBootVariables
  ^Switch\s+${SWITCH_NUMBER}
  ^BOOT\s+(path-list|variable)\s+(:|=)\s+${BOOT_PATH}
  ^Config\s+file\s+:\s+${CONFIG_FILE}
  ^Private\s+Config\s+file\s+:\s+${PRIV_CONFIG_FILE}
  ^Enable\s+Break\s+(:|=)\s+${ENABLE_BREAK}
  ^Manual\s+Boot\s+(:|=)\s+${MANUAL_BOOT}
  ^Allow\s+Dev\s+Key\s+:\s+${ALLOW_DEV_KEY}
  ^HELPER\s+path-list\s+:.*
  ^Auto\s+upgrade\s+:\s+${AUTO_UPGRADE}
  ^Auto\s+upgrade\s+path\s+:.*
  ^NVRAM/Config\s+file
  ^\s*buffer\s+size:\s+${BUFFER_SIZE}
  ^iPXE\s*Timeout\s*=\s*${TIMEOUT_CONFIG_DOWNLOAD}
  ^Timeout\s+for\s+Config
  ^\s*Download:\s+${TIMEOUT_CONFIG_DOWNLOAD}
  ^\s*Config\s+Download
  ^\s*via\s+DHCP:\s+${CONFIG_DOWNLOAD_DHCP}\s\(next\sboot:\s${CONFIG_DOWNLOAD_DHCP_NEXT_BOOT}
  # Capture time-stamp if vty line has command time-stamping turned on
  ^Load\s+for\s+
  ^Time\s+source\s+is
  ^Boot\s*Mode\s*=\s*${BOOT_MODE}
  ^Boot\s+optimization\s+:\s+${BOOT_OPTIMIZATION}
  ^\s*$$
  ^-+
  ^. -> Error
  
CurrentBootVariables
  ^${CURRENT_BOOT_VARIABLES}
  ^Boot\s*Variables\s*on\s*next\s*reload: -> Start
  ^. -> Error

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists