Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Tenants []ConfigTenant // (optional) host bindings HostBindings []ConfigEP RouterInfo []ConfigBgp }
Config is the top level configuration
type ConfigBgp ¶
type ConfigBgp struct { Hostname string RouterIP string As string NeighborAs string Neighbor string }
ConfigBgp keeps bgp specific configs
type ConfigEP ¶
type ConfigEP struct { Container string Host string IPAddress string IPv6Address string ServiceName string }
ConfigEP encapulsates an endpoint: a leg into a network
type ConfigGlobal ¶
type ConfigGlobal struct { NwInfraType string VLANs string VXLANs string FwdMode string ArpMode string PvtSubnet string }
ConfigGlobal keeps track of settings that are globally applicable
type ConfigNetwork ¶
type ConfigNetwork struct { Name string // overrides for various functions when auto allocation is not desired NwType string PktTagType string PktTag int SubnetCIDR string Gateway string IPv6SubnetCIDR string IPv6Gateway string Vrf string CfgdTag string // eps associated with the network Endpoints []ConfigEP }
ConfigNetwork is a multi-destination isolated containment of endpoints or it is an endpoint group
type ConfigServiceLB ¶
type ConfigServiceLB struct { ServiceName string Tenant string Selectors map[string]string Network string Ports []string IPAddress string }
ConfigServiceLB keeps servicelb specific configs
type ConfigTenant ¶
type ConfigTenant struct { Name string DefaultNetwork string VLANs string VXLANs string Networks []ConfigNetwork }
ConfigTenant keeps the global tenant specific policy and networks within
Click to show internal directories.
Click to hide internal directories.