In the ISC DHCP terms, it defines a class of clients that match a particular (option, value) pair. To define an option filter, add Option to the DHCP Filter object.
Only superuser can add/modify/delete option filters.
References to filteroption are object references.
The name part of the filteroption object reference has the following components:
- Name of the Filter Option object
Example: filteroption/ZG5zLm5ldHdvcmtfdmlldyQxMTk:default
The object does not support the following operations:
The object cannot be managed on Cloud Platform members.
These fields are actual members of the object; thus, they can be requested by using _return_fields, if the fields are readable.
The basic version of the object contains the field(s): comment, name.
The following fields are required to create this object:
Field | Notes |
---|---|
name |
Determines if apply as class is enabled or not. If this flag is set to “true” the filter is treated as global DHCP class, e.g it is written to dhcpd config file even if it is not present in any DHCP range.
Type
Bool.
Create
The default value is True.
Search
The field is not available for search.
A name of boot file of a DHCP filter option object.
Type
String.
Create
The default value is empty.
Search
The field is not available for search.
Determines the boot server of a DHCP filter option object. You can specify the name and/or IP address of the boot server that host needs to boot.
Type
String.
Create
The default value is empty.
Search
The field is not available for search.
The descriptive comment of a DHCP filter option object.
Type
String.
Create
The default value is empty.
Search
The field is available for search via
Notes
The comment is part of the base object.
The conditional expression of a DHCP filter option object.
Type
String.
Create
The default value is empty.
Search
The field is not available for search.
Extensible attributes associated with the object.
For valid values for extensible attributes, see the following information.
Type
Extensible attributes.
This field allows +/- to be specified as part of the field name when updating the object, see the following information.
Create
The default value is empty.
Search
For how to search extensible attributes, see the following information.
Determines the lease time of a DHCP filter option object.
Type
Unsigned integer.
Create
The default value is empty.
Search
The field is not available for search.
The name of a DHCP option filter object.
Type
String.
Create
The field is required on creation.
Search
The field is available for search via
Notes
The name is part of the base object.
Determines the next server of a DHCP filter option object. You can specify the name and/or IP address of the next server that the host needs to boot.
Type
String.
Create
The default value is empty.
Search
The field is not available for search.
An array of DHCP option structs that lists the DHCP options associated with the object.
Type
A/An DHCP option struct array.
Create
The default value is:
empty
Search
The field is not available for search.
The option space of a DHCP filter option object.
Type
String.
Create
The default value is DHCP.
Search
The field is not available for search.
Determines the PXE (Preboot Execution Environment) lease time of a DHCP filter option object. To specify the duration of time it takes a host to connect to a boot server, such as a TFTP server, and download the file it needs to boot.
Type
Unsigned integer.
Create
The default value is empty.
Search
The field is not available for search.
Field | Type | Req | R/O | Base | Search |
---|---|---|---|---|---|
apply_as_class | Bool | N | N | N | N/A |
bootfile | String | N | N | N | N/A |
bootserver | String | N | N | N | N/A |
comment | String | N | N | Y | : = ~ |
expression | String | N | N | N | N/A |
extattrs | Extattr | N | N | N | ext |
lease_time | Unsigned int | N | N | N | N/A |
name | String | Y | N | Y | : = ~ |
next_server | String | N | N | N | N/A |
option_list | [struct] | N | N | N | N/A |
option_space | String | N | N | N | N/A |
pxe_lease_time | Unsigned int | N | N | N | N/A |