# Verify Network Topology (Utility Network)

## Summary

Verifies the network topology system tables and logs inconsistencies to an output log file.

The Verify Network Topology tool is used to check the consistency of a network topology and create an output log file containing the issues discovered. This tool can be used in conjunction with the Repair Network Topology tool.

## Usage

• The network topology must be enabled.

• When working with an enterprise geodatabase, the database connection must be from a branch versioned workspace.

• When working with an enterprise geodatabase, the Input Utility Network parameter value must be from a database connection established as the database utility network owner.

• When working with an enterprise geodatabase, the connected ArcGIS Enterprise portal account must be the portal utility network owner.

## Parameters

 Label Explanation Data Type Input Utility Network The utility network that will be verified for consistency. Utility Network; Utility Network Layer Output Log File(Optional) The output log file containing the discovered issues. File

`arcpy.un.VerifyNetworkTopology(in_utility_network, {out_log_file})`
 Name Explanation Data Type in_utility_network The utility network that will be verified for consistency. Utility Network; Utility Network Layer out_log_file(Optional) The output log file containing the discovered issues. File

### Code sample

VerifyNetworkTopology example (Python window)

The following Python window script demonstrates how to use the VerifyNetworkTopology function.

``````import arcpy
arcpy.VerifyNetworkTopology_un("C:\\MyProject\\sdeConn.sde\\progdb.user1.MyUtilityNetwork", "C:\\temp\\VerifyLog.log")``````

## Environments

This tool does not use any geoprocessing environments.

## Licensing information

• Basic: No
• Standard: Yes