Add noAutoAssignIps for member of networks.
This commit is contained in:
parent
c476285bd6
commit
60bc291414
2 changed files with 4 additions and 2 deletions
|
@ -164,6 +164,7 @@ private:
|
|||
if (!member.count("tags")) member["tags"] = nlohmann::json::array();
|
||||
if (!member.count("capabilities")) member["capabilities"] = nlohmann::json::array();
|
||||
if (!member.count("creationTime")) member["creationTime"] = OSUtils::now();
|
||||
if (!member.count("noAutoAssignIps")) member["noAutoAssignIps"] = false;
|
||||
member["objtype"] = "member";
|
||||
}
|
||||
inline void _initNetwork(nlohmann::json &network)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue