Alejandro Mery
|
169a1e9602
|
rings: introduce RingID and its values
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
6d89e0ea3c
|
rings: fix NodeZeroMax/NodeMax to not accept .255
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
ff8f2c6ea1
|
rings: add String() to RegionID, ZoneID, NodeID
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
72a2468a10
|
rings: RingTwoPrefix()
Ring 2 is the service network shared by all kubernetes clusters.
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
6142d0f7f0
|
rings: RingThreePrefix()
Ring 3 corresponds to the pods of the kubernetes cluster of a region
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
0f177acf57
|
rings: RingZeroPrefix()/RingZeroAddress()
Ring zero corresponds to the backbone that connects all zones.
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
394a84c3ab
|
rings: RingOnePrefix()/RingOneAddress()
Ring one designates the (virtual) local network of a zone
within a region.
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
52e1195139
|
rings: introduce generic ErrOutOfRange() factory
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
378bab2f96
|
rings: introduce RegionID, ZoneID and NodeID
and a Valid() method to check if their value is within the
valid range.
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |
Alejandro Mery
|
ac5827898b
|
rings: introduce subpackage to deal with Ring addresses
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
6 months ago |