summaryrefslogtreecommitdiffstats
path: root/examples/image-metadata
diff options
context:
space:
mode:
Diffstat (limited to 'examples/image-metadata')
-rw-r--r--examples/image-metadata/3part_override.yaml16
-rw-r--r--examples/image-metadata/disk_file_override.yaml13
-rw-r--r--examples/image-metadata/disk_url_override.yaml12
-rw-r--r--examples/image-metadata/existing_override.yaml22
4 files changed, 63 insertions, 0 deletions
diff --git a/examples/image-metadata/3part_override.yaml b/examples/image-metadata/3part_override.yaml
new file mode 100644
index 0000000..8ac4d52
--- /dev/null
+++ b/examples/image-metadata/3part_override.yaml
@@ -0,0 +1,16 @@
+---
+# Example of how to override the image settings for SNAPS testing for 3part images
+# This snippet can be placed verbatim into the snaps.images configuration for Functest
+# in config_functest.yaml as long as it is properly nested in that document
+glance_tests:
+ disk_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
+ kernel_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-kernel
+ ramdisk_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-initramfs
+cirros:
+ disk_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
+ kernel_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-kernel
+ ramdisk_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-initramfs
+centos:
+ disk_url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
+ubuntu:
+ disk_url: http://uec-images.ubuntu.com/releases/trusty/14.04/ubuntu-14.04-server-cloudimg-amd64-disk1.img
diff --git a/examples/image-metadata/disk_file_override.yaml b/examples/image-metadata/disk_file_override.yaml
new file mode 100644
index 0000000..5884ce8
--- /dev/null
+++ b/examples/image-metadata/disk_file_override.yaml
@@ -0,0 +1,13 @@
+---
+# Example of how to override the image settings for SNAPS testing for file-based Images
+# generally for offline (no Internet available) OpenStack testing
+# This snippet can be placed verbatim into the snaps.images configuration for Functest
+# in config_functest.yaml as long as it is properly nested in that document
+glance_tests:
+ disk_file: ../images/cirros-0.3.4-x86_64-disk.img
+cirros:
+ disk_file: ../images/cirros-0.3.4-x86_64-disk.img
+centos:
+ disk_file: ../images/CentOS-7-x86_64-GenericCloud.qcow2
+ubuntu:
+ disk_file: ../images/ubuntu-14.04-server-cloudimg-amd64-disk1.img
diff --git a/examples/image-metadata/disk_url_override.yaml b/examples/image-metadata/disk_url_override.yaml
new file mode 100644
index 0000000..4c0529b
--- /dev/null
+++ b/examples/image-metadata/disk_url_override.yaml
@@ -0,0 +1,12 @@
+---
+# Example of how to override the default image URL for SNAPS testing
+# This snippet can be placed verbatim into the snaps.images configuration for Functest
+# in config_functest.yaml as long as it is properly nested in that document
+glance_tests:
+ disk_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
+cirros:
+ disk_url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
+centos:
+ disk_url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
+ubuntu:
+ disk_url: http://uec-images.ubuntu.com/releases/trusty/14.04/ubuntu-14.04-server-cloudimg-amd64-disk1.img
diff --git a/examples/image-metadata/existing_override.yaml b/examples/image-metadata/existing_override.yaml
new file mode 100644
index 0000000..ad9d23d
--- /dev/null
+++ b/examples/image-metadata/existing_override.yaml
@@ -0,0 +1,22 @@
+---
+# Example of how to override the image settings for SNAPS VM instance testing to leverage
+# images that already exist on your pod.
+# This snippet can be placed verbatim into the snaps.images configuration for Functest
+# in config_functest.yaml as long as it is properly nested in that document
+glance_tests:
+ disk_file: ../images/cirros-0.3.4-x86_64-disk.img
+cirros:
+ config:
+ name: static_image_test-cirros
+ exists: True
+ image_user: cirros
+centos:
+ config:
+ name: static_image_test-centos
+ exists: True
+ image_user: centos
+ubuntu:
+ config:
+ name: static_image_test-ubuntu
+ exists: True
+ image_user: ubuntu