You can list available extensions through the /v2.0/extensions
URI.
Note | |
---|---|
You must authenticate these requests just like any other API request. |
The following example response shows a list of extensions:
Status Code: 200 OK Connection: keep-alive Content-Length: 654 Content-Type: application/xml; charset=UTF-8 Date: Wed, 12 Sep 2012 11:32:56 GMT
<?xml version="1.0" encoding="UTF-8"?> <extensions> <extension> <updated>2012-07-20T10:00:00-00:00</updated> <name>Neutron L3 Router</name> <links/> <namespace>http://docs.openstack.org/ext/neutron/router/api/v1.0</namespace> <alias>router</alias> <description>Router abstraction for basic L3 forwarding between L2 Neutron networks and access to external networks via a NAT gateway.</description> </extension> <extension> <updated>2012-09-07T10:00:00-00:00</updated> <name>Provider Network</name> <links/> <namespace>http://docs.openstack.org/ext/provider/api/v1.0</namespace> <alias>provider</alias> <description>Expose mapping of virtual networks to physical networks</description> </extension> </extensions>
Also, you can query for specific extension using the
extension alias. For instance, querying
/v2.0/extensions/router
, results in the
following response:
Status Code: 200 OK Connection: keep-alive Content-Length: 350 Content-Type: application/xml; charset=UTF-8 Date: Wed, 12 Sep 2012 11:36:20 GMT
<?xml version="1.0" encoding="UTF-8"?> <extension> <updated>2012-07-20T10:00:00-00:00</updated> <name>Neutron L3 Router</name> <links/> <namespace>http://docs.openstack.org/ext/neutron/router/api/v1.0</namespace> <alias>router</alias> <description>Router abstraction for basic L3 forwarding between L2 Neutron networks and access to external networks via a NAT gateway.</description> </extension>