Skip to content

Commit

Permalink
Readability, and etherstub scope
Browse files Browse the repository at this point in the history
A few edits changing some text black and adding a couple of lines about the scope of etherstub traffic.
  • Loading branch information
ubedan authored Aug 3, 2024
1 parent e6fb6df commit 86b282b
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions docs/networking.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ graph TD
switch --- exthost2

%% Labels are defined as needed at the end here to avoid changing the layout.
vnic1["net1\n(vnic over cxgbe0)"]
vnic2["net2\n(vnic over cxgbe0)"]
vnic3["net3\n(vnic over cxgbe0)"]
vswitch1["virtual switch"]
cxgbe0["cxgbe0\n(physical NIC)"]
vnic1["<font color="0">net1\n(vnic over cxgbe0)"]
vnic2["<font color="0">net2\n(vnic over cxgbe0)"]
vnic3["<font color="0">net3\n(vnic over cxgbe0)"]
vswitch1["<font color="0">virtual switch"]
cxgbe0["<font color="0">cxgbe0\n(physical NIC)"]

switch["physical switch"]
switch["<font color="0">physical switch"]
exthost1["other host"]
exthost2["other host"]

Expand All @@ -84,6 +84,7 @@ graph TD
class switch switch

classDef datalink fill:#6df
classDef datalink fontColor:#000
class vnic1 datalink
class vnic2 datalink
class vnic3 datalink
Expand Down Expand Up @@ -111,15 +112,16 @@ graph TD
switch --- exthost2

%% Labels are defined as needed at the end here to avoid changing the layout.
vnic1["net1\n(vnic over cxgbe0)"]
vnic2["net2\n(vnic over cxgbe0)"]
vnic3["net3\n(vnic over cxgbe0)"]
vswitch1["virtual switch"]
if1["net1\n192.168.1.104"]
if2["net2\n192.168.1.105"]
if3["net3\n192.168.1.106"]

switch["physical switch"]
vnic1["<font color="0">net1\n(vnic over cxgbe0)"]
vnic2["<font color="0">net2\n(vnic over cxgbe0)"]
vnic3["<font color="0">net3\n(vnic over cxgbe0)"]
vswitch1["<font color="0">virtual switch"]
if1["<font color="0">net1\n192.168.1.104"]
if2["<font color="0">net2\n192.168.1.105"]
if3["<font color="0">net3\n192.168.1.106"]

switch["<font color="0">physical switch"]
cxgbe0["<font color="0">cxgbe0"]
exthost1["other host\n192.168.1.102"]
exthost2["other host\n192.168.1.103"]

Expand Down Expand Up @@ -154,11 +156,11 @@ graph TD
end

%% Labels are defined as needed at the end here to avoid changing the layout.
vnic1["net1\n(vnic over cxgbe0)"]
vnic2["net2\n(vnic over cxgbe0)"]
vnic3["net3\n(vnic over cxgbe0)"]
vswitch1["virtual switch"]
etherstub["etherstub\n"]
vnic1["<font color="0">net1\n(vnic over etherstub)"]
vnic2["<font color="0">net2\n(vnic over etherstub)"]
vnic3["<font color="0">net3\n(vnic over etherstub)"]
vswitch1["<font color="0">virtual switch"]
etherstub["<font color="0">etherstub\n"]

classDef switch fill:#f96
class vswitch1 switch
Expand Down Expand Up @@ -191,8 +193,8 @@ underlay0 vnic 9000 up -- underlay_stub0
We see now that we have:

* the three physical devices mentioned earlier
* an etherstub `underlay_stub0` with a VNIC `underlay0` over it
* an etherstub `bootstrap_stub0` with a VNIC `boostrap0` over it
* an etherstub `underlay_stub0` with a VNIC `underlay0` over it. Every underlayN VNIC can only connect to other underlayN VNICs on the same sled.
* an etherstub `bootstrap_stub0` with a VNIC `boostrap0` over it. Every bootstrapN VNIC can only connect to other bootstrapN VNICs on the same sled.

We'll discuss these in more detail later. There are also many other kinds of links and commands to list specific types. See the manual page for more details.

Expand Down

0 comments on commit 86b282b

Please sign in to comment.