#2455: Fix typo in config file and notebook

This commit is contained in:
Nick Todd
2024-04-09 14:47:31 +01:00
parent bce32fb376
commit 89de5a298d
2 changed files with 3 additions and 3 deletions

View File

@@ -1476,7 +1476,7 @@ simulation:
options:
db_server_ip: 192.168.1.14
services:
- ty DNSClient
- type: DNSClient

View File

@@ -362,7 +362,7 @@
" cfg = yaml.safe_load(f)\n",
" cfg['simulation']['network']\n",
" for node in cfg['simulation']['network']['nodes']:\n",
" if node['ref'] in ['client_1', 'client_2']:\n",
" if node['hostname'] in ['client_1', 'client_2']:\n",
" node['applications'] = change['applications']\n",
"\n",
"env = PrimaiteGymEnv(game_config = cfg)\n",
@@ -407,7 +407,7 @@
" cfg = yaml.safe_load(f)\n",
" cfg['simulation']['network']\n",
" for node in cfg['simulation']['network']['nodes']:\n",
" if node['ref'] in ['client_1', 'client_2']:\n",
" if node['hostname'] in ['client_1', 'client_2']:\n",
" node['applications'] = change['applications']\n",
"\n",
"env = PrimaiteGymEnv(game_config = cfg)\n",