1<div id="firmware"> 2 <div class="row column"> 3 <h1>Firmware</h1> 4 </div> 5</div> 6<div class="row column"> 7 <div class="column small-12 page-header"> 8 <h1 class="inline h4">Manage BMC and server firmware</h1> 9 </div> 10</div> 11<div class="row column"> 12 <p>Use the following tables to manage firmware image files. The image file that is listed as Active is used the next time that the device is booted. To change the boot order for the image, click the arrow icons.</p> 13 <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> 14</div> 15<firmware-list title="BMC images" version="bmcActiveVersion" firmwares="firmwares" filter-by="filters.bmc"></firmware-list> 16<firmware-list title="Server images" version="hostActiveVersion" firmwares="firmwares" filter-by="filters.host"></firmware-list> 17<div class="row column" id="upload"> 18 <div class="column small-12 page-header"> 19 <h2 class="inline h3 bold">Specify image file location</h2> 20 </div> 21 <form id="firmware__upload-form" role="form" class="firmware__upload-form"> 22 <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> 23 <div class=" column firmware__upload-station"> 24 <h3 class="h4 bold">Upload image file from workstation</h3> 25 <p>Select the image file saved on the workstation storage medium to upload to the server BMC.</p> 26 <label for="file-upload" class="inline firmware__upload-chooser"> 27 <input id="file-upload" type="file" file="file" class="hide" onchange="angular.element(this).scope().fileNameChanged()"/> 28 <span class="button btn-secondary inline">Choose a file</span> 29 <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> 30 </label> 31 <input type="button" value="Upload firmware" class="inline button btn-primary float-right" ng-click="upload()"/> 32 <div class="inline uploading" ng-show="uploading">Upload in progress...</div> 33 </div> 34 <div class=" column firmware__upload-tftp"> 35 <h3 class="h4 bold">Download image file from TFTP server</h3> 36 <p>Specify both the TFTP server IP address and the image file name stored on it to download to the server BMC.</p> 37 <fieldset> 38 <div class="row"> 39 <div class="column small-12 large-4"> 40 <label for="tftp-ip">TFTP Server IP address</label> 41 <input name="tftp-ip" id="tftp-ip" type="number"/> 42 </div> 43 <div class="column small-12 large-4"> 44 <label for="tftp-file-name">File name</label> 45 <input name="tftp-file-name" id="tftp-file-name" type="text"/> 46 </div> 47 <div class="column small-12 large-4"> 48 <input type="submit" value="Download firmware" class="inline button btn-primary float-right"/> 49 </div> 50 </div> 51 <div class="inline uploading" ng-show="downloading">Downloading in progress...</div> 52 </fieldset> 53 </div> 54 </form> 55</div> 56 57<!-- Firmware modals --> 58<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': display_error}"> 59 <div class="modal__upload-fail" role="document"> 60 <div class="screen-reader-offscreen modal-description">{{error.modal_title}}</div><!-- accessibility only; used for screen readers --> 61 <div class="page-header "> 62 <span class="icon icon__warning inline"><span class="accessible-text" role="alert">{{error.type}}</span></span> 63 <h1 class="modal-title h4 inline">{{error.title}}</h1> 64 </div> 65 <div class="modal__content"> 66 <p>{{error.desc}}</p> 67 </div> 68 <div class="modal__button-wrapper"> 69 <button class="inline btn-primary" ng-click="display_error = false;">Close</button> 70 </div> 71 </div> 72</section> 73 74<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': confirm_delete}"> 75 <div class="modal__tftp-unreachable" role="document"> 76 <div class="screen-reader-offscreen modal-description">Delete firmware image</div><!-- accessibility only; used for screen readers --> 77 <div class="page-header "> 78 <span class="icon icon__warning inline"><span class="accessible-text" role="alert">Warning</span></span> 79 <h1 class="modal-title h4 inline">Delete image</h1> 80 </div> 81 <div class="modal__content"> 82 <p>Delete firmware {{delete_image_version}}?</p> 83 </div> 84 <div class="modal__button-wrapper"> 85 <button class="inline btn-secondary" ng-click="confirm_delete=false;">Cancel</button> 86 <button class="inline btn-primary" ng-click="confirmDeleteImage()">Continue</button> 87 </div> 88 </div> 89</section> 90 91<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': confirm_upload_image}"> 92 <div class="modal__upload" role="document"> 93 <div class="screen-reader-offscreen modal-description">Upload image file modal</div><!-- accessibility only; used for screen readers --> 94 <div class="page-header "> 95 <h1 class="modal-title h4"><span class="icon icon__info"><svg xmlns="http://www.w3.org/2000/svg" 96 viewBox="0 0 32 32"><path 97 d="M18 14h-6v2h1v6h-2v2h8v-2h-2z"/><circle cx="16" cy="10" r="2"/><path 98 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> 99 Upload image file 100 </h1> 101 </div> 102 <div class="modal__content"> 103 <p>Uploading this image may replace a non-active image, and prevent rollback from the current active image 104 to the previous image.</p> 105 </div> 106 <div class="modal__button-wrapper"> 107 <button class="inline btn-secondary" ng-click="confirm_upload_image = false;">Cancel</button> 108 <button class="inline btn-primary" ng-click="confirmUpload()">Continue</button> 109 </div> 110 </div> 111</section> 112<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': reboot_confirm}"> 113 <div class="modal__reboot" role="document"> 114 <div class="screen-reader-offscreen modal-description">Server reboot required modal</div><!-- accessibility only; used for screen readers --> 115 <div class="page-header "> 116 <h1 class="modal-title h4"><span class="icon icon__info"><svg xmlns="http://www.w3.org/2000/svg" 117 viewBox="0 0 32 32"><path 118 d="M18 14h-6v2h1v6h-2v2h8v-2h-2z"/><circle cx="16" cy="10" r="2"/><path 119 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> 120 Server reboot required 121 </h1> 122 </div> 123 <div class="modal__content"> 124 <p>You specified a new primary firmware image. This change will not take effect until the server is powered 125 down and restarted.</p> 126 </div> 127 <a href="#/server-control/power-operations" class="bold modal__link">Go to power operations page</a> 128 <div class="modal__button-wrapper"> 129 <button class="inline btn-secondary" ng-click="reboot_confirm=false;">Cancel</button> 130 <button class="inline btn-primary" ng-click="confirmWarmReboot()">Warm reboot</button> 131 </div> 132 </div> 133</section> 134<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': preserve_settings_confirm}"> 135 <div class="modal__preserve-settings" role="document"> 136 <div class="screen-reader-offscreen modal-description">Preserve setting modal</div><!-- accessibility only; used for screen readers --> 137 <div class="page-header "> 138 <h1 class="modal-title h4"><span class="icon icon__info"><svg xmlns="http://www.w3.org/2000/svg" 139 viewBox="0 0 32 32"><path 140 d="M18 14h-6v2h1v6h-2v2h8v-2h-2z"/><circle cx="16" cy="10" r="2"/><path 141 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> 142 Preserve settings 143 </h1> 144 </div> 145 <div class="modal__content"> 146 <p>Switching to a new BMC firmware image will erase current user settings. Network settings will be preserved unless you choose to reset all settings.</p> 147 <form> 148 <fieldset> 149 <div class="row column"> 150 <label class="control-radio bold" for="preserve-settings">Preserve network settings 151 <input type="radio" name="preserve-settings" id="preserve-settings" ng-checked="true" ng-model="dhcp" ng-value="true" ng-init="dhcp=true"/> 152 <span class="control__indicator control__indicator-on"></span> 153 </label> 154 </div> 155 <div class="row column"> 156 <label class="control-radio bold" for="reset-settings">Reset all user and network settings 157 <input type="radio" name="reset-settings" id="reset-settings" ng-model="dhcp" ng-value="false"/> 158 <span class="control__indicator control__indicator-on"></span> 159 </label> 160 </div> 161 </fieldset> 162 </form> 163 </div> 164 <div class="modal__button-wrapper"> 165 <button class="inline btn-secondary" ng-click="preserve_settings_confirm=false;">Cancel</button> 166 <button class="inline btn-primary" ng-click="preserveSettingsConfirmed()">Continue</button> 167 </div> 168 </div> 169</section> 170<div class="modal-overlay" tabindex="-1" ng-class="{'active': (display_error || confirm_upload_image || reboot_confirm || preserve_settings_confirm)}"></div>