Source code for mcvirt.rpc.constants

"""Provides constants for the RPC daemon"""
# Copyright (c) 2016 - I.T. Dev Ltd
#
# This file is part of MCVirt.
#
# MCVirt is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MCVirt is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MCVirt.  If not, see <http://www.gnu.org/licenses/>


[docs]class Annotations(object): """Pyro annotation names @TODO Move to main MCVIrt constants class """ USERNAME = 'USER' PASSWORD = 'PASS' PROXY_USER = 'ALTU' CLUSTER_MASTER = 'CLMA' SESSION_ID = 'SEID' HAS_LOCK = 'HASL' IGNORE_Drbd = 'IGDR' IGNORE_CLUSTER = 'IGCL'