Command Line Option | Description |
---|---|
-debug / -d | Turn on debug / print out all SQL commands as executed. |
-fixAll | Run all of the model cleanup functions, except for ‑fixICP. |
-fixAVTable / -a | Fix alternate_views table. Notes: Check the ALTERNATE_VIEWS table for missing rows (in other words, the object is in DIAGRAM_OBJECTS multiple times but not in ALTERNATE_VIEWS. The number of rows in ALTERNATE_VIEWS for an object should be one less than the number of rows in DIAGRAM_OBJECTS.) or erroneous rows (object is in ALTERNATE_VIEWS multiple times with two different primary partitions). In the latter case the row will be deleted; in the former case, missing rows will be added. |
-fixDevicesWithNoPartition / -p | Remove objects with no owning partition. Notes: Checks model tables (ALIAS_MAPPING, DIAGRAM_OBJECTS, ALTERNATIVE_VIEW, POINT_COORDINATES, core tables, and any attribute tables maintained by the model build) for bad partitions found in core tables (NETWORK_COMPONENTS, NETWORK_NODES and OBJECT_INSTANCES). When found, they will be removed. |
-fixDuplicateRows / -r | Fix tables which have duplicate active rows or orphans. Notes: This option is the functional equivalent of the fixRedundant option plus the fixOrphans model. For efficiency, this process uses a slightly different algorithm. |
-fixICP | Synchronize the pending construction & decommission conditions with the model. |
-fixLocations | Check the integrity of the locations table and insert records as needed. |
-fixOrphan / -o | Remove orphan aliases, attributes, diagrams. Notes: Checks some model tables (ALIAS_MAPPING, DIAGRAM_OBJECTS and POINT_COORDINATES, and any attribute tables maintained by the model build) for devices which are not currently defined in the model. When found, they will be removed. |
-fixOrphanConditions | Remove electrical conditions which do not belong to an existing object. |
-fixPartitions | Check the integrity of the partitions table and add missing records using the ALTERNATE_VIEWS table. |
-help / -h / ? / -u | Print out a usage statement |
-ignoreAttrTabs / -r | Do not attempt to repair attribute tables. Notes: Skips repair of the user attribute tables (ATT_FUSE, ATT_SWITCH, etc.) for both orphans and duplicates. |
-listAffectedPartitions | Display the maps that were affected. |
-mbdbs | Use MBDBService for database access. |
-showMe / -s | Print out (don't execute) all SQL commands. Notes: All proposed transactions will be printed to standard out in SQL format. These may be saved to a file and executed. |