<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/src/dhcp, branch th/fix-python-test</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>dhcp/nettools: round time difference when calculating the lease lifetime</title>
<updated>2019-09-23T14:10:51+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-09-23T14:02:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=87680c4148679a0eb21cd601f919751986838ff0'/>
<id>87680c4148679a0eb21cd601f919751986838ff0</id>
<content type='text'>
nettools does not expose the original lease lifetime. It's a missing
API. Instead, it only exposes the timestamp when the lease will expire.

As a workaround, we calulate the timestamp by subtracting the current
timestamp from the expiration timestamp, assuming that the lease was
received just now. However, it was not received *exactly* now, but a
few milliseconds before. Hence, the calculated timestamp is not exact
here and likely a few milliseconds less then the actual (full integer)
value.

Account for that by rounding the value to the second.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nettools does not expose the original lease lifetime. It's a missing
API. Instead, it only exposes the timestamp when the lease will expire.

As a workaround, we calulate the timestamp by subtracting the current
timestamp from the expiration timestamp, assuming that the lease was
received just now. However, it was not received *exactly* now, but a
few milliseconds before. Hence, the calculated timestamp is not exact
here and likely a few milliseconds less then the actual (full integer)
value.

Account for that by rounding the value to the second.
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: nettools: drop useless "options" GHashTable checks</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-09-02T15:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=07b3ecbb7a52e959713587c933e5ea1775183a6b'/>
<id>07b3ecbb7a52e959713587c933e5ea1775183a6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: nettools: add utf8 checking on the wpad option</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-09-02T15:30:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=86973eae1f86fd7f36e23ade9fe8892efd8c1846'/>
<id>86973eae1f86fd7f36e23ade9fe8892efd8c1846</id>
<content type='text'>
and assert values exported as dhcp options are utf8 compliant
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and assert values exported as dhcp options are utf8 compliant
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: nettools: drop the 'iface' parameter when no more used</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-07-30T12:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3a10c477864ed4d07d0e4c67537b67add52926f0'/>
<id>3a10c477864ed4d07d0e4c67537b67add52926f0</id>
<content type='text'>
Drop it from the functions for extracting the dhcp options from the
lease: it was just used for the logging, but now we log all the options
once, at the end of the process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop it from the functions for extracting the dhcp options from the
lease: it was just used for the logging, but now we log all the options
once, at the end of the process.
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: nettools: drop plugin logging of the lease options</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-07-30T12:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=6945ecb80423eb6c1eb4cc4e0408ce2b0356e9a0'/>
<id>6945ecb80423eb6c1eb4cc4e0408ce2b0356e9a0</id>
<content type='text'>
as these are already logged in common dhcp-client code. Moreover, now
the log level of the lease options will move from INFO to DEBUG.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as these are already logged in common dhcp-client code. Moreover, now
the log level of the lease options will move from INFO to DEBUG.
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: internal: drop plugin logging of the lease options</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-07-29T15:58:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fff39e4a8873be6a962748ed740b8a0716bf983b'/>
<id>fff39e4a8873be6a962748ed740b8a0716bf983b</id>
<content type='text'>
as these are already logged in common dhcp-client code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as these are already logged in common dhcp-client code.
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: log the dhcp options got in the lease once for all plugin</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-07-29T15:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=862177f6b655ec027c4bdb0826040de1bb5d86d6'/>
<id>862177f6b655ec027c4bdb0826040de1bb5d86d6</id>
<content type='text'>
Each plugin logged the options: just do that on dhcp state change and do
in common code.
Log the options at INFO level for all the plugins. This partially reverts
the effects on the internal plugin of the commit:
97ce488f5f50 ('dhcp/internal: decrease logging level when
retrieving dhcp options')
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each plugin logged the options: just do that on dhcp state change and do
in common code.
Log the options at INFO level for all the plugins. This partially reverts
the effects on the internal plugin of the commit:
97ce488f5f50 ('dhcp/internal: decrease logging level when
retrieving dhcp options')
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: nettools: retrieve and expose the private dhcp options</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-07-25T09:03:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=dbd9ed1c627018a5f91fef25ee81817be19d2606'/>
<id>dbd9ed1c627018a5f91fef25ee81817be19d2606</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dhcp: nettools: retrieve and expose the expiry time</title>
<updated>2019-09-13T16:44:32+00:00</updated>
<author>
<name>Francesco Giudici</name>
<email>fgiudici@redhat.com</email>
</author>
<published>2019-07-19T08:07:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=cded6d518455ddb1ad8d0a899a10f054dfa9d9f6'/>
<id>cded6d518455ddb1ad8d0a899a10f054dfa9d9f6</id>
<content type='text'>
also fix the lease time: it should be the time in seconds that the lease
lasts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also fix the lease time: it should be the time in seconds that the lease
lasts
</pre>
</div>
</content>
</entry>
<entry>
<title>all: SPDX header conversion</title>
<updated>2019-09-10T09:19:56+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2019-09-10T09:19:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=24028a22467275671df71cc6a8054036b37d8f03'/>
<id>24028a22467275671df71cc6a8054036b37d8f03</id>
<content type='text'>
  $ find * -type f |xargs perl contrib/scripts/spdx.pl
  $ git rm contrib/scripts/spdx.pl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  $ find * -type f |xargs perl contrib/scripts/spdx.pl
  $ git rm contrib/scripts/spdx.pl
</pre>
</div>
</content>
</entry>
</feed>
