You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vlab/demo.md
+201-2Lines changed: 201 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ graph TD
87
87
## Utility based VPC creation
88
88
89
89
### Setup VPCs
90
-
`hhfab vlab` includes a utility to create VPCs in vlab. This utility is a `hhfab vlab` sub-command.`hhfab vlab setup-vpcs`.
90
+
`hhfab vlab` includes a utility to create VPCs in vlab. This utility is a `hhfab vlab` sub-command,`hhfab vlab setup-vpcs`.
91
91
92
92
```
93
93
NAME:
@@ -99,14 +99,17 @@ USAGE:
99
99
OPTIONS:
100
100
--dns-servers value, --dns value [ --dns-servers value, --dns value ] DNS servers for VPCs advertised by DHCP
101
101
--force-cleanup, -f start with removing all existing VPCs and VPCAttachments (default: false)
102
+
--hash-policy value, --hash value xmit_hash_policy for bond interfaces on servers [layer2|layer2+3|layer3+4|encap2+3|encap3+4|vlan+srcmac] (default: "layer2+3")
102
103
--help, -h show help
103
104
--interface-mtu value, --mtu value interface MTU for VPCs advertised by DHCP (default: 0)
104
105
--ipns value IPv4 namespace for VPCs (default: "default")
106
+
--keep-peerings, --peerings Do not delete all VPC, External and Gateway peerings before enforcing VPCs (default: false)
105
107
--name value, -n value name of the VM or HW to access
106
108
--servers-per-subnet value, --servers value number of servers per subnet (default: 1)
107
109
--subnets-per-vpc value, --subnets value number of subnets per VPC (default: 1)
108
110
--time-servers value, --ntp value [ --time-servers value, --ntp value ] Time servers for VPCs advertised by DHCP
109
111
--vlanns value VLAN namespace for VPCs (default: "default")
112
+
--vpc-mode value, --mode value VPC mode: empty (l2vni) by default or l3vni, etc
110
113
--wait-switches-ready, --wait wait for switches to be ready before and after configuring VPCs and VPCAttachments (default: true)
111
114
112
115
Global options:
@@ -118,7 +121,7 @@ OPTIONS:
118
121
```
119
122
120
123
### Setup Peering
121
-
`hhfab vlab` includes a utility to create VPC peerings in VLAB. This utility is a `hhfab vlab` sub-command.`hhfab vlab setup-peerings`.
124
+
`hhfab vlab` includes a utility to create VPC peerings in VLAB. This utility is a `hhfab vlab` sub-command,`hhfab vlab setup-peerings`.
122
125
123
126
```
124
127
NAME:
@@ -141,6 +144,7 @@ USAGE:
141
144
VPC Peerings:
142
145
143
146
1+2 -- VPC peering between vpc-01 and vpc-02
147
+
1+2:gw -- same as above but using gateway peering, only valid if gateway is present
144
148
demo-1+demo-2 -- VPC peering between vpc-demo-1 and vpc-demo-2
145
149
1+2:r -- remote VPC peering between vpc-01 and vpc-02 on switch group if only one switch group is present
146
150
1+2:r=border -- remote VPC peering between vpc-01 and vpc-02 on switch group named border
@@ -149,6 +153,7 @@ USAGE:
149
153
External Peerings:
150
154
151
155
1~as5835 -- external peering for vpc-01 with External as5835
156
+
1~as5835:gw -- same as above but using gateway peering, only valid if gateway is present
152
157
1~ -- external peering for vpc-1 with external if only one external is present for ipv4 namespace of vpc-01, allowing
153
158
default subnet and any route from external
154
159
1~:subnets=default@prefixes=0.0.0.0/0 -- external peering for vpc-1 with auth external with default vpc subnet and
0 commit comments