r6 - 27 May 2006 - 14:16:06 - BeckyHYou are here: Wiki >  AppLogic2 Web > CliInterface
led-green December 24 - AppLogic 2.4.7 is now available and is the latest production release!

Interface Control Commands

The following commands are supported:

      Command       Description
  list   Retrieve list of interfaces for a particular component
  info   Retrieve detailed information for an interface
  enable   Enable an interface
  disable   Disable an interface
  reset   Reset an interface

list

Description: List terminal interfaces for a component
Syntax: interface list name [ --batch ][ --verbose ]
Arguments: name Name of component. name should be of the form application name:component name
--batch Display output in UDL format
--verbose Display additional information
Examples: interface list sugarcrm:main.config - List interfaces for component 'main.config' in application 'sugarcrm'
Notes: A specification of the output of this command can be found here.
Typical Output
   Name            Type      State
   http            input     idle
   cifs            input     active
   default         raw       idle

info

Description: Retrieve information for a terminal interface
Syntax: interface info name [ --batch ][ --verbose ]
Arguments: name Name of interface. name should be of the form application name:component name.interface name
--batch Display output in UDL format
--verbose Display additional information
Examples: interface info sugarcrm:main.config.cifs - Display information for interface 'cifs' of component 'main.config' of application 'sugarcrm'
Notes: A specification of the output of this command can be foundhere.
Typical Output
   Name       : cifs
   Type       : input
   State      : active
   IP         : 10.160.6.6
   MAC        : F2:00:14:00:06:23

enable

Description: Enable a terminal interface on a component
Syntax: interface enable name
Arguments: name Name of interface. name should be of the form application name:component name.interface name
Examples: interface enable sugarcrm:main.config.http - Enable interface 'http' of component 'main.config' of application 'sugarcrm'
Notes: None.

disable

Description: Disable a terminal interface on a component
Syntax: interface disable name
Arguments: name Name of interface. name should be of the form application name:component name.interface name
Examples: interface disable sugarcrm:main.config.http - Disable interface 'http' of component 'main.config' of application 'sugarcrm'
Notes: None.

reset

Description: Reset a terminal interface on a component
Syntax: interface reset name
Arguments: name Name of interface. name should be of the form application name:component name.interface name
Examples: interface reset sugarcrm:main.config.http - Reset interface 'http' of component 'main.config' of application 'sugarcrm'
Notes: None.

-- BeckyH - 23 May 2006

 
Copyright © 2005-2008 3tera, Inc. All Rights Reserved.
%