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

Compare with Current View Page History

« Previous Version 13 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="db913ae8-1014-4a83-9b99-888cd1b56e29"><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="62e9ee71-d70c-455d-8159-f55f790be54a"><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="72c38796-1d42-4658-b98e-03d448e4ec8e"><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="0264ef94-4da0-4f99-8f6a-beea69b3defe"><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="0f6088b0-2955-4cd4-a7c6-8a2c91b34f6e"><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="6ed4feb7-d9c9-4297-969b-83ff017463c8"><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