Difference between revisions of "File:TrunkOvsModel.svg"
(Example of Trunk Open vSwitch Model) |
|||
Line 1: | Line 1: | ||
Example of Trunk Open vSwitch Model | Example of Trunk Open vSwitch Model | ||
+ | |||
+ | <pre> | ||
+ | // dot -Tsvg -oTrunkOvsModel.svg TrunkOvsModel.dot | ||
+ | |||
+ | digraph "Neutron Trunk Open vSwitch Model" { | ||
+ | |||
+ | compound = true | ||
+ | node [ | ||
+ | shape = record | ||
+ | ] | ||
+ | |||
+ | subgraph cluster_vm { | ||
+ | label = "vm" | ||
+ | |||
+ | eth0 [ | ||
+ | label = "eth0" | ||
+ | color = red | ||
+ | ] | ||
+ | |||
+ | eth0_0 [ | ||
+ | label = "eth0.87" | ||
+ | color = green | ||
+ | ] | ||
+ | |||
+ | eth0_1 [ | ||
+ | label = "eth0.361" | ||
+ | color = blue | ||
+ | ] | ||
+ | |||
+ | eth0_0 -> eth0 [ | ||
+ | dir = none | ||
+ | ] | ||
+ | |||
+ | eth0_1 -> eth0 [ | ||
+ | dir = none | ||
+ | ] | ||
+ | |||
+ | } | ||
+ | |||
+ | subgraph cluster_tbr { | ||
+ | label = "tbr-ce292f4b-0" | ||
+ | |||
+ | tap [ | ||
+ | label = "tap65795c5d-95" | ||
+ | ] | ||
+ | |||
+ | { rank = same | ||
+ | |||
+ | tpt [ | ||
+ | label = "tpt-65795c5d-95" | ||
+ | color = red | ||
+ | ] | ||
+ | |||
+ | spt_0 [ | ||
+ | label = "spt-d0608f8a-94\ntag: 87" | ||
+ | color = green | ||
+ | ] | ||
+ | |||
+ | spt_1 [ | ||
+ | label = "spt-75bc8663-ba\ntag: 361" | ||
+ | color = blue | ||
+ | ] | ||
+ | |||
+ | } | ||
+ | |||
+ | tap -> tpt [ | ||
+ | style = invis | ||
+ | ] | ||
+ | |||
+ | } | ||
+ | |||
+ | subgraph cluster_br_int { | ||
+ | label = "br-int" | ||
+ | |||
+ | tpi [ | ||
+ | label = "tpi-65795c5d-95\ntag: 1" | ||
+ | color = red | ||
+ | ] | ||
+ | |||
+ | spi_0 [ | ||
+ | label = "spi-d0608f8a-94\ntag: 115" | ||
+ | color = green | ||
+ | ] | ||
+ | |||
+ | spi_1 [ | ||
+ | label = "spi-75bc8663-ba\ntag: 360" | ||
+ | color = blue | ||
+ | ] | ||
+ | |||
+ | } | ||
+ | |||
+ | eth0 -> tap [ | ||
+ | dir = none | ||
+ | ] | ||
+ | tpt -> tpi [ | ||
+ | dir = none | ||
+ | ] | ||
+ | spt_0 -> spi_0 [ | ||
+ | dir = none | ||
+ | ] | ||
+ | spt_1 -> spi_1 [ | ||
+ | dir = none | ||
+ | ] | ||
+ | |||
+ | } | ||
+ | </pre> |
Latest revision as of 10:49, 6 December 2016
Example of Trunk Open vSwitch Model
// dot -Tsvg -oTrunkOvsModel.svg TrunkOvsModel.dot digraph "Neutron Trunk Open vSwitch Model" { compound = true node [ shape = record ] subgraph cluster_vm { label = "vm" eth0 [ label = "eth0" color = red ] eth0_0 [ label = "eth0.87" color = green ] eth0_1 [ label = "eth0.361" color = blue ] eth0_0 -> eth0 [ dir = none ] eth0_1 -> eth0 [ dir = none ] } subgraph cluster_tbr { label = "tbr-ce292f4b-0" tap [ label = "tap65795c5d-95" ] { rank = same tpt [ label = "tpt-65795c5d-95" color = red ] spt_0 [ label = "spt-d0608f8a-94\ntag: 87" color = green ] spt_1 [ label = "spt-75bc8663-ba\ntag: 361" color = blue ] } tap -> tpt [ style = invis ] } subgraph cluster_br_int { label = "br-int" tpi [ label = "tpi-65795c5d-95\ntag: 1" color = red ] spi_0 [ label = "spi-d0608f8a-94\ntag: 115" color = green ] spi_1 [ label = "spi-75bc8663-ba\ntag: 360" color = blue ] } eth0 -> tap [ dir = none ] tpt -> tpi [ dir = none ] spt_0 -> spi_0 [ dir = none ] spt_1 -> spi_1 [ dir = none ] }
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 10:48, 6 December 2016 | 528 × 529 (6 KB) | Bence.romsics (talk | contribs) | Example of Trunk Open vSwitch Model |
- You cannot overwrite this file.
File usage
The following page links to this file: