The tools directory in the Wiretap Client SDK contains a number of executable programs that you can run from the command line. They are useful for becoming familiar with what the API can do. You can use them for troubleshooting as you develop your own Wiretap client, which can be a C++ application or a Python module. You can compare your results with the results returned by the tools. You can also use the command line tools if you want to access Wiretap servers without having to program or script your own Wiretap client.
This section contains some general information about the command line tools and recommends several tools that you can try to become familiar with Wiretap.
You will find the tools in this directory:
wiretap_install_dir/tools/platform_dirs
where,
Most of the command line tools accept options. Help is available for all the command line tools.
The most common option is -h for host. This option is available if a tool connects to a particular Wiretap server. Note the following points:
To view help for a command line tool:
The help for a particular command lists the options for the command.
As an initial check, to see if the Wiretap Client SDK is installed properly and that you can access a Wiretap server, you can run the command line tool wiretap_ping. You will find wiretap_ping in a platform-specific subdirectory of the tools directory under your wiretap_install_dir.
To run ping:
It can be your own computer or any computer on which a Visual Effects and Finishing application is installed. If a Visual Effects and Finishing application is installed, the computer usually runs a Wiretap server as a daemon.
pathToTools/wiretap_ping -h <host> [:<database>]
where,
The command line tool wiretap_server_dump displays a list of all the Wiretap hosts on the network to which your development machine is connected.
To list servers:
pathToTools/wiretap_server_dump [-p] [-U] [-d <db type>]
where,
A list of Wiretap servers is displayed. For each server, the following information is displayed.
| Column | Description |
|---|---|
| Wiretap Server | The server’s display name. For example:reykjavik |
| Host UUID | Displayed with the
-U switch.
Identifies which server runs on a machine. Use the host UUID in cases where the hostname can change as it identifies the machine without relying on network configuration. See /opt/Autodesk/cfg/network.cfg for additional details. |
| Storage ID | An identifier (unique in your network) for the storage device connected to the server. For example: IFFFS-162 |
| Plug-In | This column lists three pieces of information about the server:
For example: Autodesk IFFFS 2017.0 Autodesk Wiretap Gateway Server 2017.0 Autodesk Backburner 2017.0 |
A Wiretap server uses a hierarchy of nodes to represent the directory structure of an underlying database. The command line tool wiretap_print_tree displays a tree of the nodes on a Wiretap host in text format. The command accepts a number of options which are explained in the procedure below.
To view a Wiretap server’s node hierarchy:
wiretap_print_tree [-h host] [-d depth] [-n nodeID] [-k]
where,
Things to experiment: