Skip to content

Commit 878c0fd

Browse files
authored
Replacing PRODUCT with CloudStack (#222)
1 parent 538f09c commit 878c0fd

13 files changed

Lines changed: 101 additions & 101 deletions

File tree

source/adminguide/locale/zh_CN/LC_MESSAGES/events.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C)
33
# This file is distributed under the same license as the Apache CloudStack Administration Documentation package.
4-
#
4+
#
55
# Translators:
66
msgid ""
77
msgstr ""
@@ -51,7 +51,7 @@ msgid ""
5151
"event logs can be used to gain more information on the status of a pending "
5252
"job or can be used to identify a job that is hanging or has not started. The"
5353
" following sections provide more information on these events.."
54-
msgstr "这里有两种类型的事件记录在&PRODUCT;事件日志。标准事件记录一个事件的成功或失败,并且可以用于鉴别哪些是已经失败的任务或进程。这里也记录长时间运行任务事件。异步任务的制定,启动,完成这些事件都被记录。长时间运行的同步和异步事件日志可用于获取挂起任务更多的状态信息,也可以用来识别任务是被挂起或还未开始。以下各节提供有关这些事件的详细信息。"
54+
msgstr "这里有两种类型的事件记录在&CloudStack;事件日志。标准事件记录一个事件的成功或失败,并且可以用于鉴别哪些是已经失败的任务或进程。这里也记录长时间运行任务事件。异步任务的制定,启动,完成这些事件都被记录。长时间运行的同步和异步事件日志可用于获取挂起任务更多的状态信息,也可以用来识别任务是被挂起或还未开始。以下各节提供有关这些事件的详细信息。"
5555

5656
# 127295678f0c4cf084cf737444f11087
5757
#: ../../events.rst:45

source/adminguide/locale/zh_CN/LC_MESSAGES/networking/persistent_networks.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C)
33
# This file is distributed under the same license as the Apache CloudStack Administration Documentation package.
4-
#
4+
#
55
# Translators:
66
msgid ""
77
msgstr ""
@@ -41,7 +41,7 @@ msgid ""
4141
"ability to create a network in CloudStack in which physical devices can be "
4242
"deployed without having to run any VMs. Additionally, you can deploy "
4343
"physical devices on that network."
44-
msgstr "在您创建其它类型的网络时,在网络中第一台VM创建之前,该网络仅是数据库的一条记录。当第一个VM创建时,网络会指定一个VLAN ID并初始化。同样,当网络中最后一个VM销毁后,VLAN ID会被释放,这样该网络就不再可用。通过使用持久化网络,您就有能力在不部署VM的情况下在&PRODUCT;中创建一个网络用来部署物理设备。而且,您可以在该网络中部署物理设备。"
44+
msgstr "在您创建其它类型的网络时,在网络中第一台VM创建之前,该网络仅是数据库的一条记录。当第一个VM创建时,网络会指定一个VLAN ID并初始化。同样,当网络中最后一个VM销毁后,VLAN ID会被释放,这样该网络就不再可用。通过使用持久化网络,您就有能力在不部署VM的情况下在&CloudStack;中创建一个网络用来部署物理设备。而且,您可以在该网络中部署物理设备。"
4545

4646
# 87f88f46858c41ba96f785b7c3122342
4747
#: ../../networking/persistent_networks.rst:33

source/adminguide/locale/zh_CN/LC_MESSAGES/networking2.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8330,7 +8330,7 @@ msgid ""
83308330
"ability to create a network in CloudStack in which physical devices can be "
83318331
"deployed without having to run any VMs. Additionally, you can deploy "
83328332
"physical devices on that network."
8333-
msgstr "在您创建其它类型的网络时,在网络中第一台VM创建之前,该网络仅是数据库的一条记录。当第一个VM创建时,网络会指定一个VLAN ID并初始化。同样,当网络中最后一个VM销毁后,VLAN ID会被释放,这样该网络就不再可用。通过使用持久化网络,您就有能力在不部署VM的情况下在&PRODUCT;中创建一个网络用来部署物理设备。而且,您可以在该网络中部署物理设备。"
8333+
msgstr "在您创建其它类型的网络时,在网络中第一台VM创建之前,该网络仅是数据库的一条记录。当第一个VM创建时,网络会指定一个VLAN ID并初始化。同样,当网络中最后一个VM销毁后,VLAN ID会被释放,这样该网络就不再可用。通过使用持久化网络,您就有能力在不部署VM的情况下在&CloudStack;中创建一个网络用来部署物理设备。而且,您可以在该网络中部署物理设备。"
83348334

83358335
# 58f4be07725f415581616cb03772a7a7
83368336
#: ../../networking2.rst:6869

source/adminguide/locale/zh_CN/LC_MESSAGES/networking_and_traffic.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8553,7 +8553,7 @@ msgid ""
85538553
"ability to create a network in CloudStack in which physical devices can be "
85548554
"deployed without having to run any VMs. Additionally, you can deploy "
85558555
"physical devices on that network."
8556-
msgstr "在您创建其它类型的网络时,在网络中第一台VM创建之前,该网络仅是数据库的一条记录。当第一个VM创建时,网络会指定一个VLAN ID并初始化。同样,当网络中最后一个VM销毁后,VLAN ID会被释放,这样该网络就不再可用。通过使用持久化网络,您就有能力在不部署VM的情况下在&PRODUCT;中创建一个网络用来部署物理设备。而且,您可以在该网络中部署物理设备。"
8556+
msgstr "在您创建其它类型的网络时,在网络中第一台VM创建之前,该网络仅是数据库的一条记录。当第一个VM创建时,网络会指定一个VLAN ID并初始化。同样,当网络中最后一个VM销毁后,VLAN ID会被释放,这样该网络就不再可用。通过使用持久化网络,您就有能力在不部署VM的情况下在&CloudStack;中创建一个网络用来部署物理设备。而且,您可以在该网络中部署物理设备。"
85578557

85588558
# 6fcce92beeff40cb864882157e6e38eb
85598559
#: ../../networking/persistent_networks.rst:33

source/adminguide/locale/zh_CN/LC_MESSAGES/usage.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C)
33
# This file is distributed under the same license as the Apache CloudStack Administration Documentation package.
4-
#
4+
#
55
# Translators:
66
msgid ""
77
msgstr ""
@@ -202,7 +202,7 @@ msgid ""
202202
"October 7, then it is assumed you would like to process records for October "
203203
"6, from midnight to midnight. CloudStack assumes this “midnight to midnight”"
204204
" is relative to the usage.execution.timezone."
205-
msgstr "当值为1440(一天一次)时有点特殊。该情况下,用量服务器并不需要处理上次运行之后的所有事件。&PRODUCT;假定您要一天一次处理昨天的,完成每日记录。例如,如果今天是10月7号,会假定您要处理6号的记录,从0点到24点。CloudStack假定的0点到24点采用的时区为 usage.execution.timezone的值。"
205+
msgstr "当值为1440(一天一次)时有点特殊。该情况下,用量服务器并不需要处理上次运行之后的所有事件。&CloudStack;假定您要一天一次处理昨天的,完成每日记录。例如,如果今天是10月7号,会假定您要处理6号的记录,从0点到24点。CloudStack假定的0点到24点采用的时区为 usage.execution.timezone的值。"
206206

207207
# 657e01fff8404e7086e1a5cd318ed5b9
208208
#: ../../usage.rst:121

source/conceptsandterminology/locale/pot/dev.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2517,7 +2517,7 @@ msgstr ""
25172517

25182518
#: ../../dev.rst:1323
25192519
# 116de5edf8e449378280c02a410c56f1
2520-
msgid "The following time zone identifiers are accepted by PRODUCT. There are several places that have a time zone as a required or optional parameter. These include scheduling recurring snapshots, creating a user, and specifying the usage time zone in the Configuration table."
2520+
msgid "The following time zone identifiers are accepted by CloudStack. There are several places that have a time zone as a required or optional parameter. These include scheduling recurring snapshots, creating a user, and specifying the usage time zone in the Configuration table."
25212521
msgstr ""
25222522

25232523
#: ../../dev.rst:1329

source/conceptsandterminology/locale/pot/networking.pot

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ msgstr ""
16081608

16091609
#: ../../networking/vxlan.rst:7
16101610
# 0856b955a54e4897a16abb275756a9fd
1611-
msgid "In PRODUCT 4.X.0, this plugin only supports the KVM hypervisor with the standard linux bridge."
1611+
msgid "In CloudStack 4.X.0, this plugin only supports the KVM hypervisor with the standard linux bridge."
16121612
msgstr ""
16131613

16141614
#: ../../networking/vxlan.rst:10
@@ -1635,7 +1635,7 @@ msgstr ""
16351635

16361636
#: ../../networking/vxlan.rst:15
16371637
# e5bde3c30dc5441eb12a4ec4b45e7060
1638-
msgid "OvsVifDriver is not supported by this plugin in PRODUCT 4.X, use BridgeVifDriver (default)."
1638+
msgid "OvsVifDriver is not supported by this plugin in CloudStack 4.X, use BridgeVifDriver (default)."
16391639
msgstr ""
16401640

16411641
#: ../../networking/vxlan.rst:17
@@ -1785,7 +1785,7 @@ msgstr ""
17851785

17861786
#: ../../networking/vxlan.rst:137
17871787
# 6082e428d1cb4b658d787c71d0ad1dd5
1788-
msgid "Configure PRODUCT to use VXLAN Plugin"
1788+
msgid "Configure CloudStack to use VXLAN Plugin"
17891789
msgstr ""
17901790

17911791
#: ../../networking/vxlan.rst:140
@@ -1800,7 +1800,7 @@ msgstr ""
18001800

18011801
#: ../../networking/vxlan.rst:145
18021802
# 0b30975586c54132a8722bffbd37f88d
1803-
msgid "In addition to \"KVM Hypervisor Host Installation\" in \"PRODUCT Installation Guide\", you have to configure the following item on the host."
1803+
msgid "In addition to \"KVM Hypervisor Host Installation\" in \"CloudStack Installation Guide\", you have to configure the following item on the host."
18041804
msgstr ""
18051805

18061806
#: ../../networking/vxlan.rst:150
@@ -1905,7 +1905,7 @@ msgstr ""
19051905

19061906
#: ../../networking/vxlan.rst:346
19071907
# 151a7ea2c74744eeb7e1c0a2c6efa55e
1908-
msgid "In almost all parts of zone setup, you can just follow the advanced zone setup istruction in \"PRODUCT Installation Guide\" to use this plugin. It is not required to add a network element nor to reconfigure the network offering. The only thing you have to do is configure the physical network to use VXLAN as the isolation method for Guest Network."
1908+
msgid "In almost all parts of zone setup, you can just follow the advanced zone setup istruction in \"CloudStack Installation Guide\" to use this plugin. It is not required to add a network element nor to reconfigure the network offering. The only thing you have to do is configure the physical network to use VXLAN as the isolation method for Guest Network."
19091909
msgstr ""
19101910

19111911
#: ../../networking/vxlan.rst:353

source/developersguide/dev.rst

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
1717
Programmer Guide
18-
================
18+
================
1919

2020
This guide shows how to develop CloudStack, use the API for operation
2121
and integration, access the usage data and use CloudStack specific tools
@@ -64,7 +64,7 @@ API Reference Documentation
6464

6565
You can find all the API reference documentation at the below site:
6666

67-
`https://cloudstack.apache.org/api.html
67+
`https://cloudstack.apache.org/api.html
6868
<https://cloudstack.apache.org/api.html>`__
6969

7070

@@ -156,9 +156,9 @@ Breaking this down, we have several distinct parts to this URL.
156156
- Command String: This part of the query string comprises of the
157157
command, its parameters, and the API Key that identifies the account.
158158

159-
.. note::
160-
As with all query string parameters of field-value pairs, the "field"
161-
component is case insensitive while all "value" values are case
159+
.. note::
160+
As with all query string parameters of field-value pairs, the "field"
161+
component is case insensitive while all "value" values are case
162162
sensitive.
163163

164164
.. sourcecode: bash
@@ -216,17 +216,17 @@ step interactive session using Python.
216216
First import the required modules:
217217

218218
.. parsed-literal::
219-
219+
220220
$python
221-
Python 2.7.3 (default, Nov 17 2012, 19:54:34)
221+
Python 2.7.3 (default, Nov 17 2012, 19:54:34)
222222
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
223223
Type "help", "copyright", "credits" or "license" for more information.
224224
>>> import urllib2
225225
>>> import urllib
226226
>>> import hashlib
227227
>>> import hmac
228228
>>> import base64
229-
229+
230230
231231
Define the endpoint of the Cloud, the command that you want to execute
232232
and the keys of the user.
@@ -239,7 +239,7 @@ and the keys of the user.
239239
>>> request['response']='json'
240240
>>> request['apikey']='plgWJfZK4gyS3mOMTVmjUVg-X-jlWlnfaUJ9GAbBbf9EdM-kAYMmAiLqzzq1ElZLYq_u38zCm0bewzGUdP66mg'
241241
>>> secretkey='VDaACYb0LV9eNjTetIOElcVQkvJck_J_QljX_FcHRj87ZKiy0z0ty0ZsYBkoXkY9b7eq1EhwJaw7FF3akA3KBQ'
242-
242+
243243
244244
Build the request string:
245245

