heat.engine.software_config_io module

heat.engine.software_config_io module

APIs for dealing with input and output definitions for Software Configurations.

class heat.engine.software_config_io.IOConfig(**config)[source]

Bases: object

Base class for the configuration data for a single input or output.

as_dict()[source]

Return a dict representation suitable for persisting.

name()[source]

Return the name of the input or output.

class heat.engine.software_config_io.InputConfig(value=<object object>, **config)[source]

Bases: heat.engine.software_config_io.IOConfig

Class representing the configuration data for a single input.

as_dict()[source]

Return a dict representation suitable for persisting.

default()[source]

Return the default value of the input.

input_data()[source]

Return a name, value pair for the input.

replace_on_change()[source]
schema = {'default': <heat.engine.properties.Schema object at 0x7fa4fa4d8a50>, 'description': <heat.engine.properties.Schema object at 0x7fa4fa4d8250>, 'name': <heat.engine.properties.Schema object at 0x7fa4fa4d8210>, 'replace_on_change': <heat.engine.properties.Schema object at 0x7fa4fa4d8ad0>, 'type': <heat.engine.properties.Schema object at 0x7fa4fa4d8a10>}
class heat.engine.software_config_io.OutputConfig(**config)[source]

Bases: heat.engine.software_config_io.IOConfig

Class representing the configuration data for a single output.

error_output()[source]

Return True if the presence of the output indicates an error.

schema = {'description': <heat.engine.properties.Schema object at 0x7fa4fa4d8b10>, 'error_output': <heat.engine.properties.Schema object at 0x7fa4fa4d8bd0>, 'name': <heat.engine.properties.Schema object at 0x7fa4fa4d8a90>, 'type': <heat.engine.properties.Schema object at 0x7fa4fa4d8b90>}
heat.engine.software_config_io.check_io_schema_list(io_configs)[source]

Check that an input or output schema list is of the correct type.

Raises TypeError if the list itself is not a list, or if any of the members are not dicts.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.