Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Num keyword Str Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad BinOpMod Str NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad BinOpMod Str NameLoad Num Assign AttributeStore NameLoad attr BoolOpOr Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad Call AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr Num body Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Call NameLoad Str Dict Str Str NameLoad Call NameLoad AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Global identifier If NameLoad body Raise Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list
N/A N/A Generic Node base class for all workers that run on hosts. oslo.config cfg rack exception rack.openstack.common.gettextutils _ rack.openstack.common importutils rack.openstack.common log logging rack.openstack.common service rack utils rack wsgi N/A LOG N/A N/A logging getLogger __name__ N/A service_opts N/A N/A N/A cfg StrOpt rackapi_listen default 0.0.0.0 help The IP address on which the OpenStack API will listen. N/A N/A cfg IntOpt rackapi_listen_port default 8088 help The port on which the OpenStack API will listen. N/A N/A cfg IntOpt rackapi_workers help Number of workers for OpenStack API service. The default will be the number of CPUs available. N/A CONF N/A cfg CONF N/A N/A N/A CONF register_opts service_opts N/A N/A N/A CONF import_opt host rack.netconf WSGIService N/A object N/A N/A Provides ability to launch API from a 'paste' configuration. __init__ N/A N/A self name loader use_ssl max_url_len N/A None False None N/A N/A Initialize, but do not start the WSGI server.

        :param name: The name of the WSGI server given to the loader.
        :param loader: Loads the WSGI application using the given name.
        :returns: None

         N/A N/A self name name N/A N/A self manager N/A N/A self _get_manager N/A N/A self loader N/A loader N/A N/A wsgi Loader N/A N/A self app N/A N/A N/A self loader load_app name N/A N/A self host N/A getattr CONF N/A %s_listen name 0.0.0.0 N/A N/A self port N/A getattr CONF N/A %s_listen_port name 0 N/A N/A self workers N/A N/A getattr CONF N/A %s_workers name None N/A N/A utils cpu_count N/A N/A N/A self workers N/A N/A self workers 1 N/A N/A worker_name N/A %s_workers name N/A msg N/A N/A _ %(worker_name)s value of %(workers)s is invalid, must be greater than 0 N/A worker_name workers worker_name N/A str N/A self workers N/A N/A N/A exception InvalidInput msg N/A N/A self use_ssl use_ssl N/A N/A self server N/A N/A wsgi Server name N/A self app host N/A self host port N/A self port use_ssl N/A self use_ssl max_url_len max_url_len N/A N/A self port N/A N/A self server port N/A N/A self backdoor_port None N/A _get_manager N/A N/A self N/A N/A N/A Initialize a Manager object appropriate for this service.

        Use the service name to look up a Manager subclass from the
        configuration and initialize an instance. If no class name
        is configured, just return None.

        :returns: a Manager instance, or None.

         N/A fl N/A %s_manager N/A self name N/A N/A fl CONF N/A N/A None N/A manager_class_name N/A N/A CONF get fl None N/A N/A manager_class_name N/A N/A None N/A manager_class N/A N/A importutils import_class manager_class_name N/A N/A manager_class N/A start N/A N/A self N/A N/A N/A Start serving this service using loaded configuration.

        Also, retrieve updated port number in case '0' was passed in, which
        indicates a random port should be used.

        :returns: None

         N/A N/A self manager N/A N/A N/A N/A N/A self manager init_host N/A N/A N/A N/A self manager pre_start_hook N/A N/A N/A self backdoor_port None N/A N/A N/A N/A self manager backdoor_port N/A self backdoor_port N/A N/A N/A N/A self server start N/A N/A self manager N/A N/A N/A N/A N/A self manager post_start_hook N/A stop N/A N/A self N/A N/A N/A Stop serving this API.

        :returns: None

         N/A N/A N/A N/A self server stop N/A wait N/A N/A self N/A N/A N/A Wait for the service to stop serving this API.

        :returns: None

         N/A N/A N/A N/A self server wait N/A N/A process_launcher N/A N/A N/A N/A N/A N/A N/A service ProcessLauncher N/A N/A _launcher None serve N/A N/A server workers N/A None N/A N/A _launcher N/A _launcher N/A N/A N/A RuntimeError N/A _ serve() can only be called once N/A _launcher N/A N/A service launch server workers workers N/A wait N/A N/A N/A N/A N/A N/A N/A _launcher wait N/A