... | ... | @@ -95,7 +95,7 @@ net.enableLogAll() |
|
|
net.startNetwork()
|
|
|
```
|
|
|
|
|
|
> You can read more about the `NetworkAPI` in the [**official *P4-Utils* documentation**](https://nsg-ethz.github.io/p4-utils/usage.html#python)
|
|
|
> You can read more about the `NetworkAPI` in the [**official *P4-Utils* documentation**](https://nsg-ethz.github.io/p4-utils/usage.html#python).
|
|
|
|
|
|
The Python script shown above is equivalent to the following JSON network configuration file. Indeed, both snippets define the same network topology.
|
|
|
|
... | ... | @@ -140,4 +140,4 @@ The Python script shown above is equivalent to the following JSON network config |
|
|
}
|
|
|
```
|
|
|
> You can read more about the JSON network configuration file in the
|
|
|
> [**official *P4-Utils* documentation**](https://nsg-ethz.github.io/p4-utils/usage.html#json) |
|
|
\ No newline at end of file |
|
|
> [**official *P4-Utils* documentation**](https://nsg-ethz.github.io/p4-utils/usage.html#json). |
|
|
\ No newline at end of file |