Manage images according to openstack version
The patch implements logic to manage image files
according to openstack version. Instead of using m5sum
hash file is used.
Moreover br-baremetal bridge definition has been added
in order to get rid of its definition on cluster level
Change-Id: I7f7cd62d8c209ab75cdadf50e0b49cf7ae1a6dac
Related-PROD: PROD-24887
diff --git a/metadata/service/simulator.yml b/metadata/service/simulator.yml
index 1a3c859..c0b2830 100644
--- a/metadata/service/simulator.yml
+++ b/metadata/service/simulator.yml
@@ -4,10 +4,10 @@
baremetal_simulator:
enabled: true
http_root: /var/www/httproot
- deploy_ramdisk_file: tinyipa-stable-newton.gz
- deploy_ramdisk_md5summ: 1efc7b5160e031f771125a700e687013
- deploy_kernel_file: tinyipa-stable-newton.vmlinuz
- deploy_kernel_md5summ: 8bffc2d4ca84e7b6d1310fef7b8c6ddc
+ deploy_ramdisk_file: tinyipa-stable-${_param:openstack_version}.gz
+ deploy_ramdisk_hash_file: https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/tinyipa-stable-${_param:openstack_version}.gz.sha256
+ deploy_kernel_file: tinyipa-stable-${_param:openstack_version}.vmlinuz
+ deploy_kernel_hash_file: https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/tinyipa-stable-${_param:openstack_version}.vmlinuz.sha256
deploy_ramdisk_ref: https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/${baremetal_simulator:deploy_ramdisk_file}
deploy_kernel_ref: https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/${baremetal_simulator:deploy_kernel_file}
cirros_image_name: cirros-0.3.5-x86_64-disk.img
@@ -18,10 +18,10 @@
http_images:
- name: ${baremetal_simulator:deploy_ramdisk_file}
source: ${baremetal_simulator:deploy_ramdisk_ref}
- md5summ: ${baremetal_simulator:deploy_ramdisk_md5summ}
+ hash_file: ${baremetal_simulator:deploy_ramdisk_hash_file}
- name: ${baremetal_simulator:deploy_kernel_file}
source: ${baremetal_simulator:deploy_kernel_ref}
- md5summ: ${baremetal_simulator:deploy_kernel_md5summ}
+ hash_file: ${baremetal_simulator:deploy_kernel_hash_file}
- name: ${baremetal_simulator:cirros_image_name}
source: ${baremetal_simulator:cirros_image_ref}
md5summ: ${baremetal_simulator:cirros_image_md5summ}
@@ -47,3 +47,6 @@
br-simulator:
enabled: true
type: ovs_bridge
+ br-baremetal:
+ enabled: true
+ type: ovs_bridge