1 # SOME DESCRIPTIVE TITLE. |
|
2 # Copyright (C) is 21st century inquisition |
|
3 # This file is distributed under the same license as the Beremiz package. |
|
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|
5 # |
|
6 #, fuzzy |
|
7 msgid "" |
|
8 msgstr "" |
|
9 "Project-Id-Version: Beremiz 1.1\n" |
|
10 "Report-Msgid-Bugs-To: \n" |
|
11 "POT-Creation-Date: 2017-08-09 14:06+0300\n" |
|
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|
14 "Language-Team: LANGUAGE <LL@li.org>\n" |
|
15 "Language: \n" |
|
16 "MIME-Version: 1.0\n" |
|
17 "Content-Type: text/plain; charset=UTF-8\n" |
|
18 "Content-Transfer-Encoding: 8bit\n" |
|
19 |
|
20 #: ../../manual/connectors.rst:2 |
|
21 msgid "Beremiz and Beremiz_service connectors" |
|
22 msgstr "" |
|
23 |
|
24 #: ../../manual/connectors.rst:6 |
|
25 msgid "To connect a PLC, Beremiz provides 2 types of connectors :" |
|
26 msgstr "" |
|
27 |
|
28 #: ../../manual/connectors.rst:5 |
|
29 msgid "a Pyro connector" |
|
30 msgstr "" |
|
31 |
|
32 #: ../../manual/connectors.rst:6 |
|
33 msgid "a WAMP connector" |
|
34 msgstr "" |
|
35 |
|
36 #: ../../manual/connectors.rst:8 |
|
37 msgid "" |
|
38 "To configure the connection, you have to set the *URI_location* in your " |
|
39 "project Config tab according to this documentation." |
|
40 msgstr "" |
|
41 |
|
42 #: ../../manual/connectors.rst:11 |
|
43 msgid "The Pyro connector" |
|
44 msgstr "" |
|
45 |
|
46 #: ../../manual/connectors.rst:13 |
|
47 msgid "" |
|
48 "Pyro is an advanced and powerful Distributed Object Technology system " |
|
49 "written entirely in Python. Beremiz_service spawns a Pyro server, serving a " |
|
50 "PLCObject (see runtime/PLCObject.py). Therefore, Beremiz acts as a Pyro " |
|
51 "client." |
|
52 msgstr "" |
|
53 |
|
54 #: ../../manual/connectors.rst:16 |
|
55 msgid "TODO:: link to PLCObject API documentation" |
|
56 msgstr "" |
|
57 |
|
58 #: ../../manual/connectors.rst:22 ../../manual/connectors.rst:105 |
|
59 msgid "URI_location :" |
|
60 msgstr "" |
|
61 |
|
62 #: ../../manual/connectors.rst:19 |
|
63 msgid "" |
|
64 "LOCAL:// is a facility that starts the PLC service locally and connect " |
|
65 "Beremiz to it via Pyro. This is intended for use in development stage." |
|
66 msgstr "" |
|
67 |
|
68 #: ../../manual/connectors.rst:21 |
|
69 msgid "" |
|
70 "PYRO://<ip:port> normal connection to a remote PLC. PLC default port is 3000." |
|
71 msgstr "" |
|
72 |
|
73 #: ../../manual/connectors.rst:22 |
|
74 msgid "PYROS://<ip:port> SSL connection to a remote PLC, see below." |
|
75 msgstr "" |
|
76 |
|
77 #: ../../manual/connectors.rst:24 |
|
78 msgid "" |
|
79 "more information about Pyro can be found on http://pythonhosted.org//Pyro/1-" |
|
80 "intro.html" |
|
81 msgstr "" |
|
82 |
|
83 #: ../../manual/connectors.rst:28 |
|
84 msgid "Setup a Pyro SSL connection" |
|
85 msgstr "" |
|
86 |
|
87 #: ../../manual/connectors.rst:30 |
|
88 msgid "" |
|
89 "Pyro v3 has a limited TLS/SSL support based on m2crypto. Pyro v4 had dropped " |
|
90 "it. In order to have a full and reliable SSL, we recommand to use a TLS/SSL " |
|
91 "wrapper as nginx, stub or stunnel." |
|
92 msgstr "" |
|
93 |
|
94 #: ../../manual/connectors.rst:35 |
|
95 msgid "TLS-PSK with stunnel" |
|
96 msgstr "" |
|
97 |
|
98 #: ../../manual/connectors.rst:37 |
|
99 msgid "" |
|
100 "In this example, we setup a simple TLS-PSK connection according to rfc4279. " |
|
101 "This ciphersuite avoid the need for public key operations and certificate " |
|
102 "management. It is perfect for a performance-constrained environments with " |
|
103 "limited CPU power as a PLC." |
|
104 msgstr "" |
|
105 |
|
106 #: ../../manual/connectors.rst:43 |
|
107 msgid "Needed :" |
|
108 msgstr "" |
|
109 |
|
110 #: ../../manual/connectors.rst:43 |
|
111 msgid "stunnel >= 5.09" |
|
112 msgstr "" |
|
113 |
|
114 #: ../../manual/connectors.rst:45 |
|
115 msgid "verify openssl support for PSK cipher::" |
|
116 msgstr "" |
|
117 |
|
118 #: ../../manual/connectors.rst:51 |
|
119 msgid "Client setup (Beremiz)" |
|
120 msgstr "" |
|
121 |
|
122 #: ../../manual/connectors.rst:53 |
|
123 msgid "" |
|
124 "You need to choose an identity for your client, here *client1*. generate a " |
|
125 "valid and strong key::" |
|
126 msgstr "" |
|
127 |
|
128 #: ../../manual/connectors.rst:58 |
|
129 msgid "write a stunnel client configuration file *stunnel-client.conf*::" |
|
130 msgstr "" |
|
131 |
|
132 #: ../../manual/connectors.rst:69 |
|
133 msgid "start stunnel client side::" |
|
134 msgstr "" |
|
135 |
|
136 #: ../../manual/connectors.rst:73 |
|
137 msgid "" |
|
138 "You could now connect beremiz with classic URI_location = " |
|
139 "PYRO://127.0.0.1:3002" |
|
140 msgstr "" |
|
141 |
|
142 #: ../../manual/connectors.rst:77 |
|
143 msgid "Server setup (PLC)" |
|
144 msgstr "" |
|
145 |
|
146 #: ../../manual/connectors.rst:79 |
|
147 msgid "import the client key in a keyfile psk.txt, concatening all client key." |
|
148 msgstr "" |
|
149 |
|
150 #: ../../manual/connectors.rst:81 |
|
151 msgid "write a stunnel server configuration file *stunnel-server.conf*::" |
|
152 msgstr "" |
|
153 |
|
154 #: ../../manual/connectors.rst:90 |
|
155 msgid "start stunnel server side::" |
|
156 msgstr "" |
|
157 |
|
158 #: ../../manual/connectors.rst:94 |
|
159 msgid "more documentation on stunnel http://www.stunnel.org/docs.html" |
|
160 msgstr "" |
|
161 |
|
162 #: ../../manual/connectors.rst:97 |
|
163 msgid "The WAMP connector" |
|
164 msgstr "" |
|
165 |
|
166 #: ../../manual/connectors.rst:99 |
|
167 msgid "" |
|
168 "WAMP is an open standard WebSocket subprotocol that provides two application " |
|
169 "messaging patterns in one unified protocol: Remote Procedure Calls + Publish " |
|
170 "& Subscribe." |
|
171 msgstr "" |
|
172 |
|
173 #: ../../manual/connectors.rst:102 |
|
174 msgid "Beremiz WAMP connector implementation uses Autobahn and crossbar." |
|
175 msgstr "" |
|
176 |
|
177 #: ../../manual/connectors.rst:105 |
|
178 msgid "WAMP://127.0.0.1:8888#Automation#2534667845" |
|
179 msgstr "" |
|
180 |
|
181 #: ../../manual/connectors.rst:107 |
|
182 msgid "more information about WAMP can be found on http://wamp.ws/" |
|
183 msgstr "" |
|