Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad Dict NameLoad NameLoad ListLoad Dict ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Dict TryExcept body Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListLoad AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad ListLoad Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Dict Str Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr For NameStore ListLoad Str Str Str Str body If Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If CompareNotIn Str AttributeLoad NameLoad attr body Return TupleLoad NameLoad Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Dict Str Str attr Assign TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str If CompareNotEq NameLoad Str body Return TupleLoad NameLoad Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Dict Str Str attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Num body Return TupleLoad NameLoad Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Dict Str Str attr Assign NameStore SubscriptLoad NameLoad Index Num If CompareLt AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Dict Str Str attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Return TupleLoad NameLoad Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Dict Str Str attr Assign NameStore ListComp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore AttributeLoad NameLoad attr Return TupleLoad NameLoad Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Dict Str Str Str Str Str Str NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return TupleLoad NameLoad Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Dict Str Str attr decorator_list Call NameLoad Call NameLoad keyword Num keyword Num keyword Num FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore Call NameLoad NameLoad NameLoad keyword TupleLoad NameLoad NameLoad keyword NameLoad keyword NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Return TupleLoad NameLoad Str Assign NameStore Dict Str AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list Call NameLoad Call NameLoad ListLoad Str Call NameLoad TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore Num If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr Dict Str NameLoad keyword Str keyword NameLoad decorator_list
N/A N/A 
Metadata views
 N/A json N/A time ovs.log.logHandler LogHandler ovs.extensions.generic.system System ovs.extensions.db.etcd.configuration EtcdConfiguration ovs.extensions.api.client OVSClient django.views.generic View django.views.decorators.csrf csrf_exempt django.http HttpResponse HttpResponseBadRequest django.conf settings oauth2.decorators auto_response limit authenticated backend.decorators required_roles load ovs.dal.lists.bearertokenlist BearerTokenList ovs.dal.lists.storagerouterlist StorageRouterList ovs.dal.lists.backendtypelist BackendTypeList N/A logger N/A N/A LogHandler get api name metadata MetadataView N/A View N/A N/A 
    Implements retrieval of generic metadata about the services
     get N/A N/A self request N/A args kwargs N/A N/A 
        Fetches metadata
         N/A _ N/A args kwargs N/A data N/A authenticated authentication_state authentication_metadata username userguid roles identification storagerouter_ips versions plugins False None N/A None None N/A N/A N/A N/A sr ip N/A sr N/A N/A StorageRouterList get_storagerouters N/A list N/A settings VERSION N/A N/A N/A N/A plugins N/A N/A backend_type N/A N/A BackendTypeList get_backend_types N/A N/A N/A N/A backend_type has_plugin True N/A N/A N/A N/A backend_type code plugins N/A N/A N/A plugins N/A N/A backend_type code N/A N/A N/A plugins N/A N/A backend_type code N/A backend gui N/A generic_plugins N/A N/A EtcdConfiguration get /ovs/framework/plugins/installed|generic N/A plugin_name generic_plugins N/A N/A N/A plugin_name plugins N/A N/A N/A plugins N/A plugin_name N/A N/A N/A plugins N/A plugin_name N/A gui N/A N/A data N/A plugins plugins N/A N/A data N/A identification N/A cluster_id N/A N/A EtcdConfiguration get /ovs/framework/cluster_id N/A authentication_metadata N/A ip N/A N/A N/A System get_my_storagerouter ip N/A key N/A mode authorize_uri client_id scope N/A N/A N/A N/A EtcdConfiguration exists N/A N/A /ovs/framework/webapps|oauth2.{0} format key N/A N/A N/A authentication_metadata N/A key N/A N/A EtcdConfiguration get N/A N/A /ovs/framework/webapps|oauth2.{0} format key N/A N/A data N/A authentication_metadata authentication_metadata N/A N/A HTTP_AUTHORIZATION N/A request META N/A N/A N/A HttpResponse N/A dict N/A N/A N/A data items N/A N/A N/A authentication_state unauthenticated items N/A N/A authorization_type access_token N/A N/A N/A N/A request META N/A HTTP_AUTHORIZATION split N/A N/A authorization_type Bearer N/A N/A N/A HttpResponse N/A dict N/A N/A N/A data items N/A N/A N/A authentication_state invalid_authorization_type items N/A tokens N/A N/A BearerTokenList get_by_access_token access_token N/A N/A N/A len tokens 1 N/A N/A N/A HttpResponse N/A dict N/A N/A N/A data items N/A N/A N/A authentication_state invalid_token items N/A token N/A tokens N/A 0 N/A N/A N/A token expiration N/A N/A time time N/A N/A junction N/A N/A N/A token roles itersafe N/A N/A N/A N/A junction delete N/A N/A N/A token delete N/A N/A HttpResponse N/A dict N/A N/A N/A data items N/A N/A N/A authentication_state token_expired items N/A user N/A N/A token client user N/A N/A N/A user is_active N/A N/A N/A HttpResponse N/A dict N/A N/A N/A data items N/A N/A N/A authentication_state inactive_user items N/A roles N/A N/A N/A j role code N/A j N/A token roles N/A N/A HttpResponse N/A dict N/A N/A N/A data items N/A N/A N/A authenticated authentication_state username userguid roles plugins True authenticated N/A user username N/A user guid roles plugins items N/A N/A N/A Exception N/A ex N/A N/A N/A N/A logger exception N/A N/A Unexpected exception: {0} format ex N/A N/A HttpResponse N/A dict N/A N/A N/A data items N/A N/A N/A authentication_state unexpected_exception items N/A N/A auto_response N/A limit amount 60 per 60 timeout 60 dispatch N/A N/A self request N/A args kwargs N/A N/A 
        Pass through method to add the CSRF exempt
         N/A N/A N/A N/A super MetadataView self dispatch request args kwargs N/A csrf_exempt N/A relay N/A N/A N/A args kwargs N/A N/A 
    Relays any call to another node.
    Assume this example:
    * A user wants to execute a HTTP GET on /api/storagerouters/
    ** /api/<call>
    * He'll have to execute a HTTP GET on /api/relay/<call>
    ** This will translate to /apt/relay/storagerouters/
    Parameters:
    * Mandatory: ip, port, client_id, client_secret
    * All other parameters will be passed through to the specified node
     _relay N/A N/A _ ip port client_id client_secret version request N/A N/A N/A path N/A N/A /{0} format N/A N/A N/A request path replace /api/relay/ N/A method N/A N/A N/A N/A request META N/A REQUEST_METHOD lower N/A client N/A OVSClient ip port credentials N/A client_id client_secret version version raw_response True N/A N/A N/A hasattr client method N/A N/A N/A HttpResponseBadRequest Method not available in relay N/A client_kwargs N/A params N/A request GET N/A N/A method get N/A N/A N/A client_kwargs N/A data N/A request POST N/A call_response N/A N/A getattr client method path client_kwargs N/A response N/A HttpResponse N/A call_response text content_type application/json status N/A call_response status_code N/A N/A header value N/A N/A N/A call_response headers iteritems N/A N/A N/A response N/A header value N/A response N/A N/A authenticated N/A required_roles N/A read N/A load N/A N/A N/A N/A _relay args kwargs N/A N/A N/A Exception N/A ex N/A N/A message N/A str ex N/A status_code 400 N/A N/A hasattr ex detail N/A N/A message N/A ex detail N/A N/A hasattr ex status_code N/A N/A status_code N/A ex status_code N/A N/A N/A logger exception N/A N/A Error relaying call: {0} format message N/A N/A HttpResponse N/A N/A json dumps N/A error message content_type application/json status status_code N/A