You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Karaf's Commands

The Mantychore server uses a Karaf shell to manage the OSGi container and Fuse. To get information:

Mantychore Commands

The Mantychore server have a custom commands implemented in order to configure the platform via console shell.

Protocols commands

COMMAND

DESCRIPTION

SYNTAX

ARGUMENTS

OPTIONS

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cf8a0005-feab-4b5e-9a83-0431fc9cb13a"><ac:plain-text-body><![CDATA[

nexus:listDevices

List the device ids registered in the protocol manager

nexus:listDevices [options]



]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="73c20eb0-738a-453c-aa5a-ba834b5585c4"><ac:plain-text-body><![CDATA[

nexus:listProtocolFactories

List the protocol factories registered in the protocol manager

nexus:listProtocolFactories [options]



]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e8068f35-04e5-4a4d-85be-9a70de44795e"><ac:plain-text-body><![CDATA[

nexus:platform

Get platform details

nexus:platform [options]



]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9251bf8a-d411-42b1-bb8e-c34aa6fa40bf"><ac:plain-text-body><![CDATA[

protocols:add

Brings up a live connection from the pool with the given protocol if there is none.

protocols:add [options] resourceType:resourceName protocol

resourceType:resourceName]]></ac:plain-text-body></ac:structured-macro>

  • The resource owning the session to create.protocol
  • The protocol to use. This argument defines the factory and context used to create this session.


<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="af117021-459c-4571-bd25-67328a4c5347"><ac:plain-text-body><![CDATA[

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]]></ac:plain-text-body></ac:structured-macro>

  • The resource owning the context. protocol
  • The protocol of the context uri
  • The URI passed to the protocol implementation of the context

--remove, -r

  • Instead of adding a context, remove it for the named protocol.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7b45e13b-8fea-45aa-9e3c-3d77bcaecd14"><ac:plain-text-body><![CDATA[

protocols:purge

Brings up a live connection from the pool with the given protocol if there is none.

protocols:purge [options] [resourceType:resourceName] [seconds]

resourceType:resourceName]]></ac:plain-text-body></ac:structured-macro>

  • The resource owning the session to create.seconds
  • How old are the sessions to be destroyed.


Resource commands

Profile commands

Capability commands

  • No labels