Don't expose instance id to users

Instance id is a internal attribute, should not be exposed
to users.

Change-Id: I406c0b3558fb13fe46636b5d907bbd4c363e5322
This commit is contained in:
Zhenguo Niu 2016-09-30 01:10:13 +08:00
parent b3163e049e
commit 4aae1d1788

View File

@ -66,9 +66,6 @@ class Instance(base.APIBase):
between the internal object model and the API representation of
a instance.
"""
id = wsme.wsattr(wtypes.IntegerType(minimum=1))
"""The ID of the instance"""
uuid = types.uuid
"""The UUID of the instance"""