Currently when creating a dpath, a user has to specify source and destination of the dpath. The dpath tool then:
creates a dpath according to an internal or external template that includes a single step path (with metric equal to 0) and a multi-step path (with metric equal to 1) that needs to be edited
and if the EDITOR environment variable is set, it opens this dpath file for editing
It would be beneficial to be able to create a multi-step path in a dpath file just by using the command line, i.e. to support additional switches which allow to specifiy the transit sites and directories to use.
As the transit site and directory of transfer step n could differ from the transit site and directory of transfer step n+1 (see example path below), both have to be specified as <PUT_ADDRESS_AND_PATH> and <GET_ADDRESS_AND_PATH>. The dpath tools should support multiple occurrences of the--via switch.
Currently when creating a dpath, a user has to specify source and destination of the dpath. The
dpath
tool then:0
) and a multi-step path (with metric equal to1
) that needs to be editedEDITOR
environment variable is set, it opens this dpath file for editingIt would be beneficial to be able to create a multi-step path in a dpath file just by using the command line, i.e. to support additional switches which allow to specifiy the transit sites and directories to use.
Possible implementation details
As the transit site and directory of transfer step n could differ from the transit site and directory of transfer step n+1 (see example path below), both have to be specified as
<PUT_ADDRESS_AND_PATH>
and<GET_ADDRESS_AND_PATH>
. Thedpath
tools should support multiple occurrences of the--via
switch.Example Command line:
Resulting path: