VIRTUTECH CONFIDENTIAL Previous - Up - Next
serengeti-console
- Provided by
-
serengeti-console
- Class Hierarchy
-
conf-object → log-object → serengeti-console
- Interfaces Implemented
-
log_object, serial_device, event_poster
- Description
-
The Serengeti Console emulates the System Controller found in Serengeti systems. It is responsible for console input/output and system configuration and management. Only a subset of all features found in a real System Controller are emulated in the Serengeti Console.
Attributes
- Attributes inherited from class conf-object
-
attributes, classname, component, iface, name, object_id, queue
- Attributes inherited from class log-object
-
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
- Attribute List
-
- boards
- Required attribute; read/write access; type: unknown type.
((board-id, cpu, cpus)|(board-id, pci)|(board-id, wcb, cpus, wicies)*) List of all boards. First number in sublist specifies board id. The second is either cpu (for CPU board), pci (PCI board), or wcb (for WCI board). A cpu board has an additional list entry for the number of CPU:s on the board and a WCI board has two additional list entries, number of CPU:s and number of WCI:s.
- buffer_info
- Pseudo attribute; read-only access; ; integer indexed; indexed type: [ssi].
(type, sub-type, idx) Indexed on buffer offset.
- chassis_type
- Optional attribute; read/write access; type: unknown type.
The chassis type of the system. Where chassis is SP -- a Service ProviderDS -- a Datacenter ServerME -- a Midrange Enterprise ServerMD -- a Midrange Desk-side Server
- cons_index
- Optional attribute; read/write access; type: unknown type.
The console index.
- console
- Optional attribute; read/write access; type: Object or Nil.
Text console object implementing the serial-device interface.
- event_info_num
- Optional attribute; read/write access; type: unknown type.
Internal state
- event_info_target
- Optional attribute; read/write access; type: unknown type.
Internal state
- idprom
- Optional attribute; read/write access; type: unknown type.
The mac address/serial # for the system.
- interrupt_posted
- Optional attribute; read/write access; type: unknown type.
Internal state
- io_spaces
- Required attribute; read/write access; type: unknown type.
List of node io spaces in the system.
- iosram_sbbc
- Required attribute; read/write access; type: unknown type.
sbbc-pci object.
- irq_bus
- Required attribute; read/write access; type: unknown type.
The interrupt bus object used to send and receive interrupts.
- just_sent_intr
- Optional attribute; read/write access; type: unknown type.
Internal state
- master_cpu
- Required attribute; read/write access; type: unknown type.
The master CPU.
- mem_banks
- Optional attribute; read/write access; type: unknown type.
((cpu-id, bank-id, bank-size)) List of all memory banks on a node.
- mem_slices
- Required attribute; read/write access; type: unknown type.
((node, start, size, memory-space)*) List of memory slices that the console can access.
- nvci
- Required attribute; read/write access; type: unknown type.
nvci object with prom variables.
- output_buffer
- Optional attribute; read/write access; type: unknown type.
Buffered characters for the console.
- output_obp
- Optional attribute; read/write access; type: unknown type.
Set to 1 of output from OBP, else 0.
- pend_buffer
- Optional attribute; read/write access; type: unknown type.
The console pending buffer. 256 bytes.
- pend_index
- Optional attribute; read/write access; type: unknown type.
The console pending index.
- recorder
- Required attribute; read/write access; type: Object.
Recorder device for playback of console input.
- saved_buffer
- Optional attribute; read/write access; type: unknown type.
The console buffer. 256 bytes.
- sram
- Optional attribute; read/write access; type: unknown type.
The sram.
- time
- Required attribute; read/write access; type: unknown type; persistent attribute.
The time stored in the rtc. When written to, the syntax understood is "%Y-%m-%d %H:%M:%S" as per the strptime(3) man page. The string may optionally be followed by "UTC", or it will be interpreted as local time. When read from, the format is "yyyy-mm-dd hh:mm:ss UTC".
Command List
- Commands defined by interface log_object
-
log, log-group, log-level, log-size, log-type
- Commands
-
Command Descriptions
-
<serengeti-console>.get-time
- Synopsis
-
<serengeti-console>.get-time
- Description
-
Return the date and time of the realtime clock (UTC).
-
<serengeti-console>.info
- Synopsis
-
<serengeti-console>.info
- Description
-
Print detailed information about the configuration of the device.
-
<serengeti-console>.set-time
- Synopsis
-
<serengeti-console>.set-time "time"
- Description
-
Set the date and time of the realtime clock (UTC).
Format is: "YYYY-MM-DD HH:MM:SS".
-
<serengeti-console>.set-time-current
- Synopsis
-
<serengeti-console>.set-time-current
- Description
-
Set the date and time to the actual wall clock time.
VIRTUTECH CONFIDENTIAL Previous - Up - Next