From b889d17581800a220ce5a6ae0b7a17bedb115c46 Mon Sep 17 00:00:00 2001 From: brent s Date: Thu, 14 Nov 2019 03:00:13 -0500 Subject: [PATCH] updating; switching to desktop --- aif/network/networkmanager.py | 2 ++ docs/urls | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/aif/network/networkmanager.py b/aif/network/networkmanager.py index 5d3e70b..9c98cb8 100644 --- a/aif/network/networkmanager.py +++ b/aif/network/networkmanager.py @@ -1,4 +1,5 @@ import ipaddress +import uuid ## from . import _common @@ -14,6 +15,7 @@ class Connection(object): self.addrs = {'ipv4': [], 'ipv6': []} self.resolvers = [] + self.uuid = uuid.uuid4() self._initAddrs() self._initResolvers() diff --git a/docs/urls b/docs/urls index a9da2b4..963666a 100644 --- a/docs/urls +++ b/docs/urls @@ -2,4 +2,8 @@ libblockdev/python gobject-introspection ("gi") API reference: https://lazka.github.io/pgi-docs/ example of using above for LVM: -https://github.com/storaged-project/libblockdev/blob/master/tests/lvm_test.py \ No newline at end of file +https://github.com/storaged-project/libblockdev/blob/master/tests/lvm_test.py + + +using libnm with pygobject-introspection examples: +https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/examples/python/gi/