Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / quotas / resources.py @ ff5edb80

History | View | Annotate | Download (1.7 kB)

1 ff5edb80 Giorgos Korfiatis
# Copyright 2013-2014 GRNET S.A. All rights reserved.
2 47d421ae Georgios D. Tsoukalas
#
3 47d421ae Georgios D. Tsoukalas
# Redistribution and use in source and binary forms, with or
4 47d421ae Georgios D. Tsoukalas
# without modification, are permitted provided that the following
5 47d421ae Georgios D. Tsoukalas
# conditions are met:
6 47d421ae Georgios D. Tsoukalas
#
7 47d421ae Georgios D. Tsoukalas
#   1. Redistributions of source code must retain the above
8 47d421ae Georgios D. Tsoukalas
#      copyright notice, this list of conditions and the following
9 47d421ae Georgios D. Tsoukalas
#      disclaimer.
10 47d421ae Georgios D. Tsoukalas
#
11 47d421ae Georgios D. Tsoukalas
#   2. Redistributions in binary form must reproduce the above
12 47d421ae Georgios D. Tsoukalas
#      copyright notice, this list of conditions and the following
13 47d421ae Georgios D. Tsoukalas
#      disclaimer in the documentation and/or other materials
14 47d421ae Georgios D. Tsoukalas
#      provided with the distribution.
15 47d421ae Georgios D. Tsoukalas
#
16 47d421ae Georgios D. Tsoukalas
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
17 47d421ae Georgios D. Tsoukalas
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 47d421ae Georgios D. Tsoukalas
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 47d421ae Georgios D. Tsoukalas
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
20 47d421ae Georgios D. Tsoukalas
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 47d421ae Georgios D. Tsoukalas
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 47d421ae Georgios D. Tsoukalas
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 47d421ae Georgios D. Tsoukalas
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 47d421ae Georgios D. Tsoukalas
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 47d421ae Georgios D. Tsoukalas
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 47d421ae Georgios D. Tsoukalas
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 47d421ae Georgios D. Tsoukalas
# POSSIBILITY OF SUCH DAMAGE.
28 47d421ae Georgios D. Tsoukalas
#
29 47d421ae Georgios D. Tsoukalas
# The views and conclusions contained in the software and
30 47d421ae Georgios D. Tsoukalas
# documentation are those of the authors and should not be
31 47d421ae Georgios D. Tsoukalas
# interpreted as representing official policies, either expressed
32 47d421ae Georgios D. Tsoukalas
# or implied, of GRNET S.A.
33 4060cac5 Christos Stavrakakis
34 43d9e5f4 Giorgos Korfiatis
from synnefo.api.services import cyclades_services
35 47d421ae Georgios D. Tsoukalas
36 cdd6fc06 Christos Stavrakakis
resources = \
37 9c6d629f Giorgos Korfiatis
    cyclades_services['cyclades_compute']['resources'].values() +\
38 9c6d629f Giorgos Korfiatis
    cyclades_services['cyclades_network']['resources'].values()