Sign inSign up

pklaus/p2p

By pklaus

Updated about 6 years ago

Image
0

2.5K

pklaus/p2p repository overview

Source code on Github: https://github.com/pklaus/docker-p2p

EPICS PVA Gateway / Proxy p2p (deprecated!)

p2p was supposed to be for PVA what gateway is for CA.

As indicated in the table below, p2p is deprecated. Please use p4p's pvagw instead.

ComparisonCA Gatewayp4p pvagwpva2pva p2p
Target ProtocolCAPVAPVA
Executablegatewaypvagwp2p
Module / Extensionca-gatewaypva2pvap4p
Dev Activity🔗🔗🔗
Statusproductionproductiondeprecated

The target protocol indicates:

Synopsis

$ p2p -h
Usage: p2p [-vhiIC] <config file>
  • -v: verbose
  • -h: help (very scarce)
  • -i: interactive no
  • -I: interactive yes
  • -C: check only
  • -q: quiet (found in src

Deprecation Notice

When you start the application with an actual config file, you'll get the following notice:

Notice: This p2p gateway prototype has been superceded by the p4p.gw gateway
        which has exciting new features including granular access control,
        and status PVs including bandwidth usage reports.
        p2p is considered deprecated by its author, and will receive
        minimal maintainance effort going forward.
        Users are encouraged to migrate to p4p.gw.
        https://mdavidsaver.github.io/p4p/gw.html

Example

This is the loopback example mentioned in the pva2pva README:

{
  "version":1,
  "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
    }
  ]
}

Tag summary

Content type

Image

Digest

Size

4.7 MB

Last updated

about 6 years ago

docker pull pklaus/p2p