pyrax
Python Bindings for the Rackspace Cloud
 All Classes Namespaces Files Functions Variables Properties
Public Member Functions | Public Attributes
ServiceCatalog Class Reference

Helper methods for dealing with a Keystone Service Catalog. More...

List of all members.

Public Member Functions

def __init__
def get_token
 Extracts and returns the authentication token.
def url_for
 Fetches the public URL from the given service for a particular endpoint attribute.

Public Attributes

 catalog

Detailed Description

Helper methods for dealing with a Keystone Service Catalog.


Constructor & Destructor Documentation

def __init__ (   self,
  resource_dict 
)

Member Function Documentation

def get_token (   self)

Extracts and returns the authentication token.

def url_for (   self,
  attr = None,
  filter_value = None,
  service_type = None,
  endpoint_type = "publicURL",
  service_name = None,
  volume_service_name = None 
)

Fetches the public URL from the given service for a particular endpoint attribute.

If none given, returns the first. See tests for sample service catalog.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties