a network Interfaces manager libery for CentOS in python
alimiracle 1b150b1884 move to codeberg | hai 6 meses | |
---|---|---|
pyinterfases.py | %!s(int64=6) %!d(string=hai) anos | |
readme.md | hai 6 meses |
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