summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Move the implementation for writing conf to interface classRatan Gupta2017-08-131-1/+3
| | | | | | | | implementation of writing interface conf to the ethernet interface class. Change-Id: I279afff45a82ca92c4e50810664f7a7c69a66a61 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Create the VLAN Interface ObjectRatan Gupta2017-08-131-0/+1
| | | | | Change-Id: I118fc4bbcad2a478a8aad976e0619537780c1227 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Pass the network conf dir to network manager constructorRatan Gupta2017-08-132-4/+44
| | | | | | | | | when the network manager comes up,it should have its conf dir path which caller wants,instead of calling one more function to set the desired conf dir. Change-Id: I282c1d5e1c6edb2b6e77d16518d2204a6ac41a45 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Implement the Vlan InterfaceRatan Gupta2017-08-131-0/+1
| | | | | Change-Id: I6085868ba4e30bb9e1c6f6d9895a40ebff82804f Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Convert the .cpp to .o in test makefile ldaddRatan Gupta2017-08-131-9/+9
| | | | | | | | | As compiler was not able to pick the override function definition. Make works fine but make check was having problem. Change-Id: I030b89065c2929019e36f8d30f6103289cd07344 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Implement the DHCP configuration interfaceRatan Gupta2017-07-251-0/+1
| | | | | | | | | | 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>
* Implement the INI config parserRatan Gupta2017-06-212-1/+101
| | | | | | | | Parse the systemd.network file to get the configuration parameter. Change-Id: Ic9c15a46158d2f1c0948e6eca729663e87051491 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Create the system conf Dbus ObjectRatan Gupta2017-06-211-0/+1
| | | | | | | | Also put extra checks while writing the gateway and the destination to the conf file. Change-Id: I8f24b3f293e6f978b655f061a198a32690dd44f3 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Implement the ipaddress origin and gateway propertyRatan Gupta2017-06-091-0/+2
| | | | | | | Resolves openbmc/openbmc#1590 Change-Id: I76328e596336f8b8f1394b1927d48ce52f819a66 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Fetch the network portion of the IP addressRatan Gupta2017-06-082-2/+29
| | | | | | | eg 192.168.2.24/24 ==> 192.168.2.0 Change-Id: I5e46ce7b371360c90ef74fac175c8379c6f31d4c Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* test: add test cases for ethernet interfaceRatan Gupta2017-06-082-1/+153
| | | | | Change-Id: Ibf3a2b3513c784a56540488fa7de5a638a83a833 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* test: Add test cases for network managerRatan Gupta2017-06-084-4/+209
| | | | | | | Resolves openbmc/openbmc#1462 Change-Id: Ib4cb6fc52dca05c9af38fe5197d9d7dff2031af7 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* test: Add unit test cases for utilRatan Gupta2017-06-082-0/+107
Change-Id: I75cc1c1642bd4160191853d6ebfa5427e7f534c3 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud