diff options
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r-- | ethernet_interface.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp index 36669d6..29d377e 100644 --- a/ethernet_interface.hpp +++ b/ethernet_interface.hpp @@ -9,7 +9,6 @@ #include <sdbusplus/bus.hpp> #include <sdbusplus/server/object.hpp> - #include <string> #include <experimental/filesystem> @@ -94,6 +93,12 @@ class EthernetInterface : public Ifaces */ void deleteObject(const std::string& ipaddress); + /* @brief delete the vlan dbus object of the given interface. + * Also deletes the device file and the network file. + * @param[in] interface - VLAN Interface. + */ + void deleteVLANObject(const std::string& interface); + /* @brief creates the dbus object(IPaddres) given in the address list. * @param[in] addrs - address list for which dbus objects needs * to create. |