lp:~smoser/cloud-init/opennebula
- Get this branch:
- bzr branch lp:~smoser/cloud-init/opennebula
Branch merges
- Vlastimil Holer: Approve
-
Diff: 177 lines (+46/-24)3 files modifiedcloudinit/sources/DataSourceOpenNebula.py (+25/-23)
cloudinit/sources/__init__.py (+7/-0)
tests/unittests/test_datasource/test_opennebula.py (+14/-1)
Branch information
Recent revisions
- 694. By Scott Moser
-
some cleanups and changes
* use util.subp from inside parse_shell_config,
and adjust exception handling accordingly.
* add 'switch_user_cmd' as a callback function to pass
to parse_shell_config, which allows us to mock this to avoid
'sudo' when running test cases.
Basically the test cases just return '[]' here.
* fix some pylint
* handle empty 'content' in parse_shell_config and remove
the protection that was present. - 693. By Scott Moser
-
fix DataSource base class to set up ds_cfg for 'Net' sources
When the base DataSource class would set 'ds_cfg' for the specific
datasources' config, it would fail for the DataSources that are just named
'DataSourceFooNet' and we wanted to set configuration in 'Foo'.For example, both DataSourceOpenN
ebula and DataSourceOpenN ebulaNet want to
read datasource config from
sources:
OpenNebula:
foo: barBut without this change, 'ds_cfg' would not be setup properly for
OpenNebulaNet. - 690. By Vlastimil Holer
-
Update OpenNebula documentation (parseuser, more fs. labels, K-V single quotes)
- 689. By Vlastimil Holer
-
Configurable OpenNebula:
:parseuser. Seed search dir+dev merge.
Eat shell parser error output. Few tests for tests for get_data. - 687. By Vlastimil Holer
-
Replace RE context.sh parser with Scott's rewrite of bash dumper. Upper case context variable names.
- 686. By Vlastimil Holer
-
PEP8 and Pylint fixes. Move context.sh "parser" into separate
function. Fix fetching user specified dsmode (from context).
Rename context_sh->context. Reuse unittests. helpers. populate_ dir.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk