'Create a container with the given attributes.
:param name: name of the container to create
:param put_timestamp: put_timestamp of the container to create
:param delete_timestamp: delete_timestamp of the container to create
:param object_count: number of objects in the container
:param bytes_used: number of bytes used by the container
:param storage_policy_index:  the storage policy for this container'

def put_container(self, name, put_timestamp, delete_timestamp, object_count, bytes_used, storage_policy_index):

    if ((Timestamp(delete_timestamp) > Timestamp(put_timestamp)) and (object_count in (None, '', 0, '0'))):
        deleted = 1
    else:
        deleted = 0
    record = {'name': name, 'put_timestamp': put_timestamp, 'delete_timestamp': delete_timestamp, 'object_count': object_count, 'bytes_used': bytes_used, 'deleted': deleted, 'storage_policy_index': storage_policy_index}
    self.put_record(record)
