#NEWLINE# def __init__( self , name , cluster , auto_bootstrap , thrift_interface , storage_interface , jmx_port , remote_debug_port , initial_token , save = True , binary_interface = None , byteman_port = '0' ) : #NEWLINE# #INDENT# '\n        Create a new Node.\n          - name: the name for that node\n          - cluster: the cluster this node is part of\n          - auto_bootstrap: whether or not this node should be set for auto-bootstrap\n          - thrift_interface: the (host, port) tuple for thrift\n          - storage_interface: the (host, port) tuple for internal cluster communication\n          - jmx_port: the port for JMX to bind to\n          - remote_debug_port: the port for remote debugging\n          - initial_token: the token for this node. If None, use Cassandra token auto-assignment\n          - save: copy all data useful for this node to the right position.  Leaving this true\n            is almost always the right choice.\n        ' #NEWLINE# self . name = storage_interface #NEWLINE# self . cluster = cluster #NEWLINE# self . status = Status . UNINITIALIZED #NEWLINE# self . auto_bootstrap = auto_bootstrap #NEWLINE# self . network_interfaces = { #NEWLINE# #INDENT# 'thrift' : common . normalize_interface ( thrift_interface ) , #NEWLINE# 'storage' : common . normalize_interface ( storage_interface ) , #NEWLINE# 'binary' : common . normalize_interface ( binary_interface ) , #NEWLINE# #UNINDENT# } #NEWLINE# self . jmx_port = jmx_port #NEWLINE# self . remote_debug_port = remote_debug_port #NEWLINE# self . byteman_port = byteman_port #NEWLINE# self . initial_token = initial_token #NEWLINE# self . pid = None #NEWLINE# self . data_center = None #NEWLINE# self . workloads = [ ] #NEWLINE# self . _dse_config_options = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . __config_options = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . __install_dir = None #NEWLINE# self . __global_log_level = None #NEWLINE# self . __classes_log_level = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . __conf_updated = False #NEWLINE# if save : #NEWLINE# #INDENT# self . import_config_files ( ) #NEWLINE# self . import_bin_files ( ) #NEWLINE# if common . is_win ( ) : #NEWLINE# #INDENT# self . __clean_bat ( )