Method of Procedures
Define structured operational procedures with approval workflows.
Overview
Method of Procedures (MOPs) define step-by-step operational tasks with built-in approval workflows, rollback capabilities, and execution tracking.
- Define steps with success/failure paths
- Require approval before execution
- Include rollback commands
- Track execution history
MOP Steps
| Step Type | Description |
|---|---|
| SSH Command | Execute command on device |
| Delay | Wait specified time |
| Validation | Run Python validation script |
| HTTP Request | Call external API |
| Send notification | |
| Log | Record message to MOP log |
Creating MOPs
- Navigate to Automation → MOPs
- Click New MOP
- Enter name and description
- Add steps using visual builder or YAML
- Define rollback steps
- Configure approval requirements
- Click Save
name: BGP Maintenance
steps:
- type: ssh_command
name: Disable BGP peer
command: "neighbor {{ peer_ip }} shutdown"
rollback: "no neighbor {{ peer_ip }} shutdown"
- type: delay
seconds: 30
- type: validation
script: verify_bgp_down.py
- type: ssh_command
name: Apply changes
command: "{{ maintenance_commands }}"
- type: ssh_command
name: Re-enable BGP
command: "no neighbor {{ peer_ip }} shutdown"