Documentation ¶
Index ¶
Constants ¶
View Source
const RIBS_CONFIG_FILE = "/etc/beluganos/ribxd.conf"
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(path string, cfg *RibsConfig) error
func ReadConfig(path string, cfg *Config) error {
func WriteConfig ¶
func WriteConfig(path string, cfg *RibsConfig) error
func WriteConfig(path string, cfg *Config) error {
Types ¶
type RibsCommand ¶
type RibsCommand struct { Command // contains filtered or unexported fields }
func (*RibsCommand) SetVrf ¶
func (c *RibsCommand) SetVrf() error
type RibsConfig ¶
type RibsConfig map[string]interface{}
func (RibsConfig) Ribs ¶
func (c RibsConfig) Ribs() (map[string]interface{}, error)
func (RibsConfig) RibsVrf ¶
func (c RibsConfig) RibsVrf() (map[string]interface{}, error)
func (RibsConfig) SetRibsVrf ¶
func (c RibsConfig) SetRibsVrf(key string, val interface{}) error
Click to show internal directories.
Click to hide internal directories.