sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.25k stars 1.13k forks source link

Does sonic has a gui or web? #993

Open li9270 opened 2 years ago

li9270 commented 2 years ago

I have seen cli and ui in sonic-mgmt-framework. It seem the ui is for testing rest server. I have not find a gui or web, which display real swich, then I can config port directly. eg. eth0 enable/disable. Or, I need some other app after I install sonic on switch. The app has a rest client. Thanks a lot!

sfahadshahzad commented 2 years ago

Much needed feature...

erwinkinn commented 1 year ago

Are you sure it would be convenient to manage a switch via WEB UI? How do engineers pass a configuration to each other? How to configure a device quickly (e.g., with an ordinary CLI I can just apply a batch of commands)? How to automate a job routine? Any graphic interfaces seems useless for such a class of equipment, ain't they? What are the use cases and rationales?

tbarbette commented 1 year ago

Are you sure it would be convenient to manage a switch via WEB UI? How do engineers pass a configuration to each other? How to configure a device quickly (e.g., with an ordinary CLI I can just apply a batch of commands)? How to automate a job routine? Any graphic interfaces seems useless for such a class of equipment, ain't they? What are the use cases and rationales?

All major companies now have a web-based, or even cloud-based interface. The rationale would be to add interface to vlan etc quickly with zero learning curve :)

erwinkinn commented 1 year ago

Hm... Maybe you're right. And this may save money for teaching a staff. It would be similar to those Pasolink or Ericsson Traffic Node radio relay stations. Actually in data centres they tend to manage the facility via such a kind of things like, for instance, Ansible. I mean -- fully automate all the job. Maybe not even WEB but CLI will soon be not so useful. Even 10 years ago I saw people just prepared their scripts and configured everything touching no interface at all. Of course those scripts were based on CLI, but once we have REST... Seems better to have one person who just run such scripts, than even teach him(or her) how to gui?

tbarbette commented 1 year ago

Sure, for a DC you need "a guy" anyway. But I ended up there after typing random commands for two hours, because my switch does not have a manual, I have random errors that only pop 2 pages on google, etc... With a web interface you get another, easier, way to do things. For small companies, small deployments, it's easier.

erwinkinn commented 1 year ago

Yeap, you are right. It's interesting, who could do such a kind of interface? Are we free to make our own for proposal? Have you any ideas?

KongNan commented 1 year ago

My workplace has very few employees with command line experience, and I suspect that a GUI might be helpful to allow more assistants to be able to perform basic operations, such as emergency switching of network interfaces, etc.

Maybe SONiC could provide some tower/awx templates for basic tasks based on the ansible collection?
(or something like ansibleforms? https://github.com/ansibleguy76/ansibleforms/wiki/2.-GUI#a-form )

sorry for my poor English.