diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-09-10 14:15:30 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-09-10 14:15:30 -0400 |
commit | 8ed952a461ed81af4011e02f3df47add1066cd0f (patch) | |
tree | 5638e3d2f58ee5e98ed9a14cadfbc0353b140240 /tests/unittests/test_datasource | |
parent | c0d1a59d96a16c080ad8b8278251294cccc21894 (diff) | |
download | vyos-cloud-init-8ed952a461ed81af4011e02f3df47add1066cd0f.tar.gz vyos-cloud-init-8ed952a461ed81af4011e02f3df47add1066cd0f.zip |
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 DataSourceOpenNebula and DataSourceOpenNebulaNet want to
read datasource config from
sources:
OpenNebula:
foo: bar
But without this change, 'ds_cfg' would not be setup properly for
OpenNebulaNet.
Diffstat (limited to 'tests/unittests/test_datasource')
0 files changed, 0 insertions, 0 deletions