Fix "Boot priority" down arrow

The way free priority works is if an image is set to a
priority another image has, that other image's priority
is increased by 1.

Let's say there are 2 images, x and y. x has a priority of
2, and y has a priority of 3.
x gets set to priority 3 (this is how the down arrow works,
it sets the priority to the current priority + 1) now x
has a priority of 3 and y gets increased to a priority of 4.
x and y in this case never switched priority order (i.e. x
still boots first).

To get the down arrow to work currently, set the priority
to + 2 on the down arrow. In the case above this would make
x and y 4 and 3, respectfully, therefore, changing their
priority order (i.e. y boots first now).

This change is not needed for the up arrow, can you figure
out why?

Tested: Down arrow works now.
Change-Id: Ia01dba6694b8c3b68f43fab78d8f0ae022ccb82c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed
tree: aa083682ffa5f954834a5c3f0752fc141c181cfd
  1. app/
  2. gulp_tasks/
  3. .babelrc
  4. .gitignore
  5. bower.json
  6. gulp-options.js
  7. gulpfile.js
  8. karma.conf.js
  9. LICENSE
  10. package.json
  11. postcss.config.js
  12. README.md
  13. sonar-project.properties
  14. webpack.config.js
README.md

openbmc

UX Design repo for OpenBMC

OpenBMC

TODO: Write a project description

Requirement

nodejs npm

Installation

npm install

Running

npm run-script server

This will run it locally in http://localhost:8080.

Example Usage with OpenBMC

  1. Browse to https://<bmc-ip> and bypass the secure warning. You will see a JSON response with Login required message.
  2. In the same session, navigate to http://localhost:8080. Enter the BMC IP, Username and Password (defaults: root/0penBmc).

Now you are logged in.