20 #ifndef DEVICEMAPPER_H
21 #define DEVICEMAPPER_H
23 #include <RdkPluginBase.h>
25 #include <sys/types.h>
26 #include <netinet/in.h>
36 const std::shared_ptr<DobbyRdkPluginUtils> &utils,
37 const std::string &rootfsPath);
40 inline std::string
name()
const override
67 const std::string mName;
68 std::shared_ptr<rt_dobby_schema> mContainerConfig;
69 const std::string mRootfsPath;
70 const std::shared_ptr<DobbyRdkPluginUtils> mUtils;
Definition: DeviceMapper.h:33
unsigned hookHints() const override
Set the bit flags for which hooks we're going to use.
Definition: DeviceMapper.cpp:57
std::string name() const override
Should return the name of the plugin.
Definition: DeviceMapper.h:40
bool preCreation() override
Dobby Hook - run in host namespace before container creation process.
Definition: DeviceMapper.cpp:65
bool getDevNodeFromPath(const std::string &path, DevNode &node)
Gets the actual details about the device node (major/minor ids) at a given path.
Definition: DeviceMapper.cpp:210
std::vector< std::string > getDependencies() const override
Should return the names of the plugins this plugin depends on.
Definition: DeviceMapper.cpp:239
Basic object that provides the default overrides for a plugin.
Definition: RdkPluginBase.h:34
Definition: DeviceMapper.h:55