Statistics
| Branch: | Tag: | Revision:

root / lib / rapi / __init__.py @ bc826292

History | View | Annotate | Download (911 Bytes)

1 8c229cc7 Oleksiy Mishchenko
#
2 8c229cc7 Oleksiy Mishchenko
#
3 8c229cc7 Oleksiy Mishchenko
4 8c229cc7 Oleksiy Mishchenko
# Copyright (C) 2007, 2008 Google Inc.
5 8c229cc7 Oleksiy Mishchenko
#
6 8c229cc7 Oleksiy Mishchenko
# This program is free software; you can redistribute it and/or modify
7 8c229cc7 Oleksiy Mishchenko
# it under the terms of the GNU General Public License as published by
8 8c229cc7 Oleksiy Mishchenko
# the Free Software Foundation; either version 2 of the License, or
9 8c229cc7 Oleksiy Mishchenko
# (at your option) any later version.
10 8c229cc7 Oleksiy Mishchenko
#
11 8c229cc7 Oleksiy Mishchenko
# This program is distributed in the hope that it will be useful, but
12 8c229cc7 Oleksiy Mishchenko
# WITHOUT ANY WARRANTY; without even the implied warranty of
13 8c229cc7 Oleksiy Mishchenko
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 8c229cc7 Oleksiy Mishchenko
# General Public License for more details.
15 8c229cc7 Oleksiy Mishchenko
#
16 8c229cc7 Oleksiy Mishchenko
# You should have received a copy of the GNU General Public License
17 8c229cc7 Oleksiy Mishchenko
# along with this program; if not, write to the Free Software
18 8c229cc7 Oleksiy Mishchenko
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 8c229cc7 Oleksiy Mishchenko
# 02110-1301, USA.
20 8c229cc7 Oleksiy Mishchenko
21 7260cfbe Iustin Pop
"""Ganeti RAPI module"""
22 8c229cc7 Oleksiy Mishchenko
23 b5b67ef9 Michael Hanselmann
RAPI_ACCESS_WRITE = "write"
24 5e12acfe Michael Hanselmann
RAPI_ACCESS_READ = "read"
25 5e12acfe Michael Hanselmann
26 5e12acfe Michael Hanselmann
RAPI_ACCESS_ALL = frozenset([
27 5e12acfe Michael Hanselmann
  RAPI_ACCESS_WRITE,
28 5e12acfe Michael Hanselmann
  RAPI_ACCESS_READ,
29 5e12acfe Michael Hanselmann
  ])