a network Interfaces manager libery for CentOS in python

alimiracle 1b150b1884 move to codeberg 6 bulan lalu
pyinterfases.py 2be3118f6a fix uuid 6 tahun lalu
readme.md 1b150b1884 move to codeberg 6 bulan lalu

readme.md

this is pyinterfases

a network Interfaces manager libery for CentOS in python

Important Note:

this project has been archived and migrated to codeberg. To access the project on codeberg,

visit this Link

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