'Create a child cell entry.'

@extensions.expected_errors((400, 403, 501))
@common.check_cells_enabled
@validation.schema(cells.create_v20, '2.0', '2.0')
@validation.schema(cells.create, '2.1')
def create(self, req, body):

    context = req.environ['nova.context']
    context.can((cells_policies.POLICY_ROOT % 'create'))
    cell = body['cell']
    self._normalize_cell(cell)
    try:
        cell = self.cells_rpcapi.cell_create(context, cell)
    except exception.CellsUpdateUnsupported as e:
        raise exc.HTTPForbidden(explanation=e.format_message())
    return dict(cell=_scrub_cell(cell))
