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

Compare with Current View Page History

« Previous Version 12 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="8dde7b83-de47-479a-9d54-91b126ae7fec"><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="1c578aba-fe1c-4e79-989b-6970d11d9434"><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="ee5e6f80-e238-444a-a996-33878167e973"><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="ddd65b3e-f495-4e65-afaa-aa58ed2280ea"><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="b31dcda7-8388-4d51-9448-2e19c903faad"><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="4e236db5-4295-4742-9c93-8812dfae94ca"><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