Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str CompareIs Call NameLoad NameLoad Str NameLoad NameLoad body Raise Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return NameLoad decorator_list NameLoad decorator_list If CompareEq NameLoad Str body FunctionDef arguments args NameParam defaults body Print Str NameLoad Print Str AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Print Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Print Call AttributeLoad Str attr NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign NameStore Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword Str Assign NameStore ListLoad Str Str Str If NameLoad body Print Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad Print Str AttributeLoad NameLoad attr
N/A cafe.common.reporting cclogging cloudcafe.networking.networks.common.proxy_mgr.ping_util PingMixin cloudcafe.networking.networks.common.proxy_mgr.ssh_util SshMixin NoPasswordProvided N/A Exception N/A __init__ N/A N/A self N/A N/A N/A N/A self message Server Model Obj does not have the 'admin_pass' attribute set N/A __str__ N/A N/A self N/A N/A N/A N/A self message N/A N/A NetworkProxyMgr N/A PingMixin SshMixin N/A N/A LINUX linux N/A WINDOWS windows N/A OS N/A LINUX WINDOWS N/A DEFAULT_USER root N/A PROMPT_PATTERN [$#>]\s*$ N/A STANDARD_CMD_DELAY 0.5 __init__ N/A N/A self use_proxy proxy_os ip_version logger debug N/A True LINUX 4 None False N/A N/A 
        Proxy Server Constructor
        @param use_proxy: (Boolean) - Is there a proxy/bastion that should
            execute commands or be used as a hop to another address?
            True - Yes
            False - No, execute cmds from the localhost.
        @param proxy_os: (ENUM) - Support for multiple OSs. A hook for
            future functionality. Only supports Linux currently.
        @param ip_version: Version to use by default, if utilities differ
            across IP versions.
        @param logger: Logging functionality.
        @param debug: (Boolean) Used for debugging system and mixin utiliies

        @return: None
         N/A N/A self use_proxy use_proxy N/A N/A self _proxy_svr None N/A N/A self _proxy_ip None N/A N/A self _proxy_os proxy_os N/A N/A self _ip_version ip_version N/A N/A self logger N/A logger N/A N/A cclogging getLogger N/A N/A cclogging get_object_namespace N/A self __class__ N/A N/A self connection None N/A N/A self debug debug N/A N/A self session_password None N/A N/A self prompt_pattern N/A self PROMPT_PATTERN N/A N/A self last_response None N/A N/A self _conn_path N/A N/A N/A self _pexpect_cmd_delay N/A self STANDARD_CMD_DELAY N/A set_proxy_server N/A N/A self server_obj username password N/A DEFAULT_USER None N/A N/A 
        Saves server model representing the proxy server (compute model)
        If obj does not contain the password, please provide it, it's difficult
        to connect otherwise...

        @param server_obj: compute model representation of server
        @param username: User to log into proxy
        @param password: password for compute VM

        @return: None

         N/A N/A password None N/A N/A N/A server_obj admin_pass password N/A N/A N/A N/A hasattr server_obj admin_pass N/A N/A getattr server_obj admin_pass None None N/A N/A N/A NoPasswordProvided N/A N/A server_obj username username N/A N/A self _proxy_svr server_obj N/A N/A self _proxy_ip N/A getattr N/A N/A N/A self _proxy_svr addresses public N/A N/A ipv{ver} format ver N/A self _ip_version N/A proxy_server_address N/A N/A self N/A N/A N/A N/A self _proxy_ip N/A property proxy_server_password N/A N/A self N/A N/A N/A N/A N/A self _proxy_svr admin_pass N/A property proxy_server_password N/A N/A self password N/A N/A N/A N/A N/A self _proxy_svr admin_pass password N/A N/A proxy_server_password setter proxy_server_name N/A N/A self N/A N/A N/A N/A N/A self _proxy_svr name N/A property proxy_server_user N/A N/A self N/A N/A N/A N/A N/A self _proxy_svr username N/A property proxy_server_obj N/A N/A self N/A N/A N/A N/A self _proxy_svr N/A property proxy_server_obj N/A N/A self obj N/A N/A N/A N/A N/A self set_proxy_server server_obj obj N/A N/A proxy_server_obj setter display_conn_info N/A N/A self conn_info N/A N/A N/A 
        Display connection info and all input/output at time of invocation,
        plus input/output per command

        @param conn_info: Populated SshResponse Object (proxy_mgr.ssh_util)
        @return: None

         N/A output N/A N/A Connection:
{conn}
STDOUT:
{stdout}
STDIN:
{stdin}
ALL:
{all} format conn conn_info stdin N/A conn_info stdin stdout N/A conn_info stdout all N/A conn_info output N/A per_command 

PER COMMAND:
 N/A N/A cmd out N/A N/A N/A conn_info cmd_output iteritems N/A N/A command_str N/A N/A CMD: '{0}'
{1}

 format cmd out N/A per_command N/A N/A {0}
{1} format per_command command_str N/A N/A N/A N/A self logger debug N/A N/A {0}
{1} format output per_command N/A _connect_to_local_proxy N/A N/A N/A N/A N/A 
        Placeholder in case there is a different mechanism used to connect
        to the local host (e.g. - subprocess() or popen())

        @return: None

         N/A None N/A staticmethod N/A N/A N/A __name__ __main__ N/A display_conn_info N/A N/A conn_info N/A N/A N/A Connection: conn_info N/A 
STDOUT
 N/A conn_info stdout N/A 
STDIN
 N/A conn_info stdin N/A 

ALL
 N/A conn_info output N/A 

PER COMMAND:
 N/A N/A cmd out N/A N/A N/A conn_info cmd_output iteritems N/A N/A N/A N/A CMD: '{0}'
{1}

 format cmd out N/A Proxy N/A object N/A __init__ N/A N/A self password username id_ N/A None None None N/A N/A N/A self admin_pass password N/A N/A self username username N/A N/A self id id_ N/A N/A N/A use_proxy True N/A ssh True N/A ping True N/A proxy N/A NetworkProxyMgr use_proxy use_proxy ip_version 4 logger None debug True proxy_os N/A NetworkProxyMgr LINUX N/A username root N/A password <insert password> N/A N/A proxy _proxy_ip <insert proxy ip> N/A target_ip <insert target ip> N/A target_id <insert target host id> N/A N/A proxy _proxy_svr N/A Proxy username username password password id_ <insert proxy host id> N/A commands N/A ls -alF hostname -I exit N/A ping N/A N/A N/A N/A PING {0} --> {1} format target_ip N/A N/A proxy ping target_ip N/A ssh N/A N/A response N/A N/A proxy ssh_to_target target_ip target_ip user username password password proxy_user username proxy_pswd password proxy_ip N/A proxy _proxy_ip cmds commands N/A N/A display_conn_info response N/A CONNS: N/A proxy _conn_path