SRE / sysreseval Documentation¶
Utilisation
Authoring Labs
- Lab Authoring Guide
- The authoring workflow on the CLI
- Identifying a running lab and where its files live
- The four classes at a glance
DataclassFlavorclassNetSchemeclass- State methods
Gradeclass- Grading Library Reference
- DHCP helpers (from
/opt/sre/lib/dhcp.py) - TLS helpers (from
/opt/sre/lib/tls.py) - TCP port helpers (from
/opt/sre/lib/grade_helpers.py) - OSPF helpers (from
/opt/sre/lib/frr.py) - Standard machine wiring (from
/opt/sre/lib/std.py) - Miscellaneous generators (from
/opt/sre/lib/utils.py) - Network inspection helpers (from
/opt/sre/lib/net_config.py) - Ping helper (from
/opt/sre/lib/ping.py) - SSH helpers (from
/opt/sre/lib/ssh.py) - Packet capture helpers (from
/opt/sre/lib/pcap_gen.py)
- DHCP helpers (from
- Module-level Attributes
- Complete Minimal Example
- Translating a Lab
Installation and Setup
Reference
- GUI Reference —
sysreseval - CLI Reference —
sre- Global options
- Dual commands
sre start [-d data] [-p] [--flavor … | --flavor-json … | --set-flavor-name …] [--xauth-file <file>] <lab> [data_version]sre stop <running_lab>sre wipesre connect [--shell <shell>] [--exec <argument…>] [--no-records] <running_lab> <device>sre eval [-p path] [--auto-eval] <running_lab>sre state <running_lab> <state_name>
- Admin-only commands
sre exec [--shell <shell>] <running_lab> <device> <command…>sre eval-all [--display-grades / --no-display-grades]sre check [-p] <lab> [<state>]sre watch [--timeout <sec>] [--interval <sec>] <dir…>sre preload-images [--random-delay <sec>] <file_or_dir…>sre make-titles [-o <file> | -r] <directory>
- Exam management
- Post-exam management
sre cat [options] <file…>sre check-eval [-s <srelab>] <file…>sre re-eval -s <srelab> -p <prefix> [-d <outdir>] [-r] <file_or_dir…>sre sheet -o <output.ods> [-r] <file_or_dir…>sre outline [-o <summary.ods>] [-d <pdf_dir>] [-r] [--lang <lang>] [--no-timeline] [--remaining-time] [--users-file <file>] <file_or_dir…>
- Internal commands (GUI-only)
- Exam Reference
- Runtime & Internals