...
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 [options] install name [version] | name |
|
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS |
---|---|---|---|---|
nexus:platform | Get platform details | nexus:platform [options] |
|
|
Protocol commands
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 [options] 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 | --remove, -r |
protocols:info | Provide extended information on a protocol session. | protocols:info [options] 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 [options] [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 |
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS |
resource:create | Create one or more resources from a given descriptor | resource:create [options] paths or urls | paths or urls | --profile, -p |
resource:export | Export the descriptor of a resource to a file | resource:export [options] resourceType:resourceName fileName | resourceType:resourceName |
|
resource:info | Provides extended information about one or more resources | resource:info [options] resourceType:resourceName | resourceType:resourceName |
|
resource:list | List the resources in the platform | resource:list [options] |
| --type, -t |
resource:modify | Modify one or more existing resources | resource:modify [options] resourceType:resourceName path or url | resourceType:resourceName |
|
resource:remove | Remove one or more resources from the platform | resource:remove [options] remove resourceType:resourceName | resourceType:resourceName |
|
resource:start | Start one or more resources | resource:start [options] resourceType:resourceName | resourceType:resourceName |
|
resource:stop | Stop one or more resources | resource:stop [options] stop resourceType:resourceName | resourceType:resourceName |
|
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS |
profile:info | Provides extended information about one or more profiles | profile:info [options] info profile ids | profile ids |
|
profile:list | List all available profiles | profile:list [options] |
|
|
profile:remove | Remove a profile from available ones. | profile:remove [options] profileName | profileName |
|
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS |
chassis:listInterfaces | List all the interfaces of a given resource | chassis:listInterfaces [options] listInterfaces resourceType:resourceName | resourceType:resourceName |
|
chassis:setInterface | Set a IP in a the interface of a given resource | chassis:setInterface [options] resource type:name interface IP MASK | resourceType:resourceName |
|
...
COMMAND | DESCRIPTION | SYNTAX | ARGUMENTS | OPTIONS | ||||
connections:listConnections | Shows given resource connections | connections:listConnections [options] resourceType:resourceName | resourceType:resourceName |
| ||||
connections:getInventory | Shows given resource cards and connections information | connections:getInventory [options] resourceType:resourceName | resourceType:resourceName | --refresh, -r Refresh model prior to show information | ||||
connections:makeConnection | Makes a connection between given ports af given resource, and configures which lambda enters and which gets out of the connection | connections:makeConnection [options] resourceType:resourceName sourceport inputlambda porttarget outputlambda | resourceType:resourceName sourceport | |||||
connections:removeConnection | Removes a connection between given ports af given resource | connections:removeConnection resourceType:resourceName sourceport inputlambda porttarget outputlambda | resourceType:resourceName The resource id to make connection. sourceport Connection source port (input) inputlambda Input lambda (wavelength in nm) porttarget Connection target port (output) outputlambda Output lambda (wavelength in nm) |
Description
All the capability operations which work above a resource have the same work flow. A capability command is sent to the resource's queue and it will be executed