def get_resource_attributes(attrs):
    """
    Gets the attributes required to render occi compliant compute
    resource information.
    """
    attrs = {'occi.compute.cores': 'immutable', 'occi.compute.memory':
        'immutable', 'org.openstack.compute.swap': 'immutable',
        'org.openstack.compute.storage.root': 'immutable',
        'org.openstack.compute.storage.ephemeral': 'immutable'}
    return attrs
