def METHOD_NAME(vmware):
    """Create VMware Compute Resource with organizations and locations
    :id: 96faae3f-bc64-4147-a9fc-09c858e0a68f
    :customerscenario: true
    :expectedresults: VMware Compute resource is created
    :BZ: 1387917
    :CaseAutomation: Automated
    :CaseImportance: Critical
    """
    cr_name = gen_string('alpha')
    vmware_cr = make_compute_resource(
        {
            'name': cr_name,
            'organization-ids': vmware.org.id,
            'location-ids': vmware.loc.id,
            'provider': FOREMAN_PROVIDERS['vmware'],
            'server': vmware.vmware_server,
            'user': vmware.vmware_username,
            'password': vmware.vmware_password,
            'datacenter': vmware.vmware_datacenter,
        }
    )
    assert vmware_cr['name'] == cr_name