Documentation
¶
Index ¶
Constants ¶
View Source
const ( RACK = "rack-1" CONTROL = "control-1" )
View Source
const ( SPINE_OFFSET = 200 LEAF_OFFSET = 100 // 1 is reserved for the control VIP MCLAG_SESSION_IP_NET = 5 SWITCH_IP_NET = 10 PROTOCOL_IP_NET = 11 VTEP_IP_NET = 12 CONTROL_IP_NET = 20 // single /24 is more than enough FABRIC_IP_NET = 30 // can take more than one /24, let's book 10 )
Variables ¶
This section is empty.
Functions ¶
func HydratePath ¶
func IsHydrated ¶
Types ¶
type Builder ¶ added in v0.6.12
type Builder struct { Defaulted bool // true if default should be called on created objects Hydrated bool // true if wiring diagram should be hydrated FabricMode config.FabricMode // fabric mode ChainControlLink bool // true if not all switches attached directly to control node ControlLinksCount uint8 // number of control links to generate SpinesCount uint8 // number of spines to generate FabricLinksCount uint8 // number of links for each spine <> leaf pair MCLAGLeafsCount uint8 // number of MCLAG server-leafs to generate OrphanLeafsCount uint8 // number of non-MCLAG server-leafs to generate MCLAGSessionLinks uint8 // number of MCLAG session links to generate MCLAGPeerLinks uint8 // number of MCLAG peer links to generate VPCLoopbacks uint8 // number of VPC loopbacks to generate per leaf switch // contains filtered or unexported fields }
type HydrateConfig ¶
Click to show internal directories.
Click to hide internal directories.