Skip to content

Commit 84ec7ce

Browse files
committed
update Python version
1 parent 33c74e6 commit 84ec7ce

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

config.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,18 @@
5050
"cluster_config": {
5151
"cluster_nodes": [
5252
{
53-
"ip": "127.0.0.1",
53+
"ip": "172.31.212.92",
5454
"leader": true,
55-
"cpus": 24,
56-
"gpus": 0,
57-
"RAM": 192
55+
"cpus": 96,
56+
"gpus": 4,
57+
"RAM": 755
58+
},
59+
{
60+
"ip": "172.31.212.91",
61+
"leader": false,
62+
"cpus": 16,
63+
"gpus": 2,
64+
"RAM": 126
5865
}
5966
]
6067
},

docs/_docs/installing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ The simulation system consists of a set of Python libraries and a set of configu
228228
To install the simulation system, the Python libraries need to be installed and
229229
the configuration files need to be inserted into the metastore.
230230

231-
If you do not have Python >3.9 in your base environment, start with installing Python 3.9 by running the commands:
231+
If you do not have Python >3.9 in your base environment, start with installing Python 3.11 by running the commands:
232232

233233
```bash
234-
conda create -n py39 python=3.9
235-
conda activate py39 # alternatively, "source activate py39" for old versions of conda
234+
conda create -n py311 python=3.11
235+
conda activate py311 # alternatively, "source activate py39" for old versions of conda
236236
```
237237

238238
<p class="captionFig">
239-
Listing 24: Command to install Python 3.9 using Anaconda.
239+
Listing 24: Command to install Python 3.11 using Anaconda.
240240
</p>
241241

242242
The simulation system includes 17 Python libraries:

simulation-system/libs/csle-common/src/csle_common/constants/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ class METADATA_STORE:
16181618
DBNAME = "csle"
16191619
USER = "csle"
16201620
PASSWORD = "csle"
1621-
HOST = "127.0.0.1"
1621+
HOST = "172.31.212.92"
16221622
TRACES_PROPERTY = "traces"
16231623
DB_NAME_PROPERTY = "dbname"
16241624
PW_PROPERTY = "password"

0 commit comments

Comments
 (0)