summaryrefslogtreecommitdiffstats
path: root/vlan_interface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting issuesRatan K Gupta2018-09-151-7/+3
| | | | | | | | Some of the formatting issues which brought by the earlier commit(clang-formatting) is fixed with this commit. Signed-off-by: Ratan K Gupta <ratagupt@linux.vnet.ibm.com>
* clang-format: Update to match docs repoGunnar Mills2018-09-151-18/+20
| | | | | | | | | 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-7/+7
| | | | | | | | | | | | | | | | | | 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>
* Implement Set function for MAC addressRatan Gupta2017-09-091-1/+1
| | | | | Change-Id: I16992dda259246a66512792f06cbbb874e56a15d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* vlan:Remove the multiple implementation of sdbusplus objectRatan Gupta2017-08-221-2/+3
| | | | | | | | | | | | | | | This commit removes the multiple implementation of sdbus server object from vlan_interface class,Due to this mapper doesn't recieve the interface remove signal which leads to showing the dbus object which is not there. This commit also fixes the order of claiming the bus name. Resolves openbmc/openbmc#2150 Resolves openbmc/openbmc#2152 Resolves openbmc/openbmc#2185 Change-Id: I00b0e9d70abbe1073d20fb0d0e2d8a9ef0300c31 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* vlan:Minor FixesRatan Gupta2017-08-131-0/+1
| | | | | | | | | =>Get the dhcp value from the conf File for the vlan interface. =>Assign the mac address of the parnt interface to vlan interface. =>Create the ipv6 child ip objects once create the vlan interface. Change-Id: I1d73fb18f9d300cbdcf94c73f06df2ea4a1d019b Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* vlan: implement delete interfaceRatan Gupta2017-08-131-2/+7
| | | | | | | | | Delete the in-memory vlan object,Also deletes the associated device file and the network file. Change-Id: I613e31aaa4fa9172c6226765ac044481ffbd88ec Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Implement the Vlan InterfaceRatan Gupta2017-08-131-0/+68
Change-Id: I6085868ba4e30bb9e1c6f6d9895a40ebff82804f Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud