mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 11:07:46 +00:00
Standardization of device flags: rrm, firmwareUpgrade, rcOnly.
This commit is contained in:
@@ -299,7 +299,8 @@ namespace OpenWifi{
|
||||
return BadRequest(RESTAPI::Errors::NameMustBeSet);
|
||||
}
|
||||
|
||||
AssignIfPresent(RawObject, "rrm",Existing.rrm);
|
||||
if(RawObject->has("deviceRules"))
|
||||
Existing.deviceRules = NewObject.deviceRules;
|
||||
|
||||
std::string FromPolicy, ToPolicy;
|
||||
if(!CreateMove(RawObject,"managementPolicy",&InventoryDB::RecordName::managementPolicy, Existing, FromPolicy,
|
||||
|
||||
Reference in New Issue
Block a user