From 94e37e3c54b31f90effb7c6c6dcb4f7f52477a0e Mon Sep 17 00:00:00 2001 From: ldjebran Date: Tue, 12 Dec 2017 09:37:53 +0200 Subject: [PATCH] Add Host uuid field --- nailgun/entities.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nailgun/entities.py b/nailgun/entities.py index 658f806f..d53e3b85 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -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')}