ironic_lib.json_rpc package¶
Submodules¶
ironic_lib.json_rpc.client module¶
A simple JSON RPC client.
This client is compatible with any JSON RPC 2.0 implementation, including ours.
ironic_lib.json_rpc.server module¶
Implementation of JSON RPC for communication between API and conductors.
This module implementa a subset of JSON RPC 2.0 as defined in https://www.jsonrpc.org/specification. Main differences: * No support for batched requests. * No support for positional arguments passing. * No JSON RPC 1.0 fallback.
- exception ironic_lib.json_rpc.server.InvalidParams(message=None, **kwargs)[source]¶
Bases:
ironic_lib.json_rpc.server.JsonRpcError
- code = -32602¶
- exception ironic_lib.json_rpc.server.InvalidRequest(message=None, **kwargs)[source]¶
Bases:
ironic_lib.json_rpc.server.JsonRpcError
- code = -32600¶
- exception ironic_lib.json_rpc.server.MethodNotFound(message=None, **kwargs)[source]¶
Bases:
ironic_lib.json_rpc.server.JsonRpcError
- code = -32601¶
- exception ironic_lib.json_rpc.server.ParseError(message=None, **kwargs)[source]¶
Bases:
ironic_lib.json_rpc.server.JsonRpcError
- code = -32700¶