1.1.1.5. yardstick.orchestrator package¶
1.1.1.5.1. Submodules¶
1.1.1.5.2. yardstick.orchestrator.heat module¶
Heat template and stack management
-
class
yardstick.orchestrator.heat.
HeatObject
[source]¶ Bases:
object
base class for template and stack
-
class
yardstick.orchestrator.heat.
HeatStack
(name)[source]¶ Bases:
yardstick.orchestrator.heat.HeatObject
Represents a Heat stack (deployed template)
-
delete
(block=True, retries=3)[source]¶ deletes a stack in the target cloud using heat (with retry) Sometimes delete fail with “InternalServerError” and the next attempt succeeds. So it is worthwhile to test a couple of times.
-
stacks
= []¶
-
-
class
yardstick.orchestrator.heat.
HeatTemplate
(name, template_file=None, heat_parameters=None)[source]¶ Bases:
yardstick.orchestrator.heat.HeatObject
Describes a Heat template and a method to deploy template to a stack
-
add_floating_ip
(name, network_name, port_name, router_if_name, secgroup_name=None)[source]¶ add to the template a Neutron FloatingIP resource see: https://bugs.launchpad.net/heat/+bug/1299259
-
add_port
(name, network_name, subnet_name, sec_group_id=None)[source]¶ add to the template a named Neutron Port
-
add_router
(name, ext_gw_net, subnet_name)[source]¶ add to the template a Neutron Router and interface
-
add_router_interface
(name, router_name, subnet_name)[source]¶ add to the template a Neutron RouterInterface and interface
-