From fc1b48508c0c9b58301e1633d1baf57fb646056d Mon Sep 17 00:00:00 2001 From: JiuyunZhao <46752751+JiuyunZhao@users.noreply.github.com> Date: Mon, 14 Nov 2022 14:40:58 +0800 Subject: [PATCH] Add cpu_count for controller model. (#938) Co-authored-by: wangqin <442577631@qq.com> --- delfin/db/sqlalchemy/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/delfin/db/sqlalchemy/models.py b/delfin/db/sqlalchemy/models.py index 7b1e304be..ccace5430 100644 --- a/delfin/db/sqlalchemy/models.py +++ b/delfin/db/sqlalchemy/models.py @@ -150,6 +150,7 @@ class Controller(BASE, DelfinBase): location = Column(String(255)) soft_version = Column(String(255)) cpu_info = Column(String(255)) + cpu_count = Column(Integer) memory_size = Column(BigInteger) storage_id = Column(String(36)) mgmt_ip = Column(String(255))