summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrent s <r00t@square-r00t.net>2019-11-14 03:00:13 -0500
committerbrent s <r00t@square-r00t.net>2019-11-14 03:00:13 -0500
commitb889d17581800a220ce5a6ae0b7a17bedb115c46 (patch)
tree188a65b0c24e5afdfc591211aa844fdcdffb6d13
parent8ee5137059e13b00a68660b0e213d1459a9e48dd (diff)
downloadAIF-NG-b889d17581800a220ce5a6ae0b7a17bedb115c46.tar.xz
updating; switching to desktop
-rw-r--r--aif/network/networkmanager.py2
-rw-r--r--docs/urls6
2 files changed, 7 insertions, 1 deletions
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/