'EXPERIMENTAL. Create a cell mapping and host mappings for a cell.
Users not dividing their cloud into multiple cells will be a single
cell v2 deployment and should specify:
nova-manage cell_v2 map_cell_and_hosts --config-file <nova.conf>
Users running multiple cells can add a cell v2 by specifying:
nova-manage cell_v2 map_cell_and_hosts --config-file <cell nova.conf>'

@args('--transport-url', metavar='<transport_url>', dest='transport_url', help='The    transport    url    for    the    cell    message    queue')
@args('--name', metavar='<cell_name>', help='The    name    of    the    cell')
@args('--verbose', action='store_true', help='Output    the    cell    mapping    uuid    for    any    newly    mapped    hosts.')
def map_cell_and_hosts(self, transport_url=None, name=None, verbose=False):

    transport_url = self._validate_transport_url(transport_url)
    if (not transport_url):
        return 1
    self._map_cell_and_hosts(transport_url, name, verbose)
    return 0
