Sub Zones

Note

This is an internal feature. Running a network with multiple sub-zones is not a supported configuration.

From a Node’s Perspective

From the perspective of a node a network is defined by the Identity Manager and Network Map services it is configured to connect to. It has no comprehension of sub zones. It simply connects to the services configured within its configuration file and, once registered with both, interacts with other nodes and the apps deployed upon it via the RPC clients. This is summarised below:

_images/node-zone-view.png

The node is unaware of other sub zones, seeing only those nodes registered with the network map service it itself has registered with.

From the Perspective of the Zone

From the perspective of the operator of that zone however, things are a lot more interesting:

_images/simple-sub-zones.png

Note

Signing infrastructure is omitted for brevity

In this example the zone operator is operating two public sub zones, each with a different min platform version (the other network parameters shared by the two zones are omitted for brevity). Each sub zone has a single notary, operated by the zone operator, whose nodeInfo is included in the whitelist of the network parameters representing that zone.

Interesting features

  1. All nodes are registered with the zone’s Identity Manager service. (This includes the notaries)
  2. Each sub zone is represented by a network map, each with its own database and network parameters file
  3. Node 1 is on the “older” sub zone using a minimum platform version of 3, it is unaware Nodes 2 and 3 even exist (just as they are unaware of it) but can use Notary 1.
  4. Nodes 2 and 3 and Notary 2 can all intercommunicate as one would expect

Segregated Sub Zones

The fundamental difference between a public sub zone and a segregated one is the operation of the notaries is deferred to a third party.

Important

The relationship between the zone operator and the notary operator is left to the discretion of the zone operator. The important part from the perspective of the ENM is that the signed Node Info is transferred from the notary operator to the zone operator.

This is shown in the following diagram:

_images/simple-seg-zones.png