a network Interfaces manager libery for CentOS in python
alimiracle 1b150b1884 move to codeberg | vor 6 Monaten | |
---|---|---|
pyinterfases.py | vor 6 Jahren | |
readme.md | vor 6 Monaten |
this is pyinterfases
a network Interfaces manager libery for CentOS in python
this project has been archived and migrated to codeberg. To access the project on codeberg,
just cloned and import it
to list all Network Interfaces use
net_list()
its return list
to Display the information of the network interface use
interfase(name)
its need the interface name as a parameter
and its return Dictionary
to add new Network interface use add()
its nede name, ip, prefix, gateway as a parameters
to start Network interface
use start(name)
its need the interface name as a parameter
to stop Network interface
use stop(name)
its need the interface name as a parameter
to remove Network interface
use remove(name)
its need the interface name as a parameter