Edit and validate¶
Desired state is the files on disk: topology.yml and configs/ under the active lab. The sidebar Validate command checks that project against live templates.
Edit¶
- Select the lab in the EVE IaC tree so it is active.
- Open
topology.ymland config files from that lab directory (not the workspace root). - Use template-backed interface names. The editor completions and Validate both reject guessed names.
VPCS startup files are VPCS scripts (ip, dhcp, pcname). They are not Cisco CLI. Validate rejects set ip, instance numbers 1-9, and Cisco syntax in VPCS files.
SR Linux docker startup files must be JSON for /etc/opt/srlinux/config.json. Validate does not parse that JSON — wrong JSON still boots FACTORY.
Validate¶
Run Validate from the sidebar or command palette. Fix every diagnostic before deploy.
Validate is cheap compared with deploy. Use it after every topology or config edit.
LOAD labs are observation-only for topology. Do not expect Validate to “own” a loaded lab’s YAML the way CREATE does.
Next: Plan and deploy.