Document toolboxDocument toolbox

Option Filter

Field NameData TypeRequired (Yes/No)Associated GUI FieldAssociated PAPI MethodUsage and Guidelines
Header-OptionFilterStringYes

Example: OptionFilter
nameStringYesNamenameExample: Option Filter 1
_new_nameStringNo

Add this field to overwrite the name field when you select the overwrite or merge option.
commentStringNoCommentcomment
boot_fileStringNoBoot Fileboot_fileExample: bootfile1
boot_serverStringNoBoot Serverboot_serverExample: abc.corp100.com
lease_timeIntegerNoLease Timelease_timeExample: 7200
pxe_lease_timeUnsigned integerNoPXE Lease Timepxe_lease_timeExample: 1100
next_serverStringNoNext Servernext_serverExample: blue.domain.com
option_spaceStringNoOption Spaceoption_spaceExample: Infoblox_DHCP
OPTION-2IntegerNoCustom DHCP
Options
option_list

This is an example of a DHCP option. For information, see Data Specific Guidelines.
Example: 50

OPTION-1StringNoCustom DHCP Optionsoptions_listThis is an example of a DHCP option. For information, see Data Specific Guidelines.
Example: ‘255.0.0.0’ name implies vendor_class=’DHCP’ (default)
OPTION-XXXX-200Option informationNoExtensible
Attribute Site
options_list This is an example of a DHCP option. For information, see Data Specific Guidelines.
Example: ’dfdfdfd’ name implies vendor_class=’XXXX’, option code/number 200
EA-SiteStringNoExtensible Attribute Siteextensible_attributesEA-Site is an example of a predefined extensible attribute. You can add other predefined attributes to the data file. For information about data format and examples, see Data Specific Guidelines.
EA-UsersStringNoExtensible Attribute Usersextensible_attributesEA-Users is an example of a user defined attribute. You can add other user defined attributes to the data file. For information about data format and examples, see Data Specific Guidelines.

Examples

This section contains examples of how to create data files for option filters. All examples use comma as the separator. You can use other supported separators, such as semicolon, space, or tab.

Adding an Option Filter

This example shows how to import an option filter with boot file, boot server, and lease time.

header-OptionFilter name*,comment,boot_file,boot_server,lease_time OptionFilter,OptionFilter01,This is a comment.,bootfile01 1.2.3.4,12800

Overwriting Option Filter Data

This example shows how to overwrite an option filter name and boot file name.

header-OptionFilter,name*,_new_name,boot_file OptionFilter,OptionFilter01,OptionFilter02,bootfile02

Merging Option Filter Data

This example shows how to merge to an option filter the PXE lease time and next server domain name.

header-OptionFilter,name*,pxe_lease_time,next_server OptionFilter,OptionFilter02,12800,next.corp100.com