Skip to content

Instantly share code, notes, and snippets.

@saneax
Created July 17, 2024 14:27
Show Gist options
  • Select an option

  • Save saneax/8a9bbf40cd6a399ce792cc0cb62c1157 to your computer and use it in GitHub Desktop.

Select an option

Save saneax/8a9bbf40cd6a399ce792cc0cb62c1157 to your computer and use it in GitHub Desktop.
---
apiVersion: test.openstack.org/v1beta1
kind: Tempest
metadata:
name: tempest-tests
namespace: openstack
spec:
SSHKeySecretName: dataplane-ansible-ssh-private-key-secret
storageClass: local-storage
containerImage: quay.io/podified-antelope-centos9/openstack-tempest:current-podified
tempestRun:
includeList: |
^nfv_tempest_plugin(.*basic)
^nfv_tempest_plugin(.*dpdk)(?!.*min_queues)
^nfv_tempest_plugin(.*nfv_live_migration)(?!.*migration_shared)
^nfv_tempest_plugin(.*sriov)(?!.*min_qos|.*_with_min_bw|.*tagging)
^nfv_tempest_plugin(.*sriov)(.*_guests_set_min_qos|.*test_sriov_max_qos)
^nfv_tempest_plugin(.*advanced)
^neutron_tempest_plugin(.*test_trunk)(.*subport_connectivity|.*trunk_subport_lifecycle)
^nfv_tempest_plugin(.*day2)(?!.*kernel)
concurrency: 1
externalPlugin:
- repository: "https://github.com/redhat-openstack/nfv-tempest-plugin.git"
changeRepository: "https://review.gerrithub.io/redhat-openstack/nfv-tempest-plugin"
changeRefspec: "refs/changes/38/1176938/28"
tempestconfRun:
overrides: |
network.floating_network_name access
network.public_network_id 5b01b361-2d92-49ea-a07d-cefd73b32c23
compute.image_ref 357977b9-4c87-4c6a-9910-35b091449c4b
deployerInput: |
[compute]
flavor_ref=100
region = regionOne
min_microversion = 2.32
max_microversion = 2.32
image_ssh_user = cloud-user
[compute-feature-enabled]
live_migration = true
console_output = false
[validation]
image_ssh_user = cloud-user
[placement]
min_microversion = 1.12
max_microversion = 1.12
[nfv_plugin_options]
test_all_provider_networks = true
use_neutron_api_v2 = true
overcloud_node_user = cloud-admin
hypervisor_tuning_details = {"packages": ["tuned-2*", "tuned-profiles-*", "openvswitch3*"], "services": ["tuned", "openvswitch"], "tuned_profiles": ["cpu-partitioning","realtime-virtual-host"], "kernel_args": ["hugepages","hugepagesz", "default_hugepagesz", "iommu=pt","isolcpus", "nohz=on", "nohz_full","rcu_nocbs", "intel_pstate"]}
overcloud_node_pkey_file = /var/lib/tempest/.ssh/id_ecdsa
terraform_swift_integration = false
external_config_file = /etc/test_operator/tempest_config.yml
idrac_data = {"nodes": [{"pm_addr": "tigon20-bmc.mgmt.lab.eng.tlv2.redhat.com","pm_user":"root","pm_password":"calvin"},{"pm_addr": "tigon21-bmc.mgmt.lab.eng.tlv2.redhat.com","pm_user":"root","pm_password":"calvin"}]}
[neutron_plugin_options]
default_image_is_advanced = true
max_networks_per_project = 1
configOverwrite:
tempest_config.yml: |
---
net_port: false
image: false
keypair: false
security_group: false
# Set tempest to test provider networks connectivity
enable_test_all_provider_networks: true
networks:
- name: "access"
physical_network: "access"
segmentation_id: "429"
allocation_pool_start: "10.46.228.66"
allocation_pool_end: "10.46.228.76"
cidr: "10.46.228.64/28"
enable_dhcp: true
gateway_ip: "10.46.228.78"
external: true
shared: true
router_name: router1
port_type: normal
network_type: vlan
test-networks:
- name: "dpdk-mgmt"
physical_network: "dpdkmgmt"
allocation_pool_start: "10.10.10.100"
allocation_pool_end: "10.10.10.200"
cidr: "10.10.10.0/24"
enable_dhcp: true
gateway_ip: "10.10.10.254"
network_type: geneve
ip_version: 4
sec_groups: true
port_type: normal
mgmt: true
tag: external
dns_nameservers:
- 10.46.0.31
- 8.8.8.8
- name: "dpdk-data"
allocation_pool_start: "10.10.20.100"
allocation_pool_end: "10.10.20.200"
physical_network: "dpdkdata0"
cidr: "10.10.20.0/24"
enable_dhcp: false
gateway_ip: "10.10.20.254"
network_type: vlan
ip_version: 4
sec_groups: true
port_type: normal
- name: "sriov_mellanox_vf"
allocation_pool_start: "60.0.0.100"
allocation_pool_end: "60.0.0.200"
physical_network: sriov1
cidr: "60.0.0.0/24"
enable_dhcp: false
gateway_ip: "60.0.0.254"
network_type: vlan
ip_version: 4
sec_groups: true
port_type: direct
trusted_vf: true
min_qos: true
- name: 'sriov_mellanox_pf'
allocation_pool_start: '70.0.0.100'
allocation_pool_end: '70.0.0.200'
physical_network: sriov2
cidr: '70.0.0.0/24'
enable_dhcp: false
gateway_ip: '70.0.0.254'
network_type: vlan
ip_version: 4
sec_groups: true
port_type: direct-physical
dns_nameservers:
- 10.46.0.31
- 8.8.8.8
flavors:
- name: nfv_qe_base_flavor
ram: 8192
disk: 20
vcpus: 6
extra_specs:
"hw:mem_page_size": "large"
"hw:cpu_policy": "dedicated"
"hw:emulator_threads_policy": "share"
image_ssh_user: cloud-user
tempest_flavor_name: nfv_qe_base_flavor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment