blob: 1ec79fdc775fe1456215b65677dad4fc1814464b [file] [log] [blame]
Iftekharul Islam1acb4122017-11-02 13:20:32 -05001<loader loading="loading"></loader>
Michael Davis9486f542017-05-30 15:35:31 -05002<div class="row column">
Gunnar Mills5f0b7762018-09-25 14:10:45 -05003 <h1>Firmware</h1>
4 <div class="column small-12 page-header">
beccabroekedf1ab42019-02-15 16:26:38 -06005 <h2 class="inline">Manage BMC and server firmware</h2>
Gunnar Mills5f0b7762018-09-25 14:10:45 -05006 </div>
Michael Davis9486f542017-05-30 15:35:31 -05007</div>
8<div class="row column">
Gunnar Mills5f0b7762018-09-25 14:10:45 -05009 <p>Use the following tables to manage firmware image files. The image file that is listed at the top, the image with the highest boot priority, is used the next time that the device is booted. To change the boot priority for the image, click the arrow icons.</p>
10 <p><a ng-click="gotoAnchor()">Scroll down to upload an image file</a> to transfer a new firmware image to the BMC. After uploading a new image, Activate it to make it available for use.</p>
Michael Davis9486f542017-05-30 15:35:31 -050011</div>
Iftekharul Islamc0161392017-06-14 15:46:15 -050012<firmware-list title="BMC images" version="bmcActiveVersion" firmwares="firmwares" filter-by="filters.bmc"></firmware-list>
13<firmware-list title="Server images" version="hostActiveVersion" firmwares="firmwares" filter-by="filters.host"></firmware-list>
Michael Davis9486f542017-05-30 15:35:31 -050014<div class="row column" id="upload">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050015 <div class="column small-12 page-header">
beccabroekedf1ab42019-02-15 16:26:38 -060016 <h2 class="inline bold">Specify image file location</h2>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050017 </div>
18 <form id="firmware__upload-form" role="form" class="firmware__upload-form">
19 <p>Specify an image file located on your workstation or a TFTP server. An image file may contain firmware images for the server, BMC, or other hardware devices. Each image that you upload will be unpacked from the image file and added to the appropriate list above.</p>
20 <div class=" column firmware__upload-station">
beccabroekedf1ab42019-02-15 16:26:38 -060021 <h3>Upload image file from workstation</h3>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050022 <p>Select the image file saved on the workstation storage medium to upload to the server BMC.</p>
23 <label for="file-upload" class="inline firmware__upload-chooser">
24 <input id="file-upload" type="file" file="file" class="hide" onchange="angular.element(this).scope().fileNameChanged()"/>
25 <span class="button btn-secondary inline">Choose a file</span>
26 <span class="inline firmware__upload-file-name"><span ng-if="!file">No file chosen</span><span ng-if="file.name !== undefined">{{file.name}}</span></span>
27 </label>
28 <input type="button" value="Upload firmware" class="inline button btn-primary float-right" ng-click="upload()"/>
29 <div class="inline uploading" ng-show="uploading">Upload in progress...</div>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050030 </div>
31 <div class=" column firmware__upload-tftp">
beccabroekedf1ab42019-02-15 16:26:38 -060032 <h3>Download image file from TFTP server</h3>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050033 <p>Specify both the TFTP server IP address and the image file name stored on it to download to the server BMC.</p>
34 <fieldset>
35 <div class="row">
36 <div class="column small-12 large-4">
37 <label for="tftp-ip">TFTP Server IP address</label>
38 <input name="tftp-ip" id="tftp-ip" type="text" ng-model="download_host"/>
39 </div>
40 <div class="column small-12 large-4">
41 <label for="tftp-file-name">File name</label>
42 <input name="tftp-file-name" id="tftp-file-name" type="text" ng-model="download_filename"/>
43 </div>
44 <div class="column small-12 large-4">
45 <input type="button" value="Download firmware" class="inline button btn-primary float-right" ng-click="download()"/>
46 </div>
47 </div>
48 <div class="inline uploading" ng-show="downloading">Downloading in progress...</div>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050049 </fieldset>
50 </div>
51 </form>
Michael Davis9486f542017-05-30 15:35:31 -050052</div>
53
54<!-- Firmware modals -->
Iftekharul Islamc0161392017-06-14 15:46:15 -050055
Iftekharul Islam1acb4122017-11-02 13:20:32 -050056<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': confirm_priority}">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050057 <div class="modal__tftp-unreachable" role="document">
58 <div class="screen-reader-offscreen modal-description">Update image priority</div><!-- accessibility only; used for screen readers -->
59 <div class="page-header ">
60 <span class="icon icon__warning inline"><span class="accessible-text" role="alert">Warning</span></span>
beccabroekedf1ab42019-02-15 16:26:38 -060061 <h3 class="modal-title inline">Change image priority</h3>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050062 </div>
63 <div class="modal__content">
64 <p>Change firmware {{priority_image_version}} priority?</p>
65 </div>
66 <div class="modal__button-wrapper">
67 <button class="inline btn-secondary" ng-click="confirm_priority=false;">Cancel</button>
68 <button class="inline btn-primary" ng-click="confirmChangePriority()">Continue</button>
69 </div>
70 </div>
Iftekharul Islam1acb4122017-11-02 13:20:32 -050071</section>
72
Iftekharul Islamc0161392017-06-14 15:46:15 -050073<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': confirm_delete}">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050074 <div class="modal__tftp-unreachable" role="document">
75 <div class="screen-reader-offscreen modal-description">Delete firmware image</div><!-- accessibility only; used for screen readers -->
76 <div class="page-header ">
77 <span class="icon icon__warning inline"><span class="accessible-text" role="alert">Warning</span></span>
beccabroekedf1ab42019-02-15 16:26:38 -060078 <h3 class="modal-title inline">Delete image</h3>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050079 </div>
80 <div class="modal__content">
81 <p>Delete firmware {{delete_image_version}}?</p>
82 </div>
83 <div class="modal__button-wrapper">
84 <button class="inline btn-secondary" ng-click="confirm_delete=false;">Cancel</button>
85 <button class="inline btn-primary" ng-click="confirmDeleteImage()">Continue</button>
86 </div>
87 </div>
Michael Davis9486f542017-05-30 15:35:31 -050088</section>
Iftekharul Islamc0161392017-06-14 15:46:15 -050089
Gunnar Millse7f83972018-03-21 11:03:35 -050090<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': activate_confirm}">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050091 <div class="modal__activate" role="document">
92 <div class="screen-reader-offscreen modal-description">Activate modal</div><!-- accessibility only; used for screen readers -->
93 <div class="page-header ">
beccabroekedf1ab42019-02-15 16:26:38 -060094 <h3 class="modal-title"><span class="icon icon__info"><svg xmlns="http://www.w3.org/2000/svg"
Gunnar Mills5f0b7762018-09-25 14:10:45 -050095 viewBox="0 0 32 32"><path
96 d="M18 14h-6v2h1v6h-2v2h8v-2h-2z"/><circle cx="16" cy="10" r="2"/><path
97 d="M16 2C8.269 2 2 8.269 2 16s6.269 14 14 14 14-6.269 14-14S23.731 2 16 2zm0 26C9.383 28 4 22.617 4 16S9.383 4 16 4s12 5.383 12 12-5.383 12-12 12z"/></svg></span>
98 <!-- We call "Host" firmware "server" firmware -->
99 Confirm {{activate_image_type == 'Host' ? 'server' : activate_image_type}} firmware file activation
beccabroekedf1ab42019-02-15 16:26:38 -0600100 </h3>
Gunnar Mills5f0b7762018-09-25 14:10:45 -0500101 </div>
102 <div class="modal__content">
103 <div ng-switch on="activate_image_type">
104 <p ng-switch-when="BMC">When you activate the BMC firmware file, {{activate_image_version}}, the BMC must be rebooted before it will operate with the new firmware code. Note that when you reboot the BMC, the BMC will be unavailable for several minutes and you must log in again.</p>
105 <p ng-switch-when="Host">When you activate the server firmware file, {{activate_image_version}}, the new firmware will not operate until the next time the server boots.</p>
106 </div>
107 <form ng-if="activate_image_type == 'BMC'">
108 <fieldset>
109 <div class="row column">
110 <label class="control-radio bold" for="activate-without-reboot">Activate firmware file without rebooting BMC
111 <input type="radio" name="activate-without-reboot" id="activate-without-reboot" ng-model="activate.reboot" ng-value="false"/>
112 <span class="control__indicator control__indicator-on"></span>
113 </label>
114 </div>
115 <div class="row column">
116 <label class="control-radio bold" for="activate-with-reboot">Activate firmware file and automatically reboot BMC
117 <input type="radio" name="activate-with-reboot" id="activate-with-reboot" ng-model="activate.reboot" ng-value="true"/>
118 <span class="control__indicator control__indicator-on"></span>
119 </label>
120 </div>
121 </fieldset>
122 </form>
123 <form ng-if="activate_image_type == 'Host'">
124 <fieldset>
125 <div class="row column">
126 <label class="control-radio bold" for="activate-host-without-reboot">Activate firmware file without {{isServerOff() ? "booting" : "rebooting"}} server
127 <input type="radio" name="activate-host-without-reboot" id="activate-host-without-reboot" ng-model="activate.reboot" ng-value="false"/>
128 <span class="control__indicator control__indicator-on"></span>
129 </label>
130 </div>
131 <div class="row column">
132 <label class="control-radio bold" for="activate-host-with-reboot">Activate firmware file and automatically {{isServerOff() ? "boot" : "reboot"}} server
133 <input type="radio" name="activate-host-with-reboot" id="activate-host-with-reboot" ng-model="activate.reboot" ng-value="true"/>
134 <span class="control__indicator control__indicator-on"></span>
135 </label>
136 </div>
137 </fieldset>
138 </form>
139 </div>
140 <div class="modal__button-wrapper">
141 <button class="inline btn-secondary" ng-click="activate_confirm=false;">Cancel</button>
142 <button class="inline btn-primary" ng-click="activateConfirmed()">Continue</button>
143 </div>
144 </div>
Michael Davis9486f542017-05-30 15:35:31 -0500145</section>
beccabroek90ae95e2019-01-15 16:55:57 -0600146<div class="modal-overlay" tabindex="-1" ng-class="{'active': (confirm_priority || activate_confirm || confirm_delete)}"></div>