~chad.smith/cloud-init:cc-landscape-py3-config-fix

Last commit made on 2017-08-22
Get this branch:
git clone -b cc-landscape-py3-config-fix https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
cc-landscape-py3-config-fix
Repository:
lp:~chad.smith/cloud-init

Recent commits

f32d374... by Chad Smith

flakes8

a6ac3e4... by Chad Smith

drop nested mock.patch context managers in favor of wrap_and_call

2870d72... by Chad Smith

add newline to end of stringify, use tmp_path in unit tests instead of os.path.join

8492ee9... by Chad Smith

drop unneeded path.exists assert and reformat default_landscape test conf file

cffa37d... by Chad Smith

unit tests for cc_puppet. six.StrinIO cannot be used as a context manager in <= python2.7. Fix cc_puppet docstring to represent a valid conf explanation and include a valid 'agent' sub-key

d0ca1a0... by Chad Smith

flakes

d69d32a... by Chad Smith

add cc_landscape unittests and convert StringIO -> BytesIO for py3 ConfigObj handliner

dc2bd79... by Ryan Harper

network: add v2 passthrough and fix parsing v2 config with bonds/bridge params

If the network-config sent to cloud-init is in version: 2 format then
when rendering netplan, we can pass the content through and avoid
consuming network_state elements. This removes the need for trying to
map many v2 features onto network state where other renderers won't be
able to use anyhow (for example match parameters for multi-interface
configuration and wifi configuration support).

Additionally ensure we retain bond/bridge v2 configuration in network
state so when rendering to eni or sysconfig we don't lose the configuration

- Drop the NotImplemented wifi exception, log a warning that it works for
  netplan only
- Adjust unittests to new code path and output
- Fix issue with v2 macaddress values getting dropped
- Add unittests for consuming/validating v2 configurations

LP: #1709180

385d1ca... by Ryan Harper

doc: update capabilities with features available, link doc reference, cli example

1f8183f... by Maitreyee Saikia

vcloud directory: Guest Customization support for passwords

This feature enables the following VMware VCloud Director functionality:
1. Setting admin password
2. Expire password.
3. Set admin password and expire.

Password configuration is triggered only as part of a full
recustomization, that happens either on first power on or when
"poweron and full recustomization" is selected. Full customization
flow is determined by marker files. Unique marker ids are
generated when full recustomization is requested. And marker file based
on these marker ids help to determine if we need to execute the above
configuration.