Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.14.z] Add pxe_loader to Host #968

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -3987,6 +3987,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'}
Expand Down
Loading