From f3e2e4c6d6e42858092b1ee44804064b642dc9d5 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 25 Feb 2009 12:50:46 +0000 Subject: [PATCH] Update some version-related constants Since we are quite close to final RPC and hooks APIs, we update the hooks and protocol_version constants. Reviewed-by: imsnah --- lib/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/constants.py b/lib/constants.py index 144e9097f..e6f678d52 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -24,7 +24,7 @@ from ganeti import _autoconf # various versions -PROTOCOL_VERSION = 13 +PROTOCOL_VERSION = 20 RELEASE_VERSION = _autoconf.PACKAGE_VERSION OS_API_VERSION = 10 EXPORT_VERSION = 0 @@ -148,7 +148,7 @@ HOOKS_BASE_DIR = _autoconf.SYSCONFDIR + "/ganeti/hooks" HOOKS_PHASE_PRE = "pre" HOOKS_PHASE_POST = "post" HOOKS_NAME_CFGUPDATE = "config-update" -HOOKS_VERSION = 1 +HOOKS_VERSION = 2 # hooks subject type (what object type does the LU deal with) HTYPE_CLUSTER = "CLUSTER" -- GitLab