The list of available servcies includes:
- Identifying the minimum set of nodes or edges that need to be removed to block messages between two nodes in the network
- Identify the most important nodes/edges between groups of nodes
Please look at the user guide for a detailed spec of the services and how to use the services.
pip install -r requirements.txt
Run the following commands to generate gRPC classes for Python
cd robustness
python3.6 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. service_spec_robustness/network_analytics_robustness.proto
For testing the core functionalities
python3.6 test_robustness.py
For testing the gRPC wrapper code
python3.6 test_snet_grpc_wrapper_robustness.py
To start the gRPC server locally
python3.6 snet_grpc_wrapper_robustness.py