Skip to content

Commit

Permalink
Add Host uuid field
Browse files Browse the repository at this point in the history
  • Loading branch information
ldjebran committed Dec 12, 2017
1 parent 46b6bf5 commit 94e37e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -3061,6 +3061,7 @@ def __init__(self, server_config=None, **kwargs):
'realm': entity_fields.OneToOneField(Realm),
'root_pass': entity_fields.StringField(length=(8, 30)),
'subnet': entity_fields.OneToOneField(Subnet),
'uuid': entity_fields.StringField(),
}
self._owner_type = None # actual ``owner_type`` value
self._meta = {'api_path': 'api/v2/hosts', 'server_modes': ('sat')}
Expand Down

0 comments on commit 94e37e3

Please sign in to comment.