Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-backend / pithos / backends / lib / sqlalchemy / __init__.py @ 1ec05716

History | View | Annotate | Download (2.1 kB)

1 2e662088 Antony Chazapis
# Copyright 2011-2012 GRNET S.A. All rights reserved.
2 2715ade4 Sofia Papagiannaki
#
3 5e7485da Antony Chazapis
# Redistribution and use in source and binary forms, with or
4 5e7485da Antony Chazapis
# without modification, are permitted provided that the following
5 5e7485da Antony Chazapis
# conditions are met:
6 2715ade4 Sofia Papagiannaki
#
7 5e7485da Antony Chazapis
#   1. Redistributions of source code must retain the above
8 5e7485da Antony Chazapis
#      copyright notice, this list of conditions and the following
9 5e7485da Antony Chazapis
#      disclaimer.
10 2715ade4 Sofia Papagiannaki
#
11 5e7485da Antony Chazapis
#   2. Redistributions in binary form must reproduce the above
12 5e7485da Antony Chazapis
#      copyright notice, this list of conditions and the following
13 5e7485da Antony Chazapis
#      disclaimer in the documentation and/or other materials
14 5e7485da Antony Chazapis
#      provided with the distribution.
15 2715ade4 Sofia Papagiannaki
#
16 5e7485da Antony Chazapis
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
17 5e7485da Antony Chazapis
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 5e7485da Antony Chazapis
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 5e7485da Antony Chazapis
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
20 5e7485da Antony Chazapis
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 5e7485da Antony Chazapis
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 5e7485da Antony Chazapis
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 5e7485da Antony Chazapis
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 5e7485da Antony Chazapis
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 5e7485da Antony Chazapis
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 5e7485da Antony Chazapis
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 5e7485da Antony Chazapis
# POSSIBILITY OF SUCH DAMAGE.
28 2715ade4 Sofia Papagiannaki
#
29 5e7485da Antony Chazapis
# The views and conclusions contained in the software and
30 5e7485da Antony Chazapis
# documentation are those of the authors and should not be
31 5e7485da Antony Chazapis
# interpreted as representing official policies, either expressed
32 5e7485da Antony Chazapis
# or implied, of GRNET S.A.
33 5e7485da Antony Chazapis
34 2c5363a0 Antony Chazapis
from dbwrapper import DBWrapper
35 adce84cd Sofia Papagiannaki
from node import (Node, ROOTNODE, SERIAL, NODE, HASH, SIZE, TYPE, MTIME, MUSER,
36 adce84cd Sofia Papagiannaki
                  UUID, CHECKSUM, CLUSTER, MATCH_PREFIX, MATCH_EXACT)
37 e9363f82 Antony Chazapis
from permissions import Permissions, READ, WRITE
38 5a6a68f3 Sofia Papagiannaki
from config import Config
39 cb787cc4 Sofia Papagiannaki
from quotaholder_serials import QuotaholderSerial
40 2c5363a0 Antony Chazapis
41 e9363f82 Antony Chazapis
__all__ = ["DBWrapper",
42 adce84cd Sofia Papagiannaki
           "Node", "ROOTNODE", "NODE", "SERIAL", "HASH", "SIZE", "TYPE",
43 adce84cd Sofia Papagiannaki
           "MTIME", "MUSER", "UUID", "CHECKSUM", "CLUSTER", "MATCH_PREFIX",
44 29148653 Sofia Papagiannaki
           "MATCH_EXACT", "Permissions", "READ", "WRITE", "Config",
45 29148653 Sofia Papagiannaki
           "QuotaholderSerial"]