#2455: Fix typo in config file and notebook
This commit is contained in:
@@ -1476,7 +1476,7 @@ simulation:
|
|||||||
options:
|
options:
|
||||||
db_server_ip: 192.168.1.14
|
db_server_ip: 192.168.1.14
|
||||||
services:
|
services:
|
||||||
- ty DNSClient
|
- type: DNSClient
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -362,7 +362,7 @@
|
|||||||
" cfg = yaml.safe_load(f)\n",
|
" cfg = yaml.safe_load(f)\n",
|
||||||
" cfg['simulation']['network']\n",
|
" cfg['simulation']['network']\n",
|
||||||
" for node in cfg['simulation']['network']['nodes']:\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",
|
" node['applications'] = change['applications']\n",
|
||||||
"\n",
|
"\n",
|
||||||
"env = PrimaiteGymEnv(game_config = cfg)\n",
|
"env = PrimaiteGymEnv(game_config = cfg)\n",
|
||||||
@@ -407,7 +407,7 @@
|
|||||||
" cfg = yaml.safe_load(f)\n",
|
" cfg = yaml.safe_load(f)\n",
|
||||||
" cfg['simulation']['network']\n",
|
" cfg['simulation']['network']\n",
|
||||||
" for node in cfg['simulation']['network']['nodes']:\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",
|
" node['applications'] = change['applications']\n",
|
||||||
"\n",
|
"\n",
|
||||||
"env = PrimaiteGymEnv(game_config = cfg)\n",
|
"env = PrimaiteGymEnv(game_config = cfg)\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user