Documentation ¶
Index ¶
- Constants
- func NewFrrApplier(tplPath string) *templates.Applier
- type PortInfo
- type Sonic
- func (s *Sonic) Apply(cfg *types.Conf) error
- func (s *Sonic) GetManagement() (ip, user string, err error)
- func (s *Sonic) GetNics(log *slog.Logger, blacklist []string) (nics []*models.V1SwitchNic, err error)
- func (s *Sonic) GetOS() (*models.V1SwitchOS, error)
- func (s *Sonic) GetSwitchPorts() ([]*net.Interface, error)
- func (s *Sonic) IsInitialized() (initialized bool, err error)
- func (s *Sonic) SanitizeConfig(cfg *types.Conf)
Constants ¶
View Source
const (
SonicVersionFile = "/etc/sonic/sonic_version.yml"
)
Variables ¶
This section is empty.
Functions ¶
func NewFrrApplier ¶
Types ¶
type Sonic ¶
type Sonic struct {
// contains filtered or unexported fields
}
func (*Sonic) GetManagement ¶
func (*Sonic) IsInitialized ¶
func (*Sonic) SanitizeConfig ¶
Click to show internal directories.
Click to hide internal directories.