Skip to content

rconfig/rConfig-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

170 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


rConfig Logo

rConfig - Templates

Vendors Badge

This repository stores community-submitted connection templates for use with rConfig, including templates for SSH, Telnet, and Script-based device integrations.



🔗 Docs & Contribution


File Structure & Naming Convention

Each template must reside in a directory named after the device vendor:

/cisco/cisco-ios-ssh-enable.yml
/hp/hp-procurve-telnet-noenable.yml

File naming format:

vendorName-modelName-connectionType-enableMode.yml

Example:

cisco-ios-ssh-enable.yml
hp-1920-telnet-noenable.yml

YAML Structure & Descriptors

Each template must start with the following docblock:

# rConfig connection template – DO NOT EDIT DIRECTLY
## Template Notes:
## - All free text values must be wrapped in double quotes: " "
## - Documentation: https://docs.rconfig.com/integrations/script-integration-engine/sie/
## - Community templates and contributions: https://github.com/rconfig/rConfig-templates

main:

Defines the template's label and a brief description.

main:
  name: "Cisco IOS - SSH - Enable"
  desc: "Cisco IOS SSH based connection with enable mode"

connect:

Defines how rConfig connects to the device.

connect:
  timeout: 60          # Seconds until connection timeout
  protocol: ssh        # Protocol (ssh | telnet | script)
  port: 22             # Port number (1-65535)
  isNonInteractiveMode: true  # (Optional) Set true for non-interactive SSH

auth:

Defines authentication and optional elevation behavior.

auth:
  username: "Username:"             # Username prompt
  password: "Password:"             # Password prompt
  enable: on                        # Enable mode: on | off
  enableCmd: "enable"               # Command to enter enable mode
  enablePassPrmpt: "Password:"      # Enable password prompt
  hpAnyKeyStatus: off               # Required for some HP devices
  hpAnyKeyPrmpt: "Press any key to continue"  # 'Press any key' prompt

config:

Commands related to paging, prompt handling, and session control.

config:
  linebreak: "n"                      # Command linebreak type: 'n' or 'r'
  paging: on                          # Disable device paging: on | off
  pagingCmd: "terminal length 0"      # Command to disable paging
  resetPagingCmd: "terminal length 40"  # Command to re-enable paging
  pagerPrompt: ""                     # Pager prompt (leave blank if not needed)
  pagerPromptCmd: ""                  # Keystroke to clear pager (leave blank if not needed)
  saveConfig: "wr mem"                # Save config command
  exitCmd: "quit"                     # Exit session command

options: (Optional)

Advanced settings, used primarily for legacy or VT100-based terminal environments.

options:
  AnsiHost: "yes"                       # Enable ANSI support for VT100 sessions
  setWindowSize: [240, 2048]           # Terminal width and height
  setTerminalDimensions: [260, 1000]   # ANSI screen dimensions

✅ Submission Guidelines

  • ✅ Use consistent spacing and quotes for all free text fields.
  • ✅ Remove pagerPrompt and pagerPromptCmd if not required.
  • ❌ Do not include unused or commented-out keys.
  • ✅ Test templates before submitting.

Thanks for helping grow the rConfig community! If you have questions or suggestions, feel free to open an issue or join the discussion.

Let me know if you'd like this in a .md file or if you're ready to update template validation scripts or directory structure too.

About

a repo to store community submitted connection templates for rConfig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors