coreemu / core

Common Open Research Emulator
BSD 2-Clause "Simplified" License
684 stars 165 forks source link

[Questions] How to config service configs in python scripts #878

Open flykong opened 4 months ago

flykong commented 4 months ago

Hi everyone, I'm a newbie to coreemu.

I am try to construct a network scenario via python scripts. now i can config service via command "node1.config_services = ["IPForward", "zebra", "OSPFv2"]", and in core-gui, i can double click the node, and configure the OSPF router or others's parameters for each node.

Now i want to configure service (such as zebra, ospf, ...)'s configs in python script, i guass it maybe use command "node1.config_service_configs " , but i have no idea, Please Help! Give Some Example!

Thanks!!!

bharnden commented 1 month ago

Sorry for the delay. The latest release removed config services. You would have to explain if you are trying to code using a gRPC client or direct code and what exactly you want to configure.