Skip to content

Commit 23facd4

Browse files
committed
fix virt externals hhfab commands
Signed-off-by: Emanuele Di Pascale <emanuele@githedgehog.com>
1 parent 129ca79 commit 23facd4

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

docs/vlab/virt-externals.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
VLAB also supports virtual [externals](../user-guide/external.md). These are implemented using
44
a virtual machine running [FRR](https://frrouting.org/), which is automatically configured
5-
from the topology information to behave like one or more BGP instances advertising a default
6-
route towards the internet (assuming the host running the VLAB is connected to the internet).
5+
from the topology information. In the case of BGP-speaking externals, this means running one or
6+
more BGP instances advertising a default route towards the internet (assuming the host running
7+
the VLAB is connected to the internet). For L2 externals, there will be just a direct connection
8+
to an endpoint connected to the internet, with the appropriate static routes configured on the
9+
endpoint to ensure that forwarding will work correctly.
710

8-
Here we will explain how to generate a topology with a virtual external, and how to test it
11+
Here we will explain how to generate a topology with a BGP-speaking virtual external, and how to test it
912
using either Fabric or Gateway external peerings.
1013

1114
## Creating the topology
@@ -22,7 +25,7 @@ a mesh one.
2225
This limitation does not apply to physical switches.
2326

2427
The example below shows how to initialize and generate a spine-leaf topology with two
25-
ESLAG leaves, one orphan leaf with a virtual external attached to it, and a gateway
28+
ESLAG leaves, one orphan leaf with a virtual BGP-speaking external attached to it, and a gateway
2629
attached to the two spines:
2730

2831
```
@@ -31,7 +34,7 @@ ubuntu@docs:~/hhfab$ ./hhfab init -f --dev --gw
3134
09:27:35 INF Generated initial config
3235
09:27:35 INF Adjust configs (incl. credentials, modes, subnets, etc.) file=fab.yaml
3336
09:27:35 INF Include wiring (fabric/gateway) files (.yaml) or adjust imported ones dir=include
34-
ubuntu@docs:~/hhfab$ ./hhfab vlab gen --mclag-leafs-count=0 --eslag-leaf-groups=2 --orphan-leafs-count=1 --externals=1 --external-orphan-connections=1
37+
ubuntu@docs:~/hhfab$ ./hhfab vlab gen --mclag-leafs-count=0 --eslag-leaf-groups=2 --orphan-leafs-count=1 --externals-bgp=1 --external-orphan-connections=1
3538
09:28:36 INF Hedgehog Fabricator version=v0.43.1
3639
09:28:36 INF Building VLAB wiring diagram fabricMode=spine-leaf
3740
09:28:36 INF >>> spinesCount=2 fabricLinksCount=2 meshLinksCount=0
@@ -40,7 +43,7 @@ ubuntu@docs:~/hhfab$ ./hhfab vlab gen --mclag-leafs-count=0 --eslag-leaf-groups=
4043
09:28:36 INF >>> mclagLeafsCount=0 mclagSessionLinks=0 mclagPeerLinks=0
4144
09:28:36 INF >>> orphanLeafsCount=1
4245
09:28:36 INF >>> mclagServers=0 eslagServers=2 unbundledServers=1 bundledServers=1
43-
09:28:36 INF >>> externalCount=1 externalMclagConnCount=0 externalEslagConnCount=0 externalOrphanConnCount=1
46+
09:28:36 INF >>> externalBGPCount=1 externalL2Count=0 externalMclagConnCount=0 externalEslagConnCount=0 externalOrphanConnCount=1
4447
09:28:36 INF Generated wiring file name=vlab.generated.yaml
4548
ubuntu@docs:~/hhfab$ ./hhfab vlab up -f -m=manual -r=wait
4649
09:31:53 INF Hedgehog Fabricator version=v0.43.1

0 commit comments

Comments
 (0)