In the ISC DHCP terms, it defines a class of clients that match a particular (option, value) pair. To define an option filter, add an Option to the IPv6 DHCP Filter object.
Only superuser can add/modify/delete IPv6 option filters.
References to ipv6filteroption are object references.
The name part of the filteroption object reference has the following components:
- Name of the IPv6 Filter Option object
Example: ipv6filteroption/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 DHCPv6 configuration 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.
The descriptive comment of a DHCP IPv6 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 IPv6 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 IPv6 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 IPv6 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.
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.
Field | Type | Req | R/O | Base | Search |
---|---|---|---|---|---|
apply_as_class | Bool | 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 | : = ~ |
option_list | [struct] | N | N | N | N/A |
option_space | String | N | N | N | N/A |