Re: Managing a connection using D-Bus API
- From: Daenyth Blank <daenyth gmail com>
- To: Dan Williams <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: Managing a connection using D-Bus API
- Date: Wed, 14 Jul 2010 19:28:06 -0400
On Wed, Jul 14, 2010 at 20:49, Dan Williams <dcbw redhat com> wrote:
> On Thu, 2010-07-01 at 15:56 +0300, Ozan Çağlayan wrote:
>> Hi,
>>
>> I'm writing a Python script which uses python-networkmanager for communicating
>> with NetworkManager's D-Bus facilities.
>>
>> I want to disconnect an active connection. Using the nm-applet, we are not
>> forced to write a MAC address for a connection.
>>
>> Say that I want to disconnect the device eth0 AA:BB:CC:DD:EE:FF which is
>> currently connected to the connection with the ID "WiredConnection1".
>>
>> Since the connection doesn't have an hwaddress set, I can't match the
>> connection with the device. What I want to do is sth like that:
>>
> I've added a python example of that here:
>
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=72399bfa2cab6de881518b4b473c5b2a76f058b8
>
> Dan
Thanks! I'll add some more features to py-nm that handle that
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]