http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8e31c7a/docs/tmp/en-US/html/usage-record-format.html
----------------------------------------------------------------------
diff --git a/docs/tmp/en-US/html/usage-record-format.html 
b/docs/tmp/en-US/html/usage-record-format.html
deleted file mode 100644
index 41278c7..0000000
--- a/docs/tmp/en-US/html/usage-record-format.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=UTF-8" 
/><title>5.1. Usage Record Format</title><link rel="stylesheet" 
type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" 
media="print" href="Common_Content/css/print.css" type="text/css" /><meta 
name="generator" content="publican 2.8" /><meta name="package" 
content="Apache_CloudStack-API_Developers_Guide-4.0.0-incubating-en-US-1-" 
/><link rel="home" href="index.html" title="CloudStack API Developer's Guide" 
/><link rel="up" href="working-with-usage-data.html" 
title="Chapter 5. Working With Usage Data" /><link rel="prev" 
href="working-with-usage-data.html" title="Chapter 5. Working With Usage 
Data" /><link rel="next" href="usage-types.html" title="5.2. Usage Types" 
/></head><body><p id="title"><a class="left" href="http://cloudstack.org";><img 
src="Common_Content/images/image_left.png" alt="Product Site" /></a><a 
class="right" href="http://doc
 s.cloudstack.org"><img src="Common_Content/images/image_right.png" 
alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a 
accesskey="p" 
href="working-with-usage-data.html"><strong>Prev</strong></a></li><li 
class="next"><a accesskey="n" 
href="usage-types.html"><strong>Next</strong></a></li></ul><div 
xml:lang="en-US" class="section" id="usage-record-format" lang="en-US"><div 
class="titlepage"><div><div><h2 class="title" 
id="usage-record-format">5.1. Usage Record Format</h2></div></div></div><div 
xml:lang="en-US" class="section" id="virtual-machine-usage-record-format" 
lang="en-US"><div class="titlepage"><div><div><h3 class="title" 
id="virtual-machine-usage-record-format">5.1.1. Virtual Machine Usage Record 
Format</h3></div></div></div><div class="para">
-               For running and allocated virtual machine usage, the following 
fields exist in a usage record:
-       </div><div class="itemizedlist"><ul><li class="listitem"><div 
class="para">
-                               account – name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid – ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid – ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid – Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description – A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usage – String representation of the usage, 
including the units of usage (e.g. 'Hrs' for VM running time)
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage – A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               virtualMachineId – The ID of the virtual 
machine
-                       </div></li><li class="listitem"><div class="para">
-                               name – The name of the virtual machine
-                       </div></li><li class="listitem"><div class="para">
-                               offeringid – The ID of the service offering
-                       </div></li><li class="listitem"><div class="para">
-                               templateid – The ID of the template or the ID 
of the parent template. The parent template value is present when the current 
template was created from a volume.
-                       </div></li><li class="listitem"><div class="para">
-                               usageid – Virtual machine
-                       </div></li><li class="listitem"><div class="para">
-                               type – Hypervisor
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate – The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li></ul></div></div><div xml:lang="en-US" 
class="section" id="network-usage-record-format" lang="en-US"><div 
class="titlepage"><div><div><h3 class="title" 
id="network-usage-record-format">5.1.2. Network Usage Record 
Format</h3></div></div></div><div class="para">
-               For network usage (bytes sent/received), the following fields 
exist in a usage record.
-       </div><div class="itemizedlist"><ul><li class="listitem"><div 
class="para">
-                               account – name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid – ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid – ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid – Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description – A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage – A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               usageid – Device ID (virtual router ID or 
external device ID)
-                       </div></li><li class="listitem"><div class="para">
-                               type – Device type (domain router, external 
load balancer, etc.)
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate – The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li></ul></div></div><div xml:lang="en-US" 
class="section" id="ipaddress-usage-record-format" lang="en-US"><div 
class="titlepage"><div><div><h3 class="title" 
id="ipaddress-usage-record-format">5.1.3. IP Address Usage Record 
Format</h3></div></div></div><div class="para">
-               For IP address usage the following fields exist in a usage 
record.
-       </div><div class="itemizedlist"><ul><li class="listitem"><div 
class="para">
-                               account - name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid - ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid - ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid - Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description - A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usage - String representation of the usage, 
including the units of usage
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype - A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage - A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               usageid - IP address ID
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate - The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li><li class="listitem"><div class="para">
-                               issourcenat - Whether source NAT is enabled for 
the IP address
-                       </div></li><li class="listitem"><div class="para">
-                               iselastic - True if the IP address is elastic.
-                       </div></li></ul></div></div><div xml:lang="en-US" 
class="section" id="disk-volume-usage-record-format" lang="en-US"><div 
class="titlepage"><div><div><h3 class="title" 
id="disk-volume-usage-record-format">5.1.4. Disk Volume Usage Record 
Format</h3></div></div></div><div class="para">
-               For disk volumes, the following fields exist in a usage record.
-       </div><div class="itemizedlist"><ul><li class="listitem"><div 
class="para">
-                               account – name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid – ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid – ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid – Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description – A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usage – String representation of the usage, 
including the units of usage (e.g. 'Hrs' for hours)
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage – A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               usageid – The volume ID
-                       </div></li><li class="listitem"><div class="para">
-                               offeringid – The ID of the disk offering
-                       </div></li><li class="listitem"><div class="para">
-                               type – Hypervisor
-                       </div></li><li class="listitem"><div class="para">
-                               templateid – ROOT template ID
-                       </div></li><li class="listitem"><div class="para">
-                               size – The amount of storage allocated
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate – The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li></ul></div></div><div xml:lang="en-US" 
class="section" id="template-iso-snapshot-usage-record-format" 
lang="en-US"><div class="titlepage"><div><div><h3 class="title" 
id="template-iso-snapshot-usage-record-format">5.1.5. Template, ISO, and 
Snapshot Usage Record Format</h3></div></div></div><div 
class="itemizedlist"><ul><li class="listitem"><div class="para">
-                               account – name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid – ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid – ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid – Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description – A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usage – String representation of the usage, 
including the units of usage (e.g. 'Hrs' for hours)
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage – A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               usageid – The ID of the the template, ISO, or 
snapshot
-                       </div></li><li class="listitem"><div class="para">
-                               offeringid – The ID of the disk offering
-                       </div></li><li class="listitem"><div class="para">
-                               templateid – – Included only for templates 
(usage type 7). Source template ID.
-                       </div></li><li class="listitem"><div class="para">
-                               size – Size of the template, ISO, or snapshot
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate – The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li></ul></div></div><div xml:lang="en-US" 
class="section" 
id="loadbalancer-policy-port-forwarding-rule-usage-record-format" 
lang="en-US"><div class="titlepage"><div><div><h3 class="title" 
id="loadbalancer-policy-port-forwarding-rule-usage-record-format">5.1.6. Load 
Balancer Policy or Port Forwarding Rule Usage Record 
Format</h3></div></div></div><div class="itemizedlist"><ul><li 
class="listitem"><div class="para">
-                               account - name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid - ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid - ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid - Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description - A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usage - String representation of the usage, 
including the units of usage (e.g. 'Hrs' for hours)
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype - A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage - A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               usageid - ID of the load balancer policy or 
port forwarding rule
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype - A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate - The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li></ul></div></div><div xml:lang="en-US" 
class="section" id="network-offering-usage-record-format" lang="en-US"><div 
class="titlepage"><div><div><h3 class="title" 
id="network-offering-usage-record-format">5.1.7. Network Offering Usage Record 
Format</h3></div></div></div><div class="itemizedlist"><ul><li 
class="listitem"><div class="para">
-                               account – name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid – ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid – ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid – Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description – A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usage – String representation of the usage, 
including the units of usage (e.g. 'Hrs' for hours)
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage – A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               usageid – ID of the network offering
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               offeringid – Network offering ID
-                       </div></li><li class="listitem"><div class="para">
-                               virtualMachineId – The ID of the virtual 
machine
-                       </div></li><li class="listitem"><div class="para">
-                               virtualMachineId – The ID of the virtual 
machine
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate – The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li></ul></div></div><div xml:lang="en-US" 
class="section" id="VPN-user-usage-record-format" lang="en-US"><div 
class="titlepage"><div><div><h3 class="title" 
id="VPN-user-usage-record-format">5.1.8. VPN User Usage Record 
Format</h3></div></div></div><div class="itemizedlist"><ul><li 
class="listitem"><div class="para">
-                               account – name of the account
-                       </div></li><li class="listitem"><div class="para">
-                               accountid – ID of the account
-                       </div></li><li class="listitem"><div class="para">
-                               domainid – ID of the domain in which this 
account resides
-                       </div></li><li class="listitem"><div class="para">
-                               zoneid – Zone where the usage occurred
-                       </div></li><li class="listitem"><div class="para">
-                               description – A string describing what the 
usage record is tracking
-                       </div></li><li class="listitem"><div class="para">
-                               usage – String representation of the usage, 
including the units of usage (e.g. 'Hrs' for hours)
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               rawusage – A number representing the actual 
usage in hours
-                       </div></li><li class="listitem"><div class="para">
-                               usageid – VPN user ID
-                       </div></li><li class="listitem"><div class="para">
-                               usagetype – A number representing the usage 
type (see Usage Types)
-                       </div></li><li class="listitem"><div class="para">
-                               startdate, enddate – The range of time for 
which the usage is aggregated; see Dates in the Usage Record
-                       </div></li></ul></div></div></div><ul 
class="docnav"><li class="previous"><a accesskey="p" 
href="working-with-usage-data.html"><strong>Prev</strong>Chapter 5. Working 
With Usage Data</a></li><li class="up"><a accesskey="u" 
href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" 
href="index.html"><strong>Home</strong></a></li><li class="next"><a 
accesskey="n" href="usage-types.html"><strong>Next</strong>5.2. Usage 
Types</a></li></ul></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8e31c7a/docs/tmp/en-US/html/usage-types.html
----------------------------------------------------------------------
diff --git a/docs/tmp/en-US/html/usage-types.html 
b/docs/tmp/en-US/html/usage-types.html
deleted file mode 100644
index 9c79228..0000000
--- a/docs/tmp/en-US/html/usage-types.html
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=UTF-8" 
/><title>5.2. Usage Types</title><link rel="stylesheet" type="text/css" 
href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" 
href="Common_Content/css/print.css" type="text/css" /><meta name="generator" 
content="publican 2.8" /><meta name="package" 
content="Apache_CloudStack-API_Developers_Guide-4.0.0-incubating-en-US-1-" 
/><link rel="home" href="index.html" title="CloudStack API Developer's Guide" 
/><link rel="up" href="working-with-usage-data.html" 
title="Chapter 5. Working With Usage Data" /><link rel="prev" 
href="usage-record-format.html" title="5.1. Usage Record Format" /><link 
rel="next" href="example-response-from-listUsageRecords.html" 
title="5.3. Example response from listUsageRecords" /></head><body><p 
id="title"><a class="left" href="http://cloudstack.org";><img 
src="Common_Content/images/image_left.png" alt="Product Site" /></a><a
  class="right" href="http://docs.cloudstack.org";><img 
