Node Status Query 0x006F

SwitchKit Name

NodeStatusQuery

Type

EXS API and SwitchKit API message

Description

Use this message to query the status of a CSP node in a multi-node system. The status is reported in the response.

Sent by

Host

SwitchKit Code

C Structure

typedef struct {

} XL_NodeStatusQuery;

C Structure Response

typedef struct {

unsigned short Status;

int PhysicalNode;

UBYTE LogicalNode;

UBYTE HostNode;

UBYTE NodeStatus;

} XL_NodeStatusQueryAck;

C++ Class

class XLC_NodeStatusQuery : public XLC_OutboundMessage {

public:

};

C++ Class Response

class XLC_NodeStatusQueryAck : public XLC_AcknowledgeMessage {

public:

unsigned short getStatus() const;

void setStatus(unsigned short x);

int getPhysicalNode() const;

void setPhysicalNode(int x);

UBYTE getLogicalNode() const;

void setLogicalNode(UBYTE x);

UBYTE getHostNode() const;

void setHostNode(UBYTE x);

UBYTE getNodeStatus() const;

void setNodeStatus(UBYTE x);

};

 

 

 

EXS API Hex Format

MESSAGE (White)

RESPONSE (Gray)

Byte

Field Description

Byte

Field Description

0

Frame (0xFE)

0

Frame (0xFE)

1, 2

Length (0xNNNN)

1, 2

Length (0xNNNN)

3, 4

Message Type (0x006F)

3, 4

Message Type (0x006F)

5

Reserved (0x00)

5

Reserved (0x00)

6

Sequence Number

6

Same Sequence Number

7

Logical Node ID

7

Logical Node ID

:

AIB

Address Method

0x00 - Individual AEs

8, 9

Status MSB, LSB

 

Number of AEs to follow

 

AE

0x10 Logical/Physical Node

:

Checksum

10

AIB

Same as message

:

Host Node ID

The value here is the same as the Logical Node ID field in the header.


The system uses the value 0xF0 for a host node that does not have a logical node ID.

:

Node Status

This field indicates the current status of the node.

0x00 Node Initialized

0x01 Reassigning Host Node – A new host is indicated in the Host Node field

0xFF Node Requires Logical Node ID

:

Checksum