ipv6filteroption : DHCP filter option object.

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.

Object Reference

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

Restrictions

The object does not support the following operations:

  • Permissions

The object cannot be managed on Cloud Platform members.

Fields

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  

apply_as_class

apply_as_class

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.

comment

comment

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

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The comment is part of the base object.

expression

expression

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.

extattrs

extattrs

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.

lease_time

lease_time

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.

name

name

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

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The name is part of the base object.

option_list

option_list

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.

option_space

option_space

The option space of a DHCP IPv6 filter option object.

Type

String.

Create

The default value is DHCPv6.

Search

The field is not available for search.

Fields List

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