<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/net/eni.py, branch circinus-public-unmaintained</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=circinus-public-unmaintained</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=circinus-public-unmaintained'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2021-12-16T02:16:38+00:00</updated>
<entry>
<title>Adopt Black and isort (SC-700) (#1157)</title>
<updated>2021-12-16T02:16:38+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-12-16T02:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf'/>
<id>urn:sha1:bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf</id>
<content type='text'>
Applied Black and isort, fixed any linting issues, updated tox.ini
and CI.
</content>
</entry>
<entry>
<title>net: Fix static routes to host in eni renderer (#668)</title>
<updated>2021-01-13T22:19:17+00:00</updated>
<author>
<name>Pavel Abalikhin</name>
<email>anpavl@gmail.com</email>
</author>
<published>2021-01-13T22:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=9a258eebd96aa5ad4486dba1fe86bea5bcf00c2f'/>
<id>urn:sha1:9a258eebd96aa5ad4486dba1fe86bea5bcf00c2f</id>
<content type='text'>
Route '-net' parameter is incompatible with /32 IPv4 addresses so we
have to use '-host' in that case.</content>
</entry>
<entry>
<title>Make wakeonlan Network Config v2 setting actually work (#626)</title>
<updated>2020-11-09T17:24:55+00:00</updated>
<author>
<name>dermotbradley</name>
<email>dermot_bradley@yahoo.com</email>
</author>
<published>2020-11-09T17:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=57349eb7df1c422d9e9558e54b201c85778997ae'/>
<id>urn:sha1:57349eb7df1c422d9e9558e54b201c85778997ae</id>
<content type='text'>
Add code so that specifying "wakeonlan: true" actually results in relevant
configuration entry appearing in /etc/network/interfaces, Netplan, and
sysconfig for RHEL and OpenSuse.

Add testcases for the above.</content>
</entry>
<entry>
<title>cloudinit: remove global disable of pylint W0105 and fix errors (#480)</title>
<updated>2020-07-13T16:00:32+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2020-07-13T16:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3cec3881062490727c5fff1b16b53f0176f976f0'/>
<id>urn:sha1:3cec3881062490727c5fff1b16b53f0176f976f0</id>
<content type='text'>
This includes a fix to a test that had a string concatenation issue, and
so was only testing a prefix of what was intended.</content>
</entry>
<entry>
<title>Move subp into its own module. (#416)</title>
<updated>2020-06-08T16:49:12+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2020-06-08T16:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3c551f6ebc12f7729a2755c89b19b9000e27cc88'/>
<id>urn:sha1:3c551f6ebc12f7729a2755c89b19b9000e27cc88</id>
<content type='text'>
This was painful, but it finishes a TODO from cloudinit/subp.py.

It moves the following from util to subp:
  ProcessExecutionError
  subp
  which
  target_path

I moved subp_blob_in_tempfile into cc_chef, which is its only caller.
That saved us from having to deal with it using write_file
and temp_utils from subp (which does not import any cloudinit things now).

It is arguable that 'target_path' could be moved to a 'path_utils' or
something, but in order to use it from subp and also from utils,
we had to get it out of utils.</content>
</entry>
<entry>
<title>net: fix rendering of 'static6' in network config (#77)</title>
<updated>2020-01-08T17:30:17+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2020-01-08T17:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=dacdd30080bd8183d1f1c1dc9dbcbc8448301529'/>
<id>urn:sha1:dacdd30080bd8183d1f1c1dc9dbcbc8448301529</id>
<content type='text'>
* net: fix rendering of 'static6' in network config

A V1 static6 network typo was misrendered in eni, it's not valid.
It was ignored in sysconfig and netplan.  This branch fixes eni,
updates sysconfig, netplan to render it correctly and adds unittests
for all cases.

Reported-by: Raphaël Enrici

LP: #1850988

* net: add comment about static6 type in subnet_is_ipv6

Co-authored-by: Chad Smith &lt;blackboxsw@gmail.com&gt;
Co-authored-by: Daniel Watkins &lt;daniel@daniel-watkins.co.uk&gt;
</content>
</entry>
<entry>
<title>net: IPv6, accept_ra, slaac, stateless (#51)</title>
<updated>2019-11-20T17:55:26+00:00</updated>
<author>
<name>Harald</name>
<email>hjensas@redhat.com</email>
</author>
<published>2019-11-20T17:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=62bbc262c3c7f633eac1d09ec78c055eef05166a'/>
<id>urn:sha1:62bbc262c3c7f633eac1d09ec78c055eef05166a</id>
<content type='text'>
Router advertisements are required for the default route
to be set up, thus accept_ra should be enabled for
dhcpv6-stateful.

sysconf: IPV6_FORCE_ACCEPT_RA controls accept_ra sysctl.
eni: mode static and mode dhcp 'accept_ra' controls sysctl.

Add 'accept-ra: true|false' parameter to config v1 and
v2. When True: accept_ra is set to '1'. When False:
accept_ra is set to '0'. When not defined in config the
value is left to the operating system default.

This change also extend the IPv6 support to distinguish
between slaac and dhcpv6-stateless. SLAAC is autoconfig
without any options from DHCP, while stateless auto-configures
the address and the uses DHCP for other options.

LP: #1806014
LP: #1808647</content>
</entry>
<entry>
<title>net: enable infiniband support in eni and sysconfig renderers</title>
<updated>2019-10-21T16:17:03+00:00</updated>
<author>
<name>Darren Birkett</name>
<email>darren.birkett@gmail.com</email>
</author>
<published>2019-10-21T16:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=02c8214eac857e29b40ecc65992c1da6983083e1'/>
<id>urn:sha1:02c8214eac857e29b40ecc65992c1da6983083e1</id>
<content type='text'>
Commit e7b0e5f72 added support for configuring infiniband devices by
adding a new infiniband 'type'. This commit updates eni and sysconfig
renderers to consume this new type and configure infiniband devices
correctly.

LP: #1847114
</content>
</entry>
<entry>
<title>net: handle openstack dhcpv6-stateless configuration</title>
<updated>2019-10-16T15:30:28+00:00</updated>
<author>
<name>Harald Jensås</name>
<email>hjensas@redhat.com</email>
</author>
<published>2019-10-16T15:30:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=fac98983187c0984aa79c569c4b76cab90fd6f47'/>
<id>urn:sha1:fac98983187c0984aa79c569c4b76cab90fd6f47</id>
<content type='text'>
Openstack subnets can be configured to use SLAAC by setting
ipv6_address_mode=dhcpv6-stateless. When this is the case
the sysconfig interface configuration should use
IPV6_AUTOCONF=yes and not set DHCPV6C=yes.

This change sets the subnets type property to the full
network['type'] from openstack metadata.

cloudinit/net/sysconfig.py and cloudinit/net/eni.py
are updated to support new subnet types:
  - 'ipv6_dhcpv6-stateless' =&gt; IPV6_AUTOCONF=yes
  - 'ipv6_dhcpv6-stateful' =&gt; DHCPV6C=yes

Type 'dhcp6' in sysconfig is kept for backward compatibility
with any implementations that set subnet_type == 'dhcp6'.

LP: #1847517
</content>
</entry>
<entry>
<title>net: Fix ipv6 static routes when using eni renderer</title>
<updated>2019-03-21T13:38:53+00:00</updated>
<author>
<name>Raphael Glon</name>
<email>raphael.glon@ovh.net</email>
</author>
<published>2019-03-21T13:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=22e332933e78bc1c819c4f876d48620605ae813b'/>
<id>urn:sha1:22e332933e78bc1c819c4f876d48620605ae813b</id>
<content type='text'>
When rendering ipv6 static routes in eni format the
post-up/pre down commands were not correct for ipv6.

LP: #1818669
</content>
</entry>
</feed>
