{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":48344,"path":"servicenow-platform/orchestration/c_InfobloxDHCPActivities.md","title":"Infoblox DHCP activities","bundle":null,"doc_type":null,"release":"australia","body":"\n# Infoblox DHCP activities\n\nThe Infoblox DHCP activities manage the IP addresses reserved for DHCP in your network.\n\nUse these activities to reserve, list, or delete IP addresses that are used for DHCP assignment in your network.\n\n**Parent Topic:**[Infoblox DDI activity pack](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/orchestration/c_InfobloxDDIActivityPack.md)\n\n## DHCP Reserve IP v4 Address Range activity\n\nThe DHCP Reserve IP v4 Address Range activity reserves an IP address range for DHCP use.\n\nThe DHCP activities use the [REST web service activity template](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/orchestration/t_CreateARESTWebServiceActivity.md) to manage IP addresses using an Infoblox DDI Grid Server. These activities are configured to use a MID Server with REST capabilities.\n\nTo access this activity in the Workflow Editor, select the **Custom** tab, and then navigate to **Custom Activities** &gt; **Infoblox DDI** &gt; **DHCP**.\n\n### Input variables\n\n<table id=\"table_ens_bk3_ht\"><thead><tr><th>\n\nVariable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nInfobloxServer\n\n</td><td>\n\nName of the Infoblox DDI Grid Server.\n\n</td></tr><tr><td>\n\nstartIpAddress\n\n</td><td>\n\nBeginning IPv4 address of the range to reserve.\n\n</td></tr><tr><td>\n\nendIpAddress\n\n</td><td>\n\nEnding IPv4 address of the range to reserve.\n\n</td></tr><tr><td>\n\nrestCredentials\n\n</td><td>\n\nThe sys\\_id of the REST credentials from the ServiceNow instance.\n\n</td></tr><tr><td>\n\napi\\_version\n\n</td><td>\n\nDefines 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.\n\n</td></tr><tr><td>\n\nview\n\n</td><td>\n\nName 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.\n\n</td></tr></tbody>\n</table>### Output variables\n\n|Variable|Description|\n|--------|-----------|\n|DHCPIpAddressRange|Range of reserved IPv4 addresses.|\n|error|Displays the message for any REST error encountered.|\n\n### Conditions\n\n|Variable|Description|\n|--------|-----------|\n|Success|Activity successfully reserved the specified IPv4 address range.|\n|Failure|Activity failed to reserve the specified IPv4 address range.|\n\n## DHCP Delete IP Reservation activity\n\nThe DHCP Delete IP Reservation activity deletes IP reservations in DHCP using either an IPv4 or IPv6 address range.\n\nAn automation can obtain an Infoblox DHCP object to delete from either of these activities:\n\n-   [DHCP List IP Reservations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/orchestration/c_InfobloxDHCPActivities.md)\n-   [DHCP Reserve IPv4 Address Range](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/orchestration/c_InfobloxDHCPActivities.md)\n\nThe DHCP activities use the [REST web service activity template](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/orchestration/t_CreateARESTWebServiceActivity.md) to manage IP addresses using an Infoblox DDI Grid Server. These activities are configured to use a MID Server with REST capabilities.\n\nTo access this activity in the Workflow Editor, select the **Custom** tab, and then navigate to **Custom Activities** &gt; **Infoblox DDI** &gt; **DHCP**.\n\n### Input variables\n\n<table id=\"table_p5r_zf3_ht\"><thead><tr><th>\n\nVariable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nInfobloxServer\n\n</td><td>\n\nName of the Infoblox DDI Grid Server.\n\n</td></tr><tr><td>\n\nipToDelete\n\n</td><td>\n\nIP address range to delete, in the form: `range/<encrypted code>:<start range>/<end range>/default`\n\n</td></tr><tr><td>\n\nrestCredentials\n\n</td><td>\n\nThe sys\\_id of the REST credentials from the ServiceNow instance.\n\n</td></tr><tr><td>\n\napi\\_version\n\n</td><td>\n\nDefines 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.\n\n</td></tr></tbody>\n</table>### Output variables\n\n|Variable|Description|\n|--------|-----------|\n|DHCPDeletedIpRange|Range of deleted IP addresses.|\n|error|Displays the message for any REST error encountered.|\n\n### Conditions\n\n|Variable|Description|\n|--------|-----------|\n|Success|Activity successfully deleted the specified IP address range.|\n|Failure|Activity failed to delete the specified IP address range.|\n\n## DHCP List IP Reservations activity\n\nThe DHCP List IP Reservations activity generates a list of all the DHCP range reservations on a specific InfoBlox server.\n\nThe DHCP activities use the [REST web service activity template](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/orchestration/t_CreateARESTWebServiceActivity.md) to manage IP addresses using an Infoblox DDI Grid Server. These activities are configured to use a MID Server with REST capabilities.\n\nTo access this activity in the Workflow Editor, select the **Custom** tab, and then navigate to **Custom Activities** &gt; **Infoblox DDI** &gt; **DHCP**.\n\n### Input variables\n\n<table id=\"table_jcn_m23_ht\"><thead><tr><th>\n\nVariable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nInfobloxServer\n\n</td><td>\n\nName of the Infoblox DDI Grid Server.\n\n</td></tr><tr><td>\n\nrestCredentials\n\n</td><td>\n\nThe sys\\_id of the REST credentials from the ServiceNow instance.\n\n</td></tr><tr><td>\n\napi\\_version\n\n</td><td>\n\nDefines 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.\n\n</td></tr><tr><td>\n\nview\n\n</td><td>\n\nName 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.\n\n</td></tr></tbody>\n</table>### Output variables\n\n|Variable|Description|\n|--------|-----------|\n|reference|Reference value for an array of DHCP address ranges in this format: `range/<encrypted code>:<start range>/<end range>/default`|\n|network|Address of the network containing the IP address range.|\n|network\\_view|Routing doman associated with the network returned.|\n\n### Conditions\n\n|Variables|Description|\n|---------|-----------|\n|Success|Activity successfully returned an array of DHCP IP address ranges.|\n|Failure|Activity failed to return an array of DHCP IP address ranges.|\n\n"}}