|
@@ -212,18 +212,6 @@ public:
|
|
|
|
|
|
private:
|
|
private:
|
|
|
|
|
|
- /// @brief Get an uint8_t value
|
|
|
|
- ///
|
|
|
|
- /// Instantiation of getIntType() to uint8_t
|
|
|
|
- ///
|
|
|
|
- /// @param scope specified parameter will be extracted from this scope
|
|
|
|
- /// @param name name of the parameter
|
|
|
|
- /// @return uint8_t value
|
|
|
|
- /// @throw isc::dhcp::DhcpConfigError when it is not an uint8_t
|
|
|
|
- uint8_t getUint8(ConstElementPtr scope, const std::string& name) {
|
|
|
|
- return (getIntType<uint8_t>(scope, name));
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/// Pointer to the created pool object.
|
|
/// Pointer to the created pool object.
|
|
isc::dhcp::Pool6Ptr pool_;
|
|
isc::dhcp::Pool6Ptr pool_;
|
|
|
|
|
|
@@ -548,32 +536,6 @@ public:
|
|
uint16_t dhcp4o6_port = getUint16(global, "dhcp4o6-port");
|
|
uint16_t dhcp4o6_port = getUint16(global, "dhcp4o6-port");
|
|
srv_config->setDhcp4o6Port(dhcp4o6_port);
|
|
srv_config->setDhcp4o6Port(dhcp4o6_port);
|
|
}
|
|
}
|
|
-
|
|
|
|
-private:
|
|
|
|
-
|
|
|
|
- /// @brief Returns a value converted to uint32_t
|
|
|
|
- ///
|
|
|
|
- /// Instantiation of getIntType() to uint32_t
|
|
|
|
- ///
|
|
|
|
- /// @param scope specified parameter will be extracted from this scope
|
|
|
|
- /// @param name name of the parameter
|
|
|
|
- /// @return an uint32_t value
|
|
|
|
- uint32_t getUint32(isc::data::ConstElementPtr scope,
|
|
|
|
- const std::string& name) {
|
|
|
|
- return (getIntType<uint32_t>(scope, name));
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /// @brief Returns a value converted to uint16_t
|
|
|
|
- ///
|
|
|
|
- /// Instantiation of getIntType() to uint16_t
|
|
|
|
- ///
|
|
|
|
- /// @param scope specified parameter will be extracted from this scope
|
|
|
|
- /// @param name name of the parameter
|
|
|
|
- /// @return an uint16_t value
|
|
|
|
- uint16_t getUint16(isc::data::ConstElementPtr scope,
|
|
|
|
- const std::string& name) {
|
|
|
|
- return (getIntType<uint16_t>(scope, name));
|
|
|
|
- }
|
|
|
|
};
|
|
};
|
|
|
|
|
|
} // anonymous namespace
|
|
} // anonymous namespace
|