summaryrefslogtreecommitdiffstats
path: root/compass-tasks-base/db/api/machine.py
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-08-10 15:35:27 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-08-10 15:35:27 +0800
commit089d7621221294e7d43605ff418cc95297844384 (patch)
tree9734f6e8ea044689b97cdaed99885c775ef95d2a /compass-tasks-base/db/api/machine.py
parent20e229822b31b03e1120c3e5efd4ba131261617e (diff)
Support multiple mac addresses in db
JIRA: COMPASS-613 Change-Id: I1828c512d04060271cd0dc4884d892aa8f5adf97 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'compass-tasks-base/db/api/machine.py')
-rw-r--r--compass-tasks-base/db/api/machine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/compass-tasks-base/db/api/machine.py b/compass-tasks-base/db/api/machine.py
index b7b16b2..7991ada 100644
--- a/compass-tasks-base/db/api/machine.py
+++ b/compass-tasks-base/db/api/machine.py
@@ -29,7 +29,7 @@ from compass.utils import util
MACHINE_PRIMARY_FILEDS = ['mac', 'owner_id']
SUPPORTED_FIELDS = [
- 'mac', 'tag', 'location',
+ 'mac', 'tag', 'location', 'ipmi_credentials',
'machine_attributes', 'owner_id']
IGNORE_FIELDS = ['id', 'created_at', 'updated_at']
UPDATED_FIELDS = [