summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_common.py
diff options
context:
space:
mode:
authorAntti Myyrä <antti.myyra@gmail.com>2021-02-08 17:24:36 +0200
committerGitHub <noreply@github.com>2021-02-08 10:24:36 -0500
commit0497c7b1f752c7011006b36f9c07ac141c0bb3c2 (patch)
treedf05d44e9347a0cf71e52e0f49ad3f4520d83c43 /tests/unittests/test_datasource/test_common.py
parent3a0a5894d112d667f313d7fb3ab0850a39bc3020 (diff)
downloadvyos-cloud-init-0497c7b1f752c7011006b36f9c07ac141c0bb3c2.tar.gz
vyos-cloud-init-0497c7b1f752c7011006b36f9c07ac141c0bb3c2.zip
Datasource for UpCloud (#743)
New datasource utilizing UpCloud metadata API, including relevant unit tests and documentation.
Diffstat (limited to 'tests/unittests/test_datasource/test_common.py')
-rw-r--r--tests/unittests/test_datasource/test_common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unittests/test_datasource/test_common.py b/tests/unittests/test_datasource/test_common.py
index 4ab5d471..5912f7ee 100644
--- a/tests/unittests/test_datasource/test_common.py
+++ b/tests/unittests/test_datasource/test_common.py
@@ -27,6 +27,7 @@ from cloudinit.sources import (
DataSourceRbxCloud as RbxCloud,
DataSourceScaleway as Scaleway,
DataSourceSmartOS as SmartOS,
+ DataSourceUpCloud as UpCloud,
)
from cloudinit.sources import DataSourceNone as DSNone
@@ -48,6 +49,7 @@ DEFAULT_LOCAL = [
OpenStack.DataSourceOpenStackLocal,
RbxCloud.DataSourceRbxCloud,
Scaleway.DataSourceScaleway,
+ UpCloud.DataSourceUpCloudLocal,
]
DEFAULT_NETWORK = [
@@ -63,6 +65,7 @@ DEFAULT_NETWORK = [
NoCloud.DataSourceNoCloudNet,
OpenStack.DataSourceOpenStack,
OVF.DataSourceOVFNet,
+ UpCloud.DataSourceUpCloud,
]