diff --git a/lib/constants.py b/lib/constants.py index 144e9097f829ea7a063957e33f2f6988b8e7c292..e6f678d52653c215feea95f8082f494a8a852d15 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"