linux - Is there any python package that could configure IP address of network interface? -
I am writing a server application that allows remote clients to show / add / change / delete the IP address of the machine's network interface Allows the host where the host is running.
is OS Linux (CentOS 5.2), so I can simply edit the parse and the configured file. But is there a package that can make job easier?
And if there is no such package, if I open my implementation source, will it help other people?
itemprop = "text">
It seems that the open source project should be able to easily do what you are looking for. In fact, one of their examples is easily parsing and modifying the / etc / sysconfig / network-scripts / ifcfg-eth0
.
If you think that you do not need this, I say that any attempt for open source software will essentially help other people at some other point, seeing that it is actually Is useful;)
Comments
Post a Comment