Add default tag values and default set capabilities for new members.
This commit is contained in:
parent
e4135ffb35
commit
32f5a0ab18
3 changed files with 144 additions and 45 deletions
|
@ -165,6 +165,7 @@ private:
|
|||
if (!network.count("v6AssignMode")) network["v6AssignMode"] = {{"rfc4193",false},{"zt",false},{"6plane",false}};
|
||||
if (!network.count("authTokens")) network["authTokens"] = nlohmann::json::array();
|
||||
if (!network.count("capabilities")) network["capabilities"] = nlohmann::json::array();
|
||||
if (!network.count("tags")) network["tags"] = nlohmann::json::array();
|
||||
if (!network.count("routes")) network["routes"] = nlohmann::json::array();
|
||||
if (!network.count("ipAssignmentPools")) network["ipAssignmentPools"] = nlohmann::json::array();
|
||||
if (!network.count("rules")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue