23 #ifndef IDOBBYSETTINGS_H
24 #define IDOBBYSETTINGS_H
32 #include <netinet/in.h>
35 # include <json/json.h>
37 # include <jsoncpp/json.h>
111 std::set<std::string> flags;
138 std::list<std::string> deviceNodes;
139 std::set<int> groupIds;
140 std::list<ExtraMount> extraMounts;
141 std::map<std::string, std::string> extraEnvVariables;
198 virtual Json::Value rdkPluginsData()
const = 0;
203 bool journaldEnabled;
205 std::string syslogSocketPath;
206 std::string journaldSocketPath;
225 std::vector<std::string> apps;
243 std::string profileName;
Interface provided to the library at startup, contains the configuration options for Dobby.
Definition: IDobbySettings.h:50
virtual std::string addressRangeStr() const =0
Returns the Dobby network address range in string format.
virtual std::shared_ptr< HardwareAccessSettings > gpuAccessSettings() const =0
Returns any extra details needed to access the GPU inside the container.
virtual std::vector< std::string > externalInterfaces() const =0
Returns the set of external interface that container traffic maybe routed through.
virtual std::string consoleSocketPath() const =0
Location to create the socket used for capturing container logs.
virtual std::shared_ptr< HardwareAccessSettings > vpuAccessSettings() const =0
Returns any extra details needed to access the VPU (video pipeline) inside the container.
virtual std::vector< std::string > defaultPlugins() const =0
Returns any default plugins the platform should run.
virtual in_addr_t addressRange() const =0
Returns the Dobby network address range in in_addr_t format.
virtual std::string workspaceDir() const =0
Should return the path to a directory used to store temporary data like runc bundles.
virtual std::map< std::string, std::string > extraEnvVariables() const =0
A list of extra environment variables that will be set for all containers.
virtual std::string persistentDir() const =0
Should return a path to a directory on a persistent storage mount.
Definition: IDobbySettings.h:241
Definition: IDobbySettings.h:137
Definition: IDobbySettings.h:201
Definition: IDobbySettings.h:261
Definition: IDobbySettings.h:223