src="Common_Content/images/image_right.png" alt="Documentation Site" 
/></a></p><ul class="docnav"><li class="previous"><a accesskey="p" 
href="usage-record-format.html"><strong>Prev</strong></a></li><li 
class="next"><a accesskey="n" 
href="example-response-from-listUsageRecords.html"><strong>Next</strong></a></li></ul><div
 xml:lang="en-US" class="section" id="usage-types" lang="en-US"><div 
class="titlepage"><div><div><h2 class="title" id="usage-types">5.2. Usage 
Types</h2></div></div></div><div class="para">
-               The following table shows all usage types.
-       </div><div class="informaltable"><table border="1"><colgroup><col 
width="4cm" class="c1" /><col width="8cm" class="c2" /><col width="5cm" 
class="c3" /></colgroup><thead><tr><th>
-                                               Type ID
-                                       </th><th>
-                                               Type Name
-                                       </th><th>
-                                               Description
-                                       </th></tr></thead><tbody><tr><td>
-                                               1
-                                       </td><td>
-                                               RUNNING_VM
-                                       </td><td>
-                                               Tracks the total running time 
of a VM per usage record period. If the VM is upgraded during the usage period, 
you will get a separate Usage Record for the new upgraded VM.
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       2
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       ALLOCATED_VM
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total time 
the VM has been created to the time when it has been destroyed. This usage type 
is also useful in determining usage for specific templates such as 
Windows-based templates.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       3
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       IP_ADDRESS
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the public IP 
address owned by the account.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       4
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       NETWORK_BYTES_SENT
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total number 
of bytes sent by all the VMs for an account. Cloud.com does not currently track 
network traffic per VM.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       5
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       NETWORK_BYTES_RECEIVED
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total number 
of bytes received by all the VMs for an account. Cloud.com does not currently 
track network traffic per VM.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       6
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       VOLUME
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total time a 
disk volume has been created to the time when it has been destroyed.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       7
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       TEMPLATE
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total time a 
template (either created from a snapshot or uploaded to the cloud) has been 
created to the time it has been destroyed. The size of the template is also 
returned.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       8
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       ISO
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total time 
an ISO has been uploaded to the time it has been removed from the cloud. The 
size of the ISO is also returned.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       9
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       SNAPSHOT
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total time 
from when a snapshot has been created to the time it have been destroyed.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       11
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       LOAD_BALANCER_POLICY
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the total time a 
load balancer policy has been created to the time it has been removed. 
Cloud.com does not track whether a VM has been assigned to a policy.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       12
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       PORT_FORWARDING_RULE
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       Tracks the time from 
when a port forwarding rule was created until the time it was removed.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       13
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       NETWORK_OFFERING
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       The time from when a 
network offering was assigned to a VM until it is removed.
-                                               </div>
-                                       </td></tr><tr><td>
-                                               <div class="para">
-                                                       14
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       VPN_USERS
-                                               </div>
-                                       </td><td>
-                                               <div class="para">
-                                                       The time from when a 
VPN user is created until it is removed.
-                                               </div>
-                                       
</td></tr></tbody></table></div></div><ul class="docnav"><li 
class="previous"><a accesskey="p" 
href="usage-record-format.html"><strong>Prev</strong>5.1. Usage Record 
Format</a></li><li class="up"><a accesskey="u" 
href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" 
href="index.html"><strong>Home</strong></a></li><li class="next"><a 
accesskey="n" 
href="example-response-from-listUsageRecords.html"><strong>Next</strong>5.3. Example
 response from listUsageRecords</a></li></ul></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8e31c7a/docs/tmp/en-US/html/use-project-view.html
----------------------------------------------------------------------
diff --git a/docs/tmp/en-US/html/use-project-view.html 
b/docs/tmp/en-US/html/use-project-view.html
deleted file mode 100644
index e2098c3..0000000
--- a/docs/tmp/en-US/html/use-project-view.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=UTF-8" 
/><title>6.7. Using the Project View</title><link rel="stylesheet" 
type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" 
media="print" href="Common_Content/css/print.css" type="text/css" /><meta 
name="generator" content="publican 2.8" /><meta name="package" 
content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link 
rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link 
rel="up" href="projects.html" title="Chapter 6. Using Projects to Organize 
Users and Resources" /><link rel="prev" href="suspend-project.html" 
title="6.6. Suspending or Deleting a Project" /><link rel="next" 
href="provisioning-steps.html" title="Chapter 7. Steps to Provisioning Your 
Cloud Infrastructure" /></head><body><p id="title"><a class="left" 
href="http://cloudstack.org";><img src="Common_Content/images/image_left.png" 
alt="Product
  Site" /></a><a class="right" href="http://docs.cloudstack.org";><img 
