Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RIBConfig ¶
type RIBConfig struct { Router string `yaml:"router"` VRFs []string `yaml:"vrfs"` IPVersions []uint8 `yaml:"IPVersions"` SrcRISInstances []string `yaml:"source_ris_instances"` // contains filtered or unexported fields }
RIBConfig is a RIB configuration
type RISMirrorConfig ¶
type RISMirrorConfig struct {
RIBConfigs []*RIBConfig `yaml:"ribs"`
}
RISMirrorConfig is the config of RISMirror instance
func LoadConfig ¶
func LoadConfig(filepath string) (*RISMirrorConfig, error)
LoadConfig loads a RISMirror config
func (*RISMirrorConfig) GetRISInstances ¶
func (rismc *RISMirrorConfig) GetRISInstances() []string
GetRISInstances returns a list of all RIS instances in the config
Click to show internal directories.
Click to hide internal directories.