Karaf's Commands
The Mantychore The OpenNaaS server uses a Karaf shell to manage the OSGi container and Fuse. To get information:
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS |
---|---|---|---|---|
features:list | List all existing features available from the defined repositories. | features:list [options] |
| -i, --installed |
features:install | Installs a feature with the specified name and version | features:install [options] name [version] | name | -r, --no-auto-refresh |
features:uninstall | Uninstalls a feature with the specified name and version | features:install name [version] | name |
|
...
OpenNaaS Commands
The Mantychore OpenNaaS server have a custom commands implemented in order to configure the platform via console shell.
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS |
protocols:add | Brings up a live connection from the pool with the given protocol if there is none. | protocols:add resourceType:resourceName protocol | resourceType:resourceName |
|
protocols:context | Manipulates protocol contexts for used to create new sessions. Call without protocol to list. | protocols:context [options] resourceType:resourceName [protocol] [uri] | resourceType:resourceName authenticationType uri privateKeyPath keyPassphrase | --remove, -r |
protocols:info | Provide extended information on a protocol session. | protocols:info resourceType:resourceName sessionId | resourceType:resourceName The device owning the session. |
|
protocols:list | List devices to which we have a live protocol session. | protocols:list [options] [resourceType:resourceName] | resourceType:resourceName | --protocols, -p |
protocols:purge | Brings up a live connection from the pool with the given protocol if there is none. | protocols:purge [resourceType:resourceName] [seconds] | resourceType:resourceName |
|
protocols:remove | Removes a live connection from the pool, closing it. | protocols:remove [options] resourceType:resourceName [sessionId] | resourceType:resourceName | --all, -a |
Description
In MantychoreOpenNaaS, each resource needs to have linked a protocol to can communicate with the physical device which it virtualises. These list of commands are responsible to save in the Mantychore OpenNaaS software which type of connection are linked to some resource. For this reason, it exists the protocol commands, protocols:context links these connection parameters. Also, in order to reuse these protocols in other resources, you can use protocols:add. Finally, for the protocol management, it exists: protocols:list, protocols:remove, protocols:info, etc...
...