diff --git a/README.md b/README.md index 0586a6a..e2f8510 100644 --- a/README.md +++ b/README.md @@ -109,9 +109,7 @@ At present each pva2pva process can act as a uni-directional proxy, presenting a pvAccess server on one interface, and a client on other(s). -The file [example.cmd](example.cmd) provides a starting point. -Adjust *EPICS_PVAS_INTF_ADDR_LIST* and *EPICS_PVA_ADDR_LIST* -according to the host computer's network configuration. +The file [loopback.conf](loopback.conf) provides a starting point. At present there are no safe guard against creating loops 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 -./bin/linux-x86_64/pva2pva example.cmd +./bin/linux-x86_64/pva2pva loopback.conf ``` diff --git a/example.cmd b/example.cmd deleted file mode 100644 index 185f174..0000000 --- a/example.cmd +++ /dev/null @@ -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