Re: NM CLI utility



Martin Vidner pisze:
> On Wed, Sep 02, 2009 at 08:42:48PM +0200, Witold Sowa wrote:
>> Hi,
>>
>> We are going to write CLI utility to control NetworkManager. It will be
>> written in C, using libnm-glib. The goal is to have a tool which will
>> let users to get network information and to control NM including:
>> [...]
> 
> Hi Witek,
> 
> just making sure that you know about the CLI in Python:
> http://vidner.net/martin/software/cnetworkmanager/
> 
> (BTW, newly it is also on GitHub:
> http://github.com/mvidner/cnetworkmanager )

Yes, I know about it. Some time ago, in NM CLI thread on this list, Dan
Williams pointed that python implementation is not exactly what we want.
In C/glib we can use libnm-glib library instead of direct dbus calls.
That would make easier to keep update with NM changes, I hope.

I've started some prototyping. Here is the Git repo:

git://github.com/wsowa/nmconfig.git

Building (in nmconfig directory):
mkdir build
cd build
cmake ..
make

Currently it can only display basic device information, but i hope it
can serve as good base for prototyping.

Thanks,
Witek.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]