@@ -248,14 +248,14 @@ Build the request string:
248248
>>> request_str='&'.join(['='.join([k,urllib.quote_plus(request[k])]) for k in request.keys()])
249249
>>> request_str
250250
'apikey=plgWJfZK4gyS3mOMTVmjUVg-X-jlWlnfaUJ9GAbBbf9EdM-kAYMmAiLqzzq1ElZLYq_u38zCm0bewzGUdP66mg&command=listUsers&response=json'
251-
251+
252252
253253
Compute the signature with hmac, do a 64 bit encoding and a url
254254
encoding:
255255

256256
.. parsed-literal::
257-
258-
>>> sig_str='&'.join(['='.join([k.lower(),urllib.quote_plus(request[k]).lower().replace('+','%20')])for k in sorted(request.iterkeys())])
257+
258+
>>> sig_str='&'.join(['='.join([k.lower(),urllib.quote_plus(request[k]).lower().replace('+','%20')])for k in sorted(request.iterkeys())])
259259
>>> sig_str 'apikey=plgwjfzk4gys3momtvmjuvg-x-jlwlnfauj9gabbbf9edm-kaymmailqzzq1elzlyq_u38zcm0bewzgudp66mg&command=listusers&response=json'
260260
>>> sig=hmac.new(secretkey,sig_str,hashlib.sha1)
261261
>>> sig
@@ -270,19 +270,19 @@ encoding:
270270
>>> sig
271271
'TTpdDq/7j/J58XCRHomKoQXEQds='
272272
>>> sig=urllib.quote_plus(base64.encodestring(hmac.new(secretkey,sig_str,hashlib.sha1).digest()).strip())
273-
273+
274274
275275
Finally, build the entire string and do an http GET:
276276

277277
.. parsed-literal::
278-
278+
279279
>>> req=baseurl+request_str+'&signature='+sig
280280
>>> req
281281
'http://localhost:8080/client/api?apikey=plgWJfZK4gyS3mOMTVmjUVg-X-jlWlnfaUJ9GAbBbf9EdM-kAYMmAiLqzzq1ElZLYq_u38zCm0bewzGUdP66mg&command=listUsers&response=json&signature=TTpdDq%2F7j%2FJ58XCRHomKoQXEQds%3D'
282282
>>> res=urllib2.urlopen(req)
283283
>>> res.read()
284284
'{ "listusersresponse" : { "count":3 ,"user" : [ {"id":"7ed6d5da-93b2-4545-a502-23d20b48ef2a","username":"admin","firstname":"admin","lastname":"cloud","created":"2012-07-05T12:18:27-0700","state":"enabled","account":"admin","accounttype":1,"domainid":"8a111e58-e155-4482-93ce-84efff3c7c77","domain":"ROOT","apikey":"plgWJfZK4gyS3mOMTVmjUVg-X-jlWlnfaUJ9GAbBbf9EdM-kAYMmAiLqzzq1ElZLYq_u38zCm0bewzGUdP66mg","secretkey":"VDaACYb0LV9eNjTetIOElcVQkvJck_J_QljX_FcHRj87ZKiy0z0ty0ZsYBkoXkY9b7eq1EhwJaw7FF3akA3KBQ","accountid":"7548ac03-af1d-4c1c-9064-2f3e2c0eda0d"}, {"id":"1fea6418-5576-4989-a21e-4790787bbee3","username":"runseb","firstname":"foobar","lastname":"goa","email":"joe@smith.com","created":"2013-04-10T16:52:06-0700","state":"enabled","account":"admin","accounttype":1,"domainid":"8a111e58-e155-4482-93ce-84efff3c7c77","domain":"ROOT","apikey":"Xhsb3MewjJQaXXMszRcLvQI9_NPy_UcbDj1QXikkVbDC9MDSPwWdtZ1bUY1H7JBEYTtDDLY3yuchCeW778GkBA","secretkey":"gIsgmi8C5YwxMHjX5o51pSe0kqs6JnKriw0jJBLceY5bgnfzKjL4aM6ctJX-i1ddQIHJLbLJDK9MRzsKk6xZ_w","accountid":"7548ac03-af1d-4c1c-9064-2f3e2c0eda0d"}, {"id":"52f65396-183c-4473-883f-a37e7bb93967","username":"toto","firstname":"john","lastname":"smith","email":"john@smith.com","created":"2013-04-23T04:27:22-0700","state":"enabled","account":"admin","accounttype":1,"domainid":"8a111e58-e155-4482-93ce-84efff3c7c77","domain":"ROOT","apikey":"THaA6fFWS_OmvU8od201omxFC8yKNL_Hc5ZCS77LFCJsRzSx48JyZucbUul6XYbEg-ZyXMl_wuEpECzK-wKnow","secretkey":"O5ywpqJorAsEBKR_5jEvrtGHfWL1Y_j1E4Z_iCr8OKCYcsPIOdVcfzjJQ8YqK0a5EzSpoRrjOFiLsG0hQrYnDA","accountid":"7548ac03-af1d-4c1c-9064-2f3e2c0eda0d"} ] } }'
285-
285+
286286
287287
Enabling API Call Expiration
288288
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -357,7 +357,7 @@ Limitations on API Throttling
357357
The following limitations exist in the current implementation of this
358358
feature.
359359

360-
.. note::
360+
.. note::
361361
Even with these limitations, CloudStack is still able to effectively use
362362
API throttling to avoid malicious attacks causing denial of service.
363363

@@ -391,33 +391,33 @@ Sample XML Response:
391391

392392
.. parsed-literal::
393393
394-
<listipaddressesresponse>
394+
<listipaddressesresponse>
395395
<allocatedipaddress>
396-
<ipaddress>192.168.10.141</ipaddress>
397-
<allocated>2009-09-18T13:16:10-0700</allocated>
398-
<zoneid>4</zoneid>
399-
<zonename>WC</zonename>
400-
<issourcenat>true</issourcenat>
396+
<ipaddress>192.168.10.141</ipaddress>
397+
<allocated>2009-09-18T13:16:10-0700</allocated>
398+
<zoneid>4</zoneid>
399+
<zonename>WC</zonename>
400+
<issourcenat>true</issourcenat>
401401
</allocatedipaddress>
402402
</listipaddressesresponse>
403403
404404
Sample JSON Response:
405405

406406
.. parsed-literal::
407407
408-
{ "listipaddressesresponse" :
408+
{ "listipaddressesresponse" :
409409
{ "allocatedipaddress" :
410-
[
411-
{
412-
"ipaddress" : "192.168.10.141",
410+
[
411+
{
412+
"ipaddress" : "192.168.10.141",
413413
"allocated" : "2009-09-18T13:16:10-0700",
414-
"zoneid" : "4",
415-
"zonename" : "WC",
416-
"issourcenat" : "true"
417-
}
414+
"zoneid" : "4",
415+
"zonename" : "WC",
416+
"issourcenat" : "true"
417+
}
418418
]
419-
}
420-
}
419+
}
420+
}
421421
422422
423423
Maximum Result Pages Returned
@@ -642,7 +642,7 @@ data.
642642

643643
.. parsed-literal::
644644
645-
<deployvirtualmachineresponse>
645+
<deployvirtualmachineresponse>
646646
<jobid>1</jobid>
647647
<id>100</id>
648648
</deployvirtualmachineresponse>
@@ -660,7 +660,7 @@ Job is still pending:
660660

661661
.. parsed-literal::
662662
663-
<queryasyncjobresult>
663+
<queryasyncjobresult>
664664
<jobid>1</jobid>
665665
<jobstatus>0</jobstatus>
666666
<jobprocstatus>1</jobprocstatus>
@@ -725,12 +725,12 @@ Job has failed:
725725
.. parsed-literal::
726726
727727
<queryasyncjobresult>
728-
<jobid>1</jobid>
729-
<jobstatus>2</jobstatus>
728+
<jobid>1</jobid>
729+
<jobstatus>2</jobstatus>
730730
<jobprocstatus>0</jobprocstatus>
731731
<jobresultcode>551</jobresultcode>
732732
<jobresulttype>text</jobresulttype>
733-
<jobresult>Unable to deploy virtual machine id = 100 due to not enough capacity</jobresult>
733+
<jobresult>Unable to deploy virtual machine id = 100 due to not enough capacity</jobresult>
734734
</queryasyncjobresult>
735735
736736
@@ -1290,7 +1290,7 @@ Event Types
12901290
Time Zones
12911291
----------
12921292

1293-
The following time zone identifiers are accepted by PRODUCT. There are
1293+
The following time zone identifiers are accepted by CloudStack. There are
12941294
several places that have a time zone as a required or optional
12951295
parameter. These include scheduling recurring snapshots, creating a
12961296
user, and specifying the usage time zone in the Configuration table.

0 commit comments

Comments
 (0)