---
sourceDocument: Xanadu ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Infoblox DHCP activities

# Infoblox DHCP activities {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read

The Infoblox DHCP activities manage the IP addresses reserved for DHCP in your network.

Use these activities to reserve, list, or delete IP addresses that are used for DHCP assignment
in your network.

## DHCP Reserve IP v4 Address Range activity {#ariaid-title2}

The DHCP Reserve IP v4 Address Range activity reserves an IP address range for DHCP
use.
The DHCP activities use the [REST web service activity template](https://www.servicenow.com/docs/iqsRjaW3Qs50I8ueWQUxwg#t_CreateARESTWebServiceActivity "Use this procedure to create a custom REST web service Orchestration activity.") to manage IP addresses using an Infoblox DDI
Grid Server. These activities are configured to use a MID Server with REST capabilities.{#r_DHCPReserveIPv4AddrRangeActivity__p_DHCPRESTTemplate}

To access this activity in the Workflow Editor, select the
Custom tab, and then navigate to Custom ActivitiesInfoblox DDIDHCP.{#r_DHCPReserveIPv4AddrRangeActivity__p_DHCPNavigation}

### Input variables

{#r_DHCPReserveIPv4AddrRangeActivity__table_ens_bk3_ht__entry__2}

| Variable | Description |
|-|-|
| InfobloxServer | Name of the Infoblox DDI Grid Server. |
| startIpAddress | Beginning IPv4 address of the range to reserve. |
| endIpAddress | Ending IPv4 address of the range to reserve. |
| restCredentials | The sys_id of the REST credentials from the ServiceNow instance. |
| api_version | Defines the version of WAPI to use for the integration endpoints. The default value is 2.0. Note: This field is mandatory. If the field is empty, the orchestration activity will fail. |
| view | Name of the Infoblox network view. The default value is default. Note: If the field is empty, the operation is treated as happening in the default view. |
[Table 1. DHCP Reserve IP v4 Address Range input variables]

{#r_DHCPReserveIPv4AddrRangeActivity__table_ens_bk3_ht}

### Output variables

{#r_DHCPReserveIPv4AddrRangeActivity__table_ldj_rk3_ht__entry__2}

| Variable | Description |
|-|-|
| DHCPIpAddressRange | Range of reserved IPv4 addresses. |
| error | Displays the message for any REST error encountered. |
[Table 2. DHCP Reserve IP v4 Address Range output variables]

{#r_DHCPReserveIPv4AddrRangeActivity__table_ldj_rk3_ht}

### Conditions

{#r_DHCPReserveIPv4AddrRangeActivity__table_ct2_mk3_ht__entry__2}

| Variable | Description |
|-|-|
| Success | Activity successfully reserved the specified IPv4 address range. |
| Failure | Activity failed to reserve the specified IPv4 address range. |
[Table 3. DHCP Reserve IP v4 Address Range conditions]

{#r_DHCPReserveIPv4AddrRangeActivity__table_ct2_mk3_ht}

## DHCP Delete IP Reservation activity {#ariaid-title3}

The DHCP Delete IP Reservation activity deletes IP reservations in DHCP using either an
IPv4 or IPv6 address range.
An automation can obtain an Infoblox DHCP object to delete from either of these activities:

* [DHCP
  List IP Reservations](https://www.servicenow.com/docs/reMjpenzBmSdFF2WvlRgFA#r_DHCPListIPReservationsActivity "The DHCP List IP Reservations activity generates a list of all the DHCP range reservations on a specific InfoBlox server.")
* [DHCP Reserve IPv4 Address Range](https://www.servicenow.com/docs/reMjpenzBmSdFF2WvlRgFA#r_DHCPReserveIPv4AddrRangeActivity "The DHCP Reserve IP v4 Address Range activity reserves an IP address range for DHCP use.")
{#r_DHCPDeleteIPReservationActivity__ul_fxy_klr_dt}

The DHCP activities use the [REST web service activity template](https://www.servicenow.com/docs/iqsRjaW3Qs50I8ueWQUxwg#t_CreateARESTWebServiceActivity "Use this procedure to create a custom REST web service Orchestration activity.") to manage IP addresses using an Infoblox DDI
Grid Server. These activities are configured to use a MID Server with REST capabilities.

To access this activity in the Workflow Editor, select the
Custom tab, and then navigate to Custom ActivitiesInfoblox DDIDHCP.

### Input variables

{#r_DHCPDeleteIPReservationActivity__table_p5r_zf3_ht__entry__2}

| Variable | Description |
|-|-|
| InfobloxServer | Name of the Infoblox DDI Grid Server. |
| ipToDelete | IP address range to delete, in the form: ` range/<encrypted code>:<start range>/<end range>/default` |
| restCredentials | The sys_id of the REST credentials from the ServiceNow instance. |
| api_version | Defines the version of WAPI to use for the integration endpoints. The default value is 2.0. Note: This field is mandatory. If the field is empty, the orchestration activity will fail. |
[Table 4. DHCP Delete IP Reservation input variables]

{#r_DHCPDeleteIPReservationActivity__table_p5r_zf3_ht}

### Output variables

{#r_DHCPDeleteIPReservationActivity__table_fj5_4g3_ht__entry__2}

| Variable | Description |
|-|-|
| DHCPDeletedIpRange | Range of deleted IP addresses. |
| error | Displays the message for any REST error encountered. |
[Table 5. DHCP Delete IP Reservation output variables]

{#r_DHCPDeleteIPReservationActivity__table_fj5_4g3_ht}

### Conditions

{#r_DHCPDeleteIPReservationActivity__table_kv3_tg3_ht__entry__2}

| Variable | Description |
|-|-|
| Success | Activity successfully deleted the specified IP address range. |
| Failure | Activity failed to delete the specified IP address range. |
[Table 6. DHCP Delete IP Reservation conditions]

{#r_DHCPDeleteIPReservationActivity__table_kv3_tg3_ht}

## DHCP List IP Reservations activity {#ariaid-title4}

The DHCP List IP Reservations activity generates a list of all the DHCP range
reservations on a specific InfoBlox server.
The DHCP activities use the [REST web service activity template](https://www.servicenow.com/docs/iqsRjaW3Qs50I8ueWQUxwg#t_CreateARESTWebServiceActivity "Use this procedure to create a custom REST web service Orchestration activity.") to manage IP addresses using an Infoblox DDI
Grid Server. These activities are configured to use a MID Server with REST capabilities.

To access this activity in the Workflow Editor, select the
Custom tab, and then navigate to Custom ActivitiesInfoblox DDIDHCP.

### Input variables

{#r_DHCPListIPReservationsActivity__table_jcn_m23_ht__entry__2}

| Variable | Description |
|-|-|
| InfobloxServer | Name of the Infoblox DDI Grid Server. |
| restCredentials | The sys_id of the REST credentials from the ServiceNow instance. |
| api_version | Defines the version of WAPI to use for the integration endpoints. The default value is 2.0. Note: This field is mandatory. If field is empty, the orchestration activity will fail. |
| view | Name of the Infoblox network view. The default value is default. Note: If the field is empty, the operation is treated as happening with no view and returns the values with data from all views. |
[Table 7. DHCP List IP Reservations input variables]

{#r_DHCPListIPReservationsActivity__table_jcn_m23_ht}

### Output variables

{#r_DHCPListIPReservationsActivity__table_mbt_v23_ht__entry__2}

| Variable | Description |
|-|-|
| reference | Reference value for an array of DHCP address ranges in this format: `range/<encrypted code>:<start range>/<end range>/default` |
| network | Address of the network containing the IP address range. |
| network_view | Routing doman associated with the network returned. |
[Table 8. DHCP List IP Reservations output variables]

{#r_DHCPListIPReservationsActivity__table_mbt_v23_ht}

### Conditions

{#r_DHCPListIPReservationsActivity__table_gkz_y23_ht__entry__2}

| Variables | Description |
|-|-|
| Success | Activity successfully returned an array of DHCP IP address ranges. |
| Failure | Activity failed to return an array of DHCP IP address ranges. |
[Table 9. DHCP List IP Reservations conditions]

{#r_DHCPListIPReservationsActivity__table_gkz_y23_ht}

*[\>]: and then


