47 #ifdef ENABLE_NETWORKGATEWAY
48 const bool shouldCreateBridge,
49 const std::string &bridgeDevice,
50 const std::string &bridgeIPAddress,
51 const std::string &bridgeNetmask,
52 const int bridgeNetmaskBitLength,
53 const std::string &bridgeNetAddr,
55 const std::string &containerConfigPath,
56 const std::string &sharedMountsDir,
57 unsigned int containerShutdownTimeout);
64 void setEnableWriteBuffer(
bool enabledFlag);
65 void setEnableTemporaryFileSystemWriteBuffers(
bool enabled);
66 void setTemporaryFileSystemSize(
unsigned int size);
72 #ifdef ENABLE_NETWORKGATEWAY 73 bool shouldCreateBridge()
const;
74 std::string bridgeDevice()
const;
75 std::string bridgeIPAddress()
const;
76 std::string bridgeNetmask()
const;
77 int bridgeNetmaskBitLength()
const;
78 std::string bridgeNetAddr()
const;
79 #endif // ENABLE_NETWORKGATEWAY 81 std::string containerConfigPath()
const;
82 std::string sharedMountsDir()
const;
83 unsigned int containerShutdownTimeout()
const;
89 bool writeBufferEnabled()
const;
90 bool temporaryFileSystemWriteBufferEnableds()
const;
91 unsigned int temporaryFileSystemSize()
const;
94 #ifdef ENABLE_NETWORKGATEWAY 95 bool m_shouldCreateBridge;
96 std::string m_bridgeDevice;
97 std::string m_bridgeIPAddress;
98 std::string m_bridgeNetmask;
99 int m_bridgeNetmaskBitLength;
100 std::string m_bridgeNetAddr;
101 #endif // ENABLE_NETWORKGATEWAY 103 std::string m_containerConfigPath;
104 std::string m_sharedMountsDir;
105 unsigned int m_containerShutdownTimeout;
107 bool m_writeBufferEnabled;
108 bool m_temporaryFileSystemWriteBufferEnableds;
109 unsigned int m_temporaryFileSystemSize;
Contains all values that should be passed to SoftwareContainer on creation.
Developers guide to adding a config item: