From 089d7621221294e7d43605ff418cc95297844384 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Fri, 10 Aug 2018 15:35:27 +0800 Subject: Support multiple mac addresses in db JIRA: COMPASS-613 Change-Id: I1828c512d04060271cd0dc4884d892aa8f5adf97 Signed-off-by: Harry Huang --- compass-deck/db/api/machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compass-deck/db/api/machine.py') diff --git a/compass-deck/db/api/machine.py b/compass-deck/db/api/machine.py index b7b16b2..7991ada 100644 --- a/compass-deck/db/api/machine.py +++ b/compass-deck/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 = [ -- cgit 1.2.3-korg