src="Common_Content/images/image_right.png" alt="Documentation Site" 
/></a></p><ul class="docnav"><li class="previous"><a accesskey="p" 
href="suspend-project.html"><strong>Prev</strong></a></li><li class="next"><a 
accesskey="n" 
href="provisioning-steps.html"><strong>Next</strong></a></li></ul><div 
xml:lang="en-US" class="section" id="use-project-view" lang="en-US"><div 
class="titlepage"><div><div><h2 class="title" id="use-project-view">6.7. Using 
the Project View</h2></div></div></div><div class="para">
-               If you are a member of a project, you can use CloudStack’s 
project view to see project members, resources consumed, and more. The project 
view shows only information related to one project. It is a useful way to 
filter out other information so you can concentrate on a project status and 
resources.
-       </div><div class="orderedlist"><ol><li class="listitem"><div 
class="para">
-                               Log in to the CloudStack UI.
-                       </div></li><li class="listitem"><div class="para">
-                               Click Project View.
-                       </div></li><li class="listitem"><div class="para">
-                               The project dashboard appears, showing the 
project’s VMs, volumes, users, events, network settings, and more. From the 
dashboard, you can:
-                       </div><div class="itemizedlist"><ul><li 
class="listitem"><div class="para">
-                                               Click the Accounts tab to view 
and manage project members. If you are the project administrator, you can add 
new members, remove members, or change the role of a member from user to admin. 
Only one member at a time can have the admin role, so if you set another 
user’s role to admin, your role will change to regular user.
-                                       </div></li><li class="listitem"><div 
class="para">
-                                               (If invitations are enabled) 
Click the Invitations tab to view and manage invitations that have been sent to 
new project members but not yet accepted. Pending invitations will remain in 
this list until the new member accepts, the invitation timeout is reached, or 
you cancel the invitation.
-                                       
</div></li></ul></div></li></ol></div></div><ul class="docnav"><li 
class="previous"><a accesskey="p" 
href="suspend-project.html"><strong>Prev</strong>6.6. Suspending or Deleting a 
Project</a></li><li class="up"><a accesskey="u" 
href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" 
href="index.html"><strong>Home</strong></a></li><li class="next"><a 
accesskey="n" 
href="provisioning-steps.html"><strong>Next</strong>Chapter 7. Steps to 
Provisioning Your Cloud Infra...</a></li></ul></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8e31c7a/docs/tmp/en-US/html/user-data-and-meta-data.html
----------------------------------------------------------------------
diff --git a/docs/tmp/en-US/html/user-data-and-meta-data.html 
b/docs/tmp/en-US/html/user-data-and-meta-data.html
deleted file mode 100644
index afc7933..0000000
--- a/docs/tmp/en-US/html/user-data-and-meta-data.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=UTF-8" 
/><title>20.3. User Data and Meta Data</title><link rel="stylesheet" 
type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" 
media="print" href="Common_Content/css/print.css" type="text/css" /><meta 
name="generator" content="publican 2.8" /><meta name="package" 
content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link 
rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link 
rel="up" href="api-overview.html" title="Chapter 20. CloudStack API" /><link 
rel="prev" href="allocators.html" title="20.2. Allocators" /><link rel="next" 
href="tuning.html" title="Chapter 21. Tuning" /></head><body><p id="title"><a 
class="left" href="http://cloudstack.org";><img 
src="Common_Content/images/image_left.png" alt="Product Site" /></a><a 
class="right" href="http://docs.cloudstack.org";><img 
src="Common_Content/images/image_r
 ight.png" alt="Documentation Site" /></a></p><ul class="docnav"><li 
class="previous"><a accesskey="p" 
href="allocators.html"><strong>Prev</strong></a></li><li class="next"><a 
accesskey="n" href="tuning.html"><strong>Next</strong></a></li></ul><div 
xml:lang="en-US" class="section" id="user-data-and-meta-data" lang="en-US"><div 
class="titlepage"><div><div><h2 class="title" 
id="user-data-and-meta-data">20.3. User Data and Meta 
Data</h2></div></div></div><div class="para">
-               CloudStack provides API access to attach user data to a 
deployed VM. Deployed VMs also have access to instance metadata via the virtual 
router.
-       </div><div class="para">
-               User data can be accessed once the IP address of the virtual 
router is known. Once the IP address is known, use the following steps to 
access the user data:
-       </div><div class="orderedlist"><ol><li class="listitem"><div 
class="para">
-                               Run the following command to find the virtual 
router.
-                       </div><pre class="programlisting"># cat 
/var/lib/dhclient/dhclient-eth0.leases | grep dhcp-server-identifier | tail 
-1</pre></li><li class="listitem"><div class="para">
-                               Access user data by running the following 
command using the result of the above command
-                       </div><pre class="programlisting"># curl 
http://10.1.1.1/latest/user-data</pre></li></ol></div><div class="para">
-               Meta Data can be accessed similarly, using a URL of the form 
http://10.1.1.1/latest/meta-data/{metadata type}. (For backwards compatibility, 
the previous URL http://10.1.1.1/latest/{metadata type} is also supported.) For 
metadata type, use one of the following:
-       </div><div class="itemizedlist"><ul><li class="listitem"><div 
class="para">
-                               service-offering. A description of the VMs 
service offering
-                       </div></li><li class="listitem"><div class="para">
-                               availability-zone. The Zone name
-                       </div></li><li class="listitem"><div class="para">
-                               local-ipv4. The guest IP of the VM
-                       </div></li><li class="listitem"><div class="para">
-                               local-hostname. The hostname of the VM
-                       </div></li><li class="listitem"><div class="para">
-                               public-ipv4. The first public IP for the 
router. (E.g. the first IP of eth2)
-                       </div></li><li class="listitem"><div class="para">
-                               public-hostname. This is the same as public-ipv4
-                       </div></li><li class="listitem"><div class="para">
-                               instance-id. The instance name of the VM
-                       </div></li></ul></div></div><ul class="docnav"><li 
class="previous"><a accesskey="p" 
href="allocators.html"><strong>Prev</strong>20.2. Allocators</a></li><li 
class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li 
class="home"><a accesskey="h" 
href="index.html"><strong>Home</strong></a></li><li class="next"><a 
accesskey="n" 
href="tuning.html"><strong>Next</strong>Chapter 21. Tuning</a></li></ul></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8e31c7a/docs/tmp/en-US/html/user-services-overview.html
----------------------------------------------------------------------
diff --git a/docs/tmp/en-US/html/user-services-overview.html 
b/docs/tmp/en-US/html/user-services-overview.html
deleted file mode 100644
index 1e9edfd..0000000
--- a/docs/tmp/en-US/html/user-services-overview.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=UTF-8" 
/><title>Chapter 4. User Services Overview</title><link rel="stylesheet" 
type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" 
media="print" href="Common_Content/css/print.css" type="text/css" /><meta 
name="generator" content="publican 2.8" /><meta name="package" 
content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link 
rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link 
rel="up" href="index.html" title="CloudStack Administrator's Guide" /><link 
rel="prev" href="LDAPserver-for-user-authentication.html" title="3.2. Using an 
LDAP Server for User Authentication" /><link rel="next" 
href="offerings-and-templates.html" title="4.1. Service Offerings, Disk 
Offerings, Network Offerings, and Templates" /></head><body><p id="title"><a 
class="left" href="http://cloudstack.org";><img src="Common_Content/images/im
 age_left.png" alt="Product Site" /></a><a class="right" 
href="http://docs.cloudstack.org";><img 
src="Common_Content/images/image_right.png" alt="Documentation Site" 
/></a></p><ul class="docnav"><li class="previous"><a accesskey="p" 
href="LDAPserver-for-user-authentication.html"><strong>Prev</strong></a></li><li
 class="next"><a accesskey="n" 
href="offerings-and-templates.html"><strong>Next</strong></a></li></ul><div 
xml:lang="en-US" class="chapter" id="user-services-overview" lang="en-US"><div 
class="titlepage"><div><div><h2 class="title">Chapter 4. User Services 
Overview</h2></div></div></div><div class="toc"><dl><dt><span 
class="section"><a href="offerings-and-templates.html">4.1. Service Offerings, 
Disk Offerings, Network Offerings, and Templates</a></span></dt></dl></div><div 
class="para">
-               In addition to the physical and logical infrastructure of your 
cloud, and the CloudStack software and servers, you also need a layer of user 
services so that people can actually make use of the cloud. This means not just 
a user UI, but a set of options and resources that users can choose from, such 
as templates for creating virtual machines, disk storage, and more. If you are 
running a commercial service, you will be keeping track of what services and 
resources users are consuming and charging them for that usage. Even if you do 
not charge anything for people to use your cloud – say, if the users are 
strictly internal to your organization, or just friends who are sharing your 
cloud – you can still keep track of what services they use and how much of 
them.
-       </div></div><ul class="docnav"><li class="previous"><a accesskey="p" 
href="LDAPserver-for-user-authentication.html"><strong>Prev</strong>3.2. Using 
an LDAP Server for User Authentication</a></li><li class="up"><a accesskey="u" 
href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" 
href="index.html"><strong>Home</strong></a></li><li class="next"><a 
accesskey="n" 
href="offerings-and-templates.html"><strong>Next</strong>4.1. Service 
Offerings, Disk Offerings, Network O...</a></li></ul></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8e31c7a/docs/tmp/en-US/html/using-multiple-guest-networks.html
----------------------------------------------------------------------
diff --git a/docs/tmp/en-US/html/using-multiple-guest-networks.html 
b/docs/tmp/en-US/html/using-multiple-guest-networks.html
deleted file mode 100644
index ef2528c..0000000
--- a/docs/tmp/en-US/html/using-multiple-guest-networks.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=UTF-8" 
/><title>15.6. Using Multiple Guest Networks</title><link rel="stylesheet" 
type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" 
media="print" href="Common_Content/css/print.css" type="text/css" /><meta 
name="generator" content="publican 2.8" /><meta name="package" 
content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link 
rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link 
rel="up" href="networks.html" title="Chapter 15. Managing Networks and 
Traffic" /><link rel="prev" 
href="advanced-zone-physical-network-configuration.html" title="15.5. Advanced 
Zone Physical Network Configuration" /><link rel="next" 
href="security-groups.html" title="15.7. Security Groups" /></head><body><p 
id="title"><a class="left" href="http://cloudstack.org";><img 
src="Common_Content/images/image_left.png" alt="Product Site" 
 /></a><a class="right" href="http://docs.cloudstack.org";><img 
src="Common_Content/images/image_right.png" alt="Documentation Site" 
/></a></p><ul class="docnav"><li class="previous"><a accesskey="p" 
href="advanced-zone-physical-network-configuration.html"><strong>Prev</strong></a></li><li
 class="next"><a accesskey="n" 
href="security-groups.html"><strong>Next</strong></a></li></ul><div 
xml:lang="en-US" class="section" id="using-multiple-guest-networks" 
lang="en-US"><div class="titlepage"><div><div><h2 class="title" 
id="using-multiple-guest-networks">15.6. Using Multiple Guest 
Networks</h2></div></div></div><div class="para">
-               In zones that use advanced networking, additional networks for 
guest traffic may be added at any time after the initial installation. You can 
also customize the domain name associated with the network by specifying a DNS 
suffix for each network.
-       </div><div class="para">
-               A VM's networks are defined at VM creation time. A VM cannot 
add or remove networks after it has been created, although the user can go into 
the guest and remove the IP address from the NIC on a particular network.
-       </div><div class="para">
-               Each VM has just one default network. The virtual router's DHCP 
reply will set the guest's default gateway as that for the default network. 
Multiple non-default networks may be added to a guest in addition to the 
single, required default network. The administrator can control which networks 
are available as the default network.
-       </div><div class="para">
-               Additional networks can either be available to all accounts or 
be assigned to a specific account. Networks that are available to all accounts 
are zone-wide. Any user with access to the zone can create a VM with access to 
that network. These zone-wide networks provide little or no isolation between 
guests.Networks that are assigned to a specific account provide strong 
isolation.
-       </div><div xml:lang="en-US" class="section" 
id="add-additional-guest-network" lang="en-US"><div 
class="titlepage"><div><div><h3 class="title" 
id="add-additional-guest-network">15.6.1. Adding an Additional Guest 
Network</h3></div></div></div><div class="orderedlist"><ol><li 
class="listitem"><div class="para">
-                               Log in to the CloudStack UI as an administrator 
or end user.
-                       </div></li><li class="listitem"><div class="para">
-                               In the left navigation, choose Network.
-                       </div></li><li class="listitem"><div class="para">
-                               Click Add guest network. Provide the following 
information:
-                       </div><div class="itemizedlist"><ul><li 
class="listitem"><div class="para">
-                                               <span class="bold 
bold"><strong>Name</strong></span>: The name of the network. This will be 
user-visible.
-                                       </div></li><li class="listitem"><div 
class="para">
-                                               <span class="bold 
bold"><strong>Display Text</strong></span>: The description of the network. 
This will be user-visible.
-                                       </div></li><li class="listitem"><div 
class="para">
-                                               <span class="bold 
bold"><strong>Zone</strong></span>. The name of the zone this network applies 
to. Each zone is a broadcast domain, and therefore each zone has a different IP 
range for the guest network. The administrator must configure the IP range for 
each zone.
-                                       </div></li><li class="listitem"><div 
class="para">
-                                               <span class="bold 
bold"><strong>Network offering</strong></span>: If the administrator has 
configured multiple network offerings, select the one you want to use for this 
network.
-                                       </div></li><li class="listitem"><div 
class="para">
-                                               <span class="bold 
bold"><strong>Guest Gateway</strong></span>: The gateway that the guests should 
use.
-                                       </div></li><li class="listitem"><div 
class="para">
-                                               <span class="bold 
bold"><strong>Guest Netmask</strong></span>: The netmask in use on the subnet 
the guests will use.
-                                       </div></li></ul></div></li><li 
class="listitem"><div class="para">
-                               Click Create.
-                       </div></li></ol></div></div><div xml:lang="en-US" 
class="section" id="change-network-offering-on-guest-network" lang="en-US"><div 
class="titlepage"><div><div><h3 class="title" 
id="change-network-offering-on-guest-network">15.6.2. Changing the Network 
Offering on a Guest Network</h3></div></div></div><div class="para">
-               A user or administrator can change the network offering that is 
associated with an existing guest network.
-       </div><div class="itemizedlist"><ul><li class="listitem"><div 
class="para">
-                               Log in to the CloudStack UI as an administrator 
or end user.
-                       </div></li><li class="listitem"><div class="para">
-                               If you are changing from a network offering 
that uses the CloudStack virtual router to one that uses external devices as 
network service providers, you must first stop all the VMs on the network. See 
Stopping and Starting VMs. Then return here and continue to the next step
-                       </div></li><li class="listitem"><div class="para">
-                               In the left navigation, choose Network
-                       </div></li><li class="listitem"><div class="para">
-                               Click the name of the network you want to 
modify 
-                               <span class="inlinemediaobject"><img 
src="./images/edit-icon.png" alt="AttachDiskButton.png: button to attach a 
volume" /></span>
-                               .
-                       </div></li><li class="listitem"><div class="para">
-                               In Network Offering, choose the new network 
offering, then click Apply.
-                       </div></li><li class="listitem"><div class="para">
-                               A prompt appears asking whether you want to 
keep the existing CIDR. This is to let you know that if you change the network 
offering, the CIDR will be affected. Choose No to proceed with the change.
-                       </div></li><li class="listitem"><div class="para">
-                               Wait for the update to complete. Don’t try to 
restart VMs until after the network change is complete.
-                       </div></li><li class="listitem"><div class="para">
-                               If you stopped any VMs in step 2, restart them.
-                       </div></li></ul></div></div></div><ul 
class="docnav"><li class="previous"><a accesskey="p" 
href="advanced-zone-physical-network-configuration.html"><strong>Prev</strong>15.5. Advanced
 Zone Physical Network Configuration</a></li><li class="up"><a accesskey="u" 
href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" 
href="index.html"><strong>Home</strong></a></li><li class="next"><a 
accesskey="n" href="security-groups.html"><strong>Next</strong>15.7. Security 
Groups</a></li></ul></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8e31c7a/docs/tmp/en-US/html/using-sshkeys.html
----------------------------------------------------------------------
diff --git a/docs/tmp/en-US/html/using-sshkeys.html 
b/docs/tmp/en-US/html/using-sshkeys.html
deleted file mode 100644
index d991a05..0000000
--- a/docs/tmp/en-US/html/using-sshkeys.html
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=UTF-8" 
/><title>5.2. Using SSH Keys for Authentication</title><link rel="stylesheet" 
type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" 
media="print" href="Common_Content/css/print.css" type="text/css" /><meta 
name="generator" content="publican 2.8" /><meta name="package" 
content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link 
rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link 
rel="up" href="ui.html" title="Chapter 5. User Interface" /><link rel="prev" 
href="log-in.html" title="5.1. Log In to the UI" /><link rel="next" 
href="projects.html" title="Chapter 6. Using Projects to Organize Users and 
Resources" /></head><body><p id="title"><a class="left" 
href="http://cloudstack.org";><img src="Common_Content/images/image_left.png" 
alt="Product Site" /></a><a class="right" href="http://docs.cloudstack.org";
 ><img src="Common_Content/images/image_right.png" alt="Documentation Site" 
 >/></a></p><ul class="docnav"><li class="previous"><a accesskey="p" 
 >href="log-in.html"><strong>Prev</strong></a></li><li class="next"><a 
 >accesskey="n" href="projects.html"><strong>Next</strong></a></li></ul><div 
 >xml:lang="en-US" class="section" id="using-sshkeys" lang="en-US"><div 
 >class="titlepage"><div><div><h2 class="title" id="using-sshkeys">5.2. Using 
 >SSH Keys for Authentication</h2></div></div></div><div class="para">
-               In addition to the username and password authentication, 
CloudStack supports using SSH keys to log in to the cloud infrastructure for 
additional security. You can use the createSSHKeyPair API to generate the SSH 
keys.
-       </div><div class="para">
-               Because each cloud user has their own SSH key, one cloud user 
cannot log in to another cloud user's instances unless they share their SSH key 
files. Using a single SSH key pair, you can manage multiple instances.
-       </div><div class="section" id="create-ssh-template"><div 
class="titlepage"><div><div><h3 class="title" id="create-ssh-template">5.2.1.  
Creating an Instance Template that Supports SSH Keys</h3></div></div></div><div 
class="para">
-                       Create a instance template that supports SSH Keys.
-               </div><div class="orderedlist"><ol><li class="listitem"><div 
class="para">
-                                       Create a new instance by using the 
template provided by cloudstack.
-                               </div><div class="para">
-                                       For more information on creating a new 
instance, see
-                               </div></li><li class="listitem"><div 
class="para">
-                                       Download the cloudstack script from <a 
href="http://sourceforge.net/projects/cloudstack/files/SSH%20Key%20Gen%20Script/";>The
 SSH Key Gen Script</a>to the instance you have created.
-                               </div><pre class="programlisting">wget 
http://downloads.sourceforge.net/project/cloudstack/SSH%20Key%20Gen%20Script/cloud-set-guest-sshkey.in?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fcloudstack%2Ffiles%2FSSH%2520Key%2520Gen%2520Script%2F&amp;ts=1331225219&amp;use_mirror=iweb</pre></li><li
 class="listitem"><div class="para">
-                                       Copy the file to /etc/init.d.
-                               </div><pre class="programlisting">cp 
cloud-set-guest-sshkey.in /etc/init.d/</pre></li><li class="listitem"><div 
class="para">
-                                       Give the necessary permissions on the 
script:
-                               </div><pre class="programlisting">chmod +x 
/etc/init.d/cloud-set-guest-sshkey.in</pre></li><li class="listitem"><div 
class="para">
-                                       Run the script while starting up the 
operating system:
-                               </div><pre class="programlisting">chkconfig 
--add cloud-set-guest-sshkey.in</pre></li><li class="listitem"><div 
class="para">
-                                       Stop the instance.
-                               </div></li></ol></div></div><div 
class="section" id="create-ssh-keypair"><div class="titlepage"><div><div><h3 
class="title" id="create-ssh-keypair">5.2.2. Creating the SSH 
Keypair</h3></div></div></div><div class="para">
-                       You must make a call to the createSSHKeyPair api 
method. You can either use the CloudStack Python API library or the curl 
commands to make the call to the cloudstack api.
-               </div><div class="para">
-                       For example, make a call from the cloudstack server to 
create a SSH keypair called "keypair-doc" for the admin account in the root 
domain:
-               </div><div class="note"><div 
class="admonition_header"><h2>Note</h2></div><div class="admonition"><div 
class="para">
-                               Ensure that you adjust these values to meet 
your needs. If you are making the API call from a different server, your 
URL/PORT will be different, and you will need to use the API keys.
-                       </div></div></div><div class="orderedlist"><ol><li 
class="listitem"><div class="para">
-                                       Run the following curl command:
-                               </div><pre class="programlisting">curl 
--globoff 
"http://localhost:8096/?command=createSSHKeyPair&amp;name=keypair-doc&amp;account=admin&amp;domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2";</pre><div
 class="para">
-                                       The output is something similar to what 
is given below:
-                               </div><pre class="programlisting">&lt;?xml 
version="1.0" encoding="ISO-8859-1"?&gt;&lt;createsshkeypairresponse 
cloud-stack-version="3.0.0.20120228045507"&gt;&lt;keypair&gt;&lt;name&gt;keypair-doc&lt;/name&gt;&lt;fingerprint&gt;f6:77:39:d5:5e:77:02:22:6a:d8:7f:ce:ab:cd:b3:56&lt;/fingerprint&gt;&lt;privatekey&gt;-----BEGIN
 RSA PRIVATE KEY-----
-MIICXQIBAAKBgQCSydmnQ67jP6lNoXdX3noZjQdrMAWNQZ7y5SrEu4wDxplvhYci
-dXYBeZVwakDVsU2MLGl/K+wefwefwefwefwefJyKJaogMKn7BperPD6n1wIDAQAB
-AoGAdXaJ7uyZKeRDoy6wA0UmF0kSPbMZCR+UTIHNkS/E0/4U+6lhMokmFSHtu
-mfDZ1kGGDYhMsdytjDBztljawfawfeawefawfawfawQQDCjEsoRdgkduTy
-QpbSGDIa11Jsc+XNDx2fgRinDsxXI/zJYXTKRhSl/LIPHBw/brW8vzxhOlSOrwm7
-VvemkkgpAkEAwSeEw394LYZiEVv395ar9MLRVTVLwpo54jC4tsOxQCBlloocK
-lYaocpk0yBqqOUSBawfIiDCuLXSdvBo1Xz5ICTM19vgvEp/+kMuECQBzm
-nVo8b2Gvyagqt/KEQo8wzH2THghZ1qQ1QRhIeJG2aissEacF6bGB2oZ7Igim5L14
-4KR7OeEToyCLC2k+02UCQQCrniSnWKtDVoVqeK/zbB32JhW3Wullv5p5zUEcd
-KfEEuzcCUIxtJYTahJ1pvlFkQ8anpuxjSEDp8x/18bq3
------END RSA PRIVATE KEY-----
-&lt;/privatekey&gt;&lt;/keypair&gt;&lt;/createsshkeypairresponse&gt;</pre></li><li
 class="listitem"><div class="para">
-                                       Copy the key data into a file. The file 
looks like this:
-                               </div><pre class="programlisting">-----BEGIN 
RSA PRIVATE KEY-----
-MIICXQIBAAKBgQCSydmnQ67jP6lNoXdX3noZjQdrMAWNQZ7y5SrEu4wDxplvhYci
-dXYBeZVwakDVsU2MLGl/K+wefwefwefwefwefJyKJaogMKn7BperPD6n1wIDAQAB
-AoGAdXaJ7uyZKeRDoy6wA0UmF0kSPbMZCR+UTIHNkS/E0/4U+6lhMokmFSHtu
-mfDZ1kGGDYhMsdytjDBztljawfawfeawefawfawfawQQDCjEsoRdgkduTy
-QpbSGDIa11Jsc+XNDx2fgRinDsxXI/zJYXTKRhSl/LIPHBw/brW8vzxhOlSOrwm7
-VvemkkgpAkEAwSeEw394LYZiEVv395ar9MLRVTVLwpo54jC4tsOxQCBlloocK
-lYaocpk0yBqqOUSBawfIiDCuLXSdvBo1Xz5ICTM19vgvEp/+kMuECQBzm
-nVo8b2Gvyagqt/KEQo8wzH2THghZ1qQ1QRhIeJG2aissEacF6bGB2oZ7Igim5L14
-4KR7OeEToyCLC2k+02UCQQCrniSnWKtDVoVqeK/zbB32JhW3Wullv5p5zUEcd
-KfEEuzcCUIxtJYTahJ1pvlFkQ8anpuxjSEDp8x/18bq3
------END RSA PRIVATE KEY-----</pre></li><li class="listitem"><div class="para">
-                                       Save the file.
-                               </div></li></ol></div></div><div 
class="section" id="creating-ssh-instance"><div class="titlepage"><div><div><h3 
class="title" id="creating-ssh-instance">5.2.3. Creating an 
Instance</h3></div></div></div><div class="para">
-                       After you save the SSH keypair file, you must create an 
instance by using the template that you created at <a class="xref" 
href="using-sshkeys.html#create-ssh-template">Section 5.2.1, “ Creating an 
Instance Template that Supports SSH Keys”</a>. Ensure that you use the same 
SSH key name that you created at <a class="xref" 
href="using-sshkeys.html#create-ssh-keypair">Section 5.2.2, “Creating the 
SSH Keypair”</a>.
-               </div><div class="note"><div 
class="admonition_header"><h2>Note</h2></div><div class="admonition"><div 
class="para">
-                               You cannot create the instance by using the GUI 
at this time and associate the instance with the newly created SSH keypair.
-                       </div></div></div><div class="para">
-                       A sample curl command to create a new instance is:
-               </div><pre class="programlisting">curl --globoff 
http://localhost:&lt;port 
numbet&gt;/?command=deployVirtualMachine\&amp;zoneId=1\&amp;serviceOfferingId=18727021-7556-4110-9322-d625b52e0813\&amp;templateId=e899c18a-ce13-4bbf-98a9-625c5026e0b5\&amp;securitygroupids=ff03f02f-9e3b-48f8-834d-91b822da40c5\&amp;account=admin\&amp;domainid=1\&amp;keypair=keypair-doc</pre><div
 class="para">
-                       Substitute the template, service offering and security 
group IDs (if you are using the security group feature) that are in your cloud 
environment.
-               </div></div><div class="section" id="logging-in-ssh"><div 
class="titlepage"><div><div><h3 class="title" 
id="logging-in-ssh">5.2.4. Logging In Using the SSH 
Keypair</h3></div></div></div><div class="para">
-                       To test your SSH key generation is successful, check 
whether you can log in to the cloud setup.
-               </div><div class="para">
-                       For exaple, from a Linux OS, run:
-               </div><pre class="programlisting">ssh -i ~/.ssh/keypair-doc 
&lt;ip address&gt;</pre><div class="para">
-                       The -i parameter tells the ssh client to use a ssh key 
found at ~/.ssh/keypair-doc.
-               </div></div></div><ul class="docnav"><li class="previous"><a 
accesskey="p" href="log-in.html"><strong>Prev</strong>5.1. Log In to the 
UI</a></li><li class="up"><a accesskey="u" 
href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" 
href="index.html"><strong>Home</strong></a></li><li class="next"><a 
accesskey="n" href="projects.html"><strong>Next</strong>Chapter 6. Using 
Projects to Organize Users and R...</a></li></ul></body></html>

Reply via email to