-
Notifications
You must be signed in to change notification settings - Fork 34
dx_config
Marcin Przepiorowski edited this page Jun 24, 2020
·
5 revisions
dx_config -convert todxconf|tocsv -csvfile file.csv|-text params_list -configfile dxtools.conf [-help] [-version]
Convert a csv file or list of parameters into DXTOOLKIT configuration file (dxtools.conf) or convert configuration file into csv file. Existing configuration file will be copy into backup file.
ex.
dx_config -convert todxconf -csvfile dxtools.csv -configfile dxtools.conf
-
-convert todxconf|tocsv Specify a conversion direction
-
-csvfile file.csv CSV file name
-
-text parameter_list Create a new config file from input. Parameter list is comma separated list of values in the following order:
hostname, ip_address, port, username, password, default, protocol, clientid, clientsecret
Only one pair is required: username and password or clientid and clientsecret
-
-configfile dxtools.conf config file name
- -help Print this screen
- -debug Turn on debugging
Create CSV from dxtools.conf
dx_config -convert tocsv -csvfile new.csv -configfile dxtools.conf
New csv file new.csv created.
Create dxtools.conf from CSV file
dx_config -convert todxconf -csvfile new.csv -configfile dxtools.conf
New config file dxtools.conf created.
Create dxtools.conf from command line
dx_config -convert todxconf -text hostname,192.168.1.100,443,username,password,N,https -configfile new.conf
Old config file backup file name is new.conf.2020-05-01-10-28-07
New config file new.conf created.
Delphix