RSRV Configuration Test Plan
From EPICSWIKI
Revision as of 19:35, 23 January 2016 by MichaelDavidsaver (talk | contribs) (Created page with "= Scope = This document describes some of the possible network configurations for RSRV and the expected results. The expected results are given as the output various IOC shell ...")
Scope
This document describes some of the possible network configurations for RSRV and the expected results.
The expected results are given as the output various IOC shell commands (eg. epicsParamShow/casr/dbcar).
Preparation
This testing should be done on a computer with more than one physical/virtual network interface in additional to the loopback.
On Linux additional tun/tap virtual interfaces can easily be added. In the following examples the addresses 10.5.1.1 and 10.5.2.1 name two such interfacess. Additional interfaces may be present.
ip tuntap add dev tap0 mode tap ip addr add 10.5.1.1/24 dev tap5 ip tuntap add dev tap1 mode tap ip addr add 10.5.2.1/24 dev tap5
These can later be removed
ip tuntap del dev tap0 mode tap ip tuntap del dev tap1 mode tap
Tests
Test #1 Defaults
The default configuration is for RSRV is to bind to the wildcard interface (0.0.0.0), and for libca to search on all local interfaces.
epicsParamShow
EPICS_CA_ADDR_LIST is undefined EPICS_CA_AUTO_ADDR_LIST: YES EPICS_CA_NAME_SERVERS is undefined EPICS_CAS_INTF_ADDR_LIST is undefined EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined EPICS_CAS_BEACON_ADDR_LIST is undefined
casr 2
Server interface 0.0.0.0:5064 UDP receiver 1 0.0.0.0:5064 Beacon destination 10.5.1.255:5065 Beacon destination 10.5.2.255:5065 ... one for remaining local interfaces ...
dbcar 8
... Search Destination List with 4 items UDP Search destination "10.5.1.255:5064" UDP Search destination "10.5.2.255:5064" ... one for remaining local interfaces ...