Open Kilda Java Documentation
stress_test Namespace Reference

Functions

def generate_swith_name (n)
 

Variables

string bootstrap_servers = 'kafka.pendev:9092'
 
string topic = 'kilda.topo.eng'
 
string MT_INFO = "org.openkilda.messaging.info.InfoMessage"
 
string MT_SWITCH = "org.openkilda.messaging.info.event.SwitchInfoData"
 
 producer = KafkaProducer(bootstrap_servers=bootstrap_servers)
 
 x = xrange(10000)
 
def switch = generate_swith_name(n)
 

Function Documentation

◆ generate_swith_name()

def stress_test.generate_swith_name (   n)

Definition at line 29 of file stress_test.py.

Variable Documentation

◆ bootstrap_servers

string stress_test.bootstrap_servers = 'kafka.pendev:9092'

Definition at line 20 of file stress_test.py.

◆ MT_INFO

string stress_test.MT_INFO = "org.openkilda.messaging.info.InfoMessage"

Definition at line 22 of file stress_test.py.

◆ MT_SWITCH

string stress_test.MT_SWITCH = "org.openkilda.messaging.info.event.SwitchInfoData"

Definition at line 23 of file stress_test.py.

◆ producer

stress_test.producer = KafkaProducer(bootstrap_servers=bootstrap_servers)

Definition at line 25 of file stress_test.py.

◆ switch

def stress_test.switch = generate_swith_name(n)

Definition at line 37 of file stress_test.py.

◆ topic

string stress_test.topic = 'kilda.topo.eng'

Definition at line 21 of file stress_test.py.

◆ x

stress_test.x = xrange(10000)

Definition at line 34 of file stress_test.py.