From 7d43aae3a0b5e13ccc985c0aa29b56fccc257f43 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Mon, 6 Sep 2021 20:44:26 +0200 Subject: [PATCH] pyocf: Add new error codes Signed-off-by: Robert Baldyga --- tests/functional/pyocf/types/shared.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functional/pyocf/types/shared.py b/tests/functional/pyocf/types/shared.py index df51257..cdd637b 100644 --- a/tests/functional/pyocf/types/shared.py +++ b/tests/functional/pyocf/types/shared.py @@ -49,6 +49,9 @@ class OcfErrorCode(IntEnum): OCF_ERR_INVALID_CACHE_LINE_SIZE = auto() OCF_ERR_CACHE_NAME_MISMATCH = auto() OCF_ERR_INVAL_CACHE_DEV = auto() + OCF_ERR_CORE_UUID_EXISTS = auto() + OCF_ERR_METADATA_LAYOUT_MISMATCH = auto() + OCF_ERR_CACHE_LINE_SIZE_MISMATCH = auto() class OcfCompletion: