The nova.cells.state Module

CellState Manager

class CellState(cell_name, is_me=False)

Bases: object

Holds information for a particular cell.

get_cell_info()

Return subset of cell information for OS API use.

send_message(message)

Send a message to a cell. Just forward this to the driver, passing ourselves and the message as arguments.

update_capabilities(cell_metadata)

Update cell capabilities for a cell.

update_capacities(capacities)

Update capacity information for a cell.

update_db_info(cell_db_info)

Update cell credentials from db.

class CellStateManager(cell_state_cls=None)

Bases: nova.db.base.Base

get_cell_info_for_neighbors(*args, **kwargs)

Return cell information for all neighbor cells.

get_child_cell(*args, **kwargs)
get_child_cells(*args, **kwargs)

Return list of child cell_infos.

get_my_state(*args, **kwargs)

Return information for my (this) cell.

get_our_capabilities(*args, **kwargs)
get_our_capacities(*args, **kwargs)
get_parent_cell(*args, **kwargs)
get_parent_cells(*args, **kwargs)

Return list of parent cell_infos.

update_cell_capabilities(*args, **kwargs)

Update capabilities for a cell.

update_cell_capacities(*args, **kwargs)

Update capacities for a cell.

sync_from_db(f)

Use as a decorator to wrap methods that use cell information to make sure they sync the latest information from the DB periodically.

Previous topic

The nova.cells.scheduler Module

Next topic

The nova.cells.utils Module

This Page