Documentation ¶
Index ¶
- func RegisterOpenflowServer(s *grpc.Server, srv OpenflowServer)
- func RegisterVSwitchServer(s *grpc.Server, srv VSwitchServer)
- type AddBridgePortRequest
- func (*AddBridgePortRequest) Descriptor() ([]byte, []int)
- func (m *AddBridgePortRequest) GetBridge() string
- func (m *AddBridgePortRequest) GetPort() string
- func (*AddBridgePortRequest) ProtoMessage()
- func (m *AddBridgePortRequest) Reset()
- func (m *AddBridgePortRequest) String() string
- func (m *AddBridgePortRequest) XXX_DiscardUnknown()
- func (m *AddBridgePortRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddBridgePortRequest) XXX_Merge(src proto.Message)
- func (m *AddBridgePortRequest) XXX_Size() int
- func (m *AddBridgePortRequest) XXX_Unmarshal(b []byte) error
- type AddBridgeRequest
- func (*AddBridgeRequest) Descriptor() ([]byte, []int)
- func (m *AddBridgeRequest) GetBridge() string
- func (*AddBridgeRequest) ProtoMessage()
- func (m *AddBridgeRequest) Reset()
- func (m *AddBridgeRequest) String() string
- func (m *AddBridgeRequest) XXX_DiscardUnknown()
- func (m *AddBridgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddBridgeRequest) XXX_Merge(src proto.Message)
- func (m *AddBridgeRequest) XXX_Size() int
- func (m *AddBridgeRequest) XXX_Unmarshal(b []byte) error
- type AddFlowRequest
- func (*AddFlowRequest) Descriptor() ([]byte, []int)
- func (m *AddFlowRequest) GetBridge() string
- func (m *AddFlowRequest) GetFlow() *Flow
- func (*AddFlowRequest) ProtoMessage()
- func (m *AddFlowRequest) Reset()
- func (m *AddFlowRequest) String() string
- func (m *AddFlowRequest) XXX_DiscardUnknown()
- func (m *AddFlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddFlowRequest) XXX_Merge(src proto.Message)
- func (m *AddFlowRequest) XXX_Size() int
- func (m *AddFlowRequest) XXX_Unmarshal(b []byte) error
- type CommonResponse
- type DelBridgePortRequest
- func (*DelBridgePortRequest) Descriptor() ([]byte, []int)
- func (m *DelBridgePortRequest) GetBridge() string
- func (m *DelBridgePortRequest) GetPort() string
- func (*DelBridgePortRequest) ProtoMessage()
- func (m *DelBridgePortRequest) Reset()
- func (m *DelBridgePortRequest) String() string
- func (m *DelBridgePortRequest) XXX_DiscardUnknown()
- func (m *DelBridgePortRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DelBridgePortRequest) XXX_Merge(src proto.Message)
- func (m *DelBridgePortRequest) XXX_Size() int
- func (m *DelBridgePortRequest) XXX_Unmarshal(b []byte) error
- type DelBridgeRequest
- func (*DelBridgeRequest) Descriptor() ([]byte, []int)
- func (m *DelBridgeRequest) GetBridge() string
- func (*DelBridgeRequest) ProtoMessage()
- func (m *DelBridgeRequest) Reset()
- func (m *DelBridgeRequest) String() string
- func (m *DelBridgeRequest) XXX_DiscardUnknown()
- func (m *DelBridgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DelBridgeRequest) XXX_Merge(src proto.Message)
- func (m *DelBridgeRequest) XXX_Size() int
- func (m *DelBridgeRequest) XXX_Unmarshal(b []byte) error
- type DelFlowRequest
- func (*DelFlowRequest) Descriptor() ([]byte, []int)
- func (m *DelFlowRequest) GetBridge() string
- func (m *DelFlowRequest) GetFlow() *Flow
- func (*DelFlowRequest) ProtoMessage()
- func (m *DelFlowRequest) Reset()
- func (m *DelFlowRequest) String() string
- func (m *DelFlowRequest) XXX_DiscardUnknown()
- func (m *DelFlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DelFlowRequest) XXX_Merge(src proto.Message)
- func (m *DelFlowRequest) XXX_Size() int
- func (m *DelFlowRequest) XXX_Unmarshal(b []byte) error
- type DumpBridgePortRequest
- func (*DumpBridgePortRequest) Descriptor() ([]byte, []int)
- func (m *DumpBridgePortRequest) GetBridge() string
- func (m *DumpBridgePortRequest) GetPort() string
- func (*DumpBridgePortRequest) ProtoMessage()
- func (m *DumpBridgePortRequest) Reset()
- func (m *DumpBridgePortRequest) String() string
- func (m *DumpBridgePortRequest) XXX_DiscardUnknown()
- func (m *DumpBridgePortRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DumpBridgePortRequest) XXX_Merge(src proto.Message)
- func (m *DumpBridgePortRequest) XXX_Size() int
- func (m *DumpBridgePortRequest) XXX_Unmarshal(b []byte) error
- type DumpBridgePortResponse
- func (*DumpBridgePortResponse) Descriptor() ([]byte, []int)
- func (m *DumpBridgePortResponse) GetCode() uint32
- func (m *DumpBridgePortResponse) GetMesg() string
- func (m *DumpBridgePortResponse) GetPortStats() *PortStats
- func (*DumpBridgePortResponse) ProtoMessage()
- func (m *DumpBridgePortResponse) Reset()
- func (m *DumpBridgePortResponse) String() string
- func (m *DumpBridgePortResponse) XXX_DiscardUnknown()
- func (m *DumpBridgePortResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DumpBridgePortResponse) XXX_Merge(src proto.Message)
- func (m *DumpBridgePortResponse) XXX_Size() int
- func (m *DumpBridgePortResponse) XXX_Unmarshal(b []byte) error
- type Flow
- func (*Flow) Descriptor() ([]byte, []int)
- func (m *Flow) GetActions() string
- func (m *Flow) GetCookie() uint64
- func (m *Flow) GetMatches() string
- func (m *Flow) GetPriority() uint32
- func (m *Flow) GetTable() uint32
- func (f *Flow) OvsFlow() (*ovs.Flow, error)
- func (*Flow) ProtoMessage()
- func (m *Flow) Reset()
- func (m *Flow) String() string
- func (m *Flow) XXX_DiscardUnknown()
- func (m *Flow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Flow) XXX_Merge(src proto.Message)
- func (m *Flow) XXX_Size() int
- func (m *Flow) XXX_Unmarshal(b []byte) error
- type OpenflowClient
- type OpenflowServer
- type PortStats
- func (*PortStats) Descriptor() ([]byte, []int)
- func (m *PortStats) GetPortNo() uint32
- func (*PortStats) ProtoMessage()
- func (m *PortStats) Reset()
- func (m *PortStats) String() string
- func (m *PortStats) XXX_DiscardUnknown()
- func (m *PortStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PortStats) XXX_Merge(src proto.Message)
- func (m *PortStats) XXX_Size() int
- func (m *PortStats) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetCode() uint32
- func (m *Response) GetMesg() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type SyncFlowsRequest
- func (*SyncFlowsRequest) Descriptor() ([]byte, []int)
- func (m *SyncFlowsRequest) GetBridge() string
- func (*SyncFlowsRequest) ProtoMessage()
- func (m *SyncFlowsRequest) Reset()
- func (m *SyncFlowsRequest) String() string
- func (m *SyncFlowsRequest) XXX_DiscardUnknown()
- func (m *SyncFlowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SyncFlowsRequest) XXX_Merge(src proto.Message)
- func (m *SyncFlowsRequest) XXX_Size() int
- func (m *SyncFlowsRequest) XXX_Unmarshal(b []byte) error
- type VSwitchClient
- type VSwitchServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOpenflowServer ¶
func RegisterOpenflowServer(s *grpc.Server, srv OpenflowServer)
func RegisterVSwitchServer ¶
func RegisterVSwitchServer(s *grpc.Server, srv VSwitchServer)
Types ¶
type AddBridgePortRequest ¶
type AddBridgePortRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddBridgePortRequest) Descriptor ¶
func (*AddBridgePortRequest) Descriptor() ([]byte, []int)
func (*AddBridgePortRequest) GetBridge ¶
func (m *AddBridgePortRequest) GetBridge() string
func (*AddBridgePortRequest) GetPort ¶
func (m *AddBridgePortRequest) GetPort() string
func (*AddBridgePortRequest) ProtoMessage ¶
func (*AddBridgePortRequest) ProtoMessage()
func (*AddBridgePortRequest) Reset ¶
func (m *AddBridgePortRequest) Reset()
func (*AddBridgePortRequest) String ¶
func (m *AddBridgePortRequest) String() string
func (*AddBridgePortRequest) XXX_DiscardUnknown ¶
func (m *AddBridgePortRequest) XXX_DiscardUnknown()
func (*AddBridgePortRequest) XXX_Marshal ¶
func (m *AddBridgePortRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddBridgePortRequest) XXX_Merge ¶
func (dst *AddBridgePortRequest) XXX_Merge(src proto.Message)
func (*AddBridgePortRequest) XXX_Size ¶
func (m *AddBridgePortRequest) XXX_Size() int
func (*AddBridgePortRequest) XXX_Unmarshal ¶
func (m *AddBridgePortRequest) XXX_Unmarshal(b []byte) error
type AddBridgeRequest ¶
type AddBridgeRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddBridgeRequest) Descriptor ¶
func (*AddBridgeRequest) Descriptor() ([]byte, []int)
func (*AddBridgeRequest) GetBridge ¶
func (m *AddBridgeRequest) GetBridge() string
func (*AddBridgeRequest) ProtoMessage ¶
func (*AddBridgeRequest) ProtoMessage()
func (*AddBridgeRequest) Reset ¶
func (m *AddBridgeRequest) Reset()
func (*AddBridgeRequest) String ¶
func (m *AddBridgeRequest) String() string
func (*AddBridgeRequest) XXX_DiscardUnknown ¶
func (m *AddBridgeRequest) XXX_DiscardUnknown()
func (*AddBridgeRequest) XXX_Marshal ¶
func (m *AddBridgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddBridgeRequest) XXX_Merge ¶
func (dst *AddBridgeRequest) XXX_Merge(src proto.Message)
func (*AddBridgeRequest) XXX_Size ¶
func (m *AddBridgeRequest) XXX_Size() int
func (*AddBridgeRequest) XXX_Unmarshal ¶
func (m *AddBridgeRequest) XXX_Unmarshal(b []byte) error
type AddFlowRequest ¶
type AddFlowRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` Flow *Flow `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddFlowRequest) Descriptor ¶
func (*AddFlowRequest) Descriptor() ([]byte, []int)
func (*AddFlowRequest) GetBridge ¶
func (m *AddFlowRequest) GetBridge() string
func (*AddFlowRequest) GetFlow ¶
func (m *AddFlowRequest) GetFlow() *Flow
func (*AddFlowRequest) ProtoMessage ¶
func (*AddFlowRequest) ProtoMessage()
func (*AddFlowRequest) Reset ¶
func (m *AddFlowRequest) Reset()
func (*AddFlowRequest) String ¶
func (m *AddFlowRequest) String() string
func (*AddFlowRequest) XXX_DiscardUnknown ¶
func (m *AddFlowRequest) XXX_DiscardUnknown()
func (*AddFlowRequest) XXX_Marshal ¶
func (m *AddFlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddFlowRequest) XXX_Merge ¶
func (dst *AddFlowRequest) XXX_Merge(src proto.Message)
func (*AddFlowRequest) XXX_Size ¶
func (m *AddFlowRequest) XXX_Size() int
func (*AddFlowRequest) XXX_Unmarshal ¶
func (m *AddFlowRequest) XXX_Unmarshal(b []byte) error
type CommonResponse ¶
type DelBridgePortRequest ¶
type DelBridgePortRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelBridgePortRequest) Descriptor ¶
func (*DelBridgePortRequest) Descriptor() ([]byte, []int)
func (*DelBridgePortRequest) GetBridge ¶
func (m *DelBridgePortRequest) GetBridge() string
func (*DelBridgePortRequest) GetPort ¶
func (m *DelBridgePortRequest) GetPort() string
func (*DelBridgePortRequest) ProtoMessage ¶
func (*DelBridgePortRequest) ProtoMessage()
func (*DelBridgePortRequest) Reset ¶
func (m *DelBridgePortRequest) Reset()
func (*DelBridgePortRequest) String ¶
func (m *DelBridgePortRequest) String() string
func (*DelBridgePortRequest) XXX_DiscardUnknown ¶
func (m *DelBridgePortRequest) XXX_DiscardUnknown()
func (*DelBridgePortRequest) XXX_Marshal ¶
func (m *DelBridgePortRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelBridgePortRequest) XXX_Merge ¶
func (dst *DelBridgePortRequest) XXX_Merge(src proto.Message)
func (*DelBridgePortRequest) XXX_Size ¶
func (m *DelBridgePortRequest) XXX_Size() int
func (*DelBridgePortRequest) XXX_Unmarshal ¶
func (m *DelBridgePortRequest) XXX_Unmarshal(b []byte) error
type DelBridgeRequest ¶
type DelBridgeRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelBridgeRequest) Descriptor ¶
func (*DelBridgeRequest) Descriptor() ([]byte, []int)
func (*DelBridgeRequest) GetBridge ¶
func (m *DelBridgeRequest) GetBridge() string
func (*DelBridgeRequest) ProtoMessage ¶
func (*DelBridgeRequest) ProtoMessage()
func (*DelBridgeRequest) Reset ¶
func (m *DelBridgeRequest) Reset()
func (*DelBridgeRequest) String ¶
func (m *DelBridgeRequest) String() string
func (*DelBridgeRequest) XXX_DiscardUnknown ¶
func (m *DelBridgeRequest) XXX_DiscardUnknown()
func (*DelBridgeRequest) XXX_Marshal ¶
func (m *DelBridgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelBridgeRequest) XXX_Merge ¶
func (dst *DelBridgeRequest) XXX_Merge(src proto.Message)
func (*DelBridgeRequest) XXX_Size ¶
func (m *DelBridgeRequest) XXX_Size() int
func (*DelBridgeRequest) XXX_Unmarshal ¶
func (m *DelBridgeRequest) XXX_Unmarshal(b []byte) error
type DelFlowRequest ¶
type DelFlowRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` Flow *Flow `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelFlowRequest) Descriptor ¶
func (*DelFlowRequest) Descriptor() ([]byte, []int)
func (*DelFlowRequest) GetBridge ¶
func (m *DelFlowRequest) GetBridge() string
func (*DelFlowRequest) GetFlow ¶
func (m *DelFlowRequest) GetFlow() *Flow
func (*DelFlowRequest) ProtoMessage ¶
func (*DelFlowRequest) ProtoMessage()
func (*DelFlowRequest) Reset ¶
func (m *DelFlowRequest) Reset()
func (*DelFlowRequest) String ¶
func (m *DelFlowRequest) String() string
func (*DelFlowRequest) XXX_DiscardUnknown ¶
func (m *DelFlowRequest) XXX_DiscardUnknown()
func (*DelFlowRequest) XXX_Marshal ¶
func (m *DelFlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelFlowRequest) XXX_Merge ¶
func (dst *DelFlowRequest) XXX_Merge(src proto.Message)
func (*DelFlowRequest) XXX_Size ¶
func (m *DelFlowRequest) XXX_Size() int
func (*DelFlowRequest) XXX_Unmarshal ¶
func (m *DelFlowRequest) XXX_Unmarshal(b []byte) error
type DumpBridgePortRequest ¶
type DumpBridgePortRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DumpBridgePortRequest) Descriptor ¶
func (*DumpBridgePortRequest) Descriptor() ([]byte, []int)
func (*DumpBridgePortRequest) GetBridge ¶
func (m *DumpBridgePortRequest) GetBridge() string
func (*DumpBridgePortRequest) GetPort ¶
func (m *DumpBridgePortRequest) GetPort() string
func (*DumpBridgePortRequest) ProtoMessage ¶
func (*DumpBridgePortRequest) ProtoMessage()
func (*DumpBridgePortRequest) Reset ¶
func (m *DumpBridgePortRequest) Reset()
func (*DumpBridgePortRequest) String ¶
func (m *DumpBridgePortRequest) String() string
func (*DumpBridgePortRequest) XXX_DiscardUnknown ¶
func (m *DumpBridgePortRequest) XXX_DiscardUnknown()
func (*DumpBridgePortRequest) XXX_Marshal ¶
func (m *DumpBridgePortRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpBridgePortRequest) XXX_Merge ¶
func (dst *DumpBridgePortRequest) XXX_Merge(src proto.Message)
func (*DumpBridgePortRequest) XXX_Size ¶
func (m *DumpBridgePortRequest) XXX_Size() int
func (*DumpBridgePortRequest) XXX_Unmarshal ¶
func (m *DumpBridgePortRequest) XXX_Unmarshal(b []byte) error
type DumpBridgePortResponse ¶
type DumpBridgePortResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Mesg string `protobuf:"bytes,2,opt,name=mesg,proto3" json:"mesg,omitempty"` PortStats *PortStats `protobuf:"bytes,3,opt,name=port_stats,json=portStats,proto3" json:"port_stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DumpBridgePortResponse) Descriptor ¶
func (*DumpBridgePortResponse) Descriptor() ([]byte, []int)
func (*DumpBridgePortResponse) GetCode ¶
func (m *DumpBridgePortResponse) GetCode() uint32
func (*DumpBridgePortResponse) GetMesg ¶
func (m *DumpBridgePortResponse) GetMesg() string
func (*DumpBridgePortResponse) GetPortStats ¶
func (m *DumpBridgePortResponse) GetPortStats() *PortStats
func (*DumpBridgePortResponse) ProtoMessage ¶
func (*DumpBridgePortResponse) ProtoMessage()
func (*DumpBridgePortResponse) Reset ¶
func (m *DumpBridgePortResponse) Reset()
func (*DumpBridgePortResponse) String ¶
func (m *DumpBridgePortResponse) String() string
func (*DumpBridgePortResponse) XXX_DiscardUnknown ¶
func (m *DumpBridgePortResponse) XXX_DiscardUnknown()
func (*DumpBridgePortResponse) XXX_Marshal ¶
func (m *DumpBridgePortResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpBridgePortResponse) XXX_Merge ¶
func (dst *DumpBridgePortResponse) XXX_Merge(src proto.Message)
func (*DumpBridgePortResponse) XXX_Size ¶
func (m *DumpBridgePortResponse) XXX_Size() int
func (*DumpBridgePortResponse) XXX_Unmarshal ¶
func (m *DumpBridgePortResponse) XXX_Unmarshal(b []byte) error
type Flow ¶
type Flow struct { Cookie uint64 `protobuf:"varint,1,opt,name=cookie,proto3" json:"cookie,omitempty"` Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` Table uint32 `protobuf:"varint,3,opt,name=table,proto3" json:"table,omitempty"` Matches string `protobuf:"bytes,4,opt,name=matches,proto3" json:"matches,omitempty"` Actions string `protobuf:"bytes,5,opt,name=actions,proto3" json:"actions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Flow) Descriptor ¶
func (*Flow) GetActions ¶
func (*Flow) GetMatches ¶
func (*Flow) GetPriority ¶
func (*Flow) ProtoMessage ¶
func (*Flow) ProtoMessage()
func (*Flow) XXX_DiscardUnknown ¶
func (m *Flow) XXX_DiscardUnknown()
func (*Flow) XXX_Unmarshal ¶
type OpenflowClient ¶
type OpenflowClient interface { AddFlow(ctx context.Context, in *AddFlowRequest, opts ...grpc.CallOption) (*Response, error) DelFlow(ctx context.Context, in *DelFlowRequest, opts ...grpc.CallOption) (*Response, error) SyncFlows(ctx context.Context, in *SyncFlowsRequest, opts ...grpc.CallOption) (*Response, error) DumpBridgePort(ctx context.Context, in *DumpBridgePortRequest, opts ...grpc.CallOption) (*DumpBridgePortResponse, error) }
OpenflowClient is the client API for Openflow service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOpenflowClient ¶
func NewOpenflowClient(cc *grpc.ClientConn) OpenflowClient
type OpenflowServer ¶
type OpenflowServer interface { AddFlow(context.Context, *AddFlowRequest) (*Response, error) DelFlow(context.Context, *DelFlowRequest) (*Response, error) SyncFlows(context.Context, *SyncFlowsRequest) (*Response, error) DumpBridgePort(context.Context, *DumpBridgePortRequest) (*DumpBridgePortResponse, error) }
OpenflowServer is the server API for Openflow service.
type PortStats ¶
type PortStats struct { PortNo uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PortStats) Descriptor ¶
func (*PortStats) ProtoMessage ¶
func (*PortStats) ProtoMessage()
func (*PortStats) XXX_DiscardUnknown ¶
func (m *PortStats) XXX_DiscardUnknown()
func (*PortStats) XXX_Marshal ¶
func (*PortStats) XXX_Unmarshal ¶
type Response ¶
type Response struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Mesg string `protobuf:"bytes,2,opt,name=mesg,proto3" json:"mesg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type SyncFlowsRequest ¶
type SyncFlowsRequest struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SyncFlowsRequest) Descriptor ¶
func (*SyncFlowsRequest) Descriptor() ([]byte, []int)
func (*SyncFlowsRequest) GetBridge ¶
func (m *SyncFlowsRequest) GetBridge() string
func (*SyncFlowsRequest) ProtoMessage ¶
func (*SyncFlowsRequest) ProtoMessage()
func (*SyncFlowsRequest) Reset ¶
func (m *SyncFlowsRequest) Reset()
func (*SyncFlowsRequest) String ¶
func (m *SyncFlowsRequest) String() string
func (*SyncFlowsRequest) XXX_DiscardUnknown ¶
func (m *SyncFlowsRequest) XXX_DiscardUnknown()
func (*SyncFlowsRequest) XXX_Marshal ¶
func (m *SyncFlowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncFlowsRequest) XXX_Merge ¶
func (dst *SyncFlowsRequest) XXX_Merge(src proto.Message)
func (*SyncFlowsRequest) XXX_Size ¶
func (m *SyncFlowsRequest) XXX_Size() int
func (*SyncFlowsRequest) XXX_Unmarshal ¶
func (m *SyncFlowsRequest) XXX_Unmarshal(b []byte) error
type VSwitchClient ¶
type VSwitchClient interface { AddBridge(ctx context.Context, in *AddBridgeRequest, opts ...grpc.CallOption) (*Response, error) DelBridge(ctx context.Context, in *DelBridgeRequest, opts ...grpc.CallOption) (*Response, error) AddBridgePort(ctx context.Context, in *AddBridgePortRequest, opts ...grpc.CallOption) (*Response, error) DelBridgePort(ctx context.Context, in *DelBridgePortRequest, opts ...grpc.CallOption) (*Response, error) }
VSwitchClient is the client API for VSwitch service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVSwitchClient ¶
func NewVSwitchClient(cc *grpc.ClientConn) VSwitchClient
type VSwitchServer ¶
type VSwitchServer interface { AddBridge(context.Context, *AddBridgeRequest) (*Response, error) DelBridge(context.Context, *DelBridgeRequest) (*Response, error) AddBridgePort(context.Context, *AddBridgePortRequest) (*Response, error) DelBridgePort(context.Context, *DelBridgePortRequest) (*Response, error) }
VSwitchServer is the server API for VSwitch service.
Click to show internal directories.
Click to hide internal directories.