fuse_kafka
 All Data Structures Files Functions Variables Defines
Public Member Functions | Data Fields
build.TestMininet Class Reference

Public Member Functions

def impersonate
def start_network
def log_path
def shell
def clients_initialize
def cmd
def data_directories_cleanup
def zookeeper_start
def kafka_start
def kafka_stop
def zookeeper_stop
def fuse_kafka_start
def consumer_start
def tearDown
def setUp
def check
def get_consumed_events
def write_to_log
def components_start
def test_basic
def test_shutting_down_kafka
def test_shutting_down_zookeeper
def test_bringing_down_kafka
def test_cutting_kafka
def test_cutting_zookeeper
def test_cutting_kafka_periodically

Data Fields

 net
 kafka
 zookeeper
 fuse_kafka
 client
 hosts
 switch
 java_clients
 kafka_config
 fuse_kafka_path
 consumer
 launch
 stop

Detailed Description

Utility to create a virtual network to test fuse kafka resiliancy 

Definition at line 668 of file build.py.


Member Function Documentation

initializes clients variables based on hosts 

Definition at line 704 of file build.py.

starts zookeepre, kafka, fuse_kafka, fuse_kafka consumer 

Definition at line 816 of file build.py.

starts fuse_kafka consumer 

Definition at line 764 of file build.py.

cleanups generated directory 

Definition at line 719 of file build.py.

starts fuse_kafka 

Definition at line 746 of file build.py.

def build.TestMininet.impersonate (   self,
  inital_user = True 
)
changes effective group and user ids 

Definition at line 670 of file build.py.

starts kafka server and creates logging topic 

Definition at line 727 of file build.py.

stops kafka server 

Definition at line 740 of file build.py.

def build.TestMininet.setUp (   self)
starts the topology, downloads kafka, does a data directory
cleanup in case of previous run 

Definition at line 785 of file build.py.

def build.TestMininet.shell (   self)
launches mininet CLI 

Definition at line 700 of file build.py.

starts-up a single switch topology 

Definition at line 682 of file build.py.

stops fuse_kafka, zookeeper, kafka, cleans their working directory and 
stops the virtual topology 

Definition at line 775 of file build.py.

runs the topology with a mininet shell 

Definition at line 822 of file build.py.

starts zookeeper server 

Definition at line 722 of file build.py.

stops zookeeper server 

Definition at line 743 of file build.py.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Defines