Adds DHCP match classes to Address Manager.
Output / ResponseReturns the object ID of the new DHCP match class
added.
API Call:
long addDHCPMatchClass ( long configurationId, String
name, String matchCriteria, String properties )
Parameter |
Description |
configurationId |
The object ID of the configuration to which the DHCP match class is
being added. |
name |
The name of the DHCP match class. |
matchCriteria |
A string defining the match criteria. The value must be one of the
constants listed in DHCP Class Match Criteria. |
properties |
A string containing the following properties and values:
- description—a description of the match class.
- matchOffset—Match Offset value for the MatchClass. It
refers to the point where the match should begin.
- matchLength—Match Length value for the Matchclass. It
refers to the number of characters to match.
- customMatchRawString—a raw string that maps directly to a
data or boolean expression for DHCP_CLASS_CUSTOM_MATCH and
DHCP_CLASS_CUSTOM_MATCH_IF constants. Use the syntax and grammar
supported by the ISC’s DHCP daemon. End the string with a “;”
semicolon. If you omit the semicolon, one is automatically added
when the condition is deployed.
Note:
- matchOffset and matchLength are only
applicable to the following five constants:
- DHCP_CLASS_HARDWARE
- DHCP_CLASS_CLIENT_ID
- DHCP_CLASS_VENDOR_ID
- DHCP_CLASS_AGENT_CIRCUIT_ID
- DHCP_CLASS_AGENT_REMOTE_ID
- matchOffset and matchLength must be
specified together.
|