Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str NameLoad ListLoad NameLoad NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore BoolOpOr NameLoad ListLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr orelse Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Dict Str Str NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list
N/A N/A Module containing aerospike server installation and cleanup functions. N/A time perfkitbenchmarker data perfkitbenchmarker disk perfkitbenchmarker flags perfkitbenchmarker vm_util N/A FLAGS N/A flags FLAGS N/A GIT_REPO https://github.com/aerospike/aerospike-server.git N/A GIT_TAG 3.3.19 N/A AEROSPIKE_DIR N/A %s/aerospike-server N/A vm_util VM_TMP_DIR N/A AEROSPIKE_CONF_PATH N/A %s/as/etc/aerospike_dev.conf AEROSPIKE_DIR N/A MEMORY memory N/A DISK disk N/A N/A N/A flags DEFINE_enum aerospike_storage_type MEMORY N/A MEMORY DISK The type of storage to use for Aerospike data. The type of disk is controlled by the "data_disk_type" flag. _Install N/A N/A vm N/A N/A N/A Installs the Aerospike server on the VM. N/A N/A N/A vm Install build_tools N/A N/A N/A vm Install lua5_1 N/A N/A N/A vm Install openssl N/A N/A N/A vm RemoteCommand N/A N/A git clone {0} {1} format GIT_REPO AEROSPIKE_DIR N/A N/A N/A vm RemoteCommand N/A N/A cd {0} && git checkout {1} && git submodule update --init && make format AEROSPIKE_DIR GIT_TAG N/A YumInstall N/A N/A vm N/A N/A N/A Installs the memtier package on the VM. N/A N/A _Install vm N/A AptInstall N/A N/A vm N/A N/A N/A Installs the memtier package on the VM. N/A N/A _Install vm N/A ConfigureAndStart N/A N/A server seed_node_ips N/A None N/A N/A Prepare the Aerospike server on a VM.

  Args:
    server: VirtualMachine to install and start Aerospike on.
    seed_node_ips: internal IP addresses of seed nodes in the cluster.
      Leave unspecified for a single-node deployment.
   N/A N/A N/A server Install aerospike_server N/A seed_node_ips N/A seed_node_ips N/A N/A server internal_ip N/A N/A N/A FLAGS aerospike_storage_type DISK N/A N/A N/A N/A FLAGS data_disk_type N/A disk LOCAL N/A N/A devices N/A N/A server GetLocalDisks N/A N/A devices N/A N/A N/A scratch_disk GetDevicePath N/A scratch_disk N/A server scratch_disks N/A N/A devices N/A N/A N/A N/A server RenderTemplate N/A N/A data ResourcePath aerospike.conf.j2 AEROSPIKE_CONF_PATH N/A devices seed_addresses devices seed_node_ips N/A scratch_disk N/A server scratch_disks N/A N/A N/A N/A server RemoteCommand N/A sudo umount %s N/A scratch_disk mount_point N/A N/A N/A server RemoteCommand N/A cd %s && make init AEROSPIKE_DIR N/A N/A N/A server RemoteCommand N/A cd %s; nohup sudo make start &> /dev/null & AEROSPIKE_DIR N/A N/A N/A time sleep 5 N/A