Merge pull request #890 from h3lix1/traffic_module

Add traffic management module to the python libraries
This commit is contained in:
Ian McEwen
2026-03-02 10:00:12 -07:00
committed by GitHub
4 changed files with 52 additions and 0 deletions

View File

@@ -244,6 +244,8 @@ class Node:
p.set_module_config.ambient_lighting.CopyFrom(self.moduleConfig.ambient_lighting)
elif config_name == "paxcounter":
p.set_module_config.paxcounter.CopyFrom(self.moduleConfig.paxcounter)
elif config_name == "traffic_management":
p.set_module_config.traffic_management.CopyFrom(self.moduleConfig.traffic_management)
else:
our_exit(f"Error: No valid config with name {config_name}")