[api] Remove Compute API related contents
Has been migrated into nova repository. http://lists.openstack.org/pipermail/openstack-docs/2016-April/008453.html Change-Id: I2801c42b7923c73299baf5b0011dcfc89ed9abc7
This commit is contained in:
parent
5e873cdedc
commit
c215dec460
@ -94,17 +94,6 @@
|
||||
<pdfFilenameBase>api-ref-clustering-v1</pdfFilenameBase>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>os-api-ref-compute-v2.1</id>
|
||||
<goals>
|
||||
<goal>generate-pdf</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<includes> bk-api-ref-compute-v2.1.xml </includes>
|
||||
<pdfFilenameBase>api-ref-compute-v2.1</pdfFilenameBase>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>os-api-ref-database-v1</id>
|
||||
<goals>
|
||||
|
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<book xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:linkend="http://www.w3.org/1999/linkend"
|
||||
xmlns:xref="http://www.w3.org/1999/xref"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
version="5.0-extension RackBook-2.0"
|
||||
xml:id="api.openstack.org-compute-v2-1-pdf">
|
||||
<info>
|
||||
<title>OpenStack Compute API Reference</title>
|
||||
<titleabbrev>API Reference</titleabbrev>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname/>
|
||||
<surname/>
|
||||
</personname>
|
||||
<affiliation>
|
||||
<orgname>OpenStack Foundation</orgname>
|
||||
</affiliation>
|
||||
</author>
|
||||
<copyright>
|
||||
<year>2010-2016</year>
|
||||
<holder>OpenStack Foundation</holder>
|
||||
</copyright>
|
||||
<productname>OpenStack Compute</productname>
|
||||
<pubdate/>
|
||||
<legalnotice role="apache2">
|
||||
<annotation>
|
||||
<remark>Copyright details are filled in by the
|
||||
template.</remark>
|
||||
</annotation>
|
||||
</legalnotice>
|
||||
</info>
|
||||
<!-- <xi:include href="preface.xml"/>-->
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_compute-v2.1.xml"/>
|
||||
</book>
|
@ -36,7 +36,6 @@
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_blockstorage-api-v2.xml"/>
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_blockstorage-api-v1.xml"/>
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_clustering-v1.xml"/>
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_compute-v2.1.xml"/>
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_database-v1.xml"/>
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_data-processing-v1.1.xml"/>
|
||||
<xi:include href="../../api-ref/src/docbkx/ch_identity-v3.xml"/>
|
||||
|
2
api-ref/README.rst
Normal file
2
api-ref/README.rst
Normal file
@ -0,0 +1,2 @@
|
||||
Compute API was migrated into the ``api-ref`` directory
|
||||
on the ``openstack/nova`` repository.
|
@ -91,17 +91,6 @@
|
||||
<pdfFilename>bk-api-ref-clustering-v1</pdfFilename>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>os-api-ref-compute-v2.1</id>
|
||||
<goals>
|
||||
<goal>generate-html</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<includes> api-ref-compute-v2.1.xml</includes>
|
||||
<pdfFilename>bk-api-ref-compute-v2.1</pdfFilename>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>os-api-ref-data-processing-v1.1</id>
|
||||
<goals>
|
||||
|
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<book xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:linkend="http://www.w3.org/1999/linkend"
|
||||
xmlns:xref="http://www.w3.org/1999/xref"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
version="5.0-extension RackBook-2.0"
|
||||
xml:id="api.openstack.org-compute-v2.1" status="CURRENT">
|
||||
<info>
|
||||
<title>OpenStack Compute API (CURRENT)</title>
|
||||
<copyright>
|
||||
<year>2010-2016</year>
|
||||
</copyright>
|
||||
<legalnotice role="apache2">
|
||||
<para/>
|
||||
</legalnotice>
|
||||
<annotation>
|
||||
<xi:include href="itemizedlist-service-list.xml"/>
|
||||
</annotation>
|
||||
</info>
|
||||
<xi:include href="ch_compute-v2.1.xml"/>
|
||||
</book>
|
@ -1,874 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE chapter [
|
||||
<!ENTITY % common_project SYSTEM "../wadls/common_project.ent">
|
||||
%common_project;
|
||||
]>
|
||||
<chapter xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:linkend="http://www.w3.org/1999/linkend"
|
||||
xmlns:xref="http://www.w3.org/1999/xref"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
version="5.0-extension RackBook-2.0"
|
||||
xml:id="compute-v2.1"
|
||||
role="api-reference">
|
||||
<title>Compute API (CURRENT)</title>
|
||||
<para>
|
||||
This documentation supports the API v2.1 base version. If you enable all
|
||||
extensions, the Compute API v1.1 and v2.0 requests and responses match the
|
||||
API v2.1 requests and responses.
|
||||
</para>
|
||||
<para>
|
||||
Each API version lists the extensions that it requires to make the full
|
||||
request and responses available. API v2.1 must enable all extensions all
|
||||
the time. It uses micro-version headers to expose any additional
|
||||
functionality.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Effective in the OpenStack Kilo release, the Compute API no longer
|
||||
supports XML in requests and responses.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
For details about the Compute API, see the <link
|
||||
xlink:href="http://developer.openstack.org/api-guide/compute/">Compute
|
||||
API</link>.
|
||||
</para>
|
||||
<section xml:id="versions-v2.1">
|
||||
<title>API versions</title>
|
||||
<para>
|
||||
Lists information for all API versions.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource
|
||||
href="../wadls/compute-api/src/v2.1/wadl/versions-v2.1.wadl#versions">
|
||||
<wadl:method href="#listVersionsv2.1"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource
|
||||
href="../wadls/compute-api/src/v2.1/wadl/versions-v2.1.wadl#versionv21">
|
||||
<wadl:method href="#showVersionsv2.1"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource
|
||||
href="../wadls/compute-api/src/v2.1/wadl/versions-v2.1.wadl#versionv2">
|
||||
<wadl:method href="#showVersionsv2"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="servers-v2.1">
|
||||
<title>Servers (servers)</title>
|
||||
<para>Lists, creates, shows details for, updates, and deletes servers.</para>
|
||||
<para><emphasis role="bold">Passwords</emphasis></para>
|
||||
<para>
|
||||
When you create a server, you can specify a password through the
|
||||
optional <property>adminPass</property> attribute. The password must
|
||||
meet the complexity requirements set by your OpenStack Compute
|
||||
provider. The server might enter an <code>ERROR</code> state if the
|
||||
complexity requirements are not met. In this case, a client might
|
||||
issue a change password action to reset the server password.
|
||||
</para>
|
||||
<para>
|
||||
If you do not specify a password, the API generates and assigns a
|
||||
random password that it returns in the response object. This password
|
||||
meets the security requirements set by the compute provider. For
|
||||
security reasons, subsequent &GET; calls do not require this password.
|
||||
</para>
|
||||
<para><emphasis role="bold">Server metadata</emphasis></para>
|
||||
<para>
|
||||
You can specify custom server metadata at server launch time. The
|
||||
maximum size for each metadata key-value pair is 255 bytes. The
|
||||
compute provider determines the maximum number of key-value pairs for
|
||||
each server. You can query this value through the
|
||||
<code>maxServerMeta</code> absolute limit.
|
||||
</para>
|
||||
<para><emphasis role="bold">Server networks</emphasis></para>
|
||||
<para>
|
||||
You can specify one or more networks to which the server connects at
|
||||
launch time. Users can also specify a specific port on the network
|
||||
or the fixed IP address to assign to the server interface.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
You can use both IPv4 and IPv6 addresses as access addresses and
|
||||
you can assign both addresses simultaneously. You can update
|
||||
access addresses after you create a server.
|
||||
</para>
|
||||
</note>
|
||||
<para><emphasis role="bold">Server personality</emphasis></para>
|
||||
<para>
|
||||
To customize the personality of a server instance, you can
|
||||
inject data into its file system. For example, you might
|
||||
insert ssh keys, set configuration files, or store data
|
||||
that you want to retrieve from inside the instance. This
|
||||
customization method provides minimal launch-time
|
||||
personalization. If you require significant customization,
|
||||
create a custom image.
|
||||
</para>
|
||||
<para>
|
||||
Follow these guidelines when you inject files:
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
The maximum size of the file path data is 255 bytes.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Encode the file contents as a Base64 string. The compute provider
|
||||
determines the maximum size of the file contents. The image that
|
||||
you use to create the server determines this value.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
The maximum limit refers to the number of bytes in the decoded
|
||||
data and not to the number of characters in the encoded data.
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <code>maxPersonality</code> absolute limit defines
|
||||
the maximum number of file path and content pairs that
|
||||
you can supply. The compute provider determines this
|
||||
value.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <code>maxPersonalitySize</code> absolute limit is a byte limit
|
||||
that applies to all images in the deployment. Providers can set
|
||||
additional per-image personality limits.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
The file injection might not occur until after the server
|
||||
builds and boots.
|
||||
</para>
|
||||
<para>
|
||||
After file injection, only system administrators can access
|
||||
personality files. For example, on Linux, all files have root as the
|
||||
owner and the root group as the group owner, and allow only user and
|
||||
group read access (<code>chmod 440</code>).
|
||||
</para>
|
||||
<para><emphasis role="bold">Server access addresses</emphasis></para>
|
||||
<para>
|
||||
In a hybrid environment, the underlying implementation might not
|
||||
control the IP address of a server. Instead, the access IP address
|
||||
might be part of the dedicated hardware; for example, a router/NAT
|
||||
device. In this case, you cannot use the addresses that the
|
||||
implementation provides to access the server from outside the local
|
||||
LAN. Instead, the API might assign a separate <firstterm>access
|
||||
address</firstterm> at creation time to provide access to the server.
|
||||
This address might not be directly bound to a network interface on the
|
||||
server and might not necessarily appear when you query the server
|
||||
addresses. However, clients should use an access address to access the
|
||||
server directly.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
href="../wadls/compute-api/src/v2.1/wadl/servers-v2.1.wadl"/>
|
||||
</section>
|
||||
<section xml:id="os-multiple-create-v2.1">
|
||||
<title>Servers multiple create (servers)</title>
|
||||
<para>
|
||||
Creates one or more servers.
|
||||
</para>
|
||||
<para>
|
||||
Optionally, you can set <code>"return_reservation_id": "True"</code>
|
||||
in the request body to request that a reservation ID be returned
|
||||
instead of the newly created instance information. With this
|
||||
parameter, the response shows only the reservation ID.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/servers-multiple-create-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-server-actions-v2.1">
|
||||
<title>Servers - run an action (servers, action)</title>
|
||||
<para>
|
||||
Enables all users to performs an action on a server. Specify the action
|
||||
in the request body.
|
||||
</para>
|
||||
<para>
|
||||
You can associate a fixed or floating IP address with a server instance,
|
||||
or disassociate a fixed or floating IP address from a server instance.
|
||||
You can attach a volume to a server.
|
||||
</para>
|
||||
<para>
|
||||
You can create an image from a server, evacuate a server from a failed
|
||||
host to a new host, and force-delete a server before deferred cleanup.
|
||||
You can lock, pause, reboot, rebuild, rescue, resize, resume, confirm
|
||||
the resize of, revert a pending resize for, shelve, shelf-offload,
|
||||
unshelve, start, stop, unlock, unpause, and unrescue a server. You can
|
||||
also change the password of the server and add a security group to or
|
||||
remove a security group from a server. You can also trigger a crash
|
||||
dump into a server since Mitaka release.
|
||||
</para>
|
||||
<para>
|
||||
You can get an RDP, serial, SPICE, or VNC console for a server.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-fixed-ip-v2.1.wadl#action">
|
||||
<wadl:method href="#addFixedIp"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#addFloatingIp"/>
|
||||
<wadl:method href="#changePassword"/>
|
||||
<wadl:method href="#confirmResize"/>
|
||||
<wadl:method href="#createImage"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-evacuate-v2.1.wadl#action">
|
||||
<wadl:method href="#evacuate"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-deferred-delete-v2.1.wadl#action">
|
||||
<wadl:method href="#forceDelete"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#lock"/>
|
||||
<wadl:method href="#pause"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-console-output-v2.1.wadl#action">
|
||||
<wadl:method href="#showConsoleOutput"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-remote-consoles-v2.1.wadl#action">
|
||||
<wadl:method href="#getRDPConsole"/>
|
||||
<wadl:method href="#getSerialConsole"/>
|
||||
<wadl:method href="#getSPICEConsole"/>
|
||||
<wadl:method href="#getVNCConsole"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#reboot"/>
|
||||
<wadl:method href="#rebuild"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-fixed-ip-v2.1.wadl#action">
|
||||
<wadl:method href="#removeFixedIp"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#removeFloatingIp"/>
|
||||
<wadl:method href="#rescue"/>
|
||||
<wadl:method href="#resize"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-deferred-delete-v2.1.wadl#action">
|
||||
<wadl:method href="#restore"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#resume"/>
|
||||
<wadl:method href="#revertResize"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-shelve-v2.1.wadl#action">
|
||||
<wadl:method href="#shelve"/>
|
||||
<wadl:method href="#shelveOffload"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#start"/>
|
||||
<wadl:method href="#stop"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#unlock"/>
|
||||
<wadl:method href="#unpause"/>
|
||||
<wadl:method href="#unrescue"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-shelve-v2.1.wadl#action">
|
||||
<wadl:method href="#unshelve"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-v2.1.wadl#action">
|
||||
<wadl:method href="#addSecurityGroup"/>
|
||||
<wadl:method href="#removeSecurityGroup"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/servers-action-trigger-crash-dump-v2.1.wadl#action">
|
||||
<wadl:method href="#triggerCrashDump"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="os-admin-actions-v2.1">
|
||||
<title>Servers - run an administrative action (servers, action)</title>
|
||||
<para>
|
||||
Enables administrators to perform an action on a server. Specify the
|
||||
action in the request body.
|
||||
</para>
|
||||
<para>
|
||||
You can change the administrative password for, create a back up of, and
|
||||
inject network information into a server.
|
||||
</para>
|
||||
<para>
|
||||
You can migrate, live-migrate, reset networking on, and reset the state
|
||||
of a server.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/servers-action-admin-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="diagnostics-v2.1">
|
||||
<title>Servers diagnostics (servers, diagnostics)</title>
|
||||
<para>
|
||||
Shows the usage data for a server.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/diagnostics-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="server-ips-v2.1">
|
||||
<title>Servers IPs (servers, ips)</title>
|
||||
<para>
|
||||
Lists the IP addresses for an instance and shows details for
|
||||
an IP address.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/ips-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="server-metadata-v2.1">
|
||||
<title>Server metadata (servers, metadata)</title>
|
||||
<para>
|
||||
Lists metadata, creates or replaces one or more metadata
|
||||
items, and updates one or more metadata items for a server.
|
||||
</para>
|
||||
<para>
|
||||
Shows details for, creates or replaces, and updates a metadata item,
|
||||
by key, for a server.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/metadata-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-instance-actions-v2.1">
|
||||
<title>Servers - list actions (servers, os-instance-actions)</title>
|
||||
<para>
|
||||
All users can list available actions for a server.
|
||||
</para>
|
||||
<para>
|
||||
All users can show details for a server action; however, only
|
||||
administrators can view server events in server action details.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-instance-actions-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-interface-v2.1">
|
||||
<title>Port interfaces (servers, os-interface)</title>
|
||||
<para>
|
||||
Creates a port interface and uses it to attach a port to a server and
|
||||
detaches a port interface from a server. Also, lists all port
|
||||
interfaces and shows details for a port interface.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-interface-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-server-password-v2.1">
|
||||
<title>Servers password (servers, os-server-password)</title>
|
||||
<para>
|
||||
Shows the encrypted administrative password. Also, clears the
|
||||
encrypted administrative password for a server, which removes it from
|
||||
the metadata server.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-server-password-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-virtual-interfaces-v2.1">
|
||||
<title>Servers virtual interfaces (servers, os-virtual-interfaces)</title>
|
||||
<para>
|
||||
Lists virtual interfaces for a server instance.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-virtual-interfaces-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-volume-attachments-v2.1">
|
||||
<title>Servers with volume attachments (servers, os-volume_attachments)</title>
|
||||
<para>
|
||||
Attaches volumes that are created through the volume API to server
|
||||
instances. Also, lists volume attachments for a server instance, shows
|
||||
details for a volume attachment, and detaches a volume.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-volume-attachments-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-flavors-v2.1">
|
||||
<title>Flavors with extended attributes (flavors)</title>
|
||||
<para>
|
||||
Shows information about flavors.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/flavors-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-flavor-access-v2.1">
|
||||
<title>Flavors access (flavors, os-flavor-access, action)</title>
|
||||
<para>
|
||||
Lists tenants who have access to a private flavor and adds private
|
||||
flavor access to and removes private flavor access from tenants. By
|
||||
default, only administrators can manage private flavor access. A private
|
||||
flavor has <code>is_public</code> set to <code>false</code> while a
|
||||
public flavor has <code>is_public</code> set to <code>true</code>.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/os-flavor-access-v2.1.wadl#os-flavor-access">
|
||||
<wadl:method href="#listFlavorAccess"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/os-flavor-access-v2.1.wadl#action">
|
||||
<wadl:method href="#addFlavorAccess"/>
|
||||
<wadl:method href="#removeFlavorAccess"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="flavor-extra-specs-v2.1">
|
||||
<title>Flavors extra-specs (flavors, os-flavor-extra-specs)</title>
|
||||
<para>
|
||||
Lists, creates, deletes, and updates the extra-specs or keys for a
|
||||
flavor.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-flavor-extra-specs-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="keypairs-v2.1">
|
||||
<title>Keypairs (keypairs)</title>
|
||||
<para>Generates, imports, and deletes SSH keys.</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-keypairs-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="limits-v2.1">
|
||||
<title>Limits (limits)</title>
|
||||
<para>
|
||||
Shows rate and absolute limits for the tenant.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/limits-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="extensions-v2.1">
|
||||
<title>Extensions (extensions)</title>
|
||||
<para>
|
||||
Lists available extensions and shows information for an extension, by
|
||||
alias.
|
||||
</para>
|
||||
<para>
|
||||
OpenStack Compute API v2.0 supports extensions. However, extensions are
|
||||
deprecated in Compute API v2.1. For information about extensions, see <link
|
||||
xlink:href="http://developer.openstack.org/api-guide/compute/extensions.html">Extensions</link>.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/extensions-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="compute_images-v2.1">
|
||||
<title>Images</title>
|
||||
<para>
|
||||
Lists, shows details for, and deletes images. Also sets, lists,
|
||||
shows details for, and deletes image metadata.
|
||||
</para>
|
||||
<para>
|
||||
An image is a collection of files that you use to create and
|
||||
rebuild a server. By default, operators provide pre-built
|
||||
operating system images. You can also create custom images. See
|
||||
Compute server actions.
|
||||
</para>
|
||||
<para>
|
||||
By default, the <code>policy.json</code> file authorizes all users to
|
||||
view the image size in the <code>OS-EXT-IMG-SIZE:size</code> extended
|
||||
attribute.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/images-v2.1.wadl#Images">
|
||||
<wadl:method href="#listImages"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/images-v2.1.wadl#image_detail">
|
||||
<wadl:method href="#listDetailImages"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/images-v2.1.wadl#image_id">
|
||||
<wadl:method href="#showImage"/>
|
||||
<wadl:method href="#deleteImage"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="compute_image_metadata-v2.1">
|
||||
<title>Image metadata</title>
|
||||
<para>
|
||||
Shows details for, sets, updates, and deletes image metadata or metadata
|
||||
items.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/images-v2.1.wadl#image_metadata">
|
||||
<wadl:method href="#showImageMetadata"/>
|
||||
<wadl:method href="#createImageMetadata"/>
|
||||
<wadl:method href="#updateImageMetadata"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource
|
||||
href="../wadls/compute-api/src/v2.1/wadl/images-v2.1.wadl#imageMetadataKey">
|
||||
<wadl:method href="#showImageMetadataItem"/>
|
||||
<wadl:method href="#setImageMetadataItem"/>
|
||||
<wadl:method href="#deleteImageMetadataItem"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="os-agents-v2.1">
|
||||
<title>Guest agents (os-agents)</title>
|
||||
<para>
|
||||
Creates, lists, updates, and deletes guest agent builds. Use guest
|
||||
agents to access files on the disk, configure networking, or run other
|
||||
applications or scripts in the guest while the agent runs. This
|
||||
hypervisor-specific extension is not currently enabled for KVM. Use of
|
||||
guest agents is possible only if the underlying service provider uses
|
||||
the Xen driver.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-agents-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-aggregates-v2.1">
|
||||
<title>Host aggregates (os-aggregates, action)</title>
|
||||
<para>
|
||||
Creates and manages host aggregates. An aggregate assigns metadata to
|
||||
groups of compute nodes. Aggregates are only visible to the cloud
|
||||
provider.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-aggregates-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-assisted-volume-snapshots-v2.1">
|
||||
<title>Assisted volume snapshots (os-assisted-volume-snapshots)</title>
|
||||
<para>
|
||||
Creates and deletes snapshots through an emulator/hypervisor.
|
||||
The qcow2 file format is supported.
|
||||
</para>
|
||||
<para>
|
||||
An internal snapshot that lacks storage such as NFS or GlusterFS
|
||||
can use an emulator/hypervisor to add the snapshot feature.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-assisted-volume-snapshots-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-availability-zone-v2.1">
|
||||
<title>Availability zones (os-availability-zone)</title>
|
||||
<para>
|
||||
Shows availability zone information.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-availability-zone-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-baremetal-nodes-v2.1">
|
||||
<title>Bare metal nodes (os-baremetal-nodes)</title>
|
||||
<para>Bare metal nodes.</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-baremetal-nodes-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-cells-v2.1">
|
||||
<title>Cells (os-cells, capacities)</title>
|
||||
<para>
|
||||
Adds neighbor cells, lists neighbor cells, and shows the capabilities
|
||||
of the local cell.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-cells-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-certificates-v2.1">
|
||||
<title>Root certificates (os-certificates)</title>
|
||||
<para>Creates and shows details for a root certificate.</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-certificates-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-cloudpipe-v2.1">
|
||||
<title>Cloudpipe (os-cloudpipe)</title>
|
||||
<para>Manages virtual VPNs for projects.</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-cloudpipe-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-consoles-v2.1">
|
||||
<title>Server consoles (servers, os-consoles, os-console-auth-token)</title>
|
||||
<para>Manages server consoles.</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-consoles-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-fixed-ips-v2.1">
|
||||
<title>Fixed IPs (os-fixed-ips)</title>
|
||||
<para>
|
||||
Shows data for a fixed IP, such as host name, CIDR, and
|
||||
address. Also, reserves and frees a fixed IP address.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-fixed-ips-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-floating-ip-dns-v2.1">
|
||||
<title>Floating IP DNS records (os-floating-ip-dns)</title>
|
||||
<para>
|
||||
Manages DNS records associated with floating IP addresses. The API
|
||||
dispatches requests to a DNS driver that is selected at startup.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-floating-ip-dns-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-floating-ip-pools-v2.1">
|
||||
<title>Floating IP pools (os-floating-ip-pools)</title>
|
||||
<para>
|
||||
Manages groups of floating IPs.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-floating-ip-pools-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-floating-ips-v2.1">
|
||||
<title>Floating IPs (os-floating-ips)</title>
|
||||
<para>
|
||||
Lists floating IP addresses for a project. Also, creates (allocates) a
|
||||
floating IP address for a project, shows floating IP address details,
|
||||
and deletes (deallocates) a floating IP address from a project.
|
||||
</para>
|
||||
<para>
|
||||
|
||||
The cloud administrator configures a pool of floating IP addresses in
|
||||
OpenStack Compute. The project quota defines the maximum number of
|
||||
floating IP addresses that you can allocate to the project.
|
||||
After you <link
|
||||
xlink:href="http://developer.openstack.org/api-ref-compute-v2.1.html#createFloatingIP">allocate
|
||||
a floating IP address</link> for a project, you can:
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<link
|
||||
xlink:href="http://developer.openstack.org/api-ref-compute-v2.1.html#addFloatingIp">Add
|
||||
(associate) the floating
|
||||
IP address</link> with an instance in the project. You can associate only one
|
||||
floating IP address with an instance at a time.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<link xlink:href="http://developer.openstack.org/api-ref-compute-v2.1.html#removeFloatingIp">Remove
|
||||
(disassociate) the floating IP address</link> from an instance in the project.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Delete, or deallocate, a floating IP from the project, which
|
||||
automatically deletes any associations for that IP address.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-floating-ips-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-floating-ips-bulk-v2.1">
|
||||
<title>Floating IPs bulk (os-floating-ips-bulk)</title>
|
||||
<para>
|
||||
(nova-network only) Bulk-creates, deletes, and lists floating IPs.
|
||||
Default pool name is <code>nova</code>.
|
||||
</para>
|
||||
<para>
|
||||
To view available pools, use the <code>os-floating-ip-pools</code>
|
||||
extension.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-floating-ips-bulk-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="v2.1os-fping">
|
||||
<title>Ping instances (os-fping)</title>
|
||||
<para>
|
||||
Pings instances and reports which ones are alive.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-fping-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-hosts-v2.1">
|
||||
<title>Hosts (os-hosts)</title>
|
||||
<para>
|
||||
Manages physical hosts. Some virt drivers don not support all host
|
||||
functions. For more information, see <link
|
||||
xlink:href="http://docs.openstack.org/developer/nova/support-matrix.html">
|
||||
nova virt support matrix</link>
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-hosts-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-hypervisors-v2.1">
|
||||
<title>Hypervisors (os-hypervisors)</title>
|
||||
<para>
|
||||
Lists all hypervisors, shows summary statistics for all hypervisors
|
||||
over all compute nodes, shows details for a hypervisor, and shows the
|
||||
uptime for a hypervisor.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-hypervisors-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-instance-usage-audit-log-v2.1">
|
||||
<title>Instance usage audit log (os-instance-usage-audit-log)</title>
|
||||
<para>
|
||||
Administrator only. Monitors task logs.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-instance-usage-audit-log-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-migrations-v2.1">
|
||||
<title>Migrations (os-migrations)</title>
|
||||
<para>
|
||||
Shows data on migrations.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-migrations-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-networks-v2.1">
|
||||
<title>Networks (os-networks)</title>
|
||||
<para>
|
||||
Creates, lists, shows information for, and deletes networks.
|
||||
</para>
|
||||
<para>
|
||||
Adds network to a project, disassociates a network from a project,
|
||||
and disassociates a project from a network.
|
||||
</para>
|
||||
<para>
|
||||
Associates host with and disassociates host from a network.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-networks-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-quota-class-sets-v2.1">
|
||||
<title>Quota class (os-quota-class-sets)</title>
|
||||
<para>
|
||||
Provides quota classes management support.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-quota-class-sets-v2.1.wadl"/>
|
||||
</section>
|
||||
<section xml:id="os-quota-sets-v2.1">
|
||||
<title>Quota sets (os-quota-sets)</title>
|
||||
<para>
|
||||
Permits administrators, depending on policy settings, to view default
|
||||
quotas, view details for quotas, revert quotas to defaults, and update the
|
||||
quotas for a project or a project and user.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/os-quota-sets-v2.1.wadl#tenant_id">
|
||||
<wadl:method href="#updateQuota"/>
|
||||
<wadl:method href="#revertQuotas"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/os-quota-sets-v2.1.wadl#defaults">
|
||||
<wadl:method href="#listDefaultQuotas"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadls/compute-api/src/v2.1/wadl/os-quota-sets-v2.1.wadl#quotas_detail">
|
||||
<wadl:method href="#listDetailQuotas"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="os-security-groups-v2.1">
|
||||
<title>Security groups (os-security-groups)</title>
|
||||
<para>
|
||||
Lists, shows information for, creates, and deletes security groups.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-security-groups-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-security-group-default-rules-v2.1">
|
||||
<title>Rules for default security group
|
||||
(os-security-group-default-rules)</title>
|
||||
<para>
|
||||
Lists, shows information for, and creates default security
|
||||
group rules.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-security-group-default-rules-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-security-group-rules-v2.1">
|
||||
<title>Rules for security group (os-security-group-rules)</title>
|
||||
<para>
|
||||
Creates and deletes security group rules.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-security-group-rules-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-server-external-events-v2.1">
|
||||
<title>Create external events (os-server-external-events)</title>
|
||||
<para>
|
||||
Creates one or more external events. The API dispatches each event to a
|
||||
server instance.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-server-external-events-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-server-groups-v2.1">
|
||||
<title>Server groups (os-server-groups)</title>
|
||||
<para>
|
||||
Lists, shows information for, creates, and deletes server groups.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-server-groups-v2.1.wadl#os-server-groups">
|
||||
<wadl:method href="#listServerGroups"/>
|
||||
<wadl:method href="#createServerGroup"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-server-groups-v2.1.wadl#ServerGroup_id">
|
||||
<wadl:method href="#showServerGroup"/>
|
||||
<wadl:method href="#deleteServerGroup"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="os-services-v2.1">
|
||||
<title>Compute services (os-services)</title>
|
||||
<para>
|
||||
Lists all running Compute services for a tenant, enables or disables
|
||||
scheduling for a Compute service, logs disabled Compute service
|
||||
information, and deletes a Compute service.
|
||||
</para>
|
||||
<para>
|
||||
For an overview of Compute services, see <link
|
||||
xlink:href="http://docs.openstack.org/liberty/install-guide-obs/common/get_started_compute.html">OpenStack Compute</link>.
|
||||
</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-services-v2.1.wadl"/>
|
||||
</section>
|
||||
<section xml:id="os-simple-tenant-usage-v2.1">
|
||||
<title>Usage reports (os-simple-tenant-usage)</title>
|
||||
<para>
|
||||
Reports usage statistics on compute and storage resources.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-simple-tenant-usage-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-tenant-networks-v2.1">
|
||||
<title>Project networks (os-tenant-networks)</title>
|
||||
<para>
|
||||
Creates, lists, shows information for, and deletes project networks.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-tenant-networks-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
<section xml:id="os-volumes">
|
||||
<title>Volume extension (os-volumes, os-snapshots)</title>
|
||||
<para>
|
||||
Manages volumes and snapshots for use with the Compute API.
|
||||
</para>
|
||||
<wadl:resources
|
||||
href="../wadls/compute-api/src/v2.1/wadl/os-volumes-v2.1.wadl"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</section>
|
||||
</chapter>
|
||||
|
@ -27,7 +27,7 @@
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<link xlink:type="simple" xlink:href="api-ref-compute-v2.1.html">Compute API (CURRENT)</link>
|
||||
<link xlink:type="simple" xlink:href="/api-ref/compute/">Compute API (CURRENT)</link>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,337 +0,0 @@
|
||||
if (! this.sh_languages) {
|
||||
this.sh_languages = {};
|
||||
}
|
||||
sh_languages['java'] = [
|
||||
[
|
||||
[
|
||||
/\b(?:import|package)\b/g,
|
||||
'sh_preproc',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\/\/\//g,
|
||||
'sh_comment',
|
||||
1
|
||||
],
|
||||
[
|
||||
/\/\//g,
|
||||
'sh_comment',
|
||||
7
|
||||
],
|
||||
[
|
||||
/\/\*\*/g,
|
||||
'sh_comment',
|
||||
8
|
||||
],
|
||||
[
|
||||
/\/\*/g,
|
||||
'sh_comment',
|
||||
9
|
||||
],
|
||||
[
|
||||
/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,
|
||||
'sh_number',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
10
|
||||
],
|
||||
[
|
||||
/'/g,
|
||||
'sh_string',
|
||||
11
|
||||
],
|
||||
[
|
||||
/(\b(?:class|interface))([ \t]+)([$A-Za-z0-9_]+)/g,
|
||||
['sh_keyword', 'sh_normal', 'sh_classname'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\b(?:abstract|assert|break|case|catch|class|const|continue|default|do|else|extends|false|final|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|static|strictfp|super|switch|synchronized|throw|throws|true|this|transient|try|volatile|while)\b/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\b(?:int|byte|boolean|char|long|float|double|short|void)\b/g,
|
||||
'sh_type',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,
|
||||
'sh_symbol',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\{|\}/g,
|
||||
'sh_cbracket',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,
|
||||
'sh_function',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,
|
||||
['sh_usertype', 'sh_usertype', 'sh_normal'],
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/$/g,
|
||||
null,
|
||||
-2
|
||||
],
|
||||
[
|
||||
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
|
||||
'sh_url',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<\?xml/g,
|
||||
'sh_preproc',
|
||||
2,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!DOCTYPE/g,
|
||||
'sh_preproc',
|
||||
4,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
5
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/&(?:[A-Za-z0-9]+);/g,
|
||||
'sh_preproc',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/@[A-Za-z]+/g,
|
||||
'sh_type',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
|
||||
'sh_todo',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\?>/g,
|
||||
'sh_preproc',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\\(?:\\|")/g,
|
||||
null,
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
-2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/>/g,
|
||||
'sh_preproc',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/-->/g,
|
||||
'sh_comment',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
5
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/$/g,
|
||||
null,
|
||||
-2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\*\//g,
|
||||
'sh_comment',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
|
||||
'sh_url',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<\?xml/g,
|
||||
'sh_preproc',
|
||||
2,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!DOCTYPE/g,
|
||||
'sh_preproc',
|
||||
4,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
5
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/&(?:[A-Za-z0-9]+);/g,
|
||||
'sh_preproc',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/@[A-Za-z]+/g,
|
||||
'sh_type',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
|
||||
'sh_todo',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\*\//g,
|
||||
'sh_comment',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
|
||||
'sh_url',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
|
||||
'sh_todo',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/\\./g,
|
||||
'sh_specialchar',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/'/g,
|
||||
'sh_string',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/\\./g,
|
||||
'sh_specialchar',
|
||||
-1
|
||||
]
|
||||
]
|
||||
];
|
@ -1,347 +0,0 @@
|
||||
if (! this.sh_languages) {
|
||||
this.sh_languages = {};
|
||||
}
|
||||
sh_languages['javascript'] = [
|
||||
[
|
||||
[
|
||||
/\/\/\//g,
|
||||
'sh_comment',
|
||||
1
|
||||
],
|
||||
[
|
||||
/\/\//g,
|
||||
'sh_comment',
|
||||
7
|
||||
],
|
||||
[
|
||||
/\/\*\*/g,
|
||||
'sh_comment',
|
||||
8
|
||||
],
|
||||
[
|
||||
/\/\*/g,
|
||||
'sh_comment',
|
||||
9
|
||||
],
|
||||
[
|
||||
/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with)\b/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,
|
||||
['sh_symbol', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,
|
||||
['sh_number', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,
|
||||
['sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,
|
||||
'sh_regexp',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,
|
||||
'sh_number',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
10
|
||||
],
|
||||
[
|
||||
/'/g,
|
||||
'sh_string',
|
||||
11
|
||||
],
|
||||
[
|
||||
/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,
|
||||
'sh_symbol',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\{|\}/g,
|
||||
'sh_cbracket',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\b(?:Math|Infinity|NaN|undefined|arguments)\b/g,
|
||||
'sh_predef_var',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/\b(?:Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt)\b/g,
|
||||
'sh_predef_func',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,
|
||||
'sh_function',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/$/g,
|
||||
null,
|
||||
-2
|
||||
],
|
||||
[
|
||||
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
|
||||
'sh_url',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<\?xml/g,
|
||||
'sh_preproc',
|
||||
2,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!DOCTYPE/g,
|
||||
'sh_preproc',
|
||||
4,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
5
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/&(?:[A-Za-z0-9]+);/g,
|
||||
'sh_preproc',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/@[A-Za-z]+/g,
|
||||
'sh_type',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
|
||||
'sh_todo',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\?>/g,
|
||||
'sh_preproc',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\\(?:\\|")/g,
|
||||
null,
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
-2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/>/g,
|
||||
'sh_preproc',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/-->/g,
|
||||
'sh_comment',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
5
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/$/g,
|
||||
null,
|
||||
-2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\*\//g,
|
||||
'sh_comment',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
|
||||
'sh_url',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<\?xml/g,
|
||||
'sh_preproc',
|
||||
2,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!DOCTYPE/g,
|
||||
'sh_preproc',
|
||||
4,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
5
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/&(?:[A-Za-z0-9]+);/g,
|
||||
'sh_preproc',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,
|
||||
'sh_keyword',
|
||||
6,
|
||||
1
|
||||
],
|
||||
[
|
||||
/@[A-Za-z]+/g,
|
||||
'sh_type',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
|
||||
'sh_todo',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\*\//g,
|
||||
'sh_comment',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
|
||||
'sh_url',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
|
||||
'sh_todo',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/\\./g,
|
||||
'sh_specialchar',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/'/g,
|
||||
'sh_string',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/\\./g,
|
||||
'sh_specialchar',
|
||||
-1
|
||||
]
|
||||
]
|
||||
];
|
@ -1,538 +0,0 @@
|
||||
/*
|
||||
SHJS - Syntax Highlighting in JavaScript
|
||||
Copyright (C) 2007, 2008 gnombat@users.sourceforge.net
|
||||
License: http://shjs.sourceforge.net/doc/gplv3.html
|
||||
*/
|
||||
|
||||
if (! this.sh_languages) {
|
||||
this.sh_languages = {};
|
||||
}
|
||||
var sh_requests = {};
|
||||
|
||||
function sh_isEmailAddress(url) {
|
||||
if (/^mailto:/.test(url)) {
|
||||
return false;
|
||||
}
|
||||
return url.indexOf('@') !== -1;
|
||||
}
|
||||
|
||||
function sh_setHref(tags, numTags, inputString) {
|
||||
var url = inputString.substring(tags[numTags - 2].pos, tags[numTags - 1].pos);
|
||||
if (url.length >= 2 && url.charAt(0) === '<' && url.charAt(url.length - 1) === '>') {
|
||||
url = url.substr(1, url.length - 2);
|
||||
}
|
||||
if (sh_isEmailAddress(url)) {
|
||||
url = 'mailto:' + url;
|
||||
}
|
||||
tags[numTags - 2].node.href = url;
|
||||
}
|
||||
|
||||
/*
|
||||
Konqueror has a bug where the regular expression /$/g will not match at the end
|
||||
of a line more than once:
|
||||
|
||||
var regex = /$/g;
|
||||
var match;
|
||||
|
||||
var line = '1234567890';
|
||||
regex.lastIndex = 10;
|
||||
match = regex.exec(line);
|
||||
|
||||
var line2 = 'abcde';
|
||||
regex.lastIndex = 5;
|
||||
match = regex.exec(line2); // fails
|
||||
*/
|
||||
function sh_konquerorExec(s) {
|
||||
var result = [''];
|
||||
result.index = s.length;
|
||||
result.input = s;
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
Highlights all elements containing source code in a text string. The return
|
||||
value is an array of objects, each representing an HTML start or end tag. Each
|
||||
object has a property named pos, which is an integer representing the text
|
||||
offset of the tag. Every start tag also has a property named node, which is the
|
||||
DOM element started by the tag. End tags do not have this property.
|
||||
@param inputString a text string
|
||||
@param language a language definition object
|
||||
@return an array of tag objects
|
||||
*/
|
||||
function sh_highlightString(inputString, language) {
|
||||
if (/Konqueror/.test(navigator.userAgent)) {
|
||||
if (! language.konquered) {
|
||||
for (var s = 0; s < language.length; s++) {
|
||||
for (var p = 0; p < language[s].length; p++) {
|
||||
var r = language[s][p][0];
|
||||
if (r.source === '$') {
|
||||
r.exec = sh_konquerorExec;
|
||||
}
|
||||
}
|
||||
}
|
||||
language.konquered = true;
|
||||
}
|
||||
}
|
||||
|
||||
var a = document.createElement('a');
|
||||
var span = document.createElement('span');
|
||||
|
||||
// the result
|
||||
var tags = [];
|
||||
var numTags = 0;
|
||||
|
||||
// each element is a pattern object from language
|
||||
var patternStack = [];
|
||||
|
||||
// the current position within inputString
|
||||
var pos = 0;
|
||||
|
||||
// the name of the current style, or null if there is no current style
|
||||
var currentStyle = null;
|
||||
|
||||
var output = function(s, style) {
|
||||
var length = s.length;
|
||||
// this is more than just an optimization - we don't want to output empty <span></span> elements
|
||||
if (length === 0) {
|
||||
return;
|
||||
}
|
||||
if (! style) {
|
||||
var stackLength = patternStack.length;
|
||||
if (stackLength !== 0) {
|
||||
var pattern = patternStack[stackLength - 1];
|
||||
// check whether this is a state or an environment
|
||||
if (! pattern[3]) {
|
||||
// it's not a state - it's an environment; use the style for this environment
|
||||
style = pattern[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
if (currentStyle !== style) {
|
||||
if (currentStyle) {
|
||||
tags[numTags++] = {pos: pos};
|
||||
if (currentStyle === 'sh_url') {
|
||||
sh_setHref(tags, numTags, inputString);
|
||||
}
|
||||
}
|
||||
if (style) {
|
||||
var clone;
|
||||
if (style === 'sh_url') {
|
||||
clone = a.cloneNode(false);
|
||||
}
|
||||
else {
|
||||
clone = span.cloneNode(false);
|
||||
}
|
||||
clone.className = style;
|
||||
tags[numTags++] = {node: clone, pos: pos};
|
||||
}
|
||||
}
|
||||
pos += length;
|
||||
currentStyle = style;
|
||||
};
|
||||
|
||||
var endOfLinePattern = /\r\n|\r|\n/g;
|
||||
endOfLinePattern.lastIndex = 0;
|
||||
var inputStringLength = inputString.length;
|
||||
while (pos < inputStringLength) {
|
||||
var start = pos;
|
||||
var end;
|
||||
var startOfNextLine;
|
||||
var endOfLineMatch = endOfLinePattern.exec(inputString);
|
||||
if (endOfLineMatch === null) {
|
||||
end = inputStringLength;
|
||||
startOfNextLine = inputStringLength;
|
||||
}
|
||||
else {
|
||||
end = endOfLineMatch.index;
|
||||
startOfNextLine = endOfLinePattern.lastIndex;
|
||||
}
|
||||
|
||||
var line = inputString.substring(start, end);
|
||||
|
||||
var matchCache = [];
|
||||
for (;;) {
|
||||
var posWithinLine = pos - start;
|
||||
|
||||
var stateIndex;
|
||||
var stackLength = patternStack.length;
|
||||
if (stackLength === 0) {
|
||||
stateIndex = 0;
|
||||
}
|
||||
else {
|
||||
// get the next state
|
||||
stateIndex = patternStack[stackLength - 1][2];
|
||||
}
|
||||
|
||||
var state = language[stateIndex];
|
||||
var numPatterns = state.length;
|
||||
var mc = matchCache[stateIndex];
|
||||
if (! mc) {
|
||||
mc = matchCache[stateIndex] = [];
|
||||
}
|
||||
var bestMatch = null;
|
||||
var bestPatternIndex = -1;
|
||||
for (var i = 0; i < numPatterns; i++) {
|
||||
var match;
|
||||
if (i < mc.length && (mc[i] === null || posWithinLine <= mc[i].index)) {
|
||||
match = mc[i];
|
||||
}
|
||||
else {
|
||||
var regex = state[i][0];
|
||||
regex.lastIndex = posWithinLine;
|
||||
match = regex.exec(line);
|
||||
mc[i] = match;
|
||||
}
|
||||
if (match !== null && (bestMatch === null || match.index < bestMatch.index)) {
|
||||
bestMatch = match;
|
||||
bestPatternIndex = i;
|
||||
if (match.index === posWithinLine) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (bestMatch === null) {
|
||||
output(line.substring(posWithinLine), null);
|
||||
break;
|
||||
}
|
||||
else {
|
||||
// got a match
|
||||
if (bestMatch.index > posWithinLine) {
|
||||
output(line.substring(posWithinLine, bestMatch.index), null);
|
||||
}
|
||||
|
||||
var pattern = state[bestPatternIndex];
|
||||
|
||||
var newStyle = pattern[1];
|
||||
var matchedString;
|
||||
if (newStyle instanceof Array) {
|
||||
for (var subexpression = 0; subexpression < newStyle.length; subexpression++) {
|
||||
matchedString = bestMatch[subexpression + 1];
|
||||
output(matchedString, newStyle[subexpression]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
matchedString = bestMatch[0];
|
||||
output(matchedString, newStyle);
|
||||
}
|
||||
|
||||
switch (pattern[2]) {
|
||||
case -1:
|
||||
// do nothing
|
||||
break;
|
||||
case -2:
|
||||
// exit
|
||||
patternStack.pop();
|
||||
break;
|
||||
case -3:
|
||||
// exitall
|
||||
patternStack.length = 0;
|
||||
break;
|
||||
default:
|
||||
// this was the start of a delimited pattern or a state/environment
|
||||
patternStack.push(pattern);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// end of the line
|
||||
if (currentStyle) {
|
||||
tags[numTags++] = {pos: pos};
|
||||
if (currentStyle === 'sh_url') {
|
||||
sh_setHref(tags, numTags, inputString);
|
||||
}
|
||||
currentStyle = null;
|
||||
}
|
||||
pos = startOfNextLine;
|
||||
}
|
||||
|
||||
return tags;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// DOM-dependent functions
|
||||
|
||||
function sh_getClasses(element) {
|
||||
var result = [];
|
||||
var htmlClass = element.className;
|
||||
if (htmlClass && htmlClass.length > 0) {
|
||||
var htmlClasses = htmlClass.split(' ');
|
||||
for (var i = 0; i < htmlClasses.length; i++) {
|
||||
if (htmlClasses[i].length > 0) {
|
||||
result.push(htmlClasses[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
function sh_addClass(element, name) {
|
||||
var htmlClasses = sh_getClasses(element);
|
||||
for (var i = 0; i < htmlClasses.length; i++) {
|
||||
if (name.toLowerCase() === htmlClasses[i].toLowerCase()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
htmlClasses.push(name);
|
||||
element.className = htmlClasses.join(' ');
|
||||
}
|
||||
|
||||
/**
|
||||
Extracts the tags from an HTML DOM NodeList.
|
||||
@param nodeList a DOM NodeList
|
||||
@param result an object with text, tags and pos properties
|
||||
*/
|
||||
function sh_extractTagsFromNodeList(nodeList, result) {
|
||||
var length = nodeList.length;
|
||||
for (var i = 0; i < length; i++) {
|
||||
var node = nodeList.item(i);
|
||||
switch (node.nodeType) {
|
||||
case 1:
|
||||
if (node.nodeName.toLowerCase() === 'br') {
|
||||
var terminator;
|
||||
if (/MSIE/.test(navigator.userAgent)) {
|
||||
terminator = '\r';
|
||||
}
|
||||
else {
|
||||
terminator = '\n';
|
||||
}
|
||||
result.text.push(terminator);
|
||||
result.pos++;
|
||||
}
|
||||
else {
|
||||
result.tags.push({node: node.cloneNode(false), pos: result.pos});
|
||||
sh_extractTagsFromNodeList(node.childNodes, result);
|
||||
result.tags.push({pos: result.pos});
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
result.text.push(node.data);
|
||||
result.pos += node.length;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Extracts the tags from the text of an HTML element. The extracted tags will be
|
||||
returned as an array of tag objects. See sh_highlightString for the format of
|
||||
the tag objects.
|
||||
@param element a DOM element
|
||||
@param tags an empty array; the extracted tag objects will be returned in it
|
||||
@return the text of the element
|
||||
@see sh_highlightString
|
||||
*/
|
||||
function sh_extractTags(element, tags) {
|
||||
var result = {};
|
||||
result.text = [];
|
||||
result.tags = tags;
|
||||
result.pos = 0;
|
||||
sh_extractTagsFromNodeList(element.childNodes, result);
|
||||
return result.text.join('');
|
||||
}
|
||||
|
||||
/**
|
||||
Merges the original tags from an element with the tags produced by highlighting.
|
||||
@param originalTags an array containing the original tags
|
||||
@param highlightTags an array containing the highlighting tags - these must not overlap
|
||||
@result an array containing the merged tags
|
||||
*/
|
||||
function sh_mergeTags(originalTags, highlightTags) {
|
||||
var numOriginalTags = originalTags.length;
|
||||
if (numOriginalTags === 0) {
|
||||
return highlightTags;
|
||||
}
|
||||
|
||||
var numHighlightTags = highlightTags.length;
|
||||
if (numHighlightTags === 0) {
|
||||
return originalTags;
|
||||
}
|
||||
|
||||
var result = [];
|
||||
var originalIndex = 0;
|
||||
var highlightIndex = 0;
|
||||
|
||||
while (originalIndex < numOriginalTags && highlightIndex < numHighlightTags) {
|
||||
var originalTag = originalTags[originalIndex];
|
||||
var highlightTag = highlightTags[highlightIndex];
|
||||
|
||||
if (originalTag.pos <= highlightTag.pos) {
|
||||
result.push(originalTag);
|
||||
originalIndex++;
|
||||
}
|
||||
else {
|
||||
result.push(highlightTag);
|
||||
if (highlightTags[highlightIndex + 1].pos <= originalTag.pos) {
|
||||
highlightIndex++;
|
||||
result.push(highlightTags[highlightIndex]);
|
||||
highlightIndex++;
|
||||
}
|
||||
else {
|
||||
// new end tag
|
||||
result.push({pos: originalTag.pos});
|
||||
|
||||
// new start tag
|
||||
highlightTags[highlightIndex] = {node: highlightTag.node.cloneNode(false), pos: originalTag.pos};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
while (originalIndex < numOriginalTags) {
|
||||
result.push(originalTags[originalIndex]);
|
||||
originalIndex++;
|
||||
}
|
||||
|
||||
while (highlightIndex < numHighlightTags) {
|
||||
result.push(highlightTags[highlightIndex]);
|
||||
highlightIndex++;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
Inserts tags into text.
|
||||
@param tags an array of tag objects
|
||||
@param text a string representing the text
|
||||
@return a DOM DocumentFragment representing the resulting HTML
|
||||
*/
|
||||
function sh_insertTags(tags, text) {
|
||||
var doc = document;
|
||||
|
||||
var result = document.createDocumentFragment();
|
||||
var tagIndex = 0;
|
||||
var numTags = tags.length;
|
||||
var textPos = 0;
|
||||
var textLength = text.length;
|
||||
var currentNode = result;
|
||||
|
||||
// output one tag or text node every iteration
|
||||
while (textPos < textLength || tagIndex < numTags) {
|
||||
var tag;
|
||||
var tagPos;
|
||||
if (tagIndex < numTags) {
|
||||
tag = tags[tagIndex];
|
||||
tagPos = tag.pos;
|
||||
}
|
||||
else {
|
||||
tagPos = textLength;
|
||||
}
|
||||
|
||||
if (tagPos <= textPos) {
|
||||
// output the tag
|
||||
if (tag.node) {
|
||||
// start tag
|
||||
var newNode = tag.node;
|
||||
currentNode.appendChild(newNode);
|
||||
currentNode = newNode;
|
||||
}
|
||||
else {
|
||||
// end tag
|
||||
currentNode = currentNode.parentNode;
|
||||
}
|
||||
tagIndex++;
|
||||
}
|
||||
else {
|
||||
// output text
|
||||
currentNode.appendChild(doc.createTextNode(text.substring(textPos, tagPos)));
|
||||
textPos = tagPos;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
Highlights an element containing source code. Upon completion of this function,
|
||||
the element will have been placed in the "sh_sourceCode" class.
|
||||
@param element a DOM <pre> element containing the source code to be highlighted
|
||||
@param language a language definition object
|
||||
*/
|
||||
function sh_highlightElement(element, language) {
|
||||
sh_addClass(element, 'sh_sourceCode');
|
||||
var originalTags = [];
|
||||
var inputString = sh_extractTags(element, originalTags);
|
||||
var highlightTags = sh_highlightString(inputString, language);
|
||||
var tags = sh_mergeTags(originalTags, highlightTags);
|
||||
var documentFragment = sh_insertTags(tags, inputString);
|
||||
while (element.hasChildNodes()) {
|
||||
element.removeChild(element.firstChild);
|
||||
}
|
||||
element.appendChild(documentFragment);
|
||||
}
|
||||
|
||||
function sh_getXMLHttpRequest() {
|
||||
if (window.ActiveXObject) {
|
||||
return new ActiveXObject('Msxml2.XMLHTTP');
|
||||
}
|
||||
else if (window.XMLHttpRequest) {
|
||||
return new XMLHttpRequest();
|
||||
}
|
||||
throw 'No XMLHttpRequest implementation available';
|
||||
}
|
||||
|
||||
function sh_load(language, element, prefix, suffix) {
|
||||
if (language in sh_requests) {
|
||||
sh_requests[language].push(element);
|
||||
return;
|
||||
}
|
||||
sh_requests[language] = [element];
|
||||
var request = sh_getXMLHttpRequest();
|
||||
var url = prefix + 'sh_' + language + suffix;
|
||||
request.open('GET', url, true);
|
||||
request.onreadystatechange = function () {
|
||||
if (request.readyState === 4) {
|
||||
try {
|
||||
if (! request.status || request.status === 200) {
|
||||
eval(request.responseText);
|
||||
var elements = sh_requests[language];
|
||||
for (var i = 0; i < elements.length; i++) {
|
||||
sh_highlightElement(elements[i], sh_languages[language]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw 'HTTP error: status ' + request.status;
|
||||
}
|
||||
}
|
||||
finally {
|
||||
request = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
request.send(null);
|
||||
}
|
||||
|
||||
/**
|
||||
Highlights all elements containing source code on the current page. Elements
|
||||
containing source code must be "pre" elements with a "class" attribute of
|
||||
"sh_LANGUAGE", where LANGUAGE is a valid language identifier; e.g., "sh_java"
|
||||
identifies the element as containing "java" language source code.
|
||||
*/
|
||||
function sh_highlightDocument(prefix, suffix) {
|
||||
var nodeList = document.getElementsByTagName('pre');
|
||||
for (var i = 0; i < nodeList.length; i++) {
|
||||
var element = nodeList.item(i);
|
||||
var htmlClasses = sh_getClasses(element);
|
||||
for (var j = 0; j < htmlClasses.length; j++) {
|
||||
var htmlClass = htmlClasses[j].toLowerCase();
|
||||
if (htmlClass === 'sh_sourcecode') {
|
||||
continue;
|
||||
}
|
||||
if (htmlClass.substr(0, 3) === 'sh_') {
|
||||
var language = htmlClass.substring(3);
|
||||
if (language in sh_languages) {
|
||||
sh_highlightElement(element, sh_languages[language]);
|
||||
}
|
||||
else if (typeof(prefix) === 'string' && typeof(suffix) === 'string') {
|
||||
sh_load(language, element, prefix, suffix);
|
||||
}
|
||||
else {
|
||||
throw 'Found <pre> element with class="' + htmlClass + '", but no such language exists';
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
if (! this.sh_languages) {
|
||||
this.sh_languages = {};
|
||||
}
|
||||
sh_languages['xml'] = [
|
||||
[
|
||||
[
|
||||
/<\?xml/g,
|
||||
'sh_preproc',
|
||||
1,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!DOCTYPE/g,
|
||||
'sh_preproc',
|
||||
3,
|
||||
1
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
4
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-1
|
||||
],
|
||||
[
|
||||
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,
|
||||
'sh_keyword',
|
||||
5,
|
||||
1
|
||||
],
|
||||
[
|
||||
/&(?:[A-Za-z0-9]+);/g,
|
||||
'sh_preproc',
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\?>/g,
|
||||
'sh_preproc',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/\\(?:\\|")/g,
|
||||
null,
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
-2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/>/g,
|
||||
'sh_preproc',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/-->/g,
|
||||
'sh_comment',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/<!--/g,
|
||||
'sh_comment',
|
||||
4
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
/(?:\/)?>/g,
|
||||
'sh_keyword',
|
||||
-2
|
||||
],
|
||||
[
|
||||
/([^=" \t>]+)([ \t]*)(=?)/g,
|
||||
['sh_type', 'sh_normal', 'sh_symbol'],
|
||||
-1
|
||||
],
|
||||
[
|
||||
/"/g,
|
||||
'sh_string',
|
||||
2
|
||||
]
|
||||
]
|
||||
];
|
@ -1,184 +0,0 @@
|
||||
/**
|
||||
controller.js
|
||||
|
||||
(C) 2009 Rackspace Hosting, All Rights Reserved
|
||||
|
||||
This file definas a single object in global scope:
|
||||
|
||||
trc.schema.controller
|
||||
|
||||
The controller object is responsible for displaying a menu that
|
||||
allows users to view schema source and jump to various definitions
|
||||
in the schema.
|
||||
**/
|
||||
|
||||
|
||||
//
|
||||
// Initialization code...
|
||||
//
|
||||
(function()
|
||||
{
|
||||
//
|
||||
// Make sure dependecies are defined in the global scope, throw
|
||||
// an error if they are not.
|
||||
//
|
||||
if ((!window.trc) ||
|
||||
(!trc.util))
|
||||
{
|
||||
throw new Error("Require trc/util.js to be loaded.");
|
||||
}
|
||||
|
||||
//
|
||||
// We use YUI to build our controller menu make sure we have the
|
||||
// proper dependecies loaded, call init when we do...
|
||||
//
|
||||
|
||||
function InitController()
|
||||
{
|
||||
trc.schema.controller._init();
|
||||
}
|
||||
|
||||
trc.util.yui.loadYUIDeps (["menu"], InitController);
|
||||
})();
|
||||
|
||||
|
||||
if (!trc.schema)
|
||||
{
|
||||
trc.schema = new Object();
|
||||
}
|
||||
|
||||
trc.schema.controller = {
|
||||
//
|
||||
// Internal and external links by type:
|
||||
//
|
||||
// type --> array of links
|
||||
//
|
||||
// possible types include: import, include, element,
|
||||
// attribute, complextype, simpleType
|
||||
//
|
||||
// each link contains the following properties:
|
||||
// name : the name of the link
|
||||
// href : the link itself
|
||||
// title : a description of the link
|
||||
links : new Object(),
|
||||
|
||||
//
|
||||
// A single link that points to the schema index document.
|
||||
//
|
||||
index : null,
|
||||
|
||||
//
|
||||
// Our initialization function
|
||||
//
|
||||
_init : function() {
|
||||
//
|
||||
// Load the menu...
|
||||
//
|
||||
var controllerDiv = document.getElementById("Controller");
|
||||
var mainMenu = this._menuMarkup("mainmenu");
|
||||
|
||||
for (var linkType in this.links)
|
||||
{
|
||||
var subItem = this._menuItemMarkup(mainMenu, linkType, "#", null);
|
||||
var subMenu = this._menuMarkup (linkType+"_subMenu");
|
||||
|
||||
var items = this.links[linkType];
|
||||
for (var i=0;i<items.length;i++)
|
||||
{
|
||||
this._menuItemMarkup (subMenu,
|
||||
items[i].name,
|
||||
items[i].href,
|
||||
items[i].title);
|
||||
}
|
||||
subItem.item.appendChild (subMenu.main);
|
||||
}
|
||||
|
||||
//
|
||||
// Toggle view source menu
|
||||
//
|
||||
this._menuItemMarkup (mainMenu, "toggle src view",
|
||||
"javascript:trc.schema.sampleManager.toggleSrcView()", null);
|
||||
|
||||
//
|
||||
// Index schema document
|
||||
//
|
||||
if (this.index != null)
|
||||
{
|
||||
this._menuItemMarkup (mainMenu, this.index.name,
|
||||
this.index.href, this.index.title);
|
||||
}
|
||||
|
||||
controllerDiv.appendChild (mainMenu.main);
|
||||
var oMenu = new YAHOO.widget.Menu("mainmenu", {position: "static"});
|
||||
oMenu.render();
|
||||
oMenu.show();
|
||||
},
|
||||
|
||||
//
|
||||
// Builds menu markup returns the associated divs in the
|
||||
// properties main, body, header, footer, and list
|
||||
//
|
||||
_menuMarkup : function(id /*Id for main part*/)
|
||||
{
|
||||
//
|
||||
// Build our menu div...
|
||||
//
|
||||
var mainDiv = document.createElement("div");
|
||||
var headerDiv = document.createElement("div");
|
||||
var bodyDiv = document.createElement("div");
|
||||
var footerDiv = document.createElement("div");
|
||||
var listDiv = document.createElement("ul");
|
||||
|
||||
mainDiv.setAttribute ("id", id);
|
||||
trc.util.dom.setClassName (mainDiv, "yuimenu");
|
||||
trc.util.dom.setClassName (headerDiv, "hd");
|
||||
trc.util.dom.setClassName (bodyDiv, "bd");
|
||||
trc.util.dom.setClassName (footerDiv, "ft");
|
||||
|
||||
mainDiv.appendChild (headerDiv);
|
||||
mainDiv.appendChild (bodyDiv);
|
||||
mainDiv.appendChild (footerDiv);
|
||||
bodyDiv.appendChild (listDiv);
|
||||
|
||||
return {
|
||||
main : mainDiv,
|
||||
body : bodyDiv,
|
||||
header : headerDiv,
|
||||
footer : footerDiv,
|
||||
list : listDiv
|
||||
};
|
||||
},
|
||||
|
||||
//
|
||||
// Adds a menu item to existing markup.
|
||||
//
|
||||
_menuItemMarkup : function (menu, /*Markup returned from _menuMarkup*/
|
||||
name, /* String, menu item name */
|
||||
href, /* String, menu item href */
|
||||
title /* String, title (tool tip)*/
|
||||
)
|
||||
{
|
||||
var listItem = document.createElement ("li");
|
||||
var link = document.createElement ("a");
|
||||
|
||||
trc.util.dom.setClassName (listItem, "yuimenuitem");
|
||||
trc.util.dom.setClassName (link, "yuimenuitemlabel");
|
||||
|
||||
link.setAttribute ("href", href);
|
||||
|
||||
if (title != null)
|
||||
{
|
||||
link.setAttribute ("title", title);
|
||||
}
|
||||
|
||||
link.appendChild (document.createTextNode(name));
|
||||
|
||||
listItem.appendChild (link);
|
||||
menu.list.appendChild(listItem);
|
||||
|
||||
return {
|
||||
item : listItem,
|
||||
anchor : link
|
||||
};
|
||||
}
|
||||
};
|
@ -1,137 +0,0 @@
|
||||
/**
|
||||
layoutManager.js
|
||||
|
||||
(C) 2009 Rackspace Hosting, All Rights Reserved
|
||||
|
||||
This file contains code that adjusts the layout of a schema
|
||||
document after a dom has been loaded. It does not modify the
|
||||
global scope.
|
||||
**/
|
||||
|
||||
(function()
|
||||
{
|
||||
//
|
||||
// Make sure dependecies are defined in the global scope, throw
|
||||
// an error if they are not.
|
||||
//
|
||||
if ((!window.trc) ||
|
||||
(!trc.util))
|
||||
{
|
||||
throw new Error("Require trc/util.js to be loaded.");
|
||||
}
|
||||
|
||||
//
|
||||
// This function should be called when the DOM is loaded so we
|
||||
// can get to work adjusting things.
|
||||
//
|
||||
function InitLayoutManager()
|
||||
{
|
||||
layoutManager._init();
|
||||
}
|
||||
trc.util.browser.addInitFunction (InitLayoutManager);
|
||||
|
||||
var layoutManager={
|
||||
//
|
||||
// Initialization function...
|
||||
//
|
||||
_init : function()
|
||||
{
|
||||
this._adjustMain();
|
||||
this._adjustSubElements();
|
||||
},
|
||||
|
||||
//
|
||||
// Applies appropriate styles to body and other main content
|
||||
// tags.
|
||||
//
|
||||
_adjustMain : function()
|
||||
{
|
||||
//
|
||||
// Change the class name for the correct YUI skin name.
|
||||
//
|
||||
var bodyTags = document.getElementsByTagName("body");
|
||||
if (bodyTags.length == 0)
|
||||
{
|
||||
throw new Error ("Couldn't find body element, bad DOM?");
|
||||
}
|
||||
else
|
||||
{
|
||||
trc.util.dom.setClassName(bodyTags[0], "yui-skin-sam");
|
||||
}
|
||||
|
||||
//
|
||||
// Setout the layout...
|
||||
//
|
||||
var docDiv = document.getElementById("doc");
|
||||
var mainDiv = document.getElementById("Main");
|
||||
|
||||
trc.util.dom.setClassName (docDiv, "yui-t1");
|
||||
docDiv.setAttribute ("id", "doc3");
|
||||
mainDiv.setAttribute ("id", "yui-main");
|
||||
|
||||
//
|
||||
// Old IE browser hacks...
|
||||
//
|
||||
switch (trc.util.browser.detectIEVersion())
|
||||
{
|
||||
//
|
||||
// IE 6 does not support fixed positioning. The
|
||||
// following is a little hack to get it to work.
|
||||
//
|
||||
//
|
||||
case 6:
|
||||
var controllerDiv = document.getElementById("Controller");
|
||||
controllerDiv.style.position="absolute";
|
||||
window.setInterval((function(){
|
||||
/* avoid leak by constantly querying for the
|
||||
* controller. */
|
||||
var ctrlDiv = document.getElementById("Controller");
|
||||
ctrlDiv.style.top = document.documentElement.scrollTop+10;
|
||||
}), 1000);
|
||||
break;
|
||||
|
||||
//
|
||||
// The controller doesn't work **at all** in IE 7
|
||||
// don't even show it.
|
||||
//
|
||||
case 7:
|
||||
var controllerDiv = document.getElementById("Controller");
|
||||
controllerDiv.style.display = "none";
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
// Adds appropriate classes for subElements...
|
||||
//
|
||||
_adjustSubElements : function()
|
||||
{
|
||||
var divs = document.getElementsByTagName("div");
|
||||
for (var i=0;i<divs.length;i++)
|
||||
{
|
||||
var currentClass = divs[i].getAttribute ("class");
|
||||
var newClassName = currentClass;
|
||||
switch (currentClass)
|
||||
{
|
||||
case "SubItem" :
|
||||
newClassName += " yui-gd";
|
||||
break;
|
||||
case "SubItemProps" :
|
||||
newClassName += " yui-gd first";
|
||||
break;
|
||||
case "SubName" :
|
||||
newClassName += " yui-u first";
|
||||
break;
|
||||
case "SubAttributes" :
|
||||
case "SubDocumentation" :
|
||||
newClassName += " yui-u";
|
||||
break;
|
||||
}
|
||||
if (currentClass != newClassName)
|
||||
{
|
||||
trc.util.dom.setClassName (divs[i], newClassName);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
})();
|
@ -1,342 +0,0 @@
|
||||
/**
|
||||
schemaManager.js:
|
||||
|
||||
(C) 2009 Rackspace Hosting, All Rights Reserved
|
||||
|
||||
This file defines a single object in global scope:
|
||||
|
||||
trc.schema.sampleManager
|
||||
|
||||
The object is responsible for loading, formatting, and displaying
|
||||
samples in schema files. It expects trc.util to be defined which is
|
||||
provided in trc/util.js.
|
||||
|
||||
Code highlighting is provided by SHJS
|
||||
(http://shjs.sourceforge.net/). It should also be loaded before
|
||||
this code is initialized.
|
||||
|
||||
All methods/properties prepended with an underscore (_) are meant
|
||||
for internal use.
|
||||
**/
|
||||
|
||||
//
|
||||
// Initialization code...
|
||||
//
|
||||
(function()
|
||||
{
|
||||
//
|
||||
// Make sure dependecies are defined in the global scope, throw
|
||||
// an error if they are not.
|
||||
//
|
||||
if ((!window.trc) ||
|
||||
(!trc.util))
|
||||
{
|
||||
throw new Error("Require trc/util.js to be loaded.");
|
||||
}
|
||||
|
||||
//
|
||||
// Make sure syntax highlighter scripts are loaded, if not then
|
||||
// load them.
|
||||
//
|
||||
if (!window.sh_highlightDocument)
|
||||
{
|
||||
trc.util.dom.addStyle ("../style/shjs/sh_darkblue.css");
|
||||
|
||||
trc.util.dom.addScript ("../js/shjs/sh_main.js");
|
||||
trc.util.dom.addScript ("../js/shjs/sh_xml.js");
|
||||
trc.util.dom.addScript ("../js/shjs/sh_javascript.js");
|
||||
trc.util.dom.addScript ("../js/shjs/sh_java.js");
|
||||
}
|
||||
|
||||
function InitSchemaSampleManager()
|
||||
{
|
||||
trc.schema.sampleManager._init();
|
||||
}
|
||||
|
||||
trc.util.browser.addInitFunction(InitSchemaSampleManager);
|
||||
})();
|
||||
|
||||
//
|
||||
// Define trc.schema.sampleManager...
|
||||
//
|
||||
if (!trc.schema)
|
||||
{
|
||||
trc.schema = new Object();
|
||||
}
|
||||
trc.schema.sampleManager = {
|
||||
//
|
||||
// All sample data in an associative array:
|
||||
//
|
||||
// Select Element ID -> Array of sample ids.
|
||||
//
|
||||
samples : new Object(),
|
||||
|
||||
//
|
||||
// An array of code data..
|
||||
//
|
||||
// Code data is defined as an object with the following
|
||||
// properties:
|
||||
//
|
||||
// type: The mimetype of the code...href: The location of the code
|
||||
// or null if it's inline
|
||||
//
|
||||
// id: The id of the pre that contains the code.
|
||||
//
|
||||
// The initial object is the source code for the current document.
|
||||
//
|
||||
codes : new Array({
|
||||
id : "SrcContentCode",
|
||||
type : "application/xml",
|
||||
href : (function() {
|
||||
var ret = location.href;
|
||||
if (location.hash && (location.hash.length != 0))
|
||||
{
|
||||
ret = ret.replace (location.hash, "");
|
||||
}
|
||||
return ret;
|
||||
})()
|
||||
}),
|
||||
|
||||
//
|
||||
// Sets up the manager, begins the loading process...
|
||||
//
|
||||
_init : function() {
|
||||
//
|
||||
// Setup an array to hold data items to load, this is used by
|
||||
// the loadSample method.
|
||||
//
|
||||
this._toLoad = new Array();
|
||||
|
||||
for (var i=0;i<this.codes.length;i++)
|
||||
{
|
||||
if ((this.codes[i] != null) &&
|
||||
(this.codes[i].href != null))
|
||||
{
|
||||
this._toLoad.push (this.codes[i]);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Loads the code text
|
||||
//
|
||||
this._loadCode();
|
||||
},
|
||||
|
||||
//
|
||||
// Loads the next sample in the toLoad array.
|
||||
//
|
||||
_loadCode : function() {
|
||||
if (this._toLoad.length == 0)
|
||||
{
|
||||
//
|
||||
// All samples have been loaded, fire the loadComplete
|
||||
// method.
|
||||
//
|
||||
this._loadComplete();
|
||||
return;
|
||||
}
|
||||
|
||||
var codeData = this._toLoad.pop();
|
||||
var request = trc.util.net.getHTTPRequest();
|
||||
var manager = this;
|
||||
|
||||
request.onreadystatechange = function() {
|
||||
if (request.readyState == 4 /* Ready */) {
|
||||
if (request.status == 200 /* OKAY */) {
|
||||
manager._setCodeText (codeData, request.responseText);
|
||||
}
|
||||
else
|
||||
{
|
||||
manager._setCodeText (codeData, "Could not load sample ("+request.status+") "+request.responseText);
|
||||
}
|
||||
manager._loadCode();
|
||||
}
|
||||
};
|
||||
|
||||
request.open ("GET", codeData.href);
|
||||
request.send(null);
|
||||
},
|
||||
|
||||
//
|
||||
// Called after all samples are loaded into the DOM.
|
||||
//
|
||||
_loadComplete : function()
|
||||
{
|
||||
//
|
||||
// Normalize all code samples..
|
||||
//
|
||||
this._normalizeCodeText(1, 1, 5);
|
||||
|
||||
//
|
||||
// Perform syntax highlighting...
|
||||
//
|
||||
sh_highlightDocument();
|
||||
|
||||
//
|
||||
// All samples are initially hidden, show the selected
|
||||
// samples...
|
||||
//
|
||||
for (var optionID in this.samples)
|
||||
{
|
||||
this.showSample(optionID);
|
||||
}
|
||||
|
||||
//
|
||||
// We've adjusted the document, we need to setup the view so
|
||||
// that we're still pointing to the hash target.
|
||||
//
|
||||
if (window.location.hash &&
|
||||
(window.location.hash.length != 0))
|
||||
{
|
||||
window.location.href = window.location.hash;
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
// Sets code text replacing any text already existing there.
|
||||
//
|
||||
_setCodeText : function ( codeData /* Info of the code to set (code object) */,
|
||||
code /* Code text to set (string) */)
|
||||
{
|
||||
//
|
||||
// Preprocess the txt if necessary...
|
||||
//
|
||||
var ieVersion = trc.util.browser.detectIEVersion();
|
||||
if ((ieVersion > -1) &&
|
||||
(ieVersion < 8))
|
||||
{
|
||||
code = trc.util.text.unix2dos (code);
|
||||
}
|
||||
|
||||
var pre = document.getElementById(codeData.id);
|
||||
var preNodes = pre.childNodes;
|
||||
//
|
||||
// Remove placeholder data...
|
||||
//
|
||||
while (preNodes.length != 0)
|
||||
{
|
||||
pre.removeChild (preNodes[0]);
|
||||
}
|
||||
|
||||
//
|
||||
// Set the correct class type...
|
||||
//
|
||||
switch (codeData.type)
|
||||
{
|
||||
/*
|
||||
Javascript mimetypes
|
||||
*/
|
||||
case 'application/json':
|
||||
case 'application/javascript':
|
||||
case 'application/x-javascript':
|
||||
case 'application/ecmascript':
|
||||
case 'text/ecmascript':
|
||||
case 'text/javascript':
|
||||
trc.util.dom.setClassName (pre, "sh_javascript");
|
||||
break;
|
||||
/*
|
||||
Not real mimetypes but this is what we'll use for Java.
|
||||
*/
|
||||
case 'application/java':
|
||||
case 'text/java':
|
||||
trc.util.dom.setClassName (pre, "sh_java");
|
||||
break;
|
||||
default:
|
||||
trc.util.dom.setClassName (pre, "sh_xml");
|
||||
break;
|
||||
}
|
||||
|
||||
//
|
||||
// Add new code...
|
||||
//
|
||||
pre.appendChild (document.createTextNode (code));
|
||||
},
|
||||
|
||||
//
|
||||
// Retrives source code text
|
||||
//
|
||||
_getCodeText : function (codeData /* Info for the code to get*/)
|
||||
{
|
||||
var pre = document.getElementById(codeData.id);
|
||||
pre.normalize();
|
||||
//
|
||||
// Should be a single text node after pre...
|
||||
//
|
||||
return pre.firstChild.nodeValue;
|
||||
},
|
||||
|
||||
|
||||
//
|
||||
// Normalizes text by ensuring that top, bottom, right indent
|
||||
// levels are equal for all samples.
|
||||
//
|
||||
_normalizeCodeText : function (top, /* integer, top indent in lines */
|
||||
bottom, /* integer, bottom indent in lines */
|
||||
right /* integer, right indent in spaces */
|
||||
)
|
||||
{
|
||||
for (var i=0;i<this.codes.length;i++)
|
||||
{
|
||||
if (this.codes[i] != null)
|
||||
{
|
||||
var code = this._getCodeText (this.codes[i]);
|
||||
code = trc.util.text.setIndent (code, top, bottom, right);
|
||||
this._setCodeText (this.codes[i], code);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
// This event handler shows the appropriate sample given an ID
|
||||
// to the select element.
|
||||
//
|
||||
showSample : function (selectID) /* ID of the Select element */
|
||||
{
|
||||
//
|
||||
// Get the selected value
|
||||
//
|
||||
var selected = document.getElementById(selectID);
|
||||
var selectedValue = selected.options[selected.selectedIndex].value;
|
||||
var samples = this.samples[selectID];
|
||||
|
||||
//
|
||||
// Undisplay old samples, display selected ones.
|
||||
//
|
||||
for (var i=0;i<samples.length;i++)
|
||||
{
|
||||
if (samples[i] != null)
|
||||
{
|
||||
var sample = document.getElementById (samples[i]);
|
||||
if (samples[i] == selectedValue)
|
||||
{
|
||||
sample.style.display = "block";
|
||||
}
|
||||
else
|
||||
{
|
||||
sample.style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
// Toggles the current source view. If the source is displayed it
|
||||
// undisplays it and vice versa.
|
||||
//
|
||||
toggleSrcView : function()
|
||||
{
|
||||
var content = document.getElementById ("Content");
|
||||
var src = document.getElementById ("SrcContent");
|
||||
|
||||
if (content.style.display != "none")
|
||||
{
|
||||
content.style.display = "none";
|
||||
src.style.display = "block";
|
||||
}
|
||||
else
|
||||
{
|
||||
content.style.display = "block";
|
||||
src.style.display = "none";
|
||||
}
|
||||
}
|
||||
};
|
@ -1,565 +0,0 @@
|
||||
/**
|
||||
util.js:
|
||||
|
||||
(C) 2009 Rackspace Hosting, All Rights Reserved
|
||||
|
||||
This file defines a single object in global scope:
|
||||
|
||||
trc.util
|
||||
|
||||
The util object contains internal objects which contain useful
|
||||
utility properties and methods.
|
||||
|
||||
trc.util.browser: contains methods for browser detection.
|
||||
|
||||
trc.util.dom: contains methods for manipulating the DOM.
|
||||
|
||||
trc.util.text: contains methods and properties useful when working
|
||||
with plain text.
|
||||
|
||||
trc.util.net: contains methods for creating HTTP requests.
|
||||
|
||||
trc.util.yui : contains methods for working with the YUI toolkit.
|
||||
|
||||
All methods/properties pre-pended with an underscore (_) are meant
|
||||
for internal use.
|
||||
**/
|
||||
|
||||
//
|
||||
// Define TRC
|
||||
//
|
||||
if (!window.trc)
|
||||
{
|
||||
trc= new Object();
|
||||
}
|
||||
trc.util = new Object();
|
||||
trc.util.browser = {
|
||||
//
|
||||
// Returns the current version of IE, or -1 if it's not an IE
|
||||
// browser. This is one of the recommended ways of detecting IE
|
||||
// see:
|
||||
//
|
||||
// http://msdn.microsoft.com/en-us/library/ms537509%28VS.85%29.aspx
|
||||
//
|
||||
detectIEVersion : function() {
|
||||
var rv = -1; // Return value assumes failure.
|
||||
if (navigator.appName == 'Microsoft Internet Explorer')
|
||||
{
|
||||
var ua = navigator.userAgent;
|
||||
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
|
||||
if (re.exec(ua) != null)
|
||||
rv = parseFloat( RegExp.$1 );
|
||||
}
|
||||
return rv;
|
||||
},
|
||||
|
||||
//
|
||||
// A list of functions to execute on init.
|
||||
//
|
||||
_initFuns : new Array(),
|
||||
|
||||
//
|
||||
// Has the init function event been set?
|
||||
//
|
||||
_initFunSet: false,
|
||||
|
||||
//
|
||||
// Function called when the DOM has loaded. It launches all init
|
||||
// functions.
|
||||
//
|
||||
_onInit : function()
|
||||
{
|
||||
//
|
||||
// Sort by order...
|
||||
//
|
||||
this._initFuns.sort(function(a, b){ return a.order - b.order; });
|
||||
for (var i=0;i<this._initFuns.length;i++)
|
||||
{
|
||||
this._initFuns[i]();
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
// Adds a function that should be executed when the dom is
|
||||
// loaded.
|
||||
//
|
||||
addInitFunction : function(init, /* The function to call after dom
|
||||
* is loaded.*/
|
||||
|
||||
order /* An optional int value that specifies
|
||||
* the order in which the function runs.
|
||||
* The greater the int value, the
|
||||
* later the function runs. Default is
|
||||
* 1.*/
|
||||
) {
|
||||
if (arguments.length < 2)
|
||||
{
|
||||
init.order = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
init.order = order;
|
||||
}
|
||||
this._initFuns.push (init);
|
||||
|
||||
if (!this._initFunSet)
|
||||
{
|
||||
var butil = this;
|
||||
function initFun()
|
||||
{
|
||||
return (function(){ butil._onInit(); });
|
||||
}
|
||||
|
||||
//
|
||||
// Try event listeners, attachEvent and if that fails use
|
||||
// window.onload...
|
||||
//
|
||||
if (window.addEventListener)
|
||||
{
|
||||
window.addEventListener("load", initFun(), false);
|
||||
} else if (window.attachEvent)
|
||||
{
|
||||
window.attachEvent ("onload", initFun());
|
||||
} else
|
||||
{
|
||||
window.onload = initFun();
|
||||
}
|
||||
|
||||
this._initFunSet = true;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
trc.util.dom = {
|
||||
//
|
||||
// Adds a new script tag to the current DOM.
|
||||
//
|
||||
addScript : function (src /* Script href */)
|
||||
{
|
||||
var scriptElement = document.createElement ("script");
|
||||
scriptElement.setAttribute ("type", "text/javascript");
|
||||
scriptElement.setAttribute ("src", src);
|
||||
|
||||
this.addToHead (scriptElement);
|
||||
},
|
||||
|
||||
//
|
||||
// Adds a new style sheet to the current DOM.
|
||||
//
|
||||
addStyle : function (src /* Stylesheet href */)
|
||||
{
|
||||
var linkElement = document.createElement ("link");
|
||||
linkElement.setAttribute ("rel", "stylesheet");
|
||||
linkElement.setAttribute ("type", "text/css");
|
||||
linkElement.setAttribute ("href", src);
|
||||
|
||||
this.addToHead (linkElement);
|
||||
},
|
||||
|
||||
//
|
||||
// Adds a DOM node to the HTTP head element. The element is
|
||||
// always added as the last child an error is thrown if the
|
||||
// head element can't be found.
|
||||
//
|
||||
addToHead : function (node /* A DOM node */)
|
||||
{
|
||||
var headArray = document.getElementsByTagName("head");
|
||||
if (headArray.length == 0)
|
||||
{
|
||||
throw new Error("Couldn't find head element, bad DOM?");
|
||||
}
|
||||
else
|
||||
{
|
||||
headArray[0].appendChild (node);
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
// Utility function for setting the class name of an
|
||||
// element. Eventually we'll move completely to XHTML, but
|
||||
// this will never work in IE 6, so for now we need this
|
||||
// method for setting the class name.
|
||||
//
|
||||
setClassName : function (element, /* DOM Element*/
|
||||
name /* Class name to use */
|
||||
)
|
||||
{
|
||||
var ieVersion = trc.util.browser.detectIEVersion();
|
||||
|
||||
if ((ieVersion > -1) &&
|
||||
(ieVersion < 7))
|
||||
{
|
||||
element.className = name;
|
||||
}
|
||||
else
|
||||
{
|
||||
element.setAttribute ("class",name);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
trc.util.text = {
|
||||
//
|
||||
// Useful RegExps
|
||||
//
|
||||
blank : new RegExp ("^\\s*$"), /* A blank string */
|
||||
indent : new RegExp ("^\\s+"), /* Line indent */
|
||||
lines : new RegExp ("$","m"), /* All lines */
|
||||
linechars : new RegExp ("(\n|\r)"), /* EOL line characters */
|
||||
tabs : new RegExp ("\t","g"), /* All tabs */
|
||||
|
||||
//
|
||||
// We need this because Microsoft browsers before IE 7 cannot
|
||||
// display pre-formatted text correctly win unix style line
|
||||
// endings.
|
||||
//
|
||||
unix2dos : function(txt /* String */) {
|
||||
//if already DOS...
|
||||
if (txt.search(/\r\n/) != -1)
|
||||
{
|
||||
return txt;
|
||||
}
|
||||
return txt.replace (/\n/g, "\r\n");
|
||||
},
|
||||
|
||||
//
|
||||
// Useful to normalize text.
|
||||
//
|
||||
dos2unix : function(txt /* String */) {
|
||||
//if already unix...
|
||||
if (txt.search(/\r\n/) == -1)
|
||||
{
|
||||
return txt;
|
||||
}
|
||||
|
||||
return txt.replace(/\r/g, "");
|
||||
},
|
||||
|
||||
//
|
||||
// Create a string with a character repeated x times.
|
||||
//
|
||||
repString : function (length, /* integer, size of the string to create */
|
||||
ch /* string, The character to set the string to */
|
||||
)
|
||||
{
|
||||
var ret = new String();
|
||||
for (var i=0;i<length;i++) {ret=ret.concat(ch);}
|
||||
|
||||
return ret;
|
||||
},
|
||||
|
||||
//
|
||||
// Replace tabs in a text with strings.
|
||||
//
|
||||
replaceTabs : function (txt, /* String to modify */
|
||||
length /* integer, tab length in spaces */
|
||||
)
|
||||
{
|
||||
var tabs = this.repString(length, " ");
|
||||
return txt.replace (this.tabs, tabs);
|
||||
},
|
||||
|
||||
//
|
||||
// Given multi-line text returns Adjust top and bottom indent
|
||||
// (in lines) and right indent (in spaces)
|
||||
//
|
||||
setIndent : function (txt, /* String */
|
||||
top, /* integer, top indent in lines */
|
||||
bottom, /* integer, bottom indent in lines */
|
||||
right /* integer, right indent in spaces */
|
||||
)
|
||||
{
|
||||
//
|
||||
// Can't indent an empty string..
|
||||
//
|
||||
if (txt.length == 0)
|
||||
{
|
||||
return txt;
|
||||
}
|
||||
|
||||
//
|
||||
// If not 0, bottom will be off by one...
|
||||
//
|
||||
if (bottom != 0)
|
||||
{
|
||||
bottom++;
|
||||
}
|
||||
|
||||
var head=this.repString (top, "\n");
|
||||
var tail=this.repString (bottom, "\n");
|
||||
var marg=this.repString (right, " ");
|
||||
var ntxt = this.dos2unix(txt);
|
||||
var ntxt = this.replaceTabs (ntxt, 8);
|
||||
var lines = ntxt.split (this.lines);
|
||||
var origIndent=Number.MAX_VALUE;
|
||||
var origIndentStr;
|
||||
|
||||
//
|
||||
// Look up indent.
|
||||
//
|
||||
for (var i=0;i<lines.length;i++)
|
||||
{
|
||||
//
|
||||
// Remove EOL characters...
|
||||
//
|
||||
lines[i] = lines[i].replace (this.linechars, "");
|
||||
|
||||
//
|
||||
// Ignore blank lines
|
||||
//
|
||||
if (lines[i].match(this.blank) != null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
// Detect the indent if any...
|
||||
//
|
||||
var result = lines[i].match(this.indent);
|
||||
if (result == null)
|
||||
{
|
||||
origIndent = 0;
|
||||
origIndentStr = "";
|
||||
}
|
||||
else if (result[0].length < origIndent)
|
||||
{
|
||||
origIndent = result[0].length;
|
||||
origIndentStr = result[0];
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// This implies that all line are blank...can't indent.
|
||||
//
|
||||
if (origIndent == Number.MAX_VALUE)
|
||||
{
|
||||
return txt;
|
||||
}
|
||||
|
||||
if (origIndent != 0)
|
||||
{
|
||||
var regExStr = "^";
|
||||
for (var i=0;i<origIndent;i++)
|
||||
{
|
||||
regExStr=regExStr.concat("\\s");
|
||||
}
|
||||
var indent = new RegExp(regExStr);
|
||||
for (var i=0;i<lines.length;i++)
|
||||
{
|
||||
lines[i] = lines[i].replace(indent,marg);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (var i=0;i<lines.length;i++)
|
||||
{
|
||||
lines[i] = marg.concat (lines[i]);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Remove top...
|
||||
//
|
||||
while (lines.length != 0)
|
||||
{
|
||||
if (lines[0].match(this.blank))
|
||||
{
|
||||
lines.shift();
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Remove bottom...
|
||||
//
|
||||
while (lines.length != 0)
|
||||
{
|
||||
if (lines[lines.length-1].match(this.blank))
|
||||
{
|
||||
lines.pop();
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
var indented = lines.join("\n");
|
||||
indented=head.concat(indented, tail);
|
||||
|
||||
return indented;
|
||||
}
|
||||
};
|
||||
|
||||
trc.util.net = {
|
||||
//
|
||||
// A list of possible factories for creating an XMLHTTPRequest
|
||||
//
|
||||
_HTTPReqFactories :
|
||||
[
|
||||
function() { return new XMLHttpRequest(); },
|
||||
function() { return new ActiveXObject("Msxml2.XMLHTTP"); },
|
||||
function() { return new ActiveXObject("Microsoft.XMLHTTP"); }
|
||||
],
|
||||
|
||||
//
|
||||
// A cached XMLHTTPRequest factory that we know works in this
|
||||
// browser
|
||||
//
|
||||
_HTTPReqFactory : null,
|
||||
|
||||
//
|
||||
// Provides a way of getting an HTTPRequest object in a
|
||||
// platform independent manner
|
||||
//
|
||||
getHTTPRequest : function()
|
||||
{
|
||||
//
|
||||
// Use cache if available..
|
||||
//
|
||||
if (this._HTTPReqFactory != null) return this._HTTPReqFactory();
|
||||
|
||||
//
|
||||
// Search for a factory..
|
||||
//
|
||||
for (var i=0; i< this._HTTPReqFactories.length; i++)
|
||||
{
|
||||
try {
|
||||
var factory = this._HTTPReqFactories[i];
|
||||
var request = factory();
|
||||
if (request != null)
|
||||
{
|
||||
this._HTTPReqFactory = factory;
|
||||
return request;
|
||||
}
|
||||
} catch (e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Looks like we don't have support for XMLHttpRequest...
|
||||
//
|
||||
this._HTTPReqFactory = function() {throw new Error("XMLHttpRequest not supported");}
|
||||
this._HTTPReqFactory();
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// Init code for trc.util.yui...
|
||||
//
|
||||
(function()
|
||||
{
|
||||
//
|
||||
// Menu make sure we have the YUI loader as it's used by our
|
||||
// init function to load YUI components.
|
||||
//
|
||||
if (!window.YAHOO)
|
||||
{
|
||||
//
|
||||
// We are currently using YUI on YAHOO!'s servers we may
|
||||
// want to change this.
|
||||
//
|
||||
var YUI_BASE="http://yui.yahooapis.com/2.7.0/";
|
||||
|
||||
trc.util.dom.addScript (YUI_BASE+"build/yuiloader/yuiloader-min.js");
|
||||
}
|
||||
|
||||
function InitYUIUtil()
|
||||
{
|
||||
trc.util.yui._init();
|
||||
}
|
||||
trc.util.browser.addInitFunction (InitYUIUtil);
|
||||
})();
|
||||
|
||||
trc.util.yui = {
|
||||
//
|
||||
// A list of dependencies to be passed to the YUI loader. This is
|
||||
// essentially a hash set: dep->dep.
|
||||
//
|
||||
_deps : new Object(),
|
||||
|
||||
//
|
||||
// An array of callback functions, these should be called when all
|
||||
// dependencies are loaded.
|
||||
//
|
||||
_callbacks : new Array(),
|
||||
|
||||
//
|
||||
// The init function simply calls the YUI loader...
|
||||
//
|
||||
_init : function() {
|
||||
var yuiUtil = this;
|
||||
|
||||
//
|
||||
// It takes safari a while to load the YUI Loader if it hasn't
|
||||
// loaded yet keep trying at 1/4 second intervals
|
||||
//
|
||||
if (!window.YAHOO)
|
||||
{
|
||||
window.setTimeout (function() {
|
||||
yuiUtil._init();
|
||||
}, 250);
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// Collect requirements...
|
||||
//
|
||||
var required = new Array();
|
||||
for (var req in this._deps)
|
||||
{
|
||||
required.push (req);
|
||||
}
|
||||
|
||||
//
|
||||
// Load YUI dependencies...
|
||||
//
|
||||
var loader = new YAHOO.util.YUILoader({
|
||||
require: required,
|
||||
loadOptional: true,
|
||||
filter: "RAW",
|
||||
onSuccess: function() {
|
||||
yuiUtil._depsLoaded();
|
||||
},
|
||||
timeout: 10000,
|
||||
combine: true
|
||||
});
|
||||
loader.insert();
|
||||
},
|
||||
|
||||
//
|
||||
// Called after all dependencies are loaded
|
||||
//
|
||||
_depsLoaded : function() {
|
||||
//
|
||||
// Dependencies are loaded - let everyone know.
|
||||
//
|
||||
for (var i=0;i<this._callbacks.length;i++)
|
||||
{
|
||||
this._callbacks[i]();
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
// Request that one or more YUI dependencies are loaded.
|
||||
//
|
||||
loadYUIDeps : function (deps, /* An array of dep strings.*/
|
||||
callback /* A function to call when dependencies are loaded.*/
|
||||
)
|
||||
{
|
||||
for (var i=0;i<deps.length;i++)
|
||||
{
|
||||
this._deps[deps[i]] = deps[i];
|
||||
}
|
||||
if (callback != null)
|
||||
{
|
||||
this._callbacks.push (callback);
|
||||
}
|
||||
}
|
||||
};
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"cpu0_time": 17300000000,
|
||||
"memory": 524288,
|
||||
"vda_errors": -1,
|
||||
"vda_read": 262144,
|
||||
"vda_read_req": 112,
|
||||
"vda_write": 5778432,
|
||||
"vda_write_req": 488,
|
||||
"vnet1_rx": 2070139,
|
||||
"vnet1_rx_drop": 0,
|
||||
"vnet1_rx_errors": 0,
|
||||
"vnet1_rx_packets": 26701,
|
||||
"vnet1_tx": 140208,
|
||||
"vnet1_tx_drop": 0,
|
||||
"vnet1_tx_errors": 0,
|
||||
"vnet1_tx_packets": 662
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"extension": {
|
||||
"updated": "2014-12-03T00:00:00Z",
|
||||
"name": "ServerExternalEvents",
|
||||
"links": [],
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"alias": "os-server-external-events",
|
||||
"description": "Server External Event Triggers."
|
||||
}
|
||||
}
|
@ -1,724 +0,0 @@
|
||||
{
|
||||
"extensions": [
|
||||
{
|
||||
"alias": "NMN",
|
||||
"description": "Multiple network support.",
|
||||
"links": [],
|
||||
"name": "Multinic",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/multinic/api/v1.1",
|
||||
"updated": "2011-06-09T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-DCF",
|
||||
"description": "Disk Management Extension.",
|
||||
"links": [],
|
||||
"name": "DiskConfig",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/disk_config/api/v1.1",
|
||||
"updated": "2011-09-27T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-AZ",
|
||||
"description": "Extended Availability Zone support.",
|
||||
"links": [],
|
||||
"name": "ExtendedAvailabilityZone",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_availability_zone/api/v2",
|
||||
"updated": "2013-01-30T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-IMG-SIZE",
|
||||
"description": "Adds image size to image listings.",
|
||||
"links": [],
|
||||
"name": "ImageSize",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/image_size/api/v1.1",
|
||||
"updated": "2013-02-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-IPS",
|
||||
"description": "Adds type parameter to the ip list.",
|
||||
"links": [],
|
||||
"name": "ExtendedIps",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_ips/api/v1.1",
|
||||
"updated": "2013-01-06T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-IPS-MAC",
|
||||
"description": "Adds mac address parameter to the ip list.",
|
||||
"links": [],
|
||||
"name": "ExtendedIpsMac",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_ips_mac/api/v1.1",
|
||||
"updated": "2013-03-07T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-SRV-ATTR",
|
||||
"description": "Extended Server Attributes support.",
|
||||
"links": [],
|
||||
"name": "ExtendedServerAttributes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_status/api/v1.1",
|
||||
"updated": "2011-11-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-STS",
|
||||
"description": "Extended Status support.",
|
||||
"links": [],
|
||||
"name": "ExtendedStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_status/api/v1.1",
|
||||
"updated": "2011-11-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-VIF-NET",
|
||||
"description": "Adds network id parameter to the virtual interface list.",
|
||||
"links": [],
|
||||
"name": "ExtendedVIFNet",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended-virtual-interfaces-net/api/v1.1",
|
||||
"updated": "2013-03-07T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-FLV-DISABLED",
|
||||
"description": "Support to show the disabled status of a flavor.",
|
||||
"links": [],
|
||||
"name": "FlavorDisabled",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1",
|
||||
"updated": "2012-08-29T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-FLV-EXT-DATA",
|
||||
"description": "Provide additional data for flavors.",
|
||||
"links": [],
|
||||
"name": "FlavorExtraData",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1",
|
||||
"updated": "2011-09-14T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-SCH-HNT",
|
||||
"description": "Pass arbitrary key/value pairs to the scheduler.",
|
||||
"links": [],
|
||||
"name": "SchedulerHints",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/scheduler-hints/api/v2",
|
||||
"updated": "2011-07-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-SRV-USG",
|
||||
"description": "Adds launched_at and terminated_at on Servers.",
|
||||
"links": [],
|
||||
"name": "ServerUsage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/server_usage/api/v1.1",
|
||||
"updated": "2013-04-29T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-admin-actions",
|
||||
"description": "Enable admin-only server actions\n\n Actions include: pause, unpause, suspend, resume, migrate,\n resetNetwork, injectNetworkInfo, lock, unlock, createBackup\n ",
|
||||
"links": [],
|
||||
"name": "AdminActions",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/admin-actions/api/v1.1",
|
||||
"updated": "2011-09-20T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-agents",
|
||||
"description": "Agents support.",
|
||||
"links": [],
|
||||
"name": "Agents",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/agents/api/v2",
|
||||
"updated": "2012-10-28T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-aggregates",
|
||||
"description": "Admin-only aggregate administration.",
|
||||
"links": [],
|
||||
"name": "Aggregates",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/aggregates/api/v1.1",
|
||||
"updated": "2012-01-12T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-assisted-volume-snapshots",
|
||||
"description": "Assisted volume snapshots.",
|
||||
"links": [],
|
||||
"name": "AssistedVolumeSnapshots",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/assisted-volume-snapshots/api/v2",
|
||||
"updated": "2013-08-29T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-attach-interfaces",
|
||||
"description": "Attach interface support.",
|
||||
"links": [],
|
||||
"name": "AttachInterfaces",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/interfaces/api/v1.1",
|
||||
"updated": "2012-07-22T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-availability-zone",
|
||||
"description": "1. Add availability_zone to the Create Server v1.1 API.\n 2. Add availability zones describing.\n ",
|
||||
"links": [],
|
||||
"name": "AvailabilityZone",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/availabilityzone/api/v1.1",
|
||||
"updated": "2012-12-21T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-baremetal-ext-status",
|
||||
"description": "Add extended status in Baremetal Nodes v2 API.",
|
||||
"links": [],
|
||||
"name": "BareMetalExtStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/baremetal_ext_status/api/v2",
|
||||
"updated": "2013-08-27T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-baremetal-nodes",
|
||||
"description": "Admin-only bare-metal node administration.",
|
||||
"links": [],
|
||||
"name": "BareMetalNodes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/baremetal_nodes/api/v2",
|
||||
"updated": "2013-01-04T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-block-device-mapping-v2-boot",
|
||||
"description": "Allow boot with the new BDM data format.",
|
||||
"links": [],
|
||||
"name": "BlockDeviceMappingV2Boot",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/block_device_mapping_v2_boot/api/v2",
|
||||
"updated": "2013-07-08T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cell-capacities",
|
||||
"description": "Adding functionality to get cell capacities.",
|
||||
"links": [],
|
||||
"name": "CellCapacities",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/cell_capacities/api/v1.1",
|
||||
"updated": "2013-05-27T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cells",
|
||||
"description": "Enables cells-related functionality such as adding neighbor cells,\n listing neighbor cells, and getting the capabilities of the local cell.\n ",
|
||||
"links": [],
|
||||
"name": "Cells",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/cells/api/v1.1",
|
||||
"updated": "2013-05-14T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-certificates",
|
||||
"description": "Certificates support.",
|
||||
"links": [],
|
||||
"name": "Certificates",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/certificates/api/v1.1",
|
||||
"updated": "2012-01-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cloudpipe",
|
||||
"description": "Adds actions to create cloudpipe instances.\n\n When running with the Vlan network mode, you need a mechanism to route\n from the public Internet to your vlans. This mechanism is known as a\n cloudpipe.\n\n At the time of creating this class, only OpenVPN is supported. Support for\n a SSH Bastion host is forthcoming.\n ",
|
||||
"links": [],
|
||||
"name": "Cloudpipe",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/cloudpipe/api/v1.1",
|
||||
"updated": "2011-12-16T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cloudpipe-update",
|
||||
"description": "Adds the ability to set the vpn ip/port for cloudpipe instances.",
|
||||
"links": [],
|
||||
"name": "CloudpipeUpdate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/cloudpipe-update/api/v2",
|
||||
"updated": "2012-11-14T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-config-drive",
|
||||
"description": "Config Drive Extension.",
|
||||
"links": [],
|
||||
"name": "ConfigDrive",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/config_drive/api/v1.1",
|
||||
"updated": "2012-07-16T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-console-auth-tokens",
|
||||
"description": "Console token authentication support.",
|
||||
"links": [],
|
||||
"name": "ConsoleAuthTokens",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/consoles-auth-tokens/api/v2",
|
||||
"updated": "2013-08-13T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-console-output",
|
||||
"description": "Console log output support, with tailing ability.",
|
||||
"links": [],
|
||||
"name": "ConsoleOutput",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/os-console-output/api/v2",
|
||||
"updated": "2011-12-08T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-consoles",
|
||||
"description": "Interactive Console support.",
|
||||
"links": [],
|
||||
"name": "Consoles",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/os-consoles/api/v2",
|
||||
"updated": "2011-12-23T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-create-server-ext",
|
||||
"description": "Extended support to the Create Server v1.1 API.",
|
||||
"links": [],
|
||||
"name": "Createserverext",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/createserverext/api/v1.1",
|
||||
"updated": "2011-07-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-deferred-delete",
|
||||
"description": "Instance deferred delete.",
|
||||
"links": [],
|
||||
"name": "DeferredDelete",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/deferred-delete/api/v1.1",
|
||||
"updated": "2011-09-01T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-evacuate",
|
||||
"description": "Enables server evacuation.",
|
||||
"links": [],
|
||||
"name": "Evacuate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/evacuate/api/v2",
|
||||
"updated": "2013-01-06T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-evacuate-find-host",
|
||||
"description": "Enables server evacuation without target host. Scheduler will select\n one to target.\n ",
|
||||
"links": [],
|
||||
"name": "ExtendedEvacuateFindHost",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_evacuate_find_host/api/v2",
|
||||
"updated": "2014-02-12T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-floating-ips",
|
||||
"description": "Adds optional fixed_address to the add floating IP command.",
|
||||
"links": [],
|
||||
"name": "ExtendedFloatingIps",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_floating_ips/api/v2",
|
||||
"updated": "2013-04-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-hypervisors",
|
||||
"description": "Extended hypervisors support.",
|
||||
"links": [],
|
||||
"name": "ExtendedHypervisors",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_hypervisors/api/v1.1",
|
||||
"updated": "2014-01-04T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-networks",
|
||||
"description": "Adds additional fields to networks",
|
||||
"links": [],
|
||||
"name": "ExtendedNetworks",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_networks/api/v2",
|
||||
"updated": "2014-05-09T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-quotas",
|
||||
"description": "Adds ability for admins to delete quota\n and optionally force the update Quota command.\n ",
|
||||
"links": [],
|
||||
"name": "ExtendedQuotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_quotas/api/v1.1",
|
||||
"updated": "2013-06-09T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-rescue-with-image",
|
||||
"description": "Allow the user to specify the image to use for rescue.",
|
||||
"links": [],
|
||||
"name": "ExtendedRescueWithImage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_rescue_with_image/api/v2",
|
||||
"updated": "2014-01-04T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hypervisor-status",
|
||||
"description": "Show hypervisor status.",
|
||||
"links": [],
|
||||
"name": "HypervisorStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/hypervisor_status/api/v1.1",
|
||||
"updated": "2014-04-17T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-services",
|
||||
"description": "Extended services support.",
|
||||
"links": [],
|
||||
"name": "ExtendedServices",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_services/api/v2",
|
||||
"updated": "2013-05-17T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-services-delete",
|
||||
"description": "Extended services deletion support.",
|
||||
"links": [],
|
||||
"name": "ExtendedServicesDelete",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_services_delete/api/v2",
|
||||
"updated": "2013-12-10T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-volumes",
|
||||
"description": "Extended Volumes support.",
|
||||
"links": [],
|
||||
"name": "ExtendedVolumes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/extended_volumes/api/v1.1",
|
||||
"updated": "2013-06-07T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-fixed-ips",
|
||||
"description": "Fixed IPs support.",
|
||||
"links": [],
|
||||
"name": "FixedIPs",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fixed_ips/api/v2",
|
||||
"updated": "2012-10-18T19:25:27Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-access",
|
||||
"description": "Flavor access support.",
|
||||
"links": [],
|
||||
"name": "FlavorAccess",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/flavor_access/api/v2",
|
||||
"updated": "2012-08-01T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-extra-specs",
|
||||
"description": "Instance type (flavor) extra specs.",
|
||||
"links": [],
|
||||
"name": "FlavorExtraSpecs",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/flavor_extra_specs/api/v1.1",
|
||||
"updated": "2011-06-23T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-manage",
|
||||
"description": "Flavor create/delete API support.",
|
||||
"links": [],
|
||||
"name": "FlavorManage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/flavor_manage/api/v1.1",
|
||||
"updated": "2012-01-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-rxtx",
|
||||
"description": "Support to show the rxtx status of a flavor.",
|
||||
"links": [],
|
||||
"name": "FlavorRxtx",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/flavor_rxtx/api/v1.1",
|
||||
"updated": "2012-08-29T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-swap",
|
||||
"description": "Support to show the swap status of a flavor.",
|
||||
"links": [],
|
||||
"name": "FlavorSwap",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/flavor_swap/api/v1.1",
|
||||
"updated": "2012-08-29T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ip-dns",
|
||||
"description": "Floating IP DNS support.",
|
||||
"links": [],
|
||||
"name": "FloatingIpDns",
|
||||
"namespace": "http://docs.openstack.org/ext/floating_ip_dns/api/v1.1",
|
||||
"updated": "2011-12-23T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ip-pools",
|
||||
"description": "Floating IPs support.",
|
||||
"links": [],
|
||||
"name": "FloatingIpPools",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/floating_ip_pools/api/v1.1",
|
||||
"updated": "2012-01-04T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ips",
|
||||
"description": "Floating IPs support.",
|
||||
"links": [],
|
||||
"name": "FloatingIps",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/floating_ips/api/v1.1",
|
||||
"updated": "2011-06-16T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ips-bulk",
|
||||
"description": "Bulk handling of Floating IPs.",
|
||||
"links": [],
|
||||
"name": "FloatingIpsBulk",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/floating_ips_bulk/api/v2",
|
||||
"updated": "2012-10-29T19:25:27Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-fping",
|
||||
"description": "Fping Management Extension.",
|
||||
"links": [],
|
||||
"name": "Fping",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fping/api/v1.1",
|
||||
"updated": "2012-07-06T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hide-server-addresses",
|
||||
"description": "Support hiding server addresses in certain states.",
|
||||
"links": [],
|
||||
"name": "HideServerAddresses",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/hide_server_addresses/api/v1.1",
|
||||
"updated": "2012-12-11T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hosts",
|
||||
"description": "Admin-only host administration.",
|
||||
"links": [],
|
||||
"name": "Hosts",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/hosts/api/v1.1",
|
||||
"updated": "2011-06-29T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hypervisors",
|
||||
"description": "Admin-only hypervisor administration.",
|
||||
"links": [],
|
||||
"name": "Hypervisors",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/hypervisors/api/v1.1",
|
||||
"updated": "2012-06-21T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-instance-actions",
|
||||
"description": "View a log of actions and events taken on an instance.",
|
||||
"links": [],
|
||||
"name": "InstanceActions",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/instance-actions/api/v1.1",
|
||||
"updated": "2013-02-08T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-instance_usage_audit_log",
|
||||
"description": "Admin-only Task Log Monitoring.",
|
||||
"links": [],
|
||||
"name": "OSInstanceUsageAuditLog",
|
||||
"namespace": "http://docs.openstack.org/ext/services/api/v1.1",
|
||||
"updated": "2012-07-06T01:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-keypairs",
|
||||
"description": "Keypair Support.",
|
||||
"links": [],
|
||||
"name": "Keypairs",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/keypairs/api/v1.1",
|
||||
"updated": "2011-08-08T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-migrations",
|
||||
"description": "Provide data on migrations.",
|
||||
"links": [],
|
||||
"name": "Migrations",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/migrations/api/v2.0",
|
||||
"updated": "2013-05-30T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-multiple-create",
|
||||
"description": "Allow multiple create in the Create Server v1.1 API.",
|
||||
"links": [],
|
||||
"name": "MultipleCreate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/multiplecreate/api/v1.1",
|
||||
"updated": "2012-08-07T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-networks",
|
||||
"description": "Admin-only Network Management Extension.",
|
||||
"links": [],
|
||||
"name": "Networks",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/os-networks/api/v1.1",
|
||||
"updated": "2011-12-23T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-networks-associate",
|
||||
"description": "Network association support.",
|
||||
"links": [],
|
||||
"name": "NetworkAssociationSupport",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/networks_associate/api/v2",
|
||||
"updated": "2012-11-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-preserve-ephemeral-rebuild",
|
||||
"description": "Allow preservation of the ephemeral partition on rebuild.",
|
||||
"links": [],
|
||||
"name": "PreserveEphemeralOnRebuild",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/preserve_ephemeral_rebuild/api/v2",
|
||||
"updated": "2013-12-17T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-quota-class-sets",
|
||||
"description": "Quota classes management support.",
|
||||
"links": [],
|
||||
"name": "QuotaClasses",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/quota-classes-sets/api/v1.1",
|
||||
"updated": "2012-03-12T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-quota-sets",
|
||||
"description": "Quotas management support.",
|
||||
"links": [],
|
||||
"name": "Quotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/quotas-sets/api/v1.1",
|
||||
"updated": "2011-08-08T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-rescue",
|
||||
"description": "Instance rescue mode.",
|
||||
"links": [],
|
||||
"name": "Rescue",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/rescue/api/v1.1",
|
||||
"updated": "2011-08-18T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-security-group-default-rules",
|
||||
"description": "Default rules for security group support.",
|
||||
"links": [],
|
||||
"name": "SecurityGroupDefaultRules",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/securitygroupdefaultrules/api/v1.1",
|
||||
"updated": "2013-02-05T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-security-groups",
|
||||
"description": "Security group support.",
|
||||
"links": [],
|
||||
"name": "SecurityGroups",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/securitygroups/api/v1.1",
|
||||
"updated": "2013-05-28T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-diagnostics",
|
||||
"description": "Allow Admins to view server diagnostics through server action.",
|
||||
"links": [],
|
||||
"name": "ServerDiagnostics",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/server-diagnostics/api/v1.1",
|
||||
"updated": "2011-12-21T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-external-events",
|
||||
"description": "Server External Event Triggers.",
|
||||
"links": [],
|
||||
"name": "ServerExternalEvents",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/server-external-events/api/v2",
|
||||
"updated": "2014-02-18T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-groups",
|
||||
"description": "Server group support.",
|
||||
"links": [],
|
||||
"name": "ServerGroups",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/servergroups/api/v2",
|
||||
"updated": "2013-06-20T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-group-quotas",
|
||||
"description": "Adds quota support to server groups.",
|
||||
"links": [],
|
||||
"name": "ServerGroupQuotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/server-group-quotas/api/v2",
|
||||
"updated": "2014-07-25T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-list-multi-status",
|
||||
"description": "Allow to filter the servers by a set of status values.",
|
||||
"links": [],
|
||||
"name": "ServerListMultiStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/os-server-list-multi-status/api/v2",
|
||||
"updated": "2014-05-11T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-password",
|
||||
"description": "Server password support.",
|
||||
"links": [],
|
||||
"name": "ServerPassword",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/server-password/api/v2",
|
||||
"updated": "2012-11-29T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-start-stop",
|
||||
"description": "Start/Stop instance compute API support.",
|
||||
"links": [],
|
||||
"name": "ServerStartStop",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/servers/api/v1.1",
|
||||
"updated": "2012-01-23T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-services",
|
||||
"description": "Services support.",
|
||||
"links": [],
|
||||
"name": "Services",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/services/api/v2",
|
||||
"updated": "2012-10-28T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-shelve",
|
||||
"description": "Instance shelve mode.",
|
||||
"links": [],
|
||||
"name": "Shelve",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/shelve/api/v1.1",
|
||||
"updated": "2013-04-06T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-simple-tenant-usage",
|
||||
"description": "Simple tenant usage extension.",
|
||||
"links": [],
|
||||
"name": "SimpleTenantUsage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/os-simple-tenant-usage/api/v1.1",
|
||||
"updated": "2011-08-19T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-tenant-networks",
|
||||
"description": "Tenant-based Network Management Extension.",
|
||||
"links": [],
|
||||
"name": "OSTenantNetworks",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/os-tenant-networks/api/v2",
|
||||
"updated": "2012-03-07T14:46:43Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-used-limits",
|
||||
"description": "Provide data on limited resources that are being used.",
|
||||
"links": [],
|
||||
"name": "UsedLimits",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/used_limits/api/v1.1",
|
||||
"updated": "2012-07-13T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-used-limits-for-admin",
|
||||
"description": "Provide data to admin on limited resources used by other tenants.",
|
||||
"links": [],
|
||||
"name": "UsedLimitsForAdmin",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/used_limits_for_admin/api/v1.1",
|
||||
"updated": "2013-05-02T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-user-data",
|
||||
"description": "Add user_data to the Create Server v1.1 API.",
|
||||
"links": [],
|
||||
"name": "UserData",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/userdata/api/v1.1",
|
||||
"updated": "2012-08-07T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-user-quotas",
|
||||
"description": "Project user quota support.",
|
||||
"links": [],
|
||||
"name": "UserQuotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/user_quotas/api/v1.1",
|
||||
"updated": "2013-07-18T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-virtual-interfaces",
|
||||
"description": "Virtual interface support.",
|
||||
"links": [],
|
||||
"name": "VirtualInterfaces",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/virtual_interfaces/api/v1.1",
|
||||
"updated": "2011-08-17T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-volume-attachment-update",
|
||||
"description": "Support for updating a volume attachment.",
|
||||
"links": [],
|
||||
"name": "VolumeAttachmentUpdate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/os-volume-attachment-update/api/v2",
|
||||
"updated": "2013-06-20T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-volumes",
|
||||
"description": "Volumes support.",
|
||||
"links": [],
|
||||
"name": "Volumes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/volumes/api/v1.1",
|
||||
"updated": "2011-03-25T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-sort-keys",
|
||||
"description": "Add sorting support in get Server v2 API.",
|
||||
"links": [],
|
||||
"name": "ServerSortKeys",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/server_sort_keys/api/v2",
|
||||
"updated": "2014-05-22T00:00:00Z"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,804 +0,0 @@
|
||||
{
|
||||
"extensions": [
|
||||
{
|
||||
"alias": "NMN",
|
||||
"description": "Multiple network support.",
|
||||
"links": [],
|
||||
"name": "Multinic",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-DCF",
|
||||
"description": "Disk Management Extension.",
|
||||
"links": [],
|
||||
"name": "DiskConfig",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-AZ",
|
||||
"description": "Extended Availability Zone support.",
|
||||
"links": [],
|
||||
"name": "ExtendedAvailabilityZone",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-IMG-SIZE",
|
||||
"description": "Adds image size to image listings.",
|
||||
"links": [],
|
||||
"name": "ImageSize",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-IPS",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedIps",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-IPS-MAC",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedIpsMac",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-SRV-ATTR",
|
||||
"description": "Extended Server Attributes support.",
|
||||
"links": [],
|
||||
"name": "ExtendedServerAttributes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-STS",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-EXT-VIF-NET",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedVIFNet",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-FLV-DISABLED",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "FlavorDisabled",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-FLV-EXT-DATA",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "FlavorExtraData",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-SCH-HNT",
|
||||
"description": "Pass arbitrary key/value pairs to the scheduler.",
|
||||
"links": [],
|
||||
"name": "SchedulerHints",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "OS-SRV-USG",
|
||||
"description": "Adds launched_at and terminated_at on Servers.",
|
||||
"links": [],
|
||||
"name": "ServerUsage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-access-ips",
|
||||
"description": "Access IPs support.",
|
||||
"links": [],
|
||||
"name": "AccessIPs",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-admin-actions",
|
||||
"description": "Enable admin-only server actions\n\n Actions include: resetNetwork, injectNetworkInfo, os-resetState\n ",
|
||||
"links": [],
|
||||
"name": "AdminActions",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-admin-password",
|
||||
"description": "Admin password management support.",
|
||||
"links": [],
|
||||
"name": "AdminPassword",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-agents",
|
||||
"description": "Agents support.",
|
||||
"links": [],
|
||||
"name": "Agents",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-aggregates",
|
||||
"description": "Admin-only aggregate administration.",
|
||||
"links": [],
|
||||
"name": "Aggregates",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-assisted-volume-snapshots",
|
||||
"description": "Assisted volume snapshots.",
|
||||
"links": [],
|
||||
"name": "AssistedVolumeSnapshots",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-attach-interfaces",
|
||||
"description": "Attach interface support.",
|
||||
"links": [],
|
||||
"name": "AttachInterfaces",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-availability-zone",
|
||||
"description": "1. Add availability_zone to the Create Server API.\n 2. Add availability zones describing.\n ",
|
||||
"links": [],
|
||||
"name": "AvailabilityZone",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-baremetal-ext-status",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "BareMetalExtStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-baremetal-nodes",
|
||||
"description": "Admin-only bare-metal node administration.",
|
||||
"links": [],
|
||||
"name": "BareMetalNodes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-block-device-mapping",
|
||||
"description": "Block device mapping boot support.",
|
||||
"links": [],
|
||||
"name": "BlockDeviceMapping",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-block-device-mapping-v2-boot",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "BlockDeviceMappingV2Boot",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cell-capacities",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "CellCapacities",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cells",
|
||||
"description": "Enables cells-related functionality such as adding neighbor cells,\n listing neighbor cells, and getting the capabilities of the local cell.\n ",
|
||||
"links": [],
|
||||
"name": "Cells",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-certificates",
|
||||
"description": "Certificates support.",
|
||||
"links": [],
|
||||
"name": "Certificates",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cloudpipe",
|
||||
"description": "Adds actions to create cloudpipe instances.\n\n When running with the Vlan network mode, you need a mechanism to route\n from the public Internet to your vlans. This mechanism is known as a\n cloudpipe.\n\n At the time of creating this class, only OpenVPN is supported. Support for\n a SSH Bastion host is forthcoming.\n ",
|
||||
"links": [],
|
||||
"name": "Cloudpipe",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-cloudpipe-update",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "CloudpipeUpdate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-config-drive",
|
||||
"description": "Config Drive Extension.",
|
||||
"links": [],
|
||||
"name": "ConfigDrive",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-console-auth-tokens",
|
||||
"description": "Console token authentication support.",
|
||||
"links": [],
|
||||
"name": "ConsoleAuthTokens",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-console-output",
|
||||
"description": "Console log output support, with tailing ability.",
|
||||
"links": [],
|
||||
"name": "ConsoleOutput",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-consoles",
|
||||
"description": "Interactive Console support.",
|
||||
"links": [],
|
||||
"name": "Consoles",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-create-backup",
|
||||
"description": "Create a backup of a server.",
|
||||
"links": [],
|
||||
"name": "CreateBackup",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-create-server-ext",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "Createserverext",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-deferred-delete",
|
||||
"description": "Instance deferred delete.",
|
||||
"links": [],
|
||||
"name": "DeferredDelete",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-evacuate",
|
||||
"description": "Enables server evacuation.",
|
||||
"links": [],
|
||||
"name": "Evacuate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-evacuate-find-host",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedEvacuateFindHost",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-floating-ips",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedFloatingIps",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-hypervisors",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedHypervisors",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-networks",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedNetworks",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-quotas",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedQuotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-rescue-with-image",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedRescueWithImage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-services",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedServices",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-services-delete",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ExtendedServicesDelete",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-status",
|
||||
"description": "Extended Status support.",
|
||||
"links": [],
|
||||
"name": "ExtendedStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-extended-volumes",
|
||||
"description": "Extended Volumes support.",
|
||||
"links": [],
|
||||
"name": "ExtendedVolumes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-fixed-ips",
|
||||
"description": "Fixed IPs support.",
|
||||
"links": [],
|
||||
"name": "FixedIPs",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-access",
|
||||
"description": "Flavor access support.",
|
||||
"links": [],
|
||||
"name": "FlavorAccess",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-extra-specs",
|
||||
"description": "Flavors extra specs support.",
|
||||
"links": [],
|
||||
"name": "FlavorExtraSpecs",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-manage",
|
||||
"description": "Flavor create/delete API support.",
|
||||
"links": [],
|
||||
"name": "FlavorManage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-rxtx",
|
||||
"description": "Support to show the rxtx status of a flavor.",
|
||||
"links": [],
|
||||
"name": "FlavorRxtx",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-flavor-swap",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "FlavorSwap",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ip-dns",
|
||||
"description": "Floating IP DNS support.",
|
||||
"links": [],
|
||||
"name": "FloatingIpDns",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ip-pools",
|
||||
"description": "Floating IPs support.",
|
||||
"links": [],
|
||||
"name": "FloatingIpPools",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ips",
|
||||
"description": "Floating IPs support.",
|
||||
"links": [],
|
||||
"name": "FloatingIps",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-floating-ips-bulk",
|
||||
"description": "Bulk handling of Floating IPs.",
|
||||
"links": [],
|
||||
"name": "FloatingIpsBulk",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-fping",
|
||||
"description": "Fping Management Extension.",
|
||||
"links": [],
|
||||
"name": "Fping",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hide-server-addresses",
|
||||
"description": "Support hiding server addresses in certain states.",
|
||||
"links": [],
|
||||
"name": "HideServerAddresses",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hosts",
|
||||
"description": "Admin-only host administration.",
|
||||
"links": [],
|
||||
"name": "Hosts",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hypervisor-status",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "HypervisorStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-hypervisors",
|
||||
"description": "Admin-only hypervisor administration.",
|
||||
"links": [],
|
||||
"name": "Hypervisors",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-instance-actions",
|
||||
"description": "View a log of actions and events taken on an instance.",
|
||||
"links": [],
|
||||
"name": "InstanceActions",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-instance_usage_audit_log",
|
||||
"description": "Admin-only Task Log Monitoring.",
|
||||
"links": [],
|
||||
"name": "OSInstanceUsageAuditLog",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-keypairs",
|
||||
"description": "Keypair Support.",
|
||||
"links": [],
|
||||
"name": "Keypairs",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-lock-server",
|
||||
"description": "Enable lock/unlock server actions.",
|
||||
"links": [],
|
||||
"name": "LockServer",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-migrate-server",
|
||||
"description": "Enable migrate and live-migrate server actions.",
|
||||
"links": [],
|
||||
"name": "MigrateServer",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-migrations",
|
||||
"description": "Provide data on migrations.",
|
||||
"links": [],
|
||||
"name": "Migrations",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-multiple-create",
|
||||
"description": "Allow multiple create in the Create Server v2.1 API.",
|
||||
"links": [],
|
||||
"name": "MultipleCreate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-networks",
|
||||
"description": "Admin-only Network Management Extension.",
|
||||
"links": [],
|
||||
"name": "Networks",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-networks-associate",
|
||||
"description": "Network association support.",
|
||||
"links": [],
|
||||
"name": "NetworkAssociationSupport",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-pause-server",
|
||||
"description": "Enable pause/unpause server actions.",
|
||||
"links": [],
|
||||
"name": "PauseServer",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-personality",
|
||||
"description": "Personality support.",
|
||||
"links": [],
|
||||
"name": "Personality",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-preserve-ephemeral-rebuild",
|
||||
"description": "Allow preservation of the ephemeral partition on rebuild.",
|
||||
"links": [],
|
||||
"name": "PreserveEphemeralOnRebuild",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-quota-class-sets",
|
||||
"description": "Quota classes management support.",
|
||||
"links": [],
|
||||
"name": "QuotaClasses",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-quota-sets",
|
||||
"description": "Quotas management support.",
|
||||
"links": [],
|
||||
"name": "Quotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-rescue",
|
||||
"description": "Instance rescue mode.",
|
||||
"links": [],
|
||||
"name": "Rescue",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-security-group-default-rules",
|
||||
"description": "Default rules for security group support.",
|
||||
"links": [],
|
||||
"name": "SecurityGroupDefaultRules",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-security-groups",
|
||||
"description": "Security group support.",
|
||||
"links": [],
|
||||
"name": "SecurityGroups",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-diagnostics",
|
||||
"description": "Allow Admins to view server diagnostics through server action.",
|
||||
"links": [],
|
||||
"name": "ServerDiagnostics",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-external-events",
|
||||
"description": "Server External Event Triggers.",
|
||||
"links": [],
|
||||
"name": "ServerExternalEvents",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-group-quotas",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ServerGroupQuotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-groups",
|
||||
"description": "Server group support.",
|
||||
"links": [],
|
||||
"name": "ServerGroups",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-list-multi-status",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ServerListMultiStatus",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-password",
|
||||
"description": "Server password support.",
|
||||
"links": [],
|
||||
"name": "ServerPassword",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-sort-keys",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ServerSortKeys",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-server-start-stop",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "ServerStartStop",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-services",
|
||||
"description": "Services support.",
|
||||
"links": [],
|
||||
"name": "Services",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-shelve",
|
||||
"description": "Instance shelve mode.",
|
||||
"links": [],
|
||||
"name": "Shelve",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-simple-tenant-usage",
|
||||
"description": "Simple tenant usage extension.",
|
||||
"links": [],
|
||||
"name": "SimpleTenantUsage",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-suspend-server",
|
||||
"description": "Enable suspend/resume server actions.",
|
||||
"links": [],
|
||||
"name": "SuspendServer",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-tenant-networks",
|
||||
"description": "Tenant-based Network Management Extension.",
|
||||
"links": [],
|
||||
"name": "OSTenantNetworks",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-used-limits",
|
||||
"description": "Provide data on limited resources that are being used.",
|
||||
"links": [],
|
||||
"name": "UsedLimits",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-used-limits-for-admin",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "UsedLimitsForAdmin",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-user-data",
|
||||
"description": "Add user_data to the Create Server API.",
|
||||
"links": [],
|
||||
"name": "UserData",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-user-quotas",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "UserQuotas",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-virtual-interfaces",
|
||||
"description": "Virtual interface support.",
|
||||
"links": [],
|
||||
"name": "VirtualInterfaces",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-volume-attachment-update",
|
||||
"description": "",
|
||||
"links": [],
|
||||
"name": "VolumeAttachmentUpdate",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"alias": "os-volumes",
|
||||
"description": "Volumes support.",
|
||||
"links": [],
|
||||
"name": "Volumes",
|
||||
"namespace": "http://docs.openstack.org/compute/ext/fake_xml",
|
||||
"updated": "2014-12-03T00:00:00Z"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"flavor": {
|
||||
"name": "test_flavor",
|
||||
"ram": 1024,
|
||||
"vcpus": 2,
|
||||
"disk": 10,
|
||||
"id": "10"
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{
|
||||
"flavor": {
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 10,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"os-flavor-access:is_public": true,
|
||||
"id": "10",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/flavors/10",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/flavors/10",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "test_flavor",
|
||||
"ram": 1024,
|
||||
"swap": "",
|
||||
"vcpus": 2
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{
|
||||
"flavor": {
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 1,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"os-flavor-access:is_public": true,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.tiny",
|
||||
"ram": 512,
|
||||
"swap": "",
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 1,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"os-flavor-access:is_public": true,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.tiny",
|
||||
"ram": 512,
|
||||
"swap": "",
|
||||
"vcpus": 1
|
||||
},
|
||||
{
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 20,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"os-flavor-access:is_public": true,
|
||||
"id": "2",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/2",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/2",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.small",
|
||||
"ram": 2048,
|
||||
"swap": "",
|
||||
"vcpus": 1
|
||||
},
|
||||
{
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 40,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"os-flavor-access:is_public": true,
|
||||
"id": "3",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/3",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/3",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.medium",
|
||||
"ram": 4096,
|
||||
"swap": "",
|
||||
"vcpus": 2
|
||||
},
|
||||
{
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 80,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"os-flavor-access:is_public": true,
|
||||
"id": "4",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/4",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/4",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.large",
|
||||
"ram": 8192,
|
||||
"swap": "",
|
||||
"vcpus": 4
|
||||
},
|
||||
{
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 160,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"os-flavor-access:is_public": true,
|
||||
"id": "5",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/5",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/5",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.xlarge",
|
||||
"ram": 16384,
|
||||
"swap": "",
|
||||
"vcpus": 8
|
||||
}
|
||||
]
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.tiny"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/2",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/2",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.small"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/3",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/3",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.medium"
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/4",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/4",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.large"
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/openstack/flavors/5",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/openstack/flavors/5",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.xlarge"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"kernel_id": "nokernel"
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"metadata": {
|
||||
"kernel_id": false,
|
||||
"Label": "UpdatedImage"
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"metadata": {
|
||||
"Label": "UpdatedImage",
|
||||
"architecture": "x86_64",
|
||||
"auto_disk_config": true,
|
||||
"kernel_id": false,
|
||||
"ramdisk_id": "nokernel"
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"architecture": "x86_64",
|
||||
"auto_disk_config": true,
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"auto_disk_config": false
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"auto_disk_config": false
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"metadata": {
|
||||
"architecture": "x86_64",
|
||||
"auto_disk_config": true,
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"metadata": {
|
||||
"auto_disk_config": true,
|
||||
"Label": "Changed"
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"metadata": {
|
||||
"Label": "Changed",
|
||||
"auto_disk_config": true
|
||||
}
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
{
|
||||
"image": {
|
||||
"OS-EXT-IMG-SIZE:size": "74185822",
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"architecture": "x86_64",
|
||||
"auto_disk_config": true,
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage7",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
}
|
||||
}
|
@ -1,214 +0,0 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"OS-EXT-IMG-SIZE:size": "74185822",
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"architecture": "x86_64",
|
||||
"auto_disk_config": true,
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage7",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
},
|
||||
{
|
||||
"OS-EXT-IMG-SIZE:size": "74185821",
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"architecture": "x86_64",
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage123456",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
},
|
||||
{
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage123456",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
},
|
||||
{
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"architecture": "x86_64",
|
||||
"auto_disk_config": false,
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage6",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
},
|
||||
{
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernel_id": "155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"ramdisk_id": null
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage123456",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
},
|
||||
{
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage123456",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
},
|
||||
{
|
||||
"created": "2011-01-01T01:02:03Z",
|
||||
"id": "76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernel_id": "nokernel",
|
||||
"ramdisk_id": "nokernel"
|
||||
},
|
||||
"minDisk": 0,
|
||||
"minRam": 0,
|
||||
"name": "fakeimage123456",
|
||||
"progress": 100,
|
||||
"status": "ACTIVE",
|
||||
"updated": "2011-01-01T01:02:03Z"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,137 +0,0 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"name": "fakeimage7"
|
||||
},
|
||||
{
|
||||
"id": "155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"name": "fakeimage123456"
|
||||
},
|
||||
{
|
||||
"id": "a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"name": "fakeimage123456"
|
||||
},
|
||||
{
|
||||
"id": "a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"name": "fakeimage6"
|
||||
},
|
||||
{
|
||||
"id": "c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"name": "fakeimage123456"
|
||||
},
|
||||
{
|
||||
"id": "cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/cedef40a-ed67-4d10-800e-17455edce175",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"name": "fakeimage123456"
|
||||
},
|
||||
{
|
||||
"id": "76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2.1/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"rel": "bookmark"
|
||||
},
|
||||
{
|
||||
"href": "http://glance.openstack.example.com/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
||||
"rel": "alternate",
|
||||
"type": "application/vnd.openstack.image"
|
||||
}
|
||||
],
|
||||
"name": "fakeimage123456"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"private": [
|
||||
{
|
||||
"addr": "192.168.0.3",
|
||||
"version": 4
|
||||
}
|
||||
]
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"addresses": {
|
||||
"private": [
|
||||
{
|
||||
"addr": "192.168.0.3",
|
||||
"version": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{
|
||||
"limits": {
|
||||
"rate": [],
|
||||
"absolute": {
|
||||
"maxServerMeta": 128,
|
||||
"maxPersonality": 5,
|
||||
"totalServerGroupsUsed": 0,
|
||||
"maxImageMeta": 128,
|
||||
"maxPersonalitySize": 10240,
|
||||
"maxTotalKeypairs": 100,
|
||||
"maxSecurityGroupRules": 20,
|
||||
"maxServerGroups": 10,
|
||||
"totalCoresUsed": 1,
|
||||
"totalRAMUsed": 2048,
|
||||
"totalInstancesUsed": 1,
|
||||
"maxSecurityGroups": 10,
|
||||
"totalFloatingIpsUsed": 0,
|
||||
"maxTotalCores": 20,
|
||||
"maxServerGroupMembers": 10,
|
||||
"maxTotalFloatingIps": 10,
|
||||
"totalSecurityGroupsUsed": 1,
|
||||
"maxTotalInstances": 10,
|
||||
"maxTotalRAMSize": 51200
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"metadata": {
|
||||
"foo": "Foo Value"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"foo": "Bar Value"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"foo": "Bar Value"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"metadata": {
|
||||
"foo": "Foo Value"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"foo": "Foo Value"
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"agent": {
|
||||
"hypervisor": "hypervisor",
|
||||
"os": "os",
|
||||
"architecture": "x86",
|
||||
"version": "8.0",
|
||||
"md5hash": "add6bb58e139be103324d04d82d8f545",
|
||||
"url": "http://example.com/path/to/resource"
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"agent": {
|
||||
"agent_id": 1,
|
||||
"architecture": "x86",
|
||||
"hypervisor": "hypervisor",
|
||||
"md5hash": "add6bb58e139be103324d04d82d8f545",
|
||||
"os": "os",
|
||||
"url": "http://example.com/path/to/resource",
|
||||
"version": "8.0"
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"para": {
|
||||
"url": "http://example.com/path/to/resource",
|
||||
"md5hash": "add6bb58e139be103324d04d82d8f545",
|
||||
"version": "7.0"
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"agent": {
|
||||
"agent_id": "1",
|
||||
"md5hash": "add6bb58e139be103324d04d82d8f545",
|
||||
"url": "http://example.com/path/to/resource",
|
||||
"version": "7.0"
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"agents": [
|
||||
{
|
||||
"agent_id": 1,
|
||||
"architecture": "x86",
|
||||
"hypervisor": "hypervisor",
|
||||
"md5hash": "add6bb58e139be103324d04d82d8f545",
|
||||
"os": "os",
|
||||
"url": "http://example.com/path/to/resource",
|
||||
"version": "8.0"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"add_host": {
|
||||
"host": "21549b2f665945baaa7101926a00143c"
|
||||
}
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"availability_zone": "nova",
|
||||
"created_at": "2013-08-18T12:17:56.297823",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"hosts": [
|
||||
"21549b2f665945baaa7101926a00143c"
|
||||
],
|
||||
"id": 1,
|
||||
"metadata": {
|
||||
"availability_zone": "nova"
|
||||
},
|
||||
"name": "name",
|
||||
"updated_at": null
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"name": "name",
|
||||
"availability_zone": "nova"
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"availability_zone": "nova",
|
||||
"created_at": "2013-08-18T12:17:55.751757",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"id": 1,
|
||||
"name": "name",
|
||||
"updated_at": null
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"set_metadata": {
|
||||
"metadata": {
|
||||
"key": "value"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"availability_zone": "nova",
|
||||
"created_at": "2013-08-18T12:17:55.959571",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"hosts": [],
|
||||
"id": 1,
|
||||
"metadata": {
|
||||
"availability_zone": "nova",
|
||||
"key": "value"
|
||||
},
|
||||
"name": "name",
|
||||
"updated_at": null
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"remove_host": {
|
||||
"host": "bf1454b3d71145d49fca2101c56c728d"
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"availability_zone": "nova",
|
||||
"created_at": "2013-08-18T12:17:56.990581",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"hosts": [],
|
||||
"id": 1,
|
||||
"metadata": {
|
||||
"availability_zone": "nova"
|
||||
},
|
||||
"name": "name",
|
||||
"updated_at": null
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"availability_zone": "nova",
|
||||
"created_at": "2013-08-18T12:17:56.380226",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"hosts": [],
|
||||
"id": 1,
|
||||
"metadata": {
|
||||
"availability_zone": "nova"
|
||||
},
|
||||
"name": "name",
|
||||
"updated_at": null
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"name": "newname",
|
||||
"availability_zone": "nova2"
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
{
|
||||
"aggregate": {
|
||||
"availability_zone": "nova2",
|
||||
"created_at": "2013-08-18T12:17:56.259751",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"hosts": [],
|
||||
"id": 1,
|
||||
"metadata": {
|
||||
"availability_zone": "nova2"
|
||||
},
|
||||
"name": "newname",
|
||||
"updated_at": "2013-08-18T12:17:56.286720"
|
||||
}
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"aggregates": [
|
||||
{
|
||||
"availability_zone": "nova",
|
||||
"created_at": "2013-08-18T12:17:56.856455",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"hosts": [],
|
||||
"id": 1,
|
||||
"metadata": {
|
||||
"availability_zone": "nova"
|
||||
},
|
||||
"name": "name",
|
||||
"updated_at": null
|
||||
}
|
||||
]
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"snapshot": {
|
||||
"volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
|
||||
"create_info": {
|
||||
"snapshot_id": "421752a6-acf6-4b2d-bc7a-119f9148cd8c",
|
||||
"type": "qcow2",
|
||||
"new_file": "new_file_name"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"snapshot": {
|
||||
"id": 100,
|
||||
"volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c"
|
||||
}
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
{
|
||||
"availabilityZoneInfo": [
|
||||
{
|
||||
"zoneState": {
|
||||
"available": true
|
||||
},
|
||||
"hosts": {
|
||||
"test-host": {
|
||||
"nova-conductor": {
|
||||
"available": true,
|
||||
"active": true,
|
||||
"updated_at": "2015-04-16T08:58:55.000000"
|
||||
},
|
||||
"nova-cert": {
|
||||
"available": true,
|
||||
"active": true,
|
||||
"updated_at": "2015-04-16T08:58:55.000000"
|
||||
},
|
||||
"nova-consoleauth": {
|
||||
"available": true,
|
||||
"active": true,
|
||||
"updated_at": "2015-04-16T08:58:55.000000"
|
||||
},
|
||||
"nova-scheduler": {
|
||||
"available": true,
|
||||
"active": true,
|
||||
"updated_at": "2015-04-16T08:58:55.000000"
|
||||
},
|
||||
"nova-network": {
|
||||
"available": true,
|
||||
"active": true,
|
||||
"updated_at": "2015-04-16T08:58:54.000000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"zoneName": "internal"
|
||||
},
|
||||
{
|
||||
"zoneState": {
|
||||
"available": true
|
||||
},
|
||||
"hosts": {
|
||||
"test-host": {
|
||||
"nova-compute": {
|
||||
"available": true,
|
||||
"active": true,
|
||||
"updated_at": "2015-04-16T08:58:56.000000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"zoneName": "nova"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"availabilityZoneInfo": [
|
||||
{
|
||||
"zoneState": {
|
||||
"available": true
|
||||
},
|
||||
"hosts": null,
|
||||
"zoneName": "nova"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"add_interface": {
|
||||
"address": "aa:aa:aa:aa:aa:aa"
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"interface": {
|
||||
"address": "aa:aa:aa:aa:aa:aa",
|
||||
"datapath_id": null,
|
||||
"id": 1,
|
||||
"port_no": null
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
"node": {
|
||||
"service_host": "host",
|
||||
"cpus": 8,
|
||||
"memory_mb": 8192,
|
||||
"local_gb": 128,
|
||||
"pm_address": "10.1.2.3",
|
||||
"pm_user": "pm_user",
|
||||
"pm_password": "pm_pass",
|
||||
"terminal_port": 8000
|
||||
}
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"node": {
|
||||
"cpus": 8,
|
||||
"id": 1,
|
||||
"instance_uuid": null,
|
||||
"interfaces": [],
|
||||
"local_gb": 128,
|
||||
"memory_mb": 8192,
|
||||
"pm_address": "10.1.2.3",
|
||||
"pm_user": "pm_user",
|
||||
"pxe_config_path": null,
|
||||
"service_host": "host",
|
||||
"task_state": null,
|
||||
"terminal_port": 8000,
|
||||
"updated_at": null,
|
||||
"uuid": "73d35253-b6fb-4c83-b8eb-0229336e79b6"
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"node": {
|
||||
"service_host": "host",
|
||||
"cpus": 8,
|
||||
"memory_mb": 8192,
|
||||
"local_gb": 128,
|
||||
"pm_address": "10.1.2.3",
|
||||
"pm_user": "pm_user",
|
||||
"pm_password": "pm_pass",
|
||||
"prov_mac_address": "12:34:56:78:90:ab",
|
||||
"terminal_port": 8000
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{
|
||||
"node": {
|
||||
"cpus": 8,
|
||||
"id": 1,
|
||||
"instance_uuid": null,
|
||||
"interfaces": [
|
||||
{
|
||||
"address": "12:34:56:78:90:ab",
|
||||
"datapath_id": null,
|
||||
"id": 1,
|
||||
"port_no": null
|
||||
}
|
||||
],
|
||||
"local_gb": 128,
|
||||
"memory_mb": 8192,
|
||||
"pm_address": "10.1.2.3",
|
||||
"pm_user": "pm_user",
|
||||
"pxe_config_path": null,
|
||||
"service_host": "host",
|
||||
"task_state": null,
|
||||
"terminal_port": 8000,
|
||||
"updated_at": null,
|
||||
"uuid": "0a130464-bccc-4e36-b9d3-9a8c98e636ae"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"remove_interface": {
|
||||
"address": "aa:aa:aa:aa:aa:aa"
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{
|
||||
"node": {
|
||||
"cpus": 8,
|
||||
"id": 1,
|
||||
"instance_uuid": null,
|
||||
"interfaces": [
|
||||
{
|
||||
"address": "aa:aa:aa:aa:aa:aa",
|
||||
"datapath_id": null,
|
||||
"id": 1,
|
||||
"port_no": null
|
||||
}
|
||||
],
|
||||
"local_gb": 128,
|
||||
"memory_mb": 8192,
|
||||
"pm_address": "10.1.2.3",
|
||||
"pm_user": "pm_user",
|
||||
"pxe_config_path": null,
|
||||
"service_host": "host",
|
||||
"task_state": null,
|
||||
"terminal_port": 8000,
|
||||
"updated_at": null,
|
||||
"uuid": "c862b836-c7c1-4f7f-8081-6766fa9cf38b"
|
||||
}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"cpus": 8,
|
||||
"id": 1,
|
||||
"instance_uuid": null,
|
||||
"interfaces": [
|
||||
{
|
||||
"address": "aa:aa:aa:aa:aa:aa",
|
||||
"datapath_id": null,
|
||||
"id": 1,
|
||||
"port_no": null
|
||||
}
|
||||
],
|
||||
"local_gb": 128,
|
||||
"memory_mb": 8192,
|
||||
"pm_address": "10.1.2.3",
|
||||
"pm_user": "pm_user",
|
||||
"pxe_config_path": null,
|
||||
"service_host": "host",
|
||||
"task_state": null,
|
||||
"terminal_port": 8000,
|
||||
"updated_at": null,
|
||||
"uuid": "6fae68da-108b-4a9d-87c4-88831ee1241b"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"cell": {
|
||||
"name": "cell3",
|
||||
"rpc_host": null,
|
||||
"rpc_port": null,
|
||||
"type": "child",
|
||||
"username": "username3"
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{
|
||||
"cell": {
|
||||
"capacities": {
|
||||
"disk_free": {
|
||||
"total_mb": 1052672,
|
||||
"units_by_mb": {
|
||||
"0": 0,
|
||||
"163840": 5,
|
||||
"20480": 46,
|
||||
"40960": 23,
|
||||
"81920": 11
|
||||
}
|
||||
},
|
||||
"ram_free": {
|
||||
"total_mb": 7680,
|
||||
"units_by_mb": {
|
||||
"16384": 0,
|
||||
"2048": 3,
|
||||
"4096": 1,
|
||||
"512": 13,
|
||||
"8192": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"cells": []
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"name": "cell1",
|
||||
"rpc_host": null,
|
||||
"rpc_port": null,
|
||||
"type": "child",
|
||||
"username": "username1"
|
||||
},
|
||||
{
|
||||
"name": "cell3",
|
||||
"rpc_host": null,
|
||||
"rpc_port": null,
|
||||
"type": "child",
|
||||
"username": "username3"
|
||||
},
|
||||
{
|
||||
"name": "cell5",
|
||||
"rpc_host": null,
|
||||
"rpc_port": null,
|
||||
"type": "child",
|
||||
"username": "username5"
|
||||
},
|
||||
{
|
||||
"name": "cell2",
|
||||
"rpc_host": null,
|
||||
"rpc_port": null,
|
||||
"type": "parent",
|
||||
"username": "username2"
|
||||
},
|
||||
{
|
||||
"name": "cell4",
|
||||
"rpc_host": null,
|
||||
"rpc_port": null,
|
||||
"type": "parent",
|
||||
"username": "username4"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"certificate": {
|
||||
"data": "Certificate:\n Data:\n Version: 1 (0x0)\n Serial Number: 1018 (0x3fa)\n Signature Algorithm: md5WithRSAEncryption\n Issuer: O=NOVA ROOT, L=Mountain View, ST=California, C=US\n Validity\n Not Before: Aug 12 07:20:30 2013 GMT\n Not After : Aug 12 07:20:30 2014 GMT\n Subject: C=US, ST=California, O=OpenStack, OU=NovaDev, CN=openstack-fake-2013-08-12T07:20:30Z\n Subject Public Key Info:\n Public Key Algorithm: rsaEncryption\n Public-Key: (1024 bit)\n Modulus:\n 00:ac:ff:b1:d1:ed:54:4e:35:6c:34:b4:8f:0b:04:\n 50:25:a3:e2:4f:02:4c:4f:26:59:bd:f3:fd:eb:da:\n 18:c2:36:aa:63:42:72:1f:88:4f:3a:ec:e7:9f:8e:\n 44:2a:d3:b8:94:7b:20:41:f8:48:02:57:91:4c:16:\n 62:f1:21:d4:f2:40:b5:86:50:d9:61:f0:be:ff:d8:\n 8d:9f:4b:aa:6a:07:38:a2:7f:87:21:fc:e6:6e:1d:\n 0a:95:1a:90:0e:60:c2:24:e9:8e:e8:68:1b:e9:f3:\n c6:b0:7c:da:c5:20:66:9b:85:ea:f5:c9:a7:de:ee:\n 16:b1:51:a0:4d:e3:95:98:df\n Exponent: 65537 (0x10001)\n Signature Algorithm: md5WithRSAEncryption\n 15:42:ca:71:cc:32:af:dc:cf:45:91:df:8a:b8:30:c4:7f:78:\n 80:a7:25:c2:d9:81:3e:b3:dd:22:cc:3b:f8:94:e7:8f:04:f6:\n 93:04:9e:85:d4:10:40:ff:5a:07:47:24:b5:ae:93:ad:8d:e1:\n e6:54:4a:8d:4a:29:53:c4:8d:04:6b:0b:f6:af:38:78:02:c5:\n 05:19:89:82:2d:ba:fd:11:3c:1e:18:c9:0c:3d:03:93:6e:bc:\n 66:70:34:ee:03:78:8a:1d:3d:64:e8:20:2f:90:81:8e:49:1d:\n 07:37:15:66:42:cb:58:39:ad:56:ce:ed:47:c6:78:0b:0e:75:\n 29:ca\n-----BEGIN CERTIFICATE-----\nMIICNDCCAZ0CAgP6MA0GCSqGSIb3DQEBBAUAME4xEjAQBgNVBAoTCU5PVkEgUk9P\nVDEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzETMBEGA1UECBMKQ2FsaWZvcm5pYTEL\nMAkGA1UEBhMCVVMwHhcNMTMwODEyMDcyMDMwWhcNMTQwODEyMDcyMDMwWjB2MQsw\nCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTESMBAGA1UECgwJT3BlblN0\nYWNrMRAwDgYDVQQLDAdOb3ZhRGV2MSwwKgYDVQQDDCNvcGVuc3RhY2stZmFrZS0y\nMDEzLTA4LTEyVDA3OjIwOjMwWjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA\nrP+x0e1UTjVsNLSPCwRQJaPiTwJMTyZZvfP969oYwjaqY0JyH4hPOuznn45EKtO4\nlHsgQfhIAleRTBZi8SHU8kC1hlDZYfC+/9iNn0uqagc4on+HIfzmbh0KlRqQDmDC\nJOmO6Ggb6fPGsHzaxSBmm4Xq9cmn3u4WsVGgTeOVmN8CAwEAATANBgkqhkiG9w0B\nAQQFAAOBgQAVQspxzDKv2.1M9Fkd+KuDDEf3iApyXC2YE+s90izDv4lOePBPaTBJ6F\n1BBA/1oHRyS1rpOtjeHmVEqNSilTxI0Eawv2rzh4AsUFGYmCLbr9ETweGMkMPQOT\nbrxmcDTuA3iKHT1k6CAvkIGOSR0HNxVmQstYOa1Wzu1HxngLDnUpyg==\n-----END CERTIFICATE-----\n",
|
||||
"private_key": "-----BEGIN RSA PRIVATE KEY-----\nMIICXgIBAAKBgQCs/7HR7VRONWw0tI8LBFAlo+JPAkxPJlm98/3r2hjCNqpjQnIf\niE867OefjkQq07iUeyBB+EgCV5FMFmLxIdTyQLWGUNlh8L7/2I2fS6pqBziif4ch\n/OZuHQqVGpAOYMIk6Y7oaBvp88awfNrFIGabher1yafe7haxUaBN45WY3wIDAQAB\nAoGBAIrcr2I/KyWf0hw4Nn10V9TuyE/9Gz2JHg3QFKjFJox2DqygADT5WAeHc6Bq\nNKNf0NA2SL1LSpm+ql01tvOw4VjE5TF6OHiIzHuTTnXggG6vuA8rxp6L24HtkAcC\n0CBno9ggSX6jVornJPBfxpkwITYSvH57BUFVD7ovbPyWGzS5AkEA1JeUtL6zxwps\nWRr1aJ8Ill2uQk/RUIvSZOU61s+B190zvHikFy8LD8CI6vvBmjC/IZuZVedufjqs\n4vX82uDO3QJBANBSh2b2dyB4AGVFY9vXMRtALAspJHbLHy+zTKxlGPFiuz7Se3ps\n8Kehz4C/CBXgQkk194dwFSGE19/PQfyJROsCQQCFFDJZhrtBUMwMZ2zSRiN5BUGt\nbwuncS+OS1Su3Yz5VRYq2BZYEPHKtYrAFkLWQ8eRwTaWaN5pFE/fb38OgQXdAkA4\nDm0W/K0zlHbuyUxEpNQ28/6mBi0ktiWvLT0tioq6sYmXLwZA/D2JrhXrG/xt/ol3\nr8jqrfNRsLByLhAgh0N/AkEAl2eR0O97lTEgFNqzIQwVmIAn9mBO3cnf3tycvlDU\nm6eb2CS242y4QalfCCAEjxoJURdfsm3/D1iFo00X+IWF+A==\n-----END RSA PRIVATE KEY-----\n"
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"certificate": {
|
||||
"data": "-----BEGIN CERTIFICATE-----\nMIICyzCCAjSgAwIBAgIJAJ8zSIxUp/m4MA0GCSqGSIb3DQEBBAUAME4xEjAQBgNV\nBAoTCU5PVkEgUk9PVDEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzETMBEGA1UECBMK\nQ2FsaWZvcm5pYTELMAkGA1UEBhMCVVMwHhcNMTIxMDE3MDEzMzM5WhcNMTMxMDE3\nMDEzMzM5WjBOMRIwEAYDVQQKEwlOT1ZBIFJPT1QxFjAUBgNVBAcTDU1vdW50YWlu\nIFZpZXcxEzARBgNVBAgTCkNhbGlmb3JuaWExCzAJBgNVBAYTAlVTMIGfMA0GCSqG\nSIb3DQEBAQUAA4GNADCBiQKBgQDXW4QfQQxJG4MqurqK8nU/Lge0mfNKxXj/Gwvg\n2sQVwxzmKfoxih8Nn6yt0yHMNjhoji1UoWI03TXUnPZRAZmsypGKZeBd7Y1ZOCPB\nXGZVGrQm+PB2kZU+3cD8fVKcueMLLeZ+LRt5d0njnoKhc5xjqMlfFPimHMba4OL6\nTnYzPQIDAQABo4GwMIGtMAwGA1UdEwQFMAMBAf8wHQYDVR0OBBYEFKyoKu4SMOFM\ngx5Ec7p0nrCkabvxMH4GA1UdIwR3MHWAFKyoKu4SMOFMgx5Ec7p0nrCkabvxoVKk\nUDBOMRIwEAYDVQQKEwlOT1ZBIFJPT1QxFjAUBgNVBAcTDU1vdW50YWluIFZpZXcx\nEzARBgNVBAgTCkNhbGlmb3JuaWExCzAJBgNVBAYTAlVTggkAnzNIjFSn+bgwDQYJ\nKoZIhvcNAQEEBQADgYEAXuvXlu1o/SVvykSLhHW8QiAY00yzN/eDzYmZGomgiuoO\n/x+ayVzbrz1UWZnBD+lC4hll2iELSmf22LjLoF+s/9NyPqHxGL3FrfatBkndaiF8\nAx/TMEyCPl7IQWi+3zzatqOKHSHiG7a9SGn/7o2aNTIWKVulfy5GvmbBjBM/0UE=\n-----END CERTIFICATE-----\n",
|
||||
"private_key": null
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"cloudpipe": {
|
||||
"project_id": "059f21e3-c20e-4efc-9e7a-eba2ab3c6f9a"
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"instance_id": "1e9b8425-34af-488e-b969-4d46f4a6382e"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"cloudpipes": [
|
||||
{
|
||||
"created_at": "2012-11-27T17:18:01Z",
|
||||
"instance_id": "27deecdb-baa3-4a26-9c82-32994b815b01",
|
||||
"internal_ip": "192.168.0.3",
|
||||
"project_id": "fa1765bd-a352-49c7-a6b7-8ee108a3cb0c",
|
||||
"public_ip": "127.0.0.1",
|
||||
"public_port": 22,
|
||||
"state": "down"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"configure_project": {
|
||||
"vpn_ip": "192.168.1.1",
|
||||
"vpn_port": "2000"
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"console": {
|
||||
"instance_uuid": "b48316c5-71e8-45e4-9884-6c78055b9b13",
|
||||
"host": "localhost",
|
||||
"port": 5900,
|
||||
"internal_access_path": "51af38c3-555e-4884-a314-6c8cdde37444"
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"console": {
|
||||
"console_type": "fake",
|
||||
"host": "fake",
|
||||
"id": 1,
|
||||
"instance_name": "instance-00000001",
|
||||
"password": "C4jBpJ6x",
|
||||
"port": 5999
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"consoles": [
|
||||
{
|
||||
"console": {
|
||||
"console_type": "fake",
|
||||
"id": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
{
|
||||
"servers": [
|
||||
{
|
||||
"OS-DCF:diskConfig": "AUTO",
|
||||
"accessIPv4": "",
|
||||
"accessIPv6": "",
|
||||
"addresses": {
|
||||
"private": [
|
||||
{
|
||||
"addr": "192.168.0.3",
|
||||
"OS-EXT-IPS-MAC:mac_addr": "aa:bb:cc:dd:ee:ff",
|
||||
"OS-EXT-IPS:type": "fixed",
|
||||
"version": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"created": "2012-12-02T02:11:55Z",
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hostId": "99428f32351a5d89d0f7727c6eec68c1777c545a0972aaac645508dc",
|
||||
"id": "05372e62-05b9-4ee2-9343-9a1fdf2a5fda",
|
||||
"image": {
|
||||
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/servers/05372e62-05b9-4ee2-9343-9a1fdf2a5fda",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/05372e62-05b9-4ee2-9343-9a1fdf2a5fda",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"My Server Name": "Apache1"
|
||||
},
|
||||
"name": "new-server-test",
|
||||
"progress": 0,
|
||||
"status": "ACTIVE",
|
||||
"tenant_id": "6f70656e737461636b20342065766572",
|
||||
"updated": "2012-12-02T02:11:56Z",
|
||||
"key_name": null,
|
||||
"user_id": "fake"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"rebuild": {
|
||||
"imageRef": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"OS-DCF:diskConfig": "AUTO"
|
||||
}
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
{
|
||||
"server": {
|
||||
"OS-DCF:diskConfig": "AUTO",
|
||||
"accessIPv4": "",
|
||||
"accessIPv6": "",
|
||||
"addresses": {
|
||||
"private": [
|
||||
{
|
||||
"addr": "192.168.0.3",
|
||||
"version": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"adminPass": "NBjMaJoFL4EF",
|
||||
"created": "2012-12-02T02:11:56Z",
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hostId": "c076393ad900d62c4805a42df10d9b364f629842681c00cce035487f",
|
||||
"id": "63a8aa13-60fe-41c4-b079-77f6fdf3c841",
|
||||
"image": {
|
||||
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/servers/63a8aa13-60fe-41c4-b079-77f6fdf3c841",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/63a8aa13-60fe-41c4-b079-77f6fdf3c841",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"My Server Name": "Apache1"
|
||||
},
|
||||
"name": "new-server-test",
|
||||
"progress": 0,
|
||||
"status": "ACTIVE",
|
||||
"tenant_id": "6f70656e737461636b20342065766572",
|
||||
"updated": "2012-12-02T02:11:56Z",
|
||||
"user_id": "fake"
|
||||
}
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
{
|
||||
"server": {
|
||||
"OS-DCF:diskConfig": "AUTO",
|
||||
"accessIPv4": "",
|
||||
"accessIPv6": "",
|
||||
"addresses": {
|
||||
"private": [
|
||||
{
|
||||
"addr": "192.168.0.3",
|
||||
"OS-EXT-IPS-MAC:mac_addr": "aa:bb:cc:dd:ee:ff",
|
||||
"OS-EXT-IPS:type": "fixed",
|
||||
"version": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"created": "2012-12-02T02:11:55Z",
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hostId": "c949ab4256cea23b6089b710aa2df48bf6577ed915278b62e33ad8bb",
|
||||
"id": "5046e2f2-3b33-4041-b3cf-e085f73e78e7",
|
||||
"image": {
|
||||
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/servers/5046e2f2-3b33-4041-b3cf-e085f73e78e7",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/5046e2f2-3b33-4041-b3cf-e085f73e78e7",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"My Server Name": "Apache1"
|
||||
},
|
||||
"name": "new-server-test",
|
||||
"progress": 0,
|
||||
"status": "ACTIVE",
|
||||
"tenant_id": "6f70656e737461636b20342065766572",
|
||||
"updated": "2012-12-02T02:11:55Z",
|
||||
"key_name": null,
|
||||
"user_id": "fake"
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"server": {
|
||||
"name": "new-server-test",
|
||||
"imageRef": "70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"flavorRef": "1",
|
||||
"metadata": {
|
||||
"My Server Name": "Apache1"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"server": {
|
||||
"OS-DCF:diskConfig": "AUTO",
|
||||
"adminPass": "CQH9gWzgkVno",
|
||||
"id": "324dfb7d-f4a9-419a-9a19-237df04b443b",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/servers/324dfb7d-f4a9-419a-9a19-237df04b443b",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/324dfb7d-f4a9-419a-9a19-237df04b443b",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"resize": {
|
||||
"flavorRef": "3",
|
||||
"OS-DCF:diskConfig": "AUTO"
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"reserve": null
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"fixed_ip": {
|
||||
"address": "192.168.1.1",
|
||||
"cidr": "192.168.1.0/24",
|
||||
"host": "host",
|
||||
"hostname": "openstack"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"addTenantAccess": {
|
||||
"tenant": "fake_tenant"
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"flavor_access": [
|
||||
{
|
||||
"flavor_id": "10",
|
||||
"tenant_id": "fake_tenant"
|
||||
}
|
||||
]
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user