Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(conf *Configuration, cfgFileName string)
Types ¶
type Configuration ¶
type Configuration struct { Infrap4dGrpcServer ServerConf `yaml:"Infrap4dGrpcServer,omitempty"` Infrap4dGnmiServer ServerConf `yaml:"Infrap4dGnmiServer,omitempty"` Services bool `yaml:"Services,omitempty"` Policy bool `yaml:"Policy,omitempty"` InfraManager ManagerConf `yaml:"InfraManager,omitempty"` InterfaceType string `yaml:"InterfaceType,omitempty"` NodeIP string `yaml:"NodeIP,omitempty"` LogLevel string `yaml:"LogLevel,omitempty"` P4InfoPath string `yaml:"P4InfoPath,omitempty"` P4BinPath string `yaml:"P4BinPath,omitempty"` DeviceId uint64 `yaml:"DeviceID,omitempty"` }
Configurations exported
type ManagerConf ¶
type ManagerConf struct { Addr string `yaml:"addr,omitempty"` ArpMac string `yaml:"arpmac,omitempty"` Conn string `yaml:"conn,omitempty"` ServerCert string `yaml:"serverCert,omitempty"` ServerKey string `yaml:"serverKey,omitempty"` CACert string `yaml:"caCert,omitempty"` CipherSuites []string `yaml:"ciphersuites,flow,omitempty"` DBTicker uint32 `yaml:"DBTicker,omitempty"` }
Click to show internal directories.
Click to hide internal directories.