/tools

unsupported tools for interfacing with VirtualWisdom

Primary LanguagePythonApache License 2.0Apache-2.0

tools

Unsupported tools for interfacing with VirtualWisdom.

EntityImport.py

validates and imports entity import file to VW

Usage:

python3 EntityImport.py -v <VW Appliance IP> -u <Username> {-p <Password>|-z <Password File>} {-f <Entity Import File>|-i}

CSVNicknameToJSON.py

converts CSV WWN,nickname to entity import file

Usage:

python3 CSVNicknameToJSON.py [-i <Input File>] [-o <Output File>]

CSVRelationsToJSON.py

converts CSV EntityType,EntityName,Members to entity import file

Usage:

python3 CSVRelationsToJSON.py [-i <Input File>] [-o <Output File>]

ExportEntities.py

exports entity details to csv, by entity type or search by name

Usage:

python3 ExportEntities.py -v <VW Appliance IP> -u <Username> {-p <Password>|-z <Password File>} {-e <Entity Search String>|-t <Entity Type>} [-o <Output File>] [--properties] [--exactonly]

ShowTopology.py

csv export of topology for a given entity name / entity id

Usage:

python3 ShowTopology.py -v <VW Appliance IP> -u <Username> {-p <Password>|-z <Password File>} -e <Entity Search String> [-o <Output File>]

ExpandApplicationToInitiatorTarget.py

creates an application defined as Initiator:Target from an application defined as a set of hosts

Usage:

python3 ExpandApplicationToInitiatorTarget.py -v <VW Appliance IP> -u <Username> {-p <Password>|-z <Password File>} {-a <Application>|-e <Host>[,<Host>][,<Host>]} [-o <Output File>]

Notation Description
Text without brackets or braces Items you must type as shown
<Text inside angle brackets> Placeholder for which you must supply a value
[Text inside square brackets] Optional items
{Text inside braces} Set of required items; choose one
Vertical bar (|) Separator for mutually exclusive items; choose one
Ellipsis (...) Items that can be repeated