Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 89

Network OS NETCONF Operations Guide
57
53-1003231-02
Downloading the firmware from a remote server
5
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
message-id="402">
<data>
<firmware xmlns="urn:brocade.com:mgmt:brocade-firmware">
<download>
<ftp>
<fwdl-tid>34</fwdl-tid>
<fwdl-status>0</fwdl-status>
</ftp>
</download>
</firmware>
</data>
</rpc-reply>
CAUTION
Do not interrupt the firmware download process. If you encounter a problem, wait for the timeout
(30 minutes for network problems) before attempting the firmware download operation again.
Disrupting the process (for example, by disconnecting the switch from the power source) can
render the switch inoperable and may require you to seek help from your switch service provider.
7. While the upgrade is proceeding, you can use the <fwdl-status> custom RPC with the value
returned in the <fwdl-tid> element in
to query the status of the download, as shown in
the following example.
<rpc message-id="403" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<fwdl-status xmlns="urn:brocade.com:mgmt:brocade-firmware">
<fwdl-tid>34</fwdl-tid>
</fwdl-status>
</rpc>
<rpc-reply message-id="403" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<number-of-entries>1</number-of-entries>
<fwdl-state>complete</fwdl-state>
<fwdl-entries>
<index>54</index>
<message-id>1</message-id>
<date-and-time-info>2012-07-23/14:32:24:1234</date-and-time-info>
<message>Firmware has been downloaded successfully</message>
<blade-slot>1</blade-slot>
<blade-swbd>v4.0.0_bldg56</blade-swdb>
<blade-name>A1</blade-name>
<blade-state>active</blade-state>
<blade-app>BFOS</blade-app>
</fwdl-entries>
<fwdl-entries>
<index>55</index>
<message-id>2</message-id>
<date-and-time-info>2012-07-23/14:32:24:1234</date-and-time-info>
<message>The commit operation has completed successfully</message>
</fwdl-entries>
</data>
</rpc>
8. After the switch reboots, issue the <show-firmware-version> custom RPC located in the
urn:brocade.com:mgmt:brocade-firmware-ext namespace to verify the firmware upgrade.