mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 09:42:38 +00:00
Adding tree import.
This commit is contained in:
@@ -47,9 +47,12 @@ namespace OpenWifi{
|
||||
}
|
||||
|
||||
ProvObjects::InventoryTag IT;
|
||||
std::cout << __LINE__ << std::endl;
|
||||
if(Storage()->InventoryDB().GetRecord(RESTAPI::Protocol::SERIALNUMBER,SerialNumber,IT)) {
|
||||
std::string Arg;
|
||||
std::cout << __LINE__ << std::endl;
|
||||
if(HasParameter("config",Arg) && Arg=="true") {
|
||||
std::cout << __LINE__ << std::endl;
|
||||
APConfig Device(SerialNumber,IT.deviceType,Logger_);
|
||||
std::cout << __LINE__ << std::endl;
|
||||
|
||||
|
||||
@@ -352,7 +352,7 @@ case "$1" in
|
||||
"entitycount") login; entitycount ; logout;;
|
||||
"tree") login; tree ; logout;;
|
||||
"importtree") login; importtree $2; logout;;
|
||||
"deviceconfig") login; deviceconfig $2; logout;;
|
||||
"deviceconfig") login; deviceconfig "$2"; logout;;
|
||||
"addtag") login; addtag $2 $3; logout;;
|
||||
"unassigntag") login; unassigntag $2; logout;;
|
||||
"addunassignedtag") login; addunassignedtag $2 ; logout;;
|
||||
|
||||
Reference in New Issue
Block a user