Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A network partition, is an area of an IaaS that is bound by one network of an IaaS. Therefore, one or more partitions can be included inside a network partition. Private IPs are used for communication within a network partition. Network partitions are also referred to as partition groups. The partition algorithm that is applied within a network partition may differ from the partition algorithm that is applied between different network partitions. A sample network partition definition, together with information on all the properties that can be added in a network partition definition JSON are as follows:

Table of Contents

Sample network partition definition JSON

The following are sample configurations that can be used in a JSON to define a network partition:

Excerpt
Localtabgroup
Localtab
titleEC2
Code Block
{  
   "id":"network-partition-1",
   "provider":"ec2",
   "partitions":[  
      {  
         "id":"partition-1",
         "property":[  
            {  
               "name":"region",
               "value":"default"
            }
         ]
      }
   ]
}
Localtab
titleMock
Code Block
{
  "id": "network-partition-1",
  "provider": "mock",
  "partitions": [
    {
      "id": "partition-1",
      "property": [
        {
          "name": "region",
          "value": "default"
        }
      ]
    }
  ]
}
Localtab
titleKubernetes
Code Block
{  
   "id":"network-partition-1",
   "provider":"kubernetes",
   "partitions":[  
      {  
         "id":"partition-1",
         "property":[  
            {  
               "name":"cluster",
               "value":"kubernetes-cluster-1"
            }
         ]
      }
   ]
}

...