incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jtomec...@apache.org
Subject git commit: Docs. Developer's Guide fixes. Moved "New APIs in 4.0" to correct section, removed obsolete product name, fixed book abstract, ID, and copyright holder.
Date Tue, 16 Oct 2012 21:42:37 GMT
Updated Branches:
  refs/heads/master d7704422a -> 7ce5fdda2


Docs. Developer's Guide fixes. Moved "New APIs in 4.0" to correct section, removed obsolete
product name, fixed book abstract, ID, and copyright holder.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/7ce5fdda
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7ce5fdda
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7ce5fdda

Branch: refs/heads/master
Commit: 7ce5fdda27c8b9e22677622d04dd5b55d38668c4
Parents: d770442
Author: Jessica Tomechak <jessica.tomechak@gmail.com>
Authored: Wed Oct 10 14:45:59 2012 -0700
Committer: Jessica Tomechak <jessica.tomechak@gmail.com>
Committed: Tue Oct 16 14:38:47 2012 -0700

----------------------------------------------------------------------
 docs/en-US/API_Developers_Guide.ent                |    4 +-
 docs/en-US/API_Developers_Guide.xml                |    9 +-
 docs/en-US/added-API-commands-4.0.xml              |  164 +++++++++++++++
 docs/en-US/added-API-commands.xml                  |  133 +------------
 docs/en-US/added-cloudPlatform-error-codes.xml     |  138 ------------
 docs/en-US/added-error-codes.xml                   |  138 ++++++++++++
 docs/en-US/change-to-behavior-of-list-commands.xml |    1 -
 docs/en-US/whats-new.xml                           |    5 +-
 8 files changed, 312 insertions(+), 280 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/API_Developers_Guide.ent
----------------------------------------------------------------------
diff --git a/docs/en-US/API_Developers_Guide.ent b/docs/en-US/API_Developers_Guide.ent
index 6e902ac..47a2b67 100644
--- a/docs/en-US/API_Developers_Guide.ent
+++ b/docs/en-US/API_Developers_Guide.ent
@@ -15,7 +15,7 @@
  specific language governing permissions and limitations
  under the License.
 -->
-<!ENTITY PRODUCT "CloudPlatform">
+<!ENTITY PRODUCT "CloudStack">
 <!ENTITY BOOKID "Technical Documentation">
 <!ENTITY YEAR "2012">
-<!ENTITY HOLDER "Citrix">
+<!ENTITY HOLDER "Apache Software Foundation">
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/API_Developers_Guide.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/API_Developers_Guide.xml b/docs/en-US/API_Developers_Guide.xml
index daf7897..802c50e 100644
--- a/docs/en-US/API_Developers_Guide.xml
+++ b/docs/en-US/API_Developers_Guide.xml
@@ -23,15 +23,15 @@
 -->
 
 <book>
-    <bookinfo id="book-release-notes-3.0.4">
-        <title>&PRODUCT; API Developers Guide</title>
+    <bookinfo id="cloudstack_developers">
+        <title>&PRODUCT; API Developer's Guide</title>
         <productname>Apache CloudStack</productname>
         <productnumber>4.0</productnumber>
         <edition></edition>
         <pubsnumber></pubsnumber>
         <abstract>
             <para>
-                Complete technical documentation of &PRODUCT;.
+                How to integrate with &PRODUCT; using the &PRODUCT; API.
             </para>
         </abstract>
         <corpauthor>
@@ -53,5 +53,4 @@
     <xi:include href="alerts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="time-zones.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude"
/>
-</book>
-
+</book>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/added-API-commands-4.0.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/added-API-commands-4.0.xml b/docs/en-US/added-API-commands-4.0.xml
new file mode 100644
index 0000000..5dab9ca
--- /dev/null
+++ b/docs/en-US/added-API-commands-4.0.xml
@@ -0,0 +1,164 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
[
+<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
+%BOOK_ENTITIES;
+]>
+<!-- Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<section id="added-API-commands-4.0">
+  <title>Added API Commands in 4.0</title>
+  <itemizedlist>
+    <listitem>
+      <para>createCounter (Adds metric counter)</para>
+    </listitem>
+    <listitem>
+      <para>deleteCounter (Deletes a counter)</para>
+    </listitem>
+    <listitem>
+      <para>listCounters (List the counters)</para>
+    </listitem>
+    <listitem>
+      <para>createCondition (Creates a condition)</para>
+    </listitem>
+    <listitem>
+      <para>deleteCondition (Removes a condition)</para>
+    </listitem>
+    <listitem>
+      <para>listConditions (List Conditions for the specific user)</para>
+    </listitem>
+    <listitem>
+      <para>createTags. Add tags to one or more resources. Example:
+        <programlisting>command=createTags
+&amp;resourceIds=1,10,12
+&amp;resourceType=userVm
+&amp;tags[0].key=region
+&amp;tags[0].value=canada
+&amp;tags[1].key=city
+&amp;tags[1].value=Toronto				</programlisting></para>
+    </listitem>
+    <listitem>
+      <para>deleteTags. Remove tags from one or more resources. Example:
+        <programlisting>command=deleteTags
+&amp;resourceIds=1,12
+&amp;resourceType=Snapshot
+&amp;tags[0].key=city								</programlisting></para>
+    </listitem>
+    <listitem>
+      <para>listTags (Show currently defined resource tags)</para>
+    </listitem>
+    <listitem>
+      <para>createVPC (Creates a VPC)</para>
+    </listitem>
+    <listitem>
+      <para>listVPCs (Lists VPCs)</para>
+    </listitem>
+    <listitem>
+      <para>deleteVPC (Deletes a VPC)</para>
+    </listitem>
+    <listitem>
+      <para>updateVPC (Updates a VPC)</para>
+    </listitem>
+    <listitem>
+      <para>restartVPC (Restarts a VPC)</para>
+    </listitem>
+    <listitem>
+      <para>createVPCOffering (Creates VPC offering)</para>
+    </listitem>
+    <listitem>
+      <para>updateVPCOffering (Updates VPC offering)</para>
+    </listitem>
+    <listitem>
+      <para>deleteVPCOffering (Deletes VPC offering)</para>
+    </listitem>
+    <listitem>
+      <para>listVPCOfferings (Lists VPC offerings)</para>
+    </listitem>
+    <listitem>
+      <para>createPrivateGateway (Creates a private gateway)</para>
+    </listitem>
+    <listitem>
+      <para>listPrivateGateways (List private gateways)</para>
+    </listitem>
+    <listitem>
+      <para>deletePrivateGateway (Deletes a Private gateway)</para>
+    </listitem>
+    <listitem>
+      <para>createNetworkACL (Creates a ACL rule the given network (the network has
to belong to
+        VPC))</para>
+    </listitem>
+    <listitem>
+      <para>deleteNetworkACL (Deletes a Network ACL)</para>
+    </listitem>
+    <listitem>
+      <para>listNetworkACLs (Lists all network ACLs)</para>
+    </listitem>
+    <listitem>
+      <para>createStaticRoute (Creates a static route)</para>
+    </listitem>
+    <listitem>
+      <para>deleteStaticRoute (Deletes a static route)</para>
+    </listitem>
+    <listitem>
+      <para>listStaticRoutes (Lists all static routes)</para>
+    </listitem>
+    <listitem>
+      <para>createVpnCustomerGateway (Creates site to site vpn customer gateway)</para>
+    </listitem>
+    <listitem>
+      <para>createVpnGateway (Creates site to site vpn local gateway)</para>
+    </listitem>
+    <listitem>
+      <para>createVpnConnection (Create site to site vpn connection)</para>
+    </listitem>
+    <listitem>
+      <para>deleteVpnCustomerGateway (Delete site to site vpn customer gateway)</para>
+    </listitem>
+    <listitem>
+      <para>deleteVpnGateway (Delete site to site vpn gateway)</para>
+    </listitem>
+    <listitem>
+      <para>deleteVpnConnection (Delete site to site vpn connection)</para>
+    </listitem>
+    <listitem>
+      <para>updateVpnCustomerGateway (Update site to site vpn customer gateway)</para>
+    </listitem>
+    <listitem>
+      <para>resetVpnConnection (Reset site to site vpn connection)</para>
+    </listitem>
+    <listitem>
+      <para>listVpnCustomerGateways (Lists site to site vpn customer gateways)</para>
+    </listitem>
+    <listitem>
+      <para>listVpnGateways (Lists site 2 site vpn gateways)</para>
+    </listitem>
+    <listitem>
+      <para>listVpnConnections (Lists site to site vpn connection gateways)</para>
+    </listitem>
+    <listitem>
+      <para>enableCiscoNexusVSM (Enables Nexus 1000v dvSwitch in &PRODUCT;.)</para>
+    </listitem>
+    <listitem>
+      <para>disableCiscoNexusVSM (Disables Nexus 1000v dvSwitch in &PRODUCT;.)</para>
+    </listitem>
+    <listitem>
+      <para>deleteCiscoNexusVSM (Deletes Nexus 1000v dvSwitch in &PRODUCT;.)</para>
+    </listitem>
+    <listitem>
+      <para>listCiscoNexusVSMs (Lists the control VLAN ID, packet VLAN ID, and data
VLAN ID, as well
+        as the IP address of the Nexus 1000v dvSwitch.)</para>
+    </listitem>
+  </itemizedlist>
+</section>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/added-API-commands.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/added-API-commands.xml b/docs/en-US/added-API-commands.xml
index 80a8966..208aac2 100644
--- a/docs/en-US/added-API-commands.xml
+++ b/docs/en-US/added-API-commands.xml
@@ -19,138 +19,7 @@
   under the License.
 -->
 <section id="added-API-commands">
-  <title>Added API commands</title>
-  <section id="added-API-commands-4.0">
-  <title>Added in 4.0</title>
-  <itemizedlist>
-    <listitem>
-      <para>createCounter (Adds metric counter)</para>
-    </listitem>
-    <listitem>
-      <para>deleteCounter (Deletes a counter)</para>
-    </listitem>
-    <listitem>
-      <para>listCounters (List the counters)</para>
-    </listitem>
-    <listitem>
-      <para>createCondition (Creates a condition)</para>
-    </listitem>
-    <listitem>
-      <para>deleteCondition (Removes a condition)</para>
-    </listitem>
-    <listitem>
-      <para>listConditions (List Conditions for the specific user)</para>
-    </listitem>
-    <listitem>
-      <para>createTags. Add tags to one or more resources. Example:
-        <programlisting>command=createTags
-&amp;resourceIds=1,10,12
-&amp;resourceType=userVm
-&amp;tags[0].key=region
-&amp;tags[0].value=canada
-&amp;tags[1].key=city
-&amp;tags[1].value=Toronto				</programlisting></para>
-    </listitem>
-    <listitem>
-      <para>deleteTags. Remove tags from one or more resources. Example:
-        <programlisting>command=deleteTags
-&amp;resourceIds=1,12
-&amp;resourceType=Snapshot
-&amp;tags[0].key=city								</programlisting></para>
-    </listitem>
-    <listitem>
-      <para>listTags (Show currently defined resource tags)</para>
-    </listitem>
-    <listitem>
-      <para>createVPC (Creates a VPC)</para>
-    </listitem>
-    <listitem>
-      <para>listVPCs (Lists VPCs)</para>
-    </listitem>
-    <listitem>
-      <para>deleteVPC (Deletes a VPC)</para>
-    </listitem>
-    <listitem>
-      <para>updateVPC (Updates a VPC)</para>
-    </listitem>
-    <listitem>
-      <para>restartVPC (Restarts a VPC)</para>
-    </listitem>
-    <listitem>
-      <para>createVPCOffering (Creates VPC offering)</para>
-    </listitem>
-    <listitem>
-      <para>updateVPCOffering (Updates VPC offering)</para>
-    </listitem>
-    <listitem>
-      <para>deleteVPCOffering (Deletes VPC offering)</para>
-    </listitem>
-    <listitem>
-      <para>listVPCOfferings (Lists VPC offerings)</para>
-    </listitem>
-    <listitem>
-      <para>createPrivateGateway (Creates a private gateway)</para>
-    </listitem>
-    <listitem>
-      <para>listPrivateGateways (List private gateways)</para>
-    </listitem>
-    <listitem>
-      <para>deletePrivateGateway (Deletes a Private gateway)</para>
-    </listitem>
-    <listitem>
-      <para>createNetworkACL (Creates a ACL rule the given network (the network has
to belong to
-        VPC))</para>
-    </listitem>
-    <listitem>
-      <para>deleteNetworkACL (Deletes a Network ACL)</para>
-    </listitem>
-    <listitem>
-      <para>listNetworkACLs (Lists all network ACLs)</para>
-    </listitem>
-    <listitem>
-      <para>createStaticRoute (Creates a static route)</para>
-    </listitem>
-    <listitem>
-      <para>deleteStaticRoute (Deletes a static route)</para>
-    </listitem>
-    <listitem>
-      <para>listStaticRoutes (Lists all static routes)</para>
-    </listitem>
-    <listitem>
-      <para>createVpnCustomerGateway (Creates site to site vpn customer gateway)</para>
-    </listitem>
-    <listitem>
-      <para>createVpnGateway (Creates site to site vpn local gateway)</para>
-    </listitem>
-    <listitem>
-      <para>createVpnConnection (Create site to site vpn connection)</para>
-    </listitem>
-    <listitem>
-      <para>deleteVpnCustomerGateway (Delete site to site vpn customer gateway)</para>
-    </listitem>
-    <listitem>
-      <para>deleteVpnGateway (Delete site to site vpn gateway)</para>
-    </listitem>
-    <listitem>
-      <para>deleteVpnConnection (Delete site to site vpn connection)</para>
-    </listitem>
-    <listitem>
-      <para>updateVpnCustomerGateway (Update site to site vpn customer gateway)</para>
-    </listitem>
-    <listitem>
-      <para>resetVpnConnection (Reset site to site vpn connection)</para>
-    </listitem>
-    <listitem>
-      <para>listVpnCustomerGateways (Lists site to site vpn customer gateways)</para>
-    </listitem>
-    <listitem>
-      <para>listVpnGateways (Lists site 2 site vpn gateways)</para>
-    </listitem>
-    <listitem>
-      <para>listVpnConnections (Lists site to site vpn connection gateways)</para>
-    </listitem>
-  </itemizedlist>
-  </section>
+  <title>Added API commands in 3.0</title>
   <section id="added-api-commands-3.0.2">
   <title>Added in 3.0.2</title>
   <itemizedlist>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/added-cloudPlatform-error-codes.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/added-cloudPlatform-error-codes.xml b/docs/en-US/added-cloudPlatform-error-codes.xml
deleted file mode 100644
index 6b1e6a3..0000000
--- a/docs/en-US/added-cloudPlatform-error-codes.xml
+++ /dev/null
@@ -1,138 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
[
-<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
-%BOOK_ENTITIES;
-]>
-
-<!-- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
- 
-   http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<section id="added-cloudPlatform-error-codes">
-        <title>Added &PRODUCT; Error Codes</title>
-            <para>You can now find the &PRODUCT;-specific error code in the exception
response for each type of exception. The following list of error codes is added to the new
class named CSExceptionErrorCode.  These codes are applicable in &PRODUCT; 3.0.3 and later
versions.</para>
-    <informaltable frame="all">
-        <tgroup cols="3" align="left" colsep="1" rowsep="1">
-            <colspec colname="c1" />
-            <colspec colname="c2" />
-            <colspec colname="c3" />
-                <tbody>
-                    <row>
-                        <entry><para>4250 : "com.cloud.utils.exception.CloudRuntimeException"</para></entry>
-                        <entry><para>4255 : "com.cloud.utils.exception.ExceptionUtil"</para></entry>
-                        <entry><para>4260 : "com.cloud.utils.exception.ExecutionException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4265 : "com.cloud.utils.exception.HypervisorVersionChangedException"</para></entry>
-                        <entry><para>4270 : "com.cloud.utils.exception.RuntimeCloudException"</para></entry>
-                        <entry><para>4275 : "com.cloud.exception.CloudException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4280 : "com.cloud.exception.AccountLimitException"</para></entry>
-                        <entry><para>4285 : "com.cloud.exception.AgentUnavailableException"</para></entry>
-                        <entry><para>4290 : "com.cloud.exception.CloudAuthenticationException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4295 : "com.cloud.exception.CloudExecutionException"</para></entry>
-                        <entry><para>4300 : "com.cloud.exception.ConcurrentOperationException"</para></entry>
-                        <entry><para>4305 : "com.cloud.exception.ConflictingNetworkSettingsException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4310 : "com.cloud.exception.DiscoveredWithErrorException"</para></entry>
-                        <entry><para>4315 : "com.cloud.exception.HAStateException"</para></entry>
-                        <entry><para>4320 : "com.cloud.exception.InsufficientAddressCapacityException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4325 : "com.cloud.exception.InsufficientCapacityException"</para></entry>
-                        <entry><para>4330 : "com.cloud.exception.InsufficientNetworkCapacityException"</para></entry>
-                        <entry><para>4335 : "com.cloud.exception.InsufficientServerCapacityException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4340 : "com.cloud.exception.InsufficientStorageCapacityException"</para></entry>
-                        <entry><para>4345 : "com.cloud.exception.InternalErrorException"</para></entry>
-                        <entry><para>4350 : "com.cloud.exception.InvalidParameterValueException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4355 : "com.cloud.exception.ManagementServerException"</para></entry>
-                        <entry><para>4360 : "com.cloud.exception.NetworkRuleConflictException"</para></entry>
-                        <entry><para>4365 : "com.cloud.exception.PermissionDeniedException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4370 : "com.cloud.exception.ResourceAllocationException"</para></entry>
-                        <entry><para>4375 : "com.cloud.exception.ResourceInUseException"</para></entry>
-                        <entry><para>4380 : "com.cloud.exception.ResourceUnavailableException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4385 : "com.cloud.exception.StorageUnavailableException"</para></entry>
-                        <entry><para>4390 : "com.cloud.exception.UnsupportedServiceException"</para></entry>
-                        <entry><para>4395 : "com.cloud.exception.VirtualMachineMigrationException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4400 : "com.cloud.exception.AccountLimitException"</para></entry>
-                        <entry><para>4405 : "com.cloud.exception.AgentUnavailableException"</para></entry>
-                        <entry><para>4410 : "com.cloud.exception.CloudAuthenticationException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4415 : "com.cloud.exception.CloudException"</para></entry>
-                        <entry><para>4420 : "com.cloud.exception.CloudExecutionException"</para></entry>
-                        <entry><para>4425 : "com.cloud.exception.ConcurrentOperationException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4430 : "com.cloud.exception.ConflictingNetworkSettingsException"</para></entry>
-                        <entry><para>4435 : "com.cloud.exception.ConnectionException"</para></entry>
-                        <entry><para>4440 : "com.cloud.exception.DiscoveredWithErrorException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4445 : "com.cloud.exception.DiscoveryException"</para></entry>
-                        <entry><para>4450 : "com.cloud.exception.HAStateException"</para></entry>
-                        <entry><para>4455 : "com.cloud.exception.InsufficientAddressCapacityException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4460 : "com.cloud.exception.InsufficientCapacityException"</para></entry>
-                        <entry><para>4465 : "com.cloud.exception.InsufficientNetworkCapacityException"</para></entry>
-                        <entry><para>4470 : "com.cloud.exception.InsufficientServerCapacityException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4475 : "com.cloud.exception.InsufficientStorageCapacityException"</para></entry>
-                        <entry><para>4480 : "com.cloud.exception.InsufficientVirtualNetworkCapcityException"</para></entry>
-                        <entry><para>4485 : "com.cloud.exception.InternalErrorException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4490 : "com.cloud.exception.InvalidParameterValueException"</para></entry>
-                        <entry><para>4495 : "com.cloud.exception.ManagementServerException"</para></entry>
-                        <entry><para>4500 : "com.cloud.exception.NetworkRuleConflictException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4505 : "com.cloud.exception.PermissionDeniedException"</para></entry>
-                        <entry><para>4510 : "com.cloud.exception.ResourceAllocationException"</para></entry>
-                        <entry><para>4515 : "com.cloud.exception.ResourceInUseException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4520 : "com.cloud.exception.ResourceUnavailableException"</para></entry>
-                        <entry><para>4525 : "com.cloud.exception.StorageUnavailableException"</para></entry>
-                        <entry><para>4530 : "com.cloud.exception.UnsupportedServiceException"</para></entry>
-                    </row>
-                    <row>
-                        <entry><para>4535 : "com.cloud.exception.VirtualMachineMigrationException"</para></entry>
-                        <entry><para>9999 : "com.cloud.api.ServerApiException"</para></entry>
-                        <entry><para></para></entry>
-                    </row>
-                </tbody>
-            </tgroup>
-        </informaltable>
-    </section>
-

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/added-error-codes.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/added-error-codes.xml b/docs/en-US/added-error-codes.xml
new file mode 100644
index 0000000..4436bf3
--- /dev/null
+++ b/docs/en-US/added-error-codes.xml
@@ -0,0 +1,138 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
[
+<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
+%BOOK_ENTITIES;
+]>
+
+<!-- Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+   http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<section id="added-error-codes">
+        <title>Added &PRODUCT; Error Codes</title>
+            <para>You can now find the &PRODUCT;-specific error code in the exception
response for each type of exception. The following list of error codes is added to the new
class named CSExceptionErrorCode.  These codes are applicable in &PRODUCT; 3.0.3 and later
versions.</para>
+    <informaltable frame="all">
+        <tgroup cols="3" align="left" colsep="1" rowsep="1">
+            <colspec colname="c1" />
+            <colspec colname="c2" />
+            <colspec colname="c3" />
+                <tbody>
+                    <row>
+                        <entry><para>4250 : "com.cloud.utils.exception.CloudRuntimeException"</para></entry>
+                        <entry><para>4255 : "com.cloud.utils.exception.ExceptionUtil"</para></entry>
+                        <entry><para>4260 : "com.cloud.utils.exception.ExecutionException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4265 : "com.cloud.utils.exception.HypervisorVersionChangedException"</para></entry>
+                        <entry><para>4270 : "com.cloud.utils.exception.RuntimeCloudException"</para></entry>
+                        <entry><para>4275 : "com.cloud.exception.CloudException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4280 : "com.cloud.exception.AccountLimitException"</para></entry>
+                        <entry><para>4285 : "com.cloud.exception.AgentUnavailableException"</para></entry>
+                        <entry><para>4290 : "com.cloud.exception.CloudAuthenticationException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4295 : "com.cloud.exception.CloudExecutionException"</para></entry>
+                        <entry><para>4300 : "com.cloud.exception.ConcurrentOperationException"</para></entry>
+                        <entry><para>4305 : "com.cloud.exception.ConflictingNetworkSettingsException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4310 : "com.cloud.exception.DiscoveredWithErrorException"</para></entry>
+                        <entry><para>4315 : "com.cloud.exception.HAStateException"</para></entry>
+                        <entry><para>4320 : "com.cloud.exception.InsufficientAddressCapacityException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4325 : "com.cloud.exception.InsufficientCapacityException"</para></entry>
+                        <entry><para>4330 : "com.cloud.exception.InsufficientNetworkCapacityException"</para></entry>
+                        <entry><para>4335 : "com.cloud.exception.InsufficientServerCapacityException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4340 : "com.cloud.exception.InsufficientStorageCapacityException"</para></entry>
+                        <entry><para>4345 : "com.cloud.exception.InternalErrorException"</para></entry>
+                        <entry><para>4350 : "com.cloud.exception.InvalidParameterValueException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4355 : "com.cloud.exception.ManagementServerException"</para></entry>
+                        <entry><para>4360 : "com.cloud.exception.NetworkRuleConflictException"</para></entry>
+                        <entry><para>4365 : "com.cloud.exception.PermissionDeniedException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4370 : "com.cloud.exception.ResourceAllocationException"</para></entry>
+                        <entry><para>4375 : "com.cloud.exception.ResourceInUseException"</para></entry>
+                        <entry><para>4380 : "com.cloud.exception.ResourceUnavailableException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4385 : "com.cloud.exception.StorageUnavailableException"</para></entry>
+                        <entry><para>4390 : "com.cloud.exception.UnsupportedServiceException"</para></entry>
+                        <entry><para>4395 : "com.cloud.exception.VirtualMachineMigrationException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4400 : "com.cloud.exception.AccountLimitException"</para></entry>
+                        <entry><para>4405 : "com.cloud.exception.AgentUnavailableException"</para></entry>
+                        <entry><para>4410 : "com.cloud.exception.CloudAuthenticationException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4415 : "com.cloud.exception.CloudException"</para></entry>
+                        <entry><para>4420 : "com.cloud.exception.CloudExecutionException"</para></entry>
+                        <entry><para>4425 : "com.cloud.exception.ConcurrentOperationException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4430 : "com.cloud.exception.ConflictingNetworkSettingsException"</para></entry>
+                        <entry><para>4435 : "com.cloud.exception.ConnectionException"</para></entry>
+                        <entry><para>4440 : "com.cloud.exception.DiscoveredWithErrorException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4445 : "com.cloud.exception.DiscoveryException"</para></entry>
+                        <entry><para>4450 : "com.cloud.exception.HAStateException"</para></entry>
+                        <entry><para>4455 : "com.cloud.exception.InsufficientAddressCapacityException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4460 : "com.cloud.exception.InsufficientCapacityException"</para></entry>
+                        <entry><para>4465 : "com.cloud.exception.InsufficientNetworkCapacityException"</para></entry>
+                        <entry><para>4470 : "com.cloud.exception.InsufficientServerCapacityException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4475 : "com.cloud.exception.InsufficientStorageCapacityException"</para></entry>
+                        <entry><para>4480 : "com.cloud.exception.InsufficientVirtualNetworkCapcityException"</para></entry>
+                        <entry><para>4485 : "com.cloud.exception.InternalErrorException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4490 : "com.cloud.exception.InvalidParameterValueException"</para></entry>
+                        <entry><para>4495 : "com.cloud.exception.ManagementServerException"</para></entry>
+                        <entry><para>4500 : "com.cloud.exception.NetworkRuleConflictException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4505 : "com.cloud.exception.PermissionDeniedException"</para></entry>
+                        <entry><para>4510 : "com.cloud.exception.ResourceAllocationException"</para></entry>
+                        <entry><para>4515 : "com.cloud.exception.ResourceInUseException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4520 : "com.cloud.exception.ResourceUnavailableException"</para></entry>
+                        <entry><para>4525 : "com.cloud.exception.StorageUnavailableException"</para></entry>
+                        <entry><para>4530 : "com.cloud.exception.UnsupportedServiceException"</para></entry>
+                    </row>
+                    <row>
+                        <entry><para>4535 : "com.cloud.exception.VirtualMachineMigrationException"</para></entry>
+                        <entry><para>9999 : "com.cloud.api.ServerApiException"</para></entry>
+                        <entry><para></para></entry>
+                    </row>
+                </tbody>
+            </tgroup>
+        </informaltable>
+    </section>
+

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/change-to-behavior-of-list-commands.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/change-to-behavior-of-list-commands.xml b/docs/en-US/change-to-behavior-of-list-commands.xml
index 9065398..69b9e4d 100644
--- a/docs/en-US/change-to-behavior-of-list-commands.xml
+++ b/docs/en-US/change-to-behavior-of-list-commands.xml
@@ -105,5 +105,4 @@
   <para>The &PRODUCT; UI on a general view will display all resources that the
logged-in user is
     authorized to see, except for project resources. To see the project resources, select
the
     project view.</para>
-  <xi:include href="changed-apicommands-4.0.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 </section>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ce5fdda/docs/en-US/whats-new.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/whats-new.xml b/docs/en-US/whats-new.xml
index 01b56ff..cdb12c7 100644
--- a/docs/en-US/whats-new.xml
+++ b/docs/en-US/whats-new.xml
@@ -27,7 +27,8 @@
     <para>The following describes any new major features of each &PRODUCT; version
as it applies to API usage.</para>
     <section id="whats-new-in-api-4.0">
         <title>What's New in the API for 4.0</title>
-        <para>TODO</para>
+        <xi:include href="changed-apicommands-4.0.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+        <xi:include href="added-API-commands-4.0.xml" xmlns:xi="http://www.w3.org/2001/XInclude"
/>
     </section>
     <section id="whats-new-in-api-3.0">
         <title>What's New in the API for 3.0</title>
@@ -36,6 +37,6 @@
         <xi:include href="change-to-behavior-of-list-commands.xml" xmlns:xi="http://www.w3.org/2001/XInclude"
/>
         <xi:include href="removed-API-commands.xml" xmlns:xi="http://www.w3.org/2001/XInclude"
/>
         <xi:include href="added-API-commands.xml" xmlns:xi="http://www.w3.org/2001/XInclude"
/>
-        <xi:include href="added-cloudPlatform-error-codes.xml" xmlns:xi="http://www.w3.org/2001/XInclude"
/>
+        <xi:include href="added-error-codes.xml" xmlns:xi="http://www.w3.org/2001/XInclude"
/>
     </section>
 </chapter>
\ No newline at end of file


Mime
View raw message