ee8497176a
This patch replaces git.openstack.org with opendev.org as redirection from old path was enabled. Path do not fix path in run_tests.sh and scripts/scripts-library.sh as I'm not really sure whether it's safe to change now. Depends-On: https://review.opendev.org/653978/ Change-Id: I700fa432c88e77ca1b0e29667d04bfbb67829735
108 lines
3.3 KiB
YAML
108 lines
3.3 KiB
YAML
---
|
|
# Copyright 2018, SUSE LINUX GmbH.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
# (c) 2018, Jean-Philippe Evrard <jean-philippe@evrard.me>
|
|
#ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
|
glance_images:
|
|
- url: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
|
dest: "/tmp/cirros-0.3.5.img"
|
|
checksum: "sha256:e137062a4dfbb4c225971b67781bc52183d14517170e16a3841d16f962ae7470"
|
|
format: "qcow2"
|
|
name: "cirros-healthcheck"
|
|
|
|
cinder_volumes:
|
|
- name: healthcheck1
|
|
size: 1
|
|
|
|
public_net_cidr: "{{ tempest_public_subnet_cidr | default('10.1.13.0/24') }}"
|
|
private_net_cidr: "{{ tempest_private_subnet_cidr | default('192.168.74.0/28') }}"
|
|
public_dns_servers:
|
|
- "8.8.8.8"
|
|
- "8.8.4.4"
|
|
|
|
neutron_networks:
|
|
public:
|
|
name: "{{ tempest_public_net_name | default('public') }}"
|
|
shared: True
|
|
external: True
|
|
pn_type: "{{ tempest_public_net_provider_type | default('flat') }}"
|
|
physical_network: "{{ tempest_public_net_physical_type | default('flat') }}"
|
|
subnets:
|
|
- name: "{{ tempest_public_subnet_name | default('public-subnet') }}"
|
|
ip_version: 4
|
|
cidr: "{{ public_net_cidr }}"
|
|
enable_dhcp: "yes"
|
|
dns_nameservers: "{{ public_dns_servers }}"
|
|
private:
|
|
name: "{{ tempest_private_net_name | default('private') }}"
|
|
shared: True
|
|
external: True
|
|
pn_type: "{{ tempest_private_net_provider_type | default('vxlan') }}"
|
|
segmentation_id: "{{ tempest_private_net_seg_id | default('1') }}"
|
|
subnets:
|
|
- name: "{{ tempest_private_subnet_name | default('private-subnet') }}"
|
|
ip_version: 4
|
|
cidr: "{{ private_net_cidr }}"
|
|
enable_dhcp: "yes"
|
|
|
|
heat_stack:
|
|
# Please use the following for a nova app:
|
|
# https://opendev.org/openstack/heat-templates/raw/hot/hello_world.yaml
|
|
source_url: https://opendev.org/openstack/heat-templates/raw/hot/keystone/keystone_domain.yaml
|
|
dest_file: /tmp/mystack.yaml
|
|
name: babar
|
|
tag: dumbo
|
|
parameters:
|
|
domain_name: "babar"
|
|
domain_description: "Babar Kingdom"
|
|
domain_enabled: False # you don't want babar to impact the world of non-elephants.
|
|
|
|
nova_flavors:
|
|
- name: healthcheck1
|
|
ram: 256
|
|
vcpus: 1
|
|
disk: 1
|
|
swap: 0
|
|
ephemeral: 0
|
|
|
|
nova_vm:
|
|
name: vm1-healthcheck
|
|
image: cirros-healthcheck
|
|
flavor: healthcheck1
|
|
network: "{{ neutron_networks.private.name }}"
|
|
|
|
swift_object:
|
|
name: fstab
|
|
container: config
|
|
filename: /etc/fstab
|
|
|
|
security_group:
|
|
name: healthcheck
|
|
rules:
|
|
- protocol: tcp
|
|
port_range_min: 22
|
|
port_range_max: 22
|
|
remote_ip_prefix: 0.0.0.0/0
|
|
- protocol: tcp
|
|
port_range_min: 5000
|
|
port_range_max: 5000
|
|
remote_ip_prefix: 0.0.0.0/0
|
|
- protocol: icmp
|
|
port_range_min: -1
|
|
port_range_max: -1
|
|
remote_ip_prefix: 0.0.0.0/0
|
|
|
|
ssh_key: "/root/.ssh/id_rsa-healthcheck"
|