commit | 6549114edd82ff42e817be55969d775ceab91973 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Mon Jun 04 14:23:33 2018 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Thu Jun 14 08:19:19 2018 -0500 |
tree | 9077b4c124506408e448b46be3fdd3d698538180 | |
parent | 0af165b9378bb5cb544c26a7936142335d52257b [diff] |
Add IPV4 properties parameter validation Added parameter validation for the IPV4 properties: IP Address, Gateway, and Netmask prefix length. This is important since we delete the IPV4 interface before adding the new one (i.e. if the add is unsuccessful we are down an IPV4 interface). This validation helps to prevent some of the unsuccessful adds. Took the logic from the network manager valid parameter checks: https://github.com/openbmc/phosphor-networkd/blob/master/util.cpp#L217 Moved "Netmask Prefix Length" to a "number" to do this. It should have been a number. Tested: A variety of good and bad values. Change-Id: Idf4486489097bc426164b9543ea8c05eb54a2bf8 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
TODO: Write a project description
nodejs npm
npm install
npm run-script server
This will run it locally in http://localhost:8080
.
https://<bmc-ip>
and bypass the secure warning. You will see a JSON response with Login required
message.http://localhost:8080
. Enter the BMC IP, Username and Password (defaults: root
/0penBmc
).Now you are logged in.