-
Notifications
You must be signed in to change notification settings - Fork 38
/
loopback.conf
53 lines (53 loc) · 1.5 KB
/
loopback.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* Test configuration with client and server bound to localhost
* on different ports.
*
* Server listens on: localhost:5076 and attempts to bind 5075
* Client searches to: localhost:5086 and 5085
*
* Servers which wish to be behind the gateway should set
* EPICS_PVAS_INTF_ADDR_LIST=127.0.0.1
* EPICS_PVAS_SERVER_PORT=5085
* EPICS_PVAS_BROADCAST_PORT=5086
*
* Clients which wish to connect through the gateway should set
* EPICS_PVA_ADDR_LIST=127.0.0.1
*/
{
"version":2,
"readOnly":false,
"clients":[
{
"name":"theclient",
"provider":"pva",
"addrlist":"127.0.0.1 127.255.255.255",
"autoaddrlist":false,
"serverport":5085,
"bcastport":5086
}
],
"servers":[
{
"name":"theserver",
"clients":["theclient"],
"interface":["127.0.0.1"],
"addrlist":"127.255.255.255",
"autoaddrlist":false,
"serverport":5075,
"bcastport":5076,
"statusprefix":"sts:"
/* "access":"some.acf", */
/* "pvlist":"some.pvlist", */
},
/* allow client side to access GW status PVs */
{
"name":"stserver",
"clients":[], /* status PVs only */
"interface":["127.0.0.1"],
"addrlist":"127.255.255.255",
"autoaddrlist":false,
"serverport":5085,
"bcastport":5086,
"statusprefix":"stsc:"
}
]
}