mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-30 01:32:21 +00:00
small changes
This commit is contained in:
@@ -112,7 +112,7 @@ fully-functional programs.
|
||||
$ pwd
|
||||
/path/to/oopt-gnpy
|
||||
$ cd examples
|
||||
$ python3 transmission_main_example.py
|
||||
$ python transmission_main_example.py
|
||||
|
||||
By default, this script operates on a single span network defined in
|
||||
`examples/edfa_example_network.json <examples/edfa_example_network.json>`_
|
||||
@@ -124,7 +124,7 @@ example, to use the CORONET Continental US (CONUS) network defined in
|
||||
.. code-block:: shell
|
||||
|
||||
$ cd examples
|
||||
$ python3 transmission_main_example.py CORONET_Global_Topology.json
|
||||
$ python transmission_main_example.py CORONET_Global_Topology.json
|
||||
|
||||
It is also possible to use an Excel file input (for example
|
||||
`examples/CORONET_Global_Topology.xls <examples/CORONET_Global_Topology.xls>`_).
|
||||
@@ -462,7 +462,7 @@ Use `examples/path_requests_run.py <examples/path_requests_run.py>`_ to run mult
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ path_requests_run.py -h
|
||||
$ python path_requests_run.py -h
|
||||
Usage: path_requests_run.py [-h] [-v] [-o OUTPUT] [network_filename] [service_filename] [eqpt_filename]
|
||||
|
||||
The `network_filename` and `service_filename` can be an XLS or JSON file. The `eqpt_filename` must be a JSON file.
|
||||
@@ -472,7 +472,7 @@ To see an example of it, run:
|
||||
.. code-block:: shell
|
||||
|
||||
$ cd examples
|
||||
$ python path_requests_run.py meshTopologyExampleV2.xls meshTopologyExampleV2_services.json eqpt_file -o output_file.json
|
||||
$ python path_requests_run.py meshTopologyExampleV2.xls meshTopologyExampleV2_services.json eqpt_config.json -o output_file.json
|
||||
|
||||
This program requires a list of connections to be estimated and the equipment
|
||||
library. The program computes performances for the list of services (accepts
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
"te-bandwidth": {
|
||||
"technology": "flexi-grid",
|
||||
"trx_type": "vendorA_trx-type1",
|
||||
"trx_mode": "PS_SP64_2",
|
||||
"trx_mode": "PS_SP64_1",
|
||||
"effective-freq-slot": [
|
||||
{
|
||||
"n": "null",
|
||||
@@ -162,4 +162,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
0
examples/path_requests_run.py
Normal file → Executable file
0
examples/path_requests_run.py
Normal file → Executable file
Reference in New Issue
Block a user