Documentation
¶
Index ¶
- Constants
- func ParseArpTable(data []byte) ([]models.ArpEntry, error)
- type Juniper
- func (j *Juniper) ConfigureInterface(update *models.UpdateInterface) (bool, error)
- func (j *Juniper) Connect(cfg config.Connection) error
- func (j *Juniper) Disconnect() error
- func (j *Juniper) GetHardwareInfo() (*models.HardwareInfo, error)
- func (j *Juniper) GetInterface(name string) (*models.Interface, error)
- func (j *Juniper) GetRunningConfig() (*junosConfiguration, error)
- func (j *Juniper) ListArpTable() ([]models.ArpEntry, error)
- func (j *Juniper) ListInterfaces() ([]*models.Interface, error)
- func (j *Juniper) ListLLDPNeighbors() ([]models.LLDPNeighbor, error)
- func (j *Juniper) Vendor() registry.Vendor
- type JuniperDriver
- type LiveDriver
- type MockDriver
Constants ¶
View Source
const EditPortConfigurationTemplate = `` /* 859-byte string literal not displayed */
View Source
const Vendor registry.Vendor = "juniper"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Juniper ¶
type Juniper struct { unimplemented.Unimplemented // contains filtered or unexported fields }
func NewMockDriver ¶
func NewMockDriver() *Juniper
func (*Juniper) ConfigureInterface ¶
func (j *Juniper) ConfigureInterface(update *models.UpdateInterface) (bool, error)
func (*Juniper) Disconnect ¶
func (*Juniper) GetHardwareInfo ¶
func (j *Juniper) GetHardwareInfo() (*models.HardwareInfo, error)
func (*Juniper) GetInterface ¶
func (*Juniper) GetRunningConfig ¶
func (*Juniper) ListLLDPNeighbors ¶
func (j *Juniper) ListLLDPNeighbors() ([]models.LLDPNeighbor, error)
type JuniperDriver ¶
type LiveDriver ¶
type LiveDriver struct {
// contains filtered or unexported fields
}
func (*LiveDriver) Close ¶
func (j *LiveDriver) Close() error
type MockDriver ¶
type MockDriver struct {
// contains filtered or unexported fields
}
func (*MockDriver) Close ¶
func (j *MockDriver) Close() error
Click to show internal directories.
Click to hide internal directories.