Module Expr Str Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad While CompareLt Call AttributeLoad NameLoad attr NameLoad body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Copyright 2014 Rackspace

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 N/A time cafe.engine.behaviors BaseBehavior cloudcafe.common.exceptions BuildErrorException TimeoutException cloudcafe.networking.lbaas.common.types LBaaSStatusTypes BaseLoadBalancersBehaviors N/A BaseBehavior N/A __init__ N/A N/A self lbaas_client_type config N/A N/A N/A N/A N/A N/A super BaseLoadBalancersBehaviors self __init__ N/A N/A self config config N/A N/A self lbaas_client_type lbaas_client_type N/A create_active_lbaas_object N/A N/A self lbaas_model_type N/A kwargs N/A N/A 
        @summary: Creates a LBaaS object and waits for it to become active
        @param lbaas_model_type: The type of the LBaaS object.
            ex: health_monitor, listener, load_balancer, member, pool
        @type lbaas_model_type: str
        @param kwargs: Key/value pairs to be used in
            create function call
        @type kwargs: dict
        @return: Response object containing response and the LBaaS model
            domain object
        @rtype: requests.Response
         N/A N/A N/A create_func N/A getattr N/A self lbaas_client_type N/A N/A create_{0} format lbaas_model_type N/A N/A N/A AttributeError N/A ex N/A N/A error_message N/A N/A Failed to obtain 'create' method for {type_}: {message} format type_ lbaas_model_type message N/A ex message N/A N/A N/A N/A self _log error error_message N/A N/A Exception error_message N/A N/A resp N/A create_func kwargs N/A N/A N/A resp status_code 202 N/A N/A N/A resp entity None N/A lbaas_model_obj N/A resp entity N/A resp N/A N/A self wait_for_lbaas_object_status lbaas_object_id N/A N/A lbaas_model_obj entity id lbaas_model_type lbaas_model_type desired_status N/A LBaaSStatusTypes ACTIVE N/A resp N/A update_lbaas_object_and_wait_for_active N/A N/A self lbaas_model_type N/A kwargs N/A N/A 
        @summary: Updates a LBaaS object and waits for it to become active
        @param lbaas_object_id: The id of the LBaaS type object.
        @type lbaas_object_id: str
        @param lbaas_model_type: The type of the LBaaS object.
            ex: health_monitor, listener, load_balancer, member, pool
        @type lbaas_model_type: str
        @param kwargs: Key/value pairs to be used in
            create function call
        @type kwargs: dict
        @return: Response object containing response and the image
                 domain object
        @rtype: requests.Response
         N/A N/A N/A update_func N/A getattr N/A self lbaas_client_type N/A N/A update_{0} format lbaas_model_type N/A N/A N/A AttributeError N/A ex N/A N/A error_message N/A N/A Failed to obtain 'update' method for {type_}: {message} format type_ lbaas_model_type message N/A ex message N/A N/A N/A N/A self _log error error_message N/A N/A Exception error_message N/A N/A resp N/A update_func kwargs N/A N/A N/A resp status_code 202 N/A N/A N/A resp entity None N/A lbaas_model_obj N/A resp entity N/A resp N/A N/A self wait_for_lbaas_object_status lbaas_object_id N/A N/A lbaas_model_obj entity id lbaas_model_type lbaas_model_type desired_status N/A LBaaSStatusTypes ACTIVE N/A resp N/A wait_for_lbaas_object_status N/A N/A self lbaas_object_id lbaas_model_type desired_status interval_time timeout N/A None None N/A N/A 
        @summary: Waits for a LBaaS type object to reach a desired status.
        @param lbaas_object_id: The id of the LBaaS type object.
        @type lbaas_object_id: str
        @param lbaas_model_type: The type of the LBaaS object.
            ex: health_monitor, listener, load_balancer, member, pool
        @type lbaas_model_type: str
        @param desired_status: Desired final status of the LBaaS type object.
        @type desired_status: str
        @param interval_time: Amount of time in seconds to wait
            between polling.
        @type interval_time: int
        @param interval_time: Amount of time in seconds to wait
            before aborting.
        @type interval_time: int
        @return: Response object containing response and the LBaaS type
            domain object.
        @rtype: requests.Response
         N/A interval_time N/A interval_time N/A N/A self config lbaas_status_interval N/A timeout N/A timeout N/A N/A self config lbaas_timeout N/A end_time N/A N/A N/A time time timeout N/A N/A N/A N/A time time end_time N/A N/A N/A N/A get_func N/A getattr N/A self lbaas_client_type N/A N/A get_{0} format lbaas_model_type N/A N/A N/A AttributeError N/A ex N/A N/A error_message N/A N/A Failed to obtain 'get' method for {type_}: {message} format type_ lbaas_model_type message N/A ex message N/A N/A N/A N/A self _log error error_message N/A N/A Exception error_message N/A N/A resp N/A get_func lbaas_object_id N/A N/A N/A resp ok N/A N/A N/A Exception N/A N/A Failed to get {type_} information: {code} - {reason} format type_ lbaas_model_type code N/A resp status_code reason N/A resp reason N/A N/A N/A resp entity None N/A N/A N/A Exception N/A N/A Response entity was not set. Response was: {0} format N/A resp content N/A lbaas_object N/A resp entity N/A N/A N/A N/A N/A lbaas_object status lower N/A N/A N/A LBaaSStatusTypes ERROR lower N/A N/A N/A BuildErrorException N/A N/A Failed during wait of {type_} status with id {id_} entered ERROR status. format type_ lbaas_model_type id_ N/A lbaas_object id N/A N/A N/A lbaas_object status desired_status N/A N/A N/A N/A N/A time sleep interval_time N/A N/A N/A TimeoutException N/A N/A wait for {type_} ran for {timeout} seconds and did not observe {type_} {id_} reach the {status} status. format type_ lbaas_model_type timeout timeout id_ lbaas_object_id status desired_status N/A resp N/A N/A