Bases: dict
A List of version elements.
Creates a correctly structured list of identity service endpoints for use in testing with discovery.
href (string) – The url that this should be based at.
v2 (bool) – Add a v2 element.
v3 (bool) – Add a v3 element.
v2_status (string) – The status to use for the v2 element.
v2_updated (DateTime) – The update time to use for the v2 element.
v2_html (bool) – True to add a html link to the v2 element.
v2_pdf (bool) – True to add a pdf link to the v2 element.
v3_status (string) – The status to use for the v3 element.
v3_updated (DateTime) – The update time to use for the v3 element.
v3_json (bool) – True to add a html link to the v2 element.
v3_xml (bool) – True to add a pdf link to the v2 element.
Add a microversion version to the list.
The parameters are the same as MicroversionDiscovery.
Add a nova microversion version to the list.
The parameters are the same as NovaMicroversionDiscovery.
Add a v2 version to the list.
The parameters are the same as V2Discovery.
Add a v3 version to the list.
The parameters are the same as V3Discovery.
Add a new version structure to the list.
version (dict) – A new version structure to add to the list.
Bases: keystoneauth1.fixture.discovery.DiscoveryBase
A Version element for a V2 identity service endpoint.
Provides some default values and helper methods for creating a v2.0 endpoint version structure. Clients should use this instead of creating their own structures.
href (string) – The url that this entry should point to.
id (string) – The version id that should be reported. (optional) Defaults to ‘v2.0’.
html (bool) – Add HTML describedby links to the structure.
pdf (bool) – Add PDF describedby links to the structure.
Add the HTML described by links.
The standard structure includes a link to a HTML document with the API specification. Add it to this entry.
Add the PDF described by links.
The standard structure includes a link to a PDF document with the API specification. Add it to this entry.
Bases: keystoneauth1.fixture.discovery.DiscoveryBase
A Version element for a V3 identity service endpoint.
Provides some default values and helper methods for creating a v3 endpoint version structure. Clients should use this instead of creating their own structures.
href – The url that this entry should point to.
id (string) – The version id that should be reported. (optional) Defaults to ‘v3.0’.
json (bool) – Add JSON media-type elements to the structure.
xml (bool) – Add XML media-type elements to the structure.
Add the JSON media-type links.
The standard structure includes a list of media-types that the endpoint supports. Add JSON to the list.
Add the XML media-type links.
The standard structure includes a list of media-types that the endpoint supports. Add XML to the list.
Bases: keystoneauth1.fixture.discovery.DiscoveryBase
A Version element for non-keystone services without microversions.
Provides some default values and helper methods for creating a microversion endpoint version structure. Clients should use this instead of creating their own structures.
href (string) – The url that this entry should point to.
id (string) – The version id that should be reported.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.