Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the generation of the list of ports to the server
Ref #676
- Loading branch information
1 parent
f06c00f
commit 2f0e226
Showing
50 changed files
with
1,347 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,5 @@ GNS3 developements | |
.. toctree:: | ||
development | ||
file_format | ||
port_name_format | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Port name formatting | ||
#################### | ||
|
||
Some node like qemu allow you to personnalize the name of ports in order to match the name of the interfaces inside the emulator. | ||
|
||
Simple syntax | ||
============== | ||
The first {} will be replace by the interface number | ||
|
||
For example: "eth{}" will give: | ||
* eth0 | ||
* eth1 | ||
* eth2 | ||
|
||
Or more verbose "eth{port0}" and "eth{0}" will do the same. | ||
|
||
Use segments | ||
============ | ||
|
||
Segment allow you to split your interface in multiple ports | ||
|
||
For example "Ethernet{segment0}/{port0}" with a segment size of 3: | ||
* Ethernet0/0 | ||
* Ethernet0/1 | ||
* Ethernet0/2 | ||
* Ethernet1/0 | ||
* Ethernet1/1 | ||
|
||
You can also change the start number. | ||
|
||
For example "Ethernet{segment1}/{port1}" with a segment size of 3: | ||
* Ethernet1/1 | ||
* Ethernet1/2 | ||
* Ethernet1/3 | ||
* Ethernet2/1 | ||
* Ethernet2/2 | ||
|
||
This work from port0 to port9 if you need a bigger range ask us. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.