doc
This commit is contained in:
@ -109,9 +109,7 @@ At present each pva2pva process can act as a uni-directional proxy,
|
|||||||
presenting a pvAccess server on one interface,
|
presenting a pvAccess server on one interface,
|
||||||
and a client on other(s).
|
and a client on other(s).
|
||||||
|
|
||||||
The file [example.cmd](example.cmd) provides a starting point.
|
The file [loopback.conf](loopback.conf) provides a starting point.
|
||||||
Adjust *EPICS_PVAS_INTF_ADDR_LIST* and *EPICS_PVA_ADDR_LIST*
|
|
||||||
according to the host computer's network configuration.
|
|
||||||
|
|
||||||
At present there are no safe guard against creating loops
|
At present there are no safe guard against creating loops
|
||||||
where a gateway client side connects to its own server side.
|
where a gateway client side connects to its own server side.
|
||||||
@ -121,5 +119,5 @@ the interface used for the server (either directly, or included in a broadcast d
|
|||||||
|
|
||||||
```
|
```
|
||||||
cd pva2pva
|
cd pva2pva
|
||||||
./bin/linux-x86_64/pva2pva example.cmd
|
./bin/linux-x86_64/pva2pva loopback.conf
|
||||||
```
|
```
|
||||||
|
26
example.cmd
26
example.cmd
@ -1,26 +0,0 @@
|
|||||||
# Bind gateway server side to this interface
|
|
||||||
epicsEnvSet("EPICS_PVAS_INTF_ADDR_LIST","10.0.1.200")
|
|
||||||
|
|
||||||
# Gateway client side searches here. Must not include gateway server side interface
|
|
||||||
epicsEnvSet("EPICS_PVA_ADDR_LIST", "10.1.1.255")
|
|
||||||
# Prevent gateway client from automatically populating the address list,
|
|
||||||
# which would include the gateway server side interface
|
|
||||||
epicsEnvSet("EPICS_PVA_AUTO_ADDR_LIST","NO")
|
|
||||||
|
|
||||||
gwstart()
|
|
||||||
|
|
||||||
# PVA variables
|
|
||||||
#
|
|
||||||
# Server side
|
|
||||||
#
|
|
||||||
# EPICS_PVAS_INTF_ADDR_LIST - Bind to this interface for both UDP and TCP
|
|
||||||
# EPICS_PVAS_SERVER_PORT - default TCP port
|
|
||||||
# EPICS_PVAS_BROADCAST_PORT - Listen for searches on this port
|
|
||||||
#
|
|
||||||
# EPICS_PVA_SERVER_PORT - Unused if EPICS_PVAS_SERVER_PORT set
|
|
||||||
#
|
|
||||||
# Client side
|
|
||||||
#
|
|
||||||
# EPICS_PVA_BROADCAST_PORT - Default search port for *ADDR_LIST
|
|
||||||
# EPICS_PVA_ADDR_LIST - Space seperated list of search endpoints (bcast or unicast)
|
|
||||||
# EPICS_PVA_AUTO_ADDR_LIST - YES/NO whether to populate ADDR_LIST with all local interface bcast addrs
|
|
Reference in New Issue
Block a user