lp:~loki-8/cloud-init

Owned by Thomas Berger
Get this repository:
git clone https://git.launchpad.net/~loki-8/cloud-init
Only Thomas Berger can upload to this repository. If you are Thomas Berger please log in for upload directions.

Branches

Name Last Modified Last Commit
fix/1792454-netork-configuration-v2-and-translate_network 2018-09-14 19:15:20 UTC 2018-09-14
net_util: ensure static configs have netmask in translate_network result

Author: Thomas Berger
Author Date: 2018-09-13 21:10:35 UTC

net_util: ensure static configs have netmask in translate_network result

If a DataSource provides a network configuration in version 2 and runs
on a distro which does not have a network renderer class in use, then
the conversion of V2 to eni results in static ip configurations with
subnet prefix-length (192.168.23.1/24) rather than explicit netmask
value.

When sending such a config to net_util.translate_network the resulting
dictionary is missing the 'netmask' key for static configured addresses
breaking network configurations on multiple distributions.

This patch detects static ip configurations using prefix-length and
converts the format into the previous 'address' and 'netmask' parts
to keep compatibility for these distribtuions until they move to
the v2 network configuration.

LP: #1792454

master 2018-09-01 17:59:18 UTC 2018-09-01
Add unit tests for config/cc_ssh.py

Author: Francis Ginther
Author Date: 2018-09-01 17:59:18 UTC

Add unit tests for config/cc_ssh.py

These tests focus on the apply_credentials method and the ssh setup for
root and a distro default user.

12 of 2 results
This repository contains Public information 
Everyone can see this information.

Subscribers