Set IPV4 interfaces

If a gateway, netmask, or IP address of an IPV4 interface changes on
the page, when the user hits "Save changes" and confirms the popup,
delete the old IPV4 interface and create a new one with the new
values. After talking with Ratan, deleting then adding is the
the correct way to change IPV4 interfaces.
More information can be found in the network README up for review:
https://gerrit.openbmc-project.xyz/#/c/6872/

Tested: Changed IPV4 interface properties on a Witherspoon.
Also tested a Witherspoon in DHCP mode then moved over to a static
IP.
Change-Id: Idc0026aa01533ea327b53efc57e21147c4b68967
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2 files changed
tree: bb8d337cd256d060a0d2351add201eba2714f2a4
  1. app/
  2. gulp_tasks/
  3. .babelrc
  4. .clang-format
  5. .gitignore
  6. bower.json
  7. format-code.sh
  8. gulp-options.js
  9. gulpfile.js
  10. karma.conf.js
  11. LICENSE
  12. MAINTAINERS
  13. package.json
  14. postcss.config.js
  15. README.md
  16. sonar-project.properties
  17. 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.