mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
Simplify network briding modes -- we only need passive toggle and active bridge list, not three mode types. Also change isOpen to isPublic for terminology consistency.
This commit is contained in:
parent
367b5439e1
commit
cf4700bc26
8 changed files with 17 additions and 35 deletions
|
@ -1,3 +1,3 @@
|
|||
//exports.redisDb = 0; // live
|
||||
exports.redisDb = 1; // test
|
||||
exports.redisDb = 0; // live
|
||||
//exports.redisDb = 1; // test
|
||||
//exports.redisDb = 2; // dev
|
||||
|
|
|
@ -42,7 +42,7 @@ var ZT_NETWORKCONFIG_DICT_KEY_IPV4_STATIC = "v4s";
|
|||
var ZT_NETWORKCONFIG_DICT_KEY_IPV6_STATIC = "v6s";
|
||||
var ZT_NETWORKCONFIG_DICT_KEY_CERTIFICATE_OF_MEMBERSHIP = "com";
|
||||
var ZT_NETWORKCONFIG_DICT_KEY_ENABLE_BROADCAST = "eb";
|
||||
var ZT_NETWORKCONFIG_DICT_KEY_BRIDGING_MODE = "br";
|
||||
var ZT_NETWORKCONFIG_DICT_KEY_ALLOW_PASSIVE_BRIDGING = "pb";
|
||||
var ZT_NETWORKCONFIG_DICT_KEY_ACTIVE_BRIDGES = "ab";
|
||||
|
||||
// Path to zerotier-idtool binary, invoked to enerate certificates of membership
|
||||
|
|
|
@ -69,7 +69,7 @@ Each network has a network record indexed by its 64-bit network ID in lower-case
|
|||
- M v4AssignPool :: network/bits from which to assign IPs
|
||||
- M v6AssignMode :: 'none' (or null/empty/etc.), 'zt', 'v6native', 'dhcp6'
|
||||
- M v6AssignPool :: network/bits from which to assign IPs
|
||||
- M bridgingMode :: 0 == none, 1 == active only, 2 == permissive/all
|
||||
- M allowPassiveBridging :: if true, allow passive bridging
|
||||
- M subscriptions :: comma-delimited list of subscriptions for this network
|
||||
- M ui :: arbitrary field that can be used by the UI to store stuff
|
||||
|
||||
|
@ -82,7 +82,7 @@ The netconf-master will automatically add any peer that even attempts to request
|
|||
- !R id :: must be \<address\>
|
||||
- !R nwid :: must be \<nwid\>
|
||||
- M authorized :: true if node is authorized and will be issued valid certificates and network configurations
|
||||
- M bridge :: true if node is an active bridge
|
||||
- M activeBridge :: true if node is an active bridge
|
||||
- M name :: name of system
|
||||
- M notes :: annotation field
|
||||
- R authorizedBy :: user ID of user who authorized membership
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue