interioredge

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

README

Interior and Edge meshes

Deploys two interior router meshes (running in same namespace, within the same context). Two edge routers will connect to each interior mesh.

The network topology would be like:

---------------                                     ---------------
+ edge-west-1 + ---                             --- + edge-east-1 +
---------------   |                             |   ---------------
                  v                             v
           -----------------            -----------------
           + interior-west +   ----->   + interior-east +
           -----------------            -----------------
                  ^                              ^
---------------   |                             |   ---------------
+ edge-west-2 + ---                             --- + edge-east-2 +
---------------                                     ---------------

Clients

A total of 72 clients (senders + receivers) will connect with the mesh above

  • 2 java (cli-java) receivers will connect against each router node (12 java receivers)
  • 2 java (cli-java) senders will connect against each router node (12 java senders)
  • 2 python (cli-proton-python) receivers will connect against each router node (12 python receivers)
  • 2 python (cli-proton-python) senders will connect against each router node (12 python senders)
  • 2 nodejs (cli-rhea) receivers will connect against each router node (12 nodejs receivers)
  • 2 nodejs (cli-rhea) senders will connect against each router node (12 nodejs senders)

Tests

  • Anycast and Multicast tests
  • Small (1kb), medium (100kb) and large messages (500kb) to be exchanged

Documentation

Index

Constants

View Source
const (
	ConfigMapName = "messaging-files"
)

Variables

View Source
var (
	TopologySmoke *smokev1.SmokeRouterOnlyTopology
	//ConfigMap     *v1.ConfigMap
	Config *testcommon.Config
)

Functions

func CollectResults

func CollectResults(senders []*python.PythonClient, receivers []*python.PythonClient) ([]results, []results)

CollectResults generate results obtained from python's basic senders and receivers.

func DeployClients

func DeployClients(allRouterNames []string, ctx *framework.ContextData, address string, numClients int, msgCount int, msgSize int, timeout int) ([]*python.PythonClient, []*python.PythonClient)

DeployClients deploys both senders and receivers across all routers and return the

generated slices of senders and receivers.

func IsDebugEnabled

func IsDebugEnabled() bool

IsDebugEnabled returns true if DEBUG env var or property is true

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL