summaryrefslogtreecommitdiffstats
path: root/dhcp_configuration.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move the restart systemdunit function to network managerRatan Gupta2018-11-301-4/+4
| | | | | Change-Id: I647741fc3976ca82c39998a518b1de7be5365e80 Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
* clang-format: Update to match docs repoGunnar Mills2018-09-151-8/+7
| | | | | | | | | Update the .clang-format file and run clang-format-6.0. This .clang-format matches the example one in https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting Change-Id: Ia331c9a5b040e1a3c45a0ebf1b8d776d93b05ae5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* reorder headersPatrick Venture2018-08-271-3/+5
| | | | | | | | | | | | | | | | | | Reordering all the headers to the following structure: header file: local c cpp (including openbmc libraries) source file: source.hpp (if applicable) local c cpp Change-Id: Ia74a5c761a3029819366159de3cfd40c5e4c4a2c Signed-off-by: Patrick Venture <venture@google.com>
* Get DHCP configuration values form n/w config file while creatingNagaraju Goruganti2018-03-151-0/+39
| | | | | | | | | | | | | | DHCP config object. Each time when we update config file we recreate DHCP config object, with existing code DHCP configuration values are getting initialized to default values. With these changes we get DHCP configuration values from n/w config. Resolves openbmc/openbmc#2891 Change-Id: I95d50d52a8aa569493739a46b88e4a378e399698 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Add more DHCP attributes while writing the configuration fileNagaraju Goruganti2018-02-151-0/+13
| | | | | | | | Added the attribute "SendHostname", when it is true machine's hostname will be included in DHCP packet. Change-Id: I9bf5f76980f152d48f7f3acf7448c8bc199905bb Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Implement the DHCP configuration interfaceRatan Gupta2017-07-251-0/+58
This commit implements the below dhcp options 1) DNS 2) NTP 3) HostName Change-Id: Ifb66fbc86ce38abc79454ecbbf6fb3c65f892c19 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud