Documentation
¶
Index ¶
- type ApplDB
- type AsicDB
- type Client
- func (c *Client) Del(ctx context.Context, key Key) error
- func (c *Client) Exists(ctx context.Context, key Key) (bool, error)
- func (c *Client) GetTable(table Key) *Table
- func (c *Client) GetView(ctx context.Context, table string) (View, error)
- func (c *Client) HGet(ctx context.Context, key Key, field string) (string, error)
- func (c *Client) HGetAll(ctx context.Context, key Key) (Val, error)
- func (c *Client) HSet(ctx context.Context, key Key, val Val) error
- func (c *Client) Keys(ctx context.Context, pattern Key) ([]Key, error)
- type Config
- type ConfigDB
- func (d *ConfigDB) AreNeighborsSuppressed(ctx context.Context, vid uint16) (bool, error)
- func (d *ConfigDB) CreateVlan(ctx context.Context, vid uint16) error
- func (d *ConfigDB) CreateVlanInterface(ctx context.Context, vid uint16, vrf string) error
- func (d *ConfigDB) CreateVrf(ctx context.Context, vrf string) error
- func (d *ConfigDB) CreateVxlanTunnelMap(ctx context.Context, vid uint16, vni uint32) error
- func (d *ConfigDB) DeleteInterfaceConfiguration(ctx context.Context, interfaceName string) error
- func (d *ConfigDB) DeleteVlanMember(ctx context.Context, interfaceName, vlan string) error
- func (d *ConfigDB) EnableLinkLocalOnly(ctx context.Context, interfaceName string) error
- func (d *ConfigDB) ExistVlan(ctx context.Context, vid uint16) (bool, error)
- func (d *ConfigDB) ExistVlanInterface(ctx context.Context, vid uint16) (bool, error)
- func (d *ConfigDB) ExistVrf(ctx context.Context, vrf string) (bool, error)
- func (d *ConfigDB) ExistVxlanTunnelMap(ctx context.Context, vid uint16, vni uint32) (bool, error)
- func (d *ConfigDB) GetPort(ctx context.Context, interfaceName string) (*Port, error)
- func (d *ConfigDB) GetVlanMembership(ctx context.Context, interfaceName string) ([]string, error)
- func (d *ConfigDB) GetVrfMembership(ctx context.Context, interfaceName string) (string, error)
- func (d *ConfigDB) IsLinkLocalOnly(ctx context.Context, interfaceName string) (bool, error)
- func (d *ConfigDB) SetAdminStatusUp(ctx context.Context, interfaceName string, up bool) error
- func (d *ConfigDB) SetPortMtu(ctx context.Context, interfaceName string, val string) error
- func (d *ConfigDB) SetVlanMember(ctx context.Context, interfaceName, vlan string) error
- func (d *ConfigDB) SetVrfMember(ctx context.Context, interfaceName string, vrf string) error
- func (d *ConfigDB) SuppressNeighbors(ctx context.Context, vid uint16) error
- type CountersDB
- type DB
- type Key
- type OID
- type Port
- type Table
- func (t *Table) Del(ctx context.Context, item string) error
- func (t *Table) Exists(ctx context.Context, item string) (bool, error)
- func (t *Table) GetView(ctx context.Context) (View, error)
- func (t *Table) HGet(ctx context.Context, item string, field string) (string, error)
- func (t *Table) HGetAll(ctx context.Context, item string) (Val, error)
- func (t *Table) HSet(ctx context.Context, item string, val Val) error
- type Val
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsicDB ¶
type AsicDB struct {
// contains filtered or unexported fields
}
func (*AsicDB) ExistBridgePort ¶
func (*AsicDB) ExistRouterInterface ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type ConfigDB ¶
type ConfigDB struct {
// contains filtered or unexported fields
}
func (*ConfigDB) AreNeighborsSuppressed ¶
func (*ConfigDB) CreateVlanInterface ¶
func (*ConfigDB) CreateVxlanTunnelMap ¶
func (*ConfigDB) DeleteInterfaceConfiguration ¶
func (*ConfigDB) DeleteVlanMember ¶
func (*ConfigDB) EnableLinkLocalOnly ¶
func (*ConfigDB) ExistVlanInterface ¶
func (*ConfigDB) ExistVxlanTunnelMap ¶
func (*ConfigDB) GetVlanMembership ¶
func (*ConfigDB) GetVrfMembership ¶
func (*ConfigDB) IsLinkLocalOnly ¶
func (*ConfigDB) SetAdminStatusUp ¶ added in v0.10.1
func (*ConfigDB) SetPortMtu ¶
func (*ConfigDB) SetVlanMember ¶
func (*ConfigDB) SetVrfMember ¶
type CountersDB ¶
type CountersDB struct {
// contains filtered or unexported fields
}
func (*CountersDB) GetPortNameMap ¶
func (*CountersDB) GetRifNameMap ¶
Click to show internal directories.
Click to hide internal directories.