mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-30 02:02:36 +00:00
Fixing discovery.
This commit is contained in:
@@ -47,6 +47,7 @@ namespace OpenWifi {
|
||||
void ImportTree(const Poco::JSON::Object::Ptr &Ptr, const std::string & Node = RootUUID_ );
|
||||
void ImportVenues(const Poco::JSON::Object::Ptr &Ptr, const std::string & Node = RootUUID_ );
|
||||
bool CreateShortCut( ProvObjects::Entity & E);
|
||||
bool GetByIP(const std::string &IP, std::string & uuid);
|
||||
private:
|
||||
bool RootExists_=false;
|
||||
};
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace OpenWifi {
|
||||
Logger().information(Poco::format("Adding %s to inventory.",SerialNumber));
|
||||
return true;
|
||||
} else {
|
||||
std::cout << "Could not add " << SerialNumber << " to DB." << std::endl;
|
||||
Logger().information(Poco::format("Could not add %s to inventory.",SerialNumber));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace OpenWifi {
|
||||
public:
|
||||
VenueDB( ORM::DBType T, Poco::Data::SessionPool & P, Poco::Logger &L);
|
||||
bool CreateShortCut(ProvObjects::Venue &V);
|
||||
bool GetByIP(const std::string &IP, std::string & uuid);
|
||||
private:
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user