a network Interfaces manager libery for CentOS in python
alimiracle 2be3118f6a fix uuid | 5 years ago | |
---|---|---|
pyinterfases.py | 5 years ago | |
readme.md | 5 years ago |
hi
this is pyinterfases
a network Interfaces manager libery for CentOS in python
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