As I understand it there are three ways to configure a :remote.
1) using the :remote config command
2) during the :remote connect command as additional arguments
3) during the :remote connect command via a configuration file
It is always possible to circumvent the :remote mechanism all together.
For example,
*
https://tinkerpop.apache.org/docs/current/reference/#gremlin-java-connecting*
https://tinkerpop.apache.org/docs/current/reference/#tinkergraph-gremlinThese former examples are written in Java but, for the Gremlin shell, are fairly easy to rewrite in Groovy.
I am looking for :remote documentation relating these different approaches.
Here is what I have so far.
The basic gremlin shell is based on the groovy shell.
But, the groovy shell has been extended with additional commands.
In particular :remote.
The gremlin shell provides some help via :help :remote
gremlin> :help :remote
usage: :remote [current | connect <type-of-remote> [<args>] | config <args> | list | next | prev | choose <index> | close]
There can be multiple :remotes at the same time. Only one of them is active. They can be shown with :remote list.
Define and manage remote connections to use in conjunction with the :submit command, which will send Gremlin scripts to the specified remote agent for processing.
Examples of :remote config is given
*
https://tinkerpop.apache.org/docs/current/reference/#gephi-plugin
* https://tinkerpop.apache.org/docs/current/reference/#console-aliases
Examples of :remote connect with files and arguments are
* :remote connect tinkerpop.server
The first positional argument must be either the path to a configuration file or the variable name for a cluster object
The second positional argument is optional but may be either "session" or "session-managed".
If the second positional argument is present an optional session name may be provided as the third argument.
These are the only connect arguments which the "tinkerpop.server" supports.
* :remote connect tinkerpop.gephi
connect arguments: [the remaining arguments are obtained from the configuration parameters].
1) workspace
2) host
3) port
* :remote config - is specified for the currently active remote connection
* tinkerpop.server =
:remote config [timeout [<ms>|none] | alias [reset | show | <alias> <actual>] | help]
* tinkerpop.gephi =
:remote config [host <host> | port <port> | workspace <name> | stepDelay <ms> | startRGBColor <0.0,0.0,0.0> | colorToFade [r|g|b] | colorFadeRate <0.0> | sizeDecrementRate <0.0> | startSize <0.0> | visualTraversa l <graph> | help]