This documentation supports the 20.02 (12.0) version of BMC Discovery.To view an earlier version of the product, select the version from the Product version menu.

tw_tax_deprecated


The tw_tax_deprecated utility enables you to check patterns for references to deprecated attributes. The utility is primarily intended for the upgrade to BMC Discovery 9.0, but it can also be used outside the upgrade. The username and password to supply for this utility are those of a UI user, such as the system user.

To use the utility, type the following command:

tw_tax_deprecated [options] 

where options are any of the common arguments described in Using-command-line-utilities, or the command described in the following table:

User example

The following example checks patterns for references to deprecated attributes as the system user and includes all installed TKU pattern modules. No password is entered so the utility prompts for a password which is not echoed when entered. In this example, deprecated attributes are found.

Checking for references to deprecated attributes


[tideway@fredapp bin]$ tw_tax_deprecated --show-tku --username=system
Password:
Searching for deprecated Host node attribute 'host_type' ...

Found in pattern module:
HostLocations (Package host_locations)

Searching for deprecated NetworkDevice node attribute 'device_type' ...


Searching for deprecated MFPart node attribute 'part_type' ...

[tideway@fredapp bin]$

This example has been formatted for easier reading.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*