hadoop-ozone/fault-injection-test/network-tests/src/test/blockade/ozone/client.py
def run_freon(self, num_volumes, num_buckets, num_keys, key_size,
                  replication_type="RATIS", replication_factor="THREE"):
        """
        Runs freon on the cluster.
        """
        command = [Command.freon,
                   " rk",
                   " --num-of-volumes " + str(num_volumes),
                   " --num-of-buckets " + str(num_buckets),
                   " --num-of-keys " + str(num_keys),
                   " --key-size " + str(key_size),
                   " --replication-type " + replication_type,
                   " --factor " + replication_factor]
        return util.run_docker_command(command, self.cluster.client)

        Runs freon on the cluster.
        
Runs freon on the cluster.
Runs freon on the cluster .
def run_freon(self, num_volumes, num_buckets, num_keys, key_size,
                  replication_type="RATIS", replication_factor="THREE"):
        command = [Command.freon,
                   " rk",
                   " --num-of-volumes " + str(num_volumes),
                   " --num-of-buckets " + str(num_buckets),
                   " --num-of-keys " + str(num_keys),
                   " --key-size " + str(key_size),
                   " --replication-type " + replication_type,
                   " --factor " + replication_factor]
        return util.run_docker_command(command, self.cluster.client)
def run_freon ( self , num_volumes , num_buckets , num_keys , key_size , replication_type = "RATIS" , replication_factor = "THREE" ) : command = [ Command . freon , " rk" , " --num-of-volumes " + str ( num_volumes ) , " --num-of-buckets " + str ( num_buckets ) , " --num-of-keys " + str ( num_keys ) , " --key-size " + str ( key_size ) , " --replication-type " + replication_type , " --factor " + replication_factor ] return util . run_docker_command ( command , self . cluster . client )
Runs freon on the cluster.
Runs freon on the cluster .
"""
        Runs freon on the cluster.
        """
self
num_volumes
num_buckets
num_keys
key_size
replication_type
replication_factor