...
- Karaf shell - http://karaf.apache.org/
- Karaf user's guide - http://karaf.apache.org/manual/latest-2.2.x/users-guide/index.html
- Karaf complet list commands: https://cwiki.apache.org/KARAF/41-console-and-commands.html#4.1.ConsoleandCommands-OSGishell
OSGI Commands
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | ||
---|---|---|---|---|---|---|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="02393dc1-b302-496e-8e22-b72ee5a95489"><ac:plain-text-body><![CDATA[ | osgi:list | list all installed bundles | osgi:list [options] |
| -s Shows the symbolic name | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="47e330a6-b739-4319-ade3-fa59306f4853"><ac:plain-text-body><![CDATA[ | osgi:ls | list OSGi services | osgi:ls [options] [ids] | ids Show only services for the given bundle ids | -u Shows services which are in use | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cfbcbd47-aeeb-4750-a281-d813d1653741"><ac:plain-text-body><![CDATA[ | osgi:start | Start bundle(s) | osgi:start [options] ids | ids The list of bundle IDs separated by white spaces | --force Forces the command to execute | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c7ba46db-f417-4cba-a0e8-a16701bab5dd"><ac:plain-text-body><![CDATA[ | osgi:stop | Stop bundle(s) | osgi:stop [options] ids | ids The list of bundle IDs separated by white spaces | --force Forces the command to execute | ]]></ac:plain-text-body></ac:structured-macro> |
Features Management Commands
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | |
---|---|---|---|---|---|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b1e21351-65ff-4186-b035-a3a657d50dd9"><ac:plain-text-body><![CDATA[ | features:list | List all existing features available from the defined repositories. | features:list [options] |
| -i, --installed |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c8f5a324-4a5f-4151-98f0-a68685a94fd4"><ac:plain-text-body><![CDATA[ | features:install | Installs a feature with the specified name and version | features:install [options] name [version] | name | -r, --no-auto-refresh |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7cc718cc-633f-4915-b777-9fe4e01a30fc"><ac:plain-text-body><![CDATA[ | features:uninstall | Uninstalls a feature with the specified name and version | features:install [options] name [version] | name |
|
Mantychore Commands
The Mantychore server have a custom commands implemented in order to configure the platform via console shell.
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | ||
---|---|---|---|---|---|---|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2ad5618e139a16cb-9253b310-452644b5-a37d8f2d-dc9e55e83b5dbcf1ba81f968"><ac:plain-text-body><![CDATA[ | nexus:platform | Get platform details | nexus:platform [options] |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fdcb08d85ab83698-712ee033-497d40c1-a36eb5c5-c513beba262ceaf4a567349d"><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:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="bea847684de920ce-03a22153-419e4447-b976a3b0-e1ffea1b554cf7856a34f5e9"><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 | --remove, -r |
protocols:info | Provide extended information on a protocol session. | protocols:info [options] resourceType:resourceName sessionId | resourceType:resourceName The device owning the session. | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="43e3c6e522b8fb9b-9fc7554c-4c9743c1-8a63ad42-811ec383d849dffb52300f45"><ac:plain-text-body><![CDATA[ | protocols:list | List devices to which we have a live protocol session. | protocols:list [options] [resourceType:resourceName] | resourceType:resourceName | --protocols, -p |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2a8f0728aedbd1ff-6f74e92a-47004318-a255bd18-57c989d5bd2d430148726b2f"><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:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ed0e327ff925afe9-be2bc230-4bf34d26-bf3ea4a3-022958f0938be95b2c4e790f"><ac:plain-text-body><![CDATA[ | protocols:remove | Removes a live connection from the pool, closing it. | protocols:remove [options] resourceType:resourceName [sessionId] | resourceType:resourceName | --all, -a |
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cfebcc9a6dd539cf-82906046-40fe49c0-a95cbbf0-900aa1559dfed9f571b99493"><ac:plain-text-body><![CDATA[ | resource:create | Create one or more resources from a given descriptor | resource:create [options] paths or urls | paths or urls | --profile, -p |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57c5300cd38af894-ff884a77-41de44a2-bc169458-a2149c83f954d6f4602bfb1e"><ac:plain-text-body><![CDATA[ | resource:export | Export the descriptor of a resource to a file | resource:export [options] resourceType:resourceName fileName | resourceType:resourceName |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a6752d09426c0133-9bbe6716-469b4cc1-94a591f7-1dacc9e9e365914d5d97050f"><ac:plain-text-body><![CDATA[ | resource:info | Provides extended information about one or more resources | resource:info [options] resourceType:resourceName | resourceType:resourceName |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c392a357f1358b45-027ccc61-458e4176-9cf98d23-9cfb9e58145412773bc090e1"><ac:plain-text-body><![CDATA[ | resource:list | List the resources in the platform | resource:list [options] |
| --type, -t |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ee1d1a2f6135bfa6-0479ee0d-404845a1-92adb840-377ffbc2dfe8810b2355976f"><ac:plain-text-body><![CDATA[ | resource:modify | Modify one or more existing resources | resource:modify [options] resourceType:resourceName path or url | resourceType:resourceName |
|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="296c397268b02345-c779d5b2-4bb44cfc-9da09e43-a7b516a35a5aac5aa304ad44"><ac:plain-text-body><![CDATA[ | resource:remove | Remove one or more resources from the platform | resource:remove [options] resourceType:resourceName | resourceType:resourceName |
|
resource:start | Start one or more resources | resource:start [options] resourceType:resourceName | resourceType:resourceName |
| |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b0b0a84019069be0-9d09e85c-438645e6-bbdfae79-da7f0202d194995395afce97"><ac:plain-text-body><![CDATA[ | resource:stop | Stop one or more resources | resource:stop [options] resourceType:resourceName | resourceType:resourceName |
|
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8907a1a3d8a48448-1921c480-46c24431-a55992c2-1f5a963c07458294c16c7c6b"><ac:plain-text-body><![CDATA[ | profile:info | Provides extended information about one or more profiles | profile:info [options] profile ids | profile ids | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="df433eab36212e0b-8ab4b3cc-4bb44ae1-af4cbf45-36102748ba12f7b9652554b4"><ac:plain-text-body><![CDATA[ | profile:list | List all available profiles | profile:list [options] | ]]></ac:plain-text-body></ac:structured-macro> | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e5ee4b2e12ad1d1d-9cb0e54d-4f4a4b54-ad8c93af-d0570ae5484e9161e4c65964"><ac:plain-text-body><![CDATA[ | profile:remove | Remove a profile from available ones. | profile:remove [options] profileName | profileName |
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="38813eef3d74f21b-2146a615-47f74696-9115bf73-50f95b2c3aaa64795a9ae815"><ac:plain-text-body><![CDATA[ | chassis:listInterfaces | List all the interfaces of a given resource | chasis:listInterfaces [options] resourceType:resourceName | resourceType:resourceName | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57952f6514a31e13-8da122f7-4bbb4794-b9dfb6ca-e308726e9983e2f5d0f0863d"><ac:plain-text-body><![CDATA[ | chassis:setInterface | Set a IP in a the interface of a given resource | chasis:setInterface [options] resource type:name interface IP MASK | resourceType:resourceName |