Device and I/O ports pattern attributes

The following attributes provide information about a device and I/O ports category pattern.

These attributes can be included in the request body for the POST /patterns method and the response body for the GET /patterns/<id>/includeSettings method.

Attributes Type Description
template_type String Type of category pattern. This value is always "DevicesAndIOPorts."
template Array Information about the system-information category pattern
  consoleRedirectionAndComPorts Array Information about console redirection
    cliMode String CLI mode, if service processor redirection is enabled.
  • Disabled
  • Enable with user-defined keystroke sequence
  • Enable with EMS compatible keystroke sequence
    cliSequence String "Enter CLI" keystroke sequence
    comPort1Settings Array Information about COM port 1 settings
      comPort1 String Indicates wither COM port 1 is enabled or disabled.
      comPort1ActiveAfterBoot String Indicates whether the active after boot is enabled or disabled
      comPort1BaudRate String Baud rate for COM port 1. This can be one of the following values.
  • 9600
  • 19200
  • 38400
  • 57600
  • 115200
      comPort1DataBits String Data bits. This value can be 5 - 8.
      comPort1FlowControl String Indicates whether flow control is enabled or disabled
      comPort1Parity String Port parity. This can be one of the following values.
  • None
  • Odd
  • Even
      comPort1StopBits String Stop bits. This value can be 1 or 2.
      comPort1TerminalEmulation String Text emulation. This can be one of the following values.
  • ANSI
  • VT100
      setConsoleRedirection Boolean Indicates whether Console Redirection is enabled or disabled for COM Port 1. This can be one of the following values.
  • true. Console Redirection is enabled
  • false. Console Redirection is disabled
    comPort2Settings Array Information about COM port 2 settings
      comPort2 String Indicates wither COM port 2 is enabled or disabled.
      comPort2BaudRate String Baud rate for COM port 2. This can be one of the following values.
  • 9600
  • 19200
  • 38400
  • 57600
  • 115200
      comPort2DataBits String Data bits. This value can be 5 - 8.
      comPort2ActiveAfterBoot String Indicates whether the active after boot is enabled or disabled
      comPort2FlowControl String Indicates whether flow control is enabled or disabled
      comPort2Parity String Port parity. This can be one of the following values.
  • None
  • Odd
  • Even
      setConsoleRedirection Boolean Indicates whether Console Redirection is enabled or disabled for COM Port 2. This can be one of the following values.
  • true. Console Redirection is enabled
  • false. Console Redirection is disabled
      comPort2StopBits String Stop bits. This value can be 1 or 2.
      comPort2TerminalEmulation String Text emulation. This can be one of the following values.
  • ANSI
  • VT100
    consoleRedirection String Indicates whether console redirection is enabled or disabled
    legacyOptionROM String Serial data port to use for legacy option ROM. This can be one of the following values.
  • COM port 1
  • COM port 2
    remoteConsole String Indicates whether the remote console is enabled or disabled
    serialPortAccessMode String Indicates whether serial over LAN is dedicated or disabled
    serialPortSharing String Indicates whether serial port sharing is enabled or disabled
  description String Category-pattern description
  type String Type of category pattern. This value is always "DevicesAndIOPorts."
  name String Category-pattern name
  userDefined String Identifies whether the category pattern is user define or learned. This can be one of the following values.
  • true. The pattern is defined by the user.
  • false. The pattern is predefined by Lenovo.
  uri String URI identifier for the exported pattern

Example

{
    "template" : {
        "consoleRedirectionAndComPorts" : {
            "cliMode" : "2",
            "cliSequence" : "^[(",
            "consoleRedirection" : "Enabled",
            "legacyOptionROM" : "COM Port 1",
            "remoteConsole" : "Disable",
            "serialPortAccessMode" : "Disable",
            "serialPortSharing" : "Disable"
            "setConsoleRedirection" : true,
            "comPort1Settings" : {
                "comPort1" : "Enable",
                "comPort1ActiveAfterBoot" : "Disable",
                "comPort1BaudRate" : "115200",
                "comPort1DataBits" : "8",
                "comPort1FlowControl" : "Disable",
                "comPort1Parity" : "None",
                "comPort1StopBits" : "1",
                "comPort1TerminalEmulation" : "ANSI",
                "setConsoleRedirection" : true
            },
            "comPort2Settings" : {
                "comPort2" : "Enable",
                "comPort2ActiveAfterBoot" : "Disable",
                "comPort2BaudRate" : "115200",
                "comPort2DataBits" : "8",
                "comPort2FlowControl" : "Disable",
                "comPort2Parity" : "None",
                "comPort2StopBits" : "1",
                "comPort2TerminalEmulation" : "ANSI",
                "setConsoleRedirection" : true
            },
        },
        "description" : "Pattern created from server: Lenovo x240\n
                         Learned on: Jul 29, 2015 12:08:14 PM",
        "name" : "Learned-Devices_IO-2",
        "type" : "DevicesAndIOPorts",
        "uri" : "\/config\/template\/63",
        "userDefined" : true,
    }
    "template_type" : "DevicesAndIOPorts",
}