# All Rights Reserved. # # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt( "monasca_metric_create_prepoll_delay", default=15.0, deprecated_group="benchmark", help="Delay between creating Monasca metrics and polling for " "its elements.") ] }
# Copyright 2017: GoDaddy Inc. # All Rights Reserved. # # 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. from rally.common import cfg OPTS = { "DEFAULT": [ cfg.FloatOpt( "openstack_client_http_timeout", default=180.0, help="HTTP timeout for any of OpenStack service in seconds") ] }
# 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. from rally.common import cfg OPTS = {"openstack": [ cfg.FloatOpt("neutron_create_loadbalancer_timeout", default=float(500), deprecated_group="benchmark", help="Neutron create loadbalancer timeout"), cfg.FloatOpt("neutron_create_loadbalancer_poll_interval", default=float(2), deprecated_group="benchmark", help="Neutron create loadbalancer poll interval"), cfg.BoolOpt("pre_newton_neutron", default=False, help="Whether Neutron API is older then OpenStack Newton or " "not. Based on the option, some external fields for " "identifying resources can be applied."), cfg.ListOpt("neutron_bind_l2_agent_types", # default to agent types used in gate jobs default=[ "Open vSwitch agent", "Linux bridge agent",
# 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. from rally.common import cfg KUBERNETES_OPTS = [ cfg.FloatOpt("start_prepoll_delay", default=0.0, help="Time to sleep before polling for status"), cfg.IntOpt("status_total_retries", default=50, help="Kubernetes total retries to read resource status"), cfg.FloatOpt("status_poll_interval", default=1.0, help="Kubernetes status poll interval") ] def list_opts(): """Return a list of configuration options. This is entry-point which is configured via setup.cfg """
# # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt("cinder_volume_create_prepoll_delay", default=2.0, deprecated_group="benchmark", help="Time to sleep after creating a resource before" " polling for it status"), cfg.FloatOpt("cinder_volume_create_timeout", default=600.0, deprecated_group="benchmark", help="Time to wait for cinder volume to be created."), cfg.FloatOpt("cinder_volume_create_poll_interval", default=2.0, deprecated_group="benchmark", help="Interval between checks when waiting for volume" " creation."), cfg.FloatOpt("cinder_volume_delete_timeout", default=600.0, deprecated_group="benchmark", help="Time to wait for cinder volume to be deleted."),
# Copyright 2013: Mirantis Inc. # All Rights Reserved. # # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt( "senlin_action_timeout", default=3600, deprecated_group="benchmark", help="Time in seconds to wait for senlin action to finish.") ] }
# All Rights Reserved. # # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt("watcher_audit_launch_poll_interval", default=2.0, deprecated_group="benchmark", help="Watcher audit launch interval"), cfg.IntOpt("watcher_audit_launch_timeout", default=300, deprecated_group="benchmark", help="Watcher audit launch timeout") ] }
# # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt( "manila_share_create_prepoll_delay", default=2.0, deprecated_group="benchmark", help="Delay between creating Manila share and polling for its " "status."), cfg.FloatOpt("manila_share_create_timeout", default=300.0, deprecated_group="benchmark", help="Timeout for Manila share creation."), cfg.FloatOpt( "manila_share_create_poll_interval", default=3.0, deprecated_group="benchmark", help="Interval between checks when waiting for Manila share " "creation."), cfg.FloatOpt("manila_share_delete_timeout", default=180.0, deprecated_group="benchmark",
# 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt( "ec2_server_boot_prepoll_delay", default=1.0, deprecated_group="benchmark", help="Time to sleep after boot before polling for status"), cfg.FloatOpt("ec2_server_boot_timeout", default=300.0, deprecated_group="benchmark", help="Server boot timeout"), cfg.FloatOpt("ec2_server_boot_poll_interval", default=1.0, deprecated_group="benchmark", help="Server boot poll interval") ] }
# # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt( "ironic_node_create_poll_interval", default=1.0, deprecated_group="benchmark", help="Interval(in sec) between checks when waiting for node " "creation."), cfg.FloatOpt("ironic_node_create_timeout", default=300, deprecated_group="benchmark", help="Ironic node create timeout"), cfg.FloatOpt("ironic_node_poll_interval", default=1.0, deprecated_group="benchmark", help="Ironic node poll interval"), cfg.FloatOpt("ironic_node_delete_timeout", default=300, deprecated_group="benchmark", help="Ironic node create timeout") ]
# All Rights Reserved. # # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt("vm_ping_poll_interval", default=1.0, deprecated_group="benchmark", help="Interval between checks when waiting for a VM to " "become pingable"), cfg.FloatOpt("vm_ping_timeout", default=120.0, deprecated_group="benchmark", help="Time to wait for a VM to become pingable") ] }
# # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt( "heat_stack_create_prepoll_delay", default=2.0, deprecated_group="benchmark", help="Time(in sec) to sleep after creating a resource before " "polling for it status."), cfg.FloatOpt( "heat_stack_create_timeout", default=3600.0, deprecated_group="benchmark", help="Time(in sec) to wait for heat stack to be created."), cfg.FloatOpt( "heat_stack_create_poll_interval", default=1.0, deprecated_group="benchmark", help="Time interval(in sec) between checks when waiting for " "stack creation."), cfg.FloatOpt( "heat_stack_delete_timeout",
# Copyright 2018: Red Hat Inc. # All Rights Reserved. # # 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. from rally.common import cfg OPTS = { "openstack": [ cfg.FloatOpt("octavia_create_loadbalancer_timeout", default=float(500.0), help="Octavia create loadbalancer timeout"), cfg.FloatOpt("octavia_delete_loadbalancer_timeout", default=float(50.0), help="Octavia delete loadbalancer timeout"), cfg.FloatOpt("octavia_create_loadbalancer_poll_interval", default=float(2.0), help="Octavia create loadbalancer poll interval") ] }
# # 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. from rally.common import cfg OPTS = { "openstack": [ # prepoll delay, timeout, poll interval # "start": (0, 300, 1) cfg.FloatOpt( "nova_server_start_prepoll_delay", default=0.0, deprecated_group="benchmark", help="Time to sleep after start before polling for status"), cfg.FloatOpt("nova_server_start_timeout", default=300.0, deprecated_group="benchmark", help="Server start timeout"), cfg.FloatOpt("nova_server_start_poll_interval", deprecated_group="benchmark", default=1.0, help="Server start poll interval"), # "stop": (0, 300, 2) cfg.FloatOpt( "nova_server_stop_prepoll_delay", default=0.0, help="Time to sleep after stop before polling for status"),
# 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. from rally.common import cfg OPTS = {"openstack": [ cfg.FloatOpt("glance_image_delete_timeout", default=120.0, deprecated_group="benchmark", help="Time to wait for glance image to be deleted."), cfg.FloatOpt("glance_image_delete_poll_interval", default=1.0, deprecated_group="benchmark", help="Interval between checks when waiting for image " "deletion."), cfg.FloatOpt("glance_image_create_prepoll_delay", default=2.0, deprecated_group="benchmark", help="Time to sleep after creating a resource before " "polling for it status"), cfg.FloatOpt("glance_image_create_timeout", default=120.0, deprecated_group="benchmark", help="Time to wait for glance image to be created."),
# 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. from rally.common import cfg OPTS = {"openstack": [ cfg.FloatOpt("magnum_cluster_create_prepoll_delay", default=5.0, deprecated_group="benchmark", help="Time(in sec) to sleep after creating a resource before " "polling for the status."), cfg.FloatOpt("magnum_cluster_create_timeout", default=2400.0, deprecated_group="benchmark", help="Time(in sec) to wait for magnum cluster to be " "created."), cfg.FloatOpt("magnum_cluster_create_poll_interval", default=2.0, deprecated_group="benchmark", help="Time interval(in sec) between checks when waiting for " "cluster creation."), cfg.FloatOpt("k8s_pod_create_timeout", default=1200.0, deprecated_group="benchmark",