Skip to content

Instantly share code, notes, and snippets.

@hellt
Created July 10, 2022 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellt/1eee1024bc1cb3121aaeac199d48663a to your computer and use it in GitHub Desktop.
Save hellt/1eee1024bc1cb3121aaeac199d48663a to your computer and use it in GitHub Desktop.
checkpoint_cloudguard scrapli platform
---
default:
driver-type: "network"
privilege-levels:
configuration:
name: "configuration"
pattern: '(?im)^[\w.\-@/:]{1,63}>\s*$'
previous-priv: ""
deescalate: ""
escalate: ""
escalate-auth: false
escalate-prompt:
default-desired-privilege-level: "configuration"
failed-when-contains:
- "CLINFR"
- "NMSETH"
- "Upgrade is still running. Log in to the Status and Actions page to see the progress"
- "Unable to get user permissions"
- "You can't start interactive session from another interactive session"
- "command not found"
textfsm-platform: "" # ignored in go because no ntc-templates
network-on-open:
- operation: "acquire-priv" # targets default desired priv by default
network-on-close:
- operation: "acquire-priv"
- operation: "channel.write"
input: "exit"
- operation: "channel.return"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment