diff --git a/nailgun/entities.py b/nailgun/entities.py index 35e5dc27..05dc9ceb 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -3899,6 +3899,25 @@ def __init__(self, server_config=None, **kwargs): 'traces_status': entity_fields.IntegerField(min_val=-1, max_val=2), 'traces_status_label': entity_fields.StringField(), 'uuid': entity_fields.StringField(), + 'pxe_loader': entity_fields.StringField( + choices=( + 'PXELinux BIOS', + 'PXELinux UEFI', + 'Grub UEFI', + 'Grub2 BIOS' + 'Grub2 ELF' + 'Grub2 UEFI' + 'Grub2 UEFI SecureBoot' + 'Grub2 UEFI HTTP' + 'Grub2 UEFI HTTPS' + 'Grub2 UEFI HTTPS SecureBoot' + 'iPXE Embedded' + 'iPXE UEFI HTTP' + 'iPXE Chain BIOS' + 'iPXE Chain UEFI', + ), + default='PXELinux BIOS', + ), } self._owner_type = None # actual ``owner_type`` value self._meta = {'api_path': 'api/v2/hosts'}