Module Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Str Str Assign NameStore BoolOpOr CompareIs NameLoad NameLoad CompareNotEq Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Str Str If BoolOpAnd NameLoad CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad If UnaryOpNot CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Str Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Str Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad keyword NameLoad keyword IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list
N/A N/A os N/A sys N/A ConfigParser N/A ssl ssl_settings N/A N/A host config_file env N/A N/A os environ N/A N/A 
    Function wcich generates SSL setting for cassandra.Cluster

    Params:
    * host .........: hostname of Cassandra node.
    * env ..........: environment variables. SSL factory will use, if passed,
                      SSL_CERTFILE and SSL_VALIDATE variables.
    * config_file ..: path to cqlsh config file (usually ~/.cqlshrc).
                      SSL factory will use, if set, certfile and validate
                      options in [ssl] section, as well as host to certfile
                      mapping in [certfiles] section.

    [certfiles] section is optional, 'validate' setting in [ssl] section is
    optional too. If validation is enabled then SSL certfile must be provided
    either in the config file or as an environment variable.
    Environment variables override any options set in cqlsh config file.
     N/A configs N/A N/A ConfigParser SafeConfigParser N/A N/A N/A configs read config_file get_option N/A N/A section option N/A N/A N/A N/A N/A N/A N/A configs get section option N/A N/A N/A N/A ConfigParser Error N/A N/A None N/A N/A ssl_validate N/A N/A env get SSL_VALIDATE N/A N/A ssl_validate None N/A N/A ssl_validate N/A get_option ssl validate N/A ssl_validate N/A N/A ssl_validate None N/A N/A N/A ssl_validate lower false N/A ssl_certfile N/A N/A env get SSL_CERTFILE N/A N/A ssl_certfile None N/A N/A ssl_certfile N/A get_option certfiles host N/A N/A ssl_certfile None N/A N/A ssl_certfile N/A get_option ssl certfile N/A N/A ssl_validate N/A ssl_certfile None N/A N/A N/A N/A sys exit N/A Validation is enabled; SSL transport factory requires a valid certfile to be specified. Please provide path to the certfile in [ssl] section as 'certfile' option in %s (or use [certfiles] section) or set SSL_CERTFILE environment variable. N/A config_file N/A N/A N/A ssl_certfile None N/A N/A ssl_certfile N/A N/A N/A os path expanduser ssl_certfile N/A userkey N/A get_option ssl userkey N/A userkey N/A N/A userkey N/A N/A N/A os path expanduser userkey N/A usercert N/A get_option ssl usercert N/A usercert N/A N/A usercert N/A N/A N/A os path expanduser usercert N/A N/A dict ca_certs ssl_certfile cert_reqs N/A ssl_validate N/A ssl CERT_REQUIRED N/A ssl CERT_NONE ssl_version N/A ssl PROTOCOL_TLSv1 keyfile userkey certfile usercert N/A