Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default values in vlab gen help #299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cmd/hhfab/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,31 +146,37 @@ func Run(ctx context.Context) error {
Name: "fabric-links-count",
Usage: "number of fabric links if fabric mode is spine-leaf",
Destination: &wgFabricLinksCount,
Value: 2,
},
&cli.UintFlag{
Name: "mclag-leafs-count",
Usage: "number of mclag leafs (should be even)",
Destination: &wgMCLAGLeafsCount,
Value: 2,
},
&cli.StringFlag{
Name: "eslag-leaf-groups",
Usage: "eslag leaf groups (comma separated list of number of ESLAG switches in each group, should be 2-4 per group, e.g. 2,4,2 for 3 groups with 2, 4 and 2 switches)",
Destination: &wgESLAGLeafGroups,
Value: "2",
},
&cli.UintFlag{
Name: "orphan-leafs-count",
Usage: "number of orphan leafs",
Destination: &wgOrphanLeafsCount,
Value: 1,
},
&cli.UintFlag{
Name: "mclag-session-links",
Usage: "number of mclag session links for each mclag leaf",
Destination: &wgMCLAGSessionLinks,
Value: 2,
},
&cli.UintFlag{
Name: "mclag-peer-links",
Usage: "number of mclag peer links for each mclag leaf",
Destination: &wgMCLAGPeerLinks,
Value: 2,
},
&cli.UintFlag{
Name: "vpc-loopbacks",
Expand Down
Loading