Jump to: navigation, search

Difference between revisions of "File:TrunkVnicsAfter.svg"

(Bence.romsics uploaded a new version of File:TrunkVnicsAfter.svg)
 
Line 14: Line 14:
  
 
         subgraph cluster_vm {
 
         subgraph cluster_vm {
             label = "openstack server"
+
             label = "openstack instance"
 
             vnic [
 
             vnic [
 
                 label = "vNIC"
 
                 label = "vNIC"
Line 30: Line 30:
 
                 dir = none
 
                 dir = none
 
                 color = blue
 
                 color = blue
 +
            ]
 +
            iface_tag_1 -> vnic [
 +
                dir = none
 +
                color = red
 
             ]
 
             ]
 
             iface_untagged -> vnic [
 
             iface_untagged -> vnic [
 
                 dir = none
 
                 dir = none
 
                 color = green
 
                 color = green
            ]
 
            iface_tag_1 -> vnic [
 
                dir = none
 
                color = red
 
 
             ]
 
             ]
 
         }
 
         }
Line 43: Line 43:
 
         port_parent [
 
         port_parent [
 
             label = "parent port"
 
             label = "parent port"
 +
        ]
 +
 +
        subport_tag_2 [
 +
            label = "vlan 20 subport"
 
         ]
 
         ]
  
Line 49: Line 53:
 
         ]
 
         ]
  
        subport_default [
+
    }
            shape = point
 
            color = green
 
        ]
 
 
 
        subport_tag_2 [
 
            label = "vlan 20 subport"
 
        ]
 
  
     }
+
     { rank = same
  
 
     net_tag_1 [
 
     net_tag_1 [
         label = "net1\nvlan/vxlan/gre X"
+
         label = "net1\nvlan/vxlan/gre Y"
 
     ]
 
     ]
  
 
     net_untagged [
 
     net_untagged [
         label = "net0\nvlan/vxlan/gre Y"
+
         label = "net0\nvlan/vxlan/gre X"
 
     ]
 
     ]
  
Line 71: Line 68:
 
         label = "net2\nvlan/vxlan/gre Z"
 
         label = "net2\nvlan/vxlan/gre Z"
 
     ]
 
     ]
 +
 +
    }
  
 
     vnic -> port_parent [
 
     vnic -> port_parent [
 
         dir = none
 
         dir = none
         color = red
+
         color = blue
 
     ]
 
     ]
  
 
     vnic -> port_parent [
 
     vnic -> port_parent [
 
         dir = none
 
         dir = none
         color = green
+
         color = red
 
     ]
 
     ]
  
 
     vnic -> port_parent [
 
     vnic -> port_parent [
 
         dir = none
 
         dir = none
         color = blue
+
         color = green
 
     ]
 
     ]
  
Line 92: Line 91:
 
     ]
 
     ]
  
     port_parent -> subport_default [
+
     port_parent -> net_untagged [
         dir = back
+
         dir = both
 
         color = green
 
         color = green
 
     ]
 
     ]
Line 105: Line 104:
 
         dir = both
 
         dir = both
 
         color = red
 
         color = red
    ]
 
 
    subport_default -> net_untagged [
 
        color = green
 
 
     ]
 
     ]
  
Line 126: Line 121:
  
 
     comment_model -> vnic [
 
     comment_model -> vnic [
 +
        style = dotted
 +
        color = grey
 +
    ]
 +
 +
    trunk [
 +
        label = "trunk\n(in the API)"
 +
        style = dotted
 +
        color = grey
 +
        fontcolor = grey
 +
    ]
 +
 +
    port_parent -> trunk [
 +
        dir = back
 +
        style = dotted
 +
        color = grey
 +
    ]
 +
    trunk -> subport_tag_1 [
 +
        style = dotted
 +
        color = grey
 +
    ]
 +
    trunk -> subport_tag_2 [
 
         style = dotted
 
         style = dotted
 
         color = grey
 
         color = grey

Latest revision as of 09:07, 3 October 2016

// dot -Tsvg -oTrunkVnicsAfter.svg TrunkVnicsAfter.dot

digraph "Neutron vNICs: with Trunks" {

    compound = true
    node [
        shape = record
    ]

    subgraph cluster_compute {

        label = "compute host"

        subgraph cluster_vm {
            label = "openstack instance"
            vnic [
                label = "vNIC"
            ]
            iface_tag_2 [
                label = "eth0.20"
            ]
            iface_untagged [
                label = "eth0"
            ]
            iface_tag_1 [
                label = "eth0.10"
            ]
            iface_tag_2 -> vnic [
                dir = none
                color = blue
            ]
            iface_tag_1 -> vnic [
                dir = none
                color = red
            ]
            iface_untagged -> vnic [
                dir = none
                color = green
            ]
        }

        port_parent [
            label = "parent port"
        ]

        subport_tag_2 [
            label = "vlan 20 subport"
        ]

        subport_tag_1 [
            label = "vlan 10 subport"
        ]

    }

    { rank = same

    net_tag_1 [
        label = "net1\nvlan/vxlan/gre Y"
    ]

    net_untagged [
        label = "net0\nvlan/vxlan/gre X"
    ]

    net_tag_2 [
        label = "net2\nvlan/vxlan/gre Z"
    ]

    }

    vnic -> port_parent [
        dir = none
        color = blue
    ]

    vnic -> port_parent [
        dir = none
        color = red
    ]

    vnic -> port_parent [
        dir = none
        color = green
    ]

    port_parent -> subport_tag_1 [
        dir = none
        color = red
    ]

    port_parent -> net_untagged [
        dir = both
        color = green
    ]

    port_parent -> subport_tag_2 [
        dir = none
        color = blue
    ]

    subport_tag_1 -> net_tag_1 [
        dir = both
        color = red
    ]

    subport_tag_2 -> net_tag_2 [
        dir = both
        color = blue
        label = "remap encapsulation between\ninstance and fabric (pop, push)"
        fontcolor = grey
    ]

    comment_model [
        label = "trunk port model:\nmany networks in an instance\ncome with a single vNIC\nplus encapsulation"
        style = dotted
        color = grey
        fontcolor = grey
    ]

    comment_model -> vnic [
        style = dotted
        color = grey
    ]

    trunk [
        label = "trunk\n(in the API)"
        style = dotted
        color = grey
        fontcolor = grey
    ]

    port_parent -> trunk [
        dir = back
        style = dotted
        color = grey
    ]
    trunk -> subport_tag_1 [
        style = dotted
        color = grey
    ]
    trunk -> subport_tag_2 [
        style = dotted
        color = grey
    ]

}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current09:03, 3 October 2016Thumbnail for version as of 09:03, 3 October 2016653 × 585 (10 KB)Bence.romsics (talk | contribs)
15:04, 22 August 2016Thumbnail for version as of 15:04, 22 August 2016630 × 583 (9 KB)Bence.romsics (talk | contribs)
14:52, 22 August 2016Thumbnail for version as of 14:52, 22 August 2016630 × 583 (9 KB)Bence.romsics (talk | contribs)
  • You cannot overwrite this file.

The following 2 pages link to this file:

Metadata