The ironic_inspector.main Module

class ironic_inspector.main.Service[source]

Bases: object

init()[source]
run(args, application)[source]
setup_logging(args)[source]
shutdown()[source]
ironic_inspector.main.add_version_headers(res)[source]
ironic_inspector.main.api_continue(*args, **kwargs)[source]
ironic_inspector.main.api_introspection(*args, **kwargs)[source]
ironic_inspector.main.api_introspection_abort(*args, **kwargs)[source]
ironic_inspector.main.api_introspection_data(*args, **kwargs)[source]
ironic_inspector.main.api_introspection_reapply(*args, **kwargs)[source]
ironic_inspector.main.api_introspection_statuses(*args, **kwargs)[source]
ironic_inspector.main.api_root(*args, **kwargs)[source]
ironic_inspector.main.api_rule(*args, **kwargs)[source]
ironic_inspector.main.api_rules(*args, **kwargs)[source]
ironic_inspector.main.check_api_version()[source]
ironic_inspector.main.convert_exceptions(func)[source]
ironic_inspector.main.create_ssl_context()[source]
ironic_inspector.main.error_response(exc, code=500)[source]
ironic_inspector.main.generate_introspection_status(node)[source]

Return a dict representing current node status.

Parameters:node – a NodeInfo instance
Returns:dictionary
ironic_inspector.main.generate_resource_data(resources)[source]
ironic_inspector.main.handle_404(error)[source]
ironic_inspector.main.main(args=['build_sphinx'])[source]
ironic_inspector.main.periodic_clean_up()[source]
ironic_inspector.main.periodic_update()[source]
ironic_inspector.main.rule_repr(rule, short)[source]
ironic_inspector.main.sync_with_ironic()[source]
ironic_inspector.main.version_root(*args, **kwargs)[source]