stephb9959
2022-08-16 09:02:59 -07:00
parent 2594a2c5f2
commit 1a0b00e989
3 changed files with 8 additions and 2 deletions

View File

@@ -405,7 +405,9 @@ namespace OpenWifi {
}
inline bool ValidateConfigBlock(const ProvObjects::DeviceConfiguration &Config, RESTAPI::Errors::msg & Error) {
static const std::vector<std::string> SectionNames{ "globals", "interfaces", "metrics", "radios", "services", "unit" };
static const std::vector<std::string> SectionNames{ "globals", "interfaces", "metrics", "radios", "services",
"unit", "definitions", "ethernet", "switch", "config-raw",
"third-party" };
for(const auto &i:Config.configuration) {
Poco::JSON::Parser P;