GWS cli: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
(Uus lehekülg: '== For testing == '''--read-ssh''' :read from device, default value for '''--setup-form''' is required, it will be changed to correct value if device type can be detected '''--w...')
 
 
(2 intermediate revisions by the same user not shown)
Line 17: Line 17:
'''--setup-file''' [filename]
'''--setup-file''' [filename]
:opens configuration with corresponding product code found in file (not with older files)
:opens configuration with corresponding product code found in file (not with older files)
'''--setup-filew''' [filename]
:write file after '''--read-ssh'''
'''--regenerate'''
: regenerates linux configuration files before save
'''--root-path''' [linux path]
'''--root-path''' [linux path]


Line 22: Line 26:


example: read GW6 configuration
example: read GW6 configuration
gws.exe --ssh-user user --ssh-pw "password" --ssh-ip 10.0.0.5 --setup-form GW6 --read-ssh
:gws.exe --ssh-user user --ssh-pw "password" --ssh-ip 10.0.0.5 --setup-form GW6 --read-ssh


== Performance ==
== Performance ==

Latest revision as of 11:45, 11 August 2014

For testing

--read-ssh

read from device, default value for --setup-form is required, it will be changed to correct value if device type can be detected

--write-ssh

write to device, executed last (--read-ssh and --setup-file are done first)

--exit-on-error

exit GWS if any error occurs

--ssh-user [username]

--ssh-pw [password]

--ssh-ip [ip]

--setup-form [code]

force to open with product code, required with older configurations

--setup-file [filename]

opens configuration with corresponding product code found in file (not with older files)

--setup-filew [filename]

write file after --read-ssh

--regenerate

regenerates linux configuration files before save

--root-path [linux path]

--dev

example: read GW6 configuration

gws.exe --ssh-user user --ssh-pw "password" --ssh-ip 10.0.0.5 --setup-form GW6 --read-ssh

Performance

--dxml

Delphi default xml parser

--oxml

xml parser/writer that is at least 2x faster and uses less memory.

--unlimited

allows big configurations

--no-groups

disable object grouping (big configurations have performance issues with grouping)