a network Interfaces manager libery for CentOS in python

alimiracle 2be3118f6a fix uuid 2 years ago
pyinterfases.py 2be3118f6a fix uuid 2 years ago
readme.md 3c3a1dbd73 fix typo 2 years ago

readme.md

hi

this is pyinterfases

a network Interfaces manager libery for CentOS in python

install

just cloned and import it

used:

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