8611eea339
Working: * Benchmark output makes it to browbeat results directory * v1.7 PerfKitBenchmarker is installed * Many benchmarks are tested however there is still some that require testing/configuration * Example are provided in conf/perfkit-benchmarks.yml Change-Id: I62dec86fe7e8c6f71b7c5654abfd4b2079904e4b
30 lines
1.5 KiB
YAML
30 lines
1.5 KiB
YAML
---
|
|
#
|
|
# Setup up network for browbeat
|
|
#
|
|
|
|
- name: Create browbeat public network
|
|
shell: ". {{overcloudrc}}; neutron net-create {{browbeat_pub_net_name}} --shared --router:external | grep -E ' id ' | awk '{print $4}'"
|
|
register: public_net_id
|
|
|
|
- name: Create browbeat public subnet
|
|
shell: ". {{overcloudrc}}; neutron subnet-create {{public_net_id.stdout}} {{browbeat_pub_subnet}} --allocation-pool start={{browbeat_pub_pool_start}},end={{browbeat_pub_pool_end}} --gateway={{browbeat_pub_pool_gw}} --disable-dhcp"
|
|
|
|
- name: Create browbeat private network
|
|
shell: ". {{overcloudrc}}; neutron net-create {{browbeat_pri_net_name}} --shared | grep -E ' id ' | awk '{print $4}'"
|
|
register: private_net_id
|
|
|
|
- name: Create browbeat private subnet
|
|
shell: ". {{overcloudrc}}; neutron subnet-create {{private_net_id.stdout}} {{browbeat_pri_subnet}} --allocation-pool start={{browbeat_pri_pool_start}},end={{browbeat_pri_pool_end}} --gateway={{browbeat_pri_pool_gw}} --dns-nameserver {{browbeat_pri_pool_dns}} | grep -E ' id ' | awk '{print $4}'"
|
|
register: private_subnet_id
|
|
|
|
- name: Create browbeat router
|
|
shell: ". {{overcloudrc}}; neutron router-create {{browbeat_router_name}} | grep -E ' id ' | awk '{print $4}'"
|
|
register: router_id
|
|
|
|
- name: Set browbeat router gateway
|
|
shell: ". {{overcloudrc}}; neutron router-gateway-set {{router_id.stdout}} {{public_net_id.stdout}}"
|
|
|
|
- name: Add browbeat router interface to browbeat private network
|
|
shell: ". {{overcloudrc}}; neutron router-interface-add {{router_id.stdout}} {{private_subnet_id.stdout}}"
|