diff options
author | William A. Kennington III <wak@google.com> | 2019-04-09 19:06:52 -0700 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2019-04-09 19:18:17 -0700 |
commit | f4b4ff813029e2571447e9c21f51701f88595c3c (patch) | |
tree | 3b61ad60d396e9a2e036c837be77d954bfb9a89d /ethernet_interface.hpp | |
parent | 4966e96e2e3b4d3719d5932fb50e923b39c6c23b (diff) | |
download | phosphor-networkd-f4b4ff813029e2571447e9c21f51701f88595c3c.tar.gz phosphor-networkd-f4b4ff813029e2571447e9c21f51701f88595c3c.zip |
vlan: Modify create method to return an ObjectPath
This will be nice to have for ipmid so that it can easily figure out the
path of the new vlan object when it creates one.
Change-Id: I6b93c5e64499c0cb9e36e8354eda6089bfd6d6c9
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r-- | ethernet_interface.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp index 7d7447d..c65726a 100644 --- a/ethernet_interface.hpp +++ b/ethernet_interface.hpp @@ -137,7 +137,7 @@ class EthernetInterface : public Ifaces /** @brief create Vlan interface. * @param[in] id- VLAN identifier. */ - void createVLAN(VlanId id); + ObjectPath createVLAN(VlanId id); /** @brief load the vlan info from the system * and creates the ip address dbus objects. |