'Creates, Updates or deletes an account metadata entry.
Account Metadata can be created, updated or deleted based on
metadata header or value. For detailed info, please refer to the
official API reference:
http://developer.openstack.org/api-ref/object-storage/?expanded=create-update-or-delete-account-metadata-detail'

def create_update_or_delete_account_metadata(self, create_update_metadata=None, delete_metadata=None, create_update_metadata_prefix='X-Account-Meta-', delete_metadata_prefix='X-Remove-Account-Meta-'):

    headers = {}
    if create_update_metadata:
        for key in create_update_metadata:
            metadata_header_name = (create_update_metadata_prefix + key)
            headers[metadata_header_name] = create_update_metadata[key]
    if delete_metadata:
        for key in delete_metadata:
            headers[(delete_metadata_prefix + key)] = delete_metadata[key]
    (resp, body) = self.post('', headers=headers, body=None)
    self.expected_success([200, 204], resp.status)
    return (resp, body)
