physical id may not be a uuid

the resource id which is the physical id in Senlin, may not be
UUID format, could be a String.

Change-Id: I87777213212e580d50e55a63e21bb9651f3e9b14
This commit is contained in:
ruijie 2017-08-05 10:04:22 -07:00
parent a6991090c5
commit 2e4bbb1037
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class NodePayload(NotificationObject):
'name': fields.StringField(),
'profile_id': fields.UUIDField(),
'cluster_id': fields.StringField(),
'physical_id': fields.UUIDField(nullable=True),
'physical_id': fields.StringField(nullable=True),
'index': fields.IntegerField(),
'role': fields.StringField(nullable=True),
'init_at': fields.DateTimeField(),