r/networkautomation • • 5d ago

Free browser Sandbox to test Python network automation on routers and switches (no sign-up)

Hey, I'm Elwin. We built a network sandbox that runs in the browser, and we honestly need some feedback on the automation side.

You can place routers, switches, and PCs, connect them, and jump into a Linux server with Python to run scripts against the network without installing anything locally.

It's free and needs no sign-up: https://pingmynetwork.com/sandbox

Let me know if anything breaks, what Python packages are missing on the Linux box, or what you'd want added.

Thank you!

9 Upvotes

5 comments sorted by

4

u/expertisimus 5d ago

It looks neat, I hope you can share what's behind the network nodes, let's take routers as an example. Is that your own CLI emulator or an actual instance of IOS/EOS-like operating system? It looks like the former, with all limitations that stem from it. The implemented feature set looks adequate for CCNA level, insufficient for CCNP prep and largely lacking for CCIE or production network simulation.

Network automation built on top of CLI is long obsolete, serious automation tools utilize REST APIs, NETCONF or some other message oriented (as opposed to stream/line based ) interface that supports atomic config changes, explicit error signalization and abstracts from platform CLI dialects.

I don't see "no local installation" as a dealbreaker. It would be much more practical to expose nodes' terminal and/or SSH to a port reachable over the Internet That way the users could use their own workstations to write their code and playbooks, manage dependencies etc.

1

u/ElwinPingMyNetwork 5d ago

Hey, thanks for taking the time to test it out and write this up.

You're right on the architecture, we built a dedicated custom OS from scratch to simulate the behavior natively. I passed my CCNA, CCNP ENCOR, and CCNP ENARSI myself, and I got tired of wasting time setting up heavy VMs. The goal here is a smooth experience. Right now, the sandbox covers CCNA, CCNP ENCOR, and CCNP ENARSI topics.

On the automation side, we're just getting started, we literally released our CCNA Automation learning path today, which is why I wanted feedback from people with your background.

would you rather have an SSH port exposed over the internet on the sandbox so you can run everything from your own local machine or would you prefer having a full automation workstation right inside the sandbox where you can build on top of it?

2

u/expertisimus 5d ago

I'd always prefer to use my own machine and my own environment to write and run my network automation. Everybody has their own computer these days (and those who don't very rarely have a network to automate), empower the user to use their own editor, version control, terminal emulator, automation tools, integrations with shared corporate services (e.g. NetBox inventory, private git repos with config templates) etc. If they do network automation they already need it and have it anyway.

Working in your hosted workstation is problematic due to data persistence concerns, sharing and storage of secret strings, SW availability, meeting organization security policy (regarding the upload of sensitive information) etc. Expose CLI and any API ports and absolve yourself of all those concerns and responsibility. The hosted PC/server is sufficient for CCNA level prep but hardly useful for commercial users who are not students.

2

u/ElwinPingMyNetwork 5d ago

I understand. Nobody wants to deal with secrets or private repos in a browser sandbox when they already have their own machine.

Keeping the built-in Linux box for CCNA / students and opening up SSH for pros to plug straight into their local workflow makes total sense.

Really appreciate you breaking this down, I'm taking this straight to the team for the roadmap!

1

u/blaaackbear 2d ago

hey just came across this project, i am working on something similar but more on onprem + aws / gcp networking space, i found it interesting that you took the approach of "cli emulator" network os cli instead of running platform per node so kudos to that, i will think about that approach and also is that a main reason why it is so fast like damn.