Previous Topic: Log MessagesNext Topic: Network Access - Gateway Terminal


Network Access - Terminals

Communication between appliances in CA 3Tera AppLogic is over peer-to-peer IP connections. The endpoints of these connections are referred to as terminals. This is somewhat different from the usual setup of a multi-device network application, where most devices may be connected to a common bus (for example, an Ethernet switch) and each appliance may connect (or mis-connect) to any other appliance on the same bus.

In contrast, CA 3Tera AppLogic uses a separate virtual wire for each connection (equivalent to a port-to-port Ethernet cable between two network devices) and verifies that traffic goes only along those wires. This is made possible by the fact that the CA 3Tera AppLogic virtual appliances are not limited by a fixed number of physical connection ports and can therefore dedicate a separate virtual terminal for each connection.

There are two logical types of terminals:

Input terminal

A terminal on which the appliance provides a specific service (that is, acts as a server).

Output terminal

A terminal that an appliance uses to request a service from another appliance (that is, acts as a client).

An input terminal can have any number of output terminals connected to it. An output terminal can be connected to a single input terminal. Either kind of terminal may remain unconnected. An application designer may specify that an output terminal is mandatory, that is, the appliance requires the service provided on it and will not work without it being connected.

APK automatically configures the network settings for the virtual network interfaces used as terminals. It makes the terminals visible to the appliance code by name (providing the name resolution and the necessary IP routes), as follows:

An output terminal that is not connected will have its name resolve to an invalid IP address: 0.255.255.255. An appliance that is designed to have optional outputs (which may be left unconnected) should recognize this, or be prepared to handle gracefully the invalid address error on an attempt to connect.