< Home

Notifying the Stack Member Registration Result

This section provides a sample of notifying the stack member registration result using the rpc method.

Table 1 Notifying the stack member registration result

Operation

XPATH

rpc

/board-register-status-notify/register-status-list/slot-index

/board-register-status-notify/register-status-list/register-success

/board-register-status-notify/register-status-list/register-fail-reason

Notification Example

<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="10">
  <dev:board-register-status-notify xmlns:dev="urn:huawei:params:xml:ns:yang:huawei-device">
    <dev:register-status-list>
      <dev:slot-index>1</dev:slot-index>
      <dev:register-success>false</dev:register-success>
      <dev:register-fail-reason>3</dev:register-fail-reason>
    </dev:register-status-list>
  </dev:board-register-status-notify>
</rpc>

Response Example

<?xml version='1.0' encoding='UTF-8'?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="10">
  <ok/>
</rpc-reply>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >