def get_roles_info(parsed_args):
    """Get flavor name and scale for all deployment roles.

    :returns: dict role name -> (flavor name, scale)
    """
    return {'control': (parsed_args.control_flavor, parsed_args.
        control_scale), 'compute': (parsed_args.compute_flavor, parsed_args
        .compute_scale), 'ceph-storage': (parsed_args.ceph_storage_flavor,
        parsed_args.ceph_storage_scale), 'block-storage': (parsed_args.
        block_storage_flavor, parsed_args.block_storage_scale),
        'swift-storage': (parsed_args.swift_storage_flavor, parsed_args.
        swift_storage_scale)}
