Documentation ¶
Index ¶
- type VppDriver
- func (d *VppDriver) AddBgp(id string) (err error)
- func (d *VppDriver) AddMaster(node core.ServiceInfo) error
- func (d *VppDriver) AddPeerHost(node core.ServiceInfo) error
- func (d *VppDriver) AddPolicyRule(id string) error
- func (d *VppDriver) AddSvcSpec(svcName string, spec *core.ServiceSpec) error
- func (d *VppDriver) CreateEndpoint(id string) error
- func (d *VppDriver) CreateHostAccPort(id, a string, nw int) (string, error)
- func (d *VppDriver) CreateNetwork(id string) error
- func (d *VppDriver) CreateRemoteEndpoint(id string) error
- func (d *VppDriver) Deinit()
- func (d *VppDriver) DelPolicyRule(id string) error
- func (d *VppDriver) DelSvcSpec(svcName string, spec *core.ServiceSpec) error
- func (d *VppDriver) DeleteBgp(id string) (err error)
- func (d *VppDriver) DeleteEndpoint(id string) (err error)
- func (d *VppDriver) DeleteHostAccPort(id string) (err error)
- func (d *VppDriver) DeleteMaster(node core.ServiceInfo) error
- func (d *VppDriver) DeleteNetwork(id, subnet, nwType, encap string, pktTag, extPktTag int, gateway string, ...) error
- func (d *VppDriver) DeletePeerHost(node core.ServiceInfo) error
- func (d *VppDriver) DeleteRemoteEndpoint(id string) (err error)
- func (d *VppDriver) GetEndpointStats() ([]byte, error)
- func (d *VppDriver) GlobalConfigUpdate(inst core.InstanceInfo) error
- func (d *VppDriver) Init(info *core.InstanceInfo) error
- func (d *VppDriver) InspectBgp() ([]byte, error)
- func (d *VppDriver) InspectNameserver() ([]byte, error)
- func (d *VppDriver) InspectState() ([]byte, error)
- func (d *VppDriver) SvcProviderUpdate(svcName string, providers []string)
- func (d *VppDriver) UpdateEndpointGroup(id string) error
- type VppDriverOperState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VppDriver ¶
type VppDriver struct {
// contains filtered or unexported fields
}
VppDriver holds the operational state of vpp driver
func (*VppDriver) AddMaster ¶
func (d *VppDriver) AddMaster(node core.ServiceInfo) error
AddMaster is not implemented
func (*VppDriver) AddPeerHost ¶
func (d *VppDriver) AddPeerHost(node core.ServiceInfo) error
AddPeerHost is not implemented.
func (*VppDriver) AddPolicyRule ¶
AddPolicyRule is not implemented
func (*VppDriver) AddSvcSpec ¶
func (d *VppDriver) AddSvcSpec(svcName string, spec *core.ServiceSpec) error
AddSvcSpec is not implemented.
func (*VppDriver) CreateEndpoint ¶
CreateEndpoint is not implemented.
func (*VppDriver) CreateHostAccPort ¶
CreateHostAccPort is not implemented.
func (*VppDriver) CreateNetwork ¶
CreateNetwork is not implemented. We get the Tenant/vrf and network/subnet info from contiv in this API
func (*VppDriver) CreateRemoteEndpoint ¶
CreateRemoteEndpoint is not implemented.
func (*VppDriver) DelPolicyRule ¶
DelPolicyRule is not implemented
func (*VppDriver) DelSvcSpec ¶
func (d *VppDriver) DelSvcSpec(svcName string, spec *core.ServiceSpec) error
DelSvcSpec is not implemented.
func (*VppDriver) DeleteEndpoint ¶
DeleteEndpoint is not implemented.
func (*VppDriver) DeleteHostAccPort ¶
DeleteHostAccPort is not implemented.
func (*VppDriver) DeleteMaster ¶
func (d *VppDriver) DeleteMaster(node core.ServiceInfo) error
DeleteMaster is not implemented
func (*VppDriver) DeleteNetwork ¶
func (d *VppDriver) DeleteNetwork(id, subnet, nwType, encap string, pktTag, extPktTag int, gateway string, tenant string) error
DeleteNetwork is not implemented.
func (*VppDriver) DeletePeerHost ¶
func (d *VppDriver) DeletePeerHost(node core.ServiceInfo) error
DeletePeerHost is not implemented.
func (*VppDriver) DeleteRemoteEndpoint ¶
DeleteRemoteEndpoint is not implemented.
func (*VppDriver) GetEndpointStats ¶
GetEndpointStats is not implemented
func (*VppDriver) GlobalConfigUpdate ¶
func (d *VppDriver) GlobalConfigUpdate(inst core.InstanceInfo) error
GlobalConfigUpdate is not implemented
func (*VppDriver) Init ¶
func (d *VppDriver) Init(info *core.InstanceInfo) error
Init is not implemented.
func (*VppDriver) InspectBgp ¶
InspectBgp is not implemented
func (*VppDriver) InspectNameserver ¶
InspectNameserver is not implemented
func (*VppDriver) InspectState ¶
InspectState is not implemented
func (*VppDriver) SvcProviderUpdate ¶
SvcProviderUpdate is not implemented.
func (*VppDriver) UpdateEndpointGroup ¶
UpdateEndpointGroup is not implemented.
type VppDriverOperState ¶
type VppDriverOperState struct {
core.CommonState
}
VppDriverOperState carries operational state of the VppDriver.
func (*VppDriverOperState) Clear ¶
func (s *VppDriverOperState) Clear() error
Clear removes the state.
func (*VppDriverOperState) Read ¶
func (s *VppDriverOperState) Read(id string) error
Read the state given an ID.