27 if (!subnet4o6_.get().first.isV6Zero() || (subnet4o6_.get().second != 128u)) {
28 std::ostringstream oss;
29 oss << subnet4o6_.get().first <<
"/"
30 <<
static_cast<unsigned>(subnet4o6_.get().second);
37 std::vector<uint8_t> bin = interface_id_->toBinary();
39 iid.resize(bin.size());
41 std::memcpy(&iid[0], &bin[0], bin.size());
static ElementPtr create(const Position &pos=ZERO_POSITION())
static ElementPtr createMap(const Position &pos=ZERO_POSITION())
Creates an empty MapElement type ElementPtr.
boost::shared_ptr< Element > ElementPtr
Defines the logger used by the top-level component of kea-lfc.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.