daemon: fixed issue where emane global config settings were not being sent to core-gui when joining a session
This commit is contained in:
parent
8a6fdc69ba
commit
f2868a9554
2 changed files with 9 additions and 2 deletions
|
@ -1851,7 +1851,15 @@ class CoreHandler(socketserver.BaseRequestHandler):
|
|||
)
|
||||
self.session.broadcast_config(config_data)
|
||||
|
||||
# send emane model info
|
||||
# send global emane config
|
||||
config = self.session.emane.get_configs()
|
||||
logging.debug("global emane config: values(%s)", config)
|
||||
config_data = ConfigShim.config_data(
|
||||
0, None, ConfigFlags.UPDATE.value, self.session.emane.emane_config, config
|
||||
)
|
||||
self.session.broadcast_config(config_data)
|
||||
|
||||
# send emane model configs
|
||||
for node_id in self.session.emane.nodes():
|
||||
emane_configs = self.session.emane.get_all_configs(node_id)
|
||||
for model_name in emane_configs:
|
||||
|
|
|
@ -333,7 +333,6 @@ Create `/tmp/emane/blockageaft.xml` with the following contents.
|
|||
```
|
||||
|
||||
## Run Demo
|
||||
> **WARNING:** if using core-gui, you will need to open nd save the emane configuration
|
||||
1. Select `Open...` within the GUI
|
||||
1. Load `emane-demo-antenna.xml`
|
||||
1. Click ![Start Button](../static/gui/start.gif)
|
||||
|
|
Loading…
Reference in a new issue