MCPcopy Create free account

hub / github.com/digitalocean/go-openvswitch / functions

Functions571 in github.com/digitalocean/go-openvswitch

↓ 1 callersMethodGetFailMode
GetFailMode gets the FailMode for the specified bridge.
ovs/vswitch.go:118
↓ 1 callersFunctionIsPortNotExist
IsPortNotExist checks if err is of type Error and is caused by asking OVS for information regarding a non-existent port.
ovs/ovs.go:81
↓ 1 callersMethodListBridges
ListBridges lists the bridges in Open vSwitch.
ovs/vswitch.go:90
↓ 1 callersMethodListPorts
ListPorts lists the ports in Open vSwitch.
ovs/vswitch.go:74
↓ 1 callersMethodMarshalText
MarshalText implements Action.
ovs/action.go:224
↓ 1 callersMethodMatchFlow
MatchFlow converts Flow into MatchFlow.
ovs/flow.go:466
↓ 1 callersFunctionMetadataWithMask
MetadataWithMask returns a Match with specified Metadata and mask.
ovs/match.go:1363
↓ 1 callersMethodModPort
ModPort modifies the specified characteristics for the specified port.
ovs/openflow.go:210
↓ 1 callersFunctionMultipath
Multipath returns a MultipathAction instance. Hashes fields using `basis` as a universal hash parameter, then applies multipath link selection `algor
ovs/action.go:462
↓ 1 callersFunctionNetworkECN
NetworkECN creates a new networkECN
ovs/match.go:298
↓ 1 callersFunctionNetworkTOS
NetworkTOS returns a new networkTOS type
ovs/match.go:322
↓ 1 callersFunctionNetworkTTL
NetworkTTL returns a new networkTTL
ovs/match.go:418
↓ 1 callersFunctionNew
New creates a new Linux Open vSwitch generic netlink client. If no OvS generic netlink families are available on this system, an error will be return
ovsnl/client.go:38
↓ 1 callersFunctionPipe
Pipe returns an OptionFunc which sets a PipeFunc for use with a Client. This function should typically only be used in tests.
ovs/client.go:283
↓ 1 callersMethodPortToBridge
PortToBridge attempts to determine which bridge a port is attached to. If port does not exist, an error will be returned, which can be checked using I
ovs/vswitch.go:108
↓ 1 callersMethodRead
(b []byte)
ovsdb/internal/jsonrpc/conn.go:136
↓ 1 callersMethodSetController
SetController sets the controller for this bridge so that ovs-ofctl can use this address to communicate.
ovs/vswitch.go:135
↓ 1 callersMethodSetFailMode
SetFailMode sets the specified FailMode for the specified bridge.
ovs/vswitch.go:128
↓ 1 callersFunctionSetSSLParam
SetSSLParam configures SSL authentication using a private key, certificate, and CA certificate for use with ovs-ofctl.
ovs/client.go:329
↓ 1 callersFunctionSetTCPParam
SetTCPParam configures the OVSDB connection using a TCP format ip:port for use with all ovs-vsctl commands.
ovs/client.go:338
↓ 1 callersFunctionTunnelFlags
TunnelFlags returns a new tunnelFlags
ovs/match.go:394
↓ 1 callersFunctionTunnelGBP
TunnelGBP returns a new tunnelGBP
ovs/match.go:346
↓ 1 callersFunctionTunnelGbpFlags
TunnelGbpFlags returns a new tunnelFlags
ovs/match.go:370
↓ 1 callersFunctionTunnelTOS
TunnelTOS returns a new tunnelTOS
ovs/match.go:474
↓ 1 callersFunctionTunnelTTL
TunnelTTL returns a new tunnelTTL
ovs/match.go:442
↓ 1 callersMethodUnmarshalText
UnmarshalText unmarshals a FlowStats from textual form.
ovs/flowstats.go:38
↓ 1 callersMethodVersion
Version is the method used to get the version of ovs-dpctl
ovs/datapath.go:55
↓ 1 callersMethodWrite
(p []byte)
ovs/client.go:354
↓ 1 callersMethodaddCallback
addCallback registers a callback for an RPC response for the specified ID.
ovsdb/client.go:383
↓ 1 callersMethoddumpAggregate
dumpAggregate calls 'ovs-ofctl dump-aggregate' with the specified arguments and parses the output into zero or more FlowStat structs.
ovs/openflow.go:384
↓ 1 callersMethodechoLoop
echoLoop starts a loop that sends echo RPCs when requested via channel.
ovsdb/client.go:342
↓ 1 callersMethodechoTicker
echoTicker starts a loop that triggers echo RPCs via channel at a fixed time interval.
ovsdb/client.go:315
↓ 1 callersMethodexec
exec executes 'ovs-appctl' + args passed in
ovs/app.go:66
↓ 1 callersMethodexec
exec executes an ExecFunc using the values from cmd and args. The ExecFunc may shell out to an appropriate binary, or may be swapped for testing.
ovs/client.go:76
↓ 1 callersFunctiongetMask
(bitLength uint)
ovs/portrange.go:114
↓ 1 callersFunctiongetZoneString
getZoneString takes the zones as []uint64 to return a formated string usable in different ovs-dpctl commands Example a slice: var zones = []uint64{2,
ovs/datapath.go:302
↓ 1 callersMethodinit
init initializes the generic netlink family service of Client.
ovsnl/client.go:73
↓ 1 callersMethodinitFamily
initFamily initializes a single generic netlink family service.
ovsnl/client.go:97
↓ 1 callersMethodlisten
listen starts an RPC receive loop that can return RPC results to clients via a callback.
ovsdb/client.go:270
↓ 1 callersMethodmarshalFunctions
marshalFunctions marshals a slice of functions to their text form.
ovs/matchflow.go:150
↓ 1 callersMethodmarshalMatches
marshalMatches marshals all Matches in a MatchFlow to their text form.
ovs/matchflow.go:140
↓ 1 callersFunctionmatchFlowErrorEqual
matchFlowErrorEqual determines if two possible MatchFlowErrors are equal.
ovs/matchflow_test.go:272
↓ 1 callersFunctionmatchTransportPort
matchTransportPort is the common implementation for Transport{Source,Destination}Port.
ovs/match.go:1601
↓ 1 callersFunctionmatchUDPPort
matchUDPPort is the common implementation for Udp{Source,Destination}Port.
ovs/match.go:1612
↓ 1 callersFunctionmustMarshalDatapath
(t *testing.T, dp Datapath)
ovsnl/datapath_linux_test.go:176
↓ 1 callersFunctionmustVerifyFlowBundle
(t *testing.T, stdin io.Reader, flows []*Flow, matchFlows []*MatchFlow)
ovs/openflow_test.go:1357
↓ 1 callersMethodparseAction
parseAction parses a single Action and its raw text from the wrapped io.Reader.
ovs/actionparser.go:82
↓ 1 callersFunctionparseArpOp
parseArpOp parses a ArpOp Match from value.
ovs/matchparser.go:442
↓ 1 callersFunctionparseCTMark
parseCTMark parses a CTMark Match from value.
ovs/matchparser.go:459
↓ 1 callersFunctionparseCTState
parseCTState parses a series of connection tracking values into a Match.
ovs/matchparser.go:249
↓ 1 callersFunctionparseDPMegaflowStats
parseDPMegaflowStats converts a byte slice into DatapathMegaflowStats.
ovsnl/datapath.go:190
↓ 1 callersFunctionparseDPStats
parseDPStats converts a byte slice into DatapathStats.
ovsnl/datapath.go:174
↓ 1 callersFunctionparseDataLinkVLAN
parseDataLinkVLAN parses a DataLinkVLAN Match from value.
ovs/matchparser.go:305
↓ 1 callersFunctionparseDataLinkVLANPCP
parseDataLinkVLANPCP parses a DataLinkVLANPCP Match from value.
ovs/matchparser.go:324
↓ 1 callersFunctionparseDatapaths
parseDatapaths parses a slice of Datapaths from a slice of generic netlink messages.
ovsnl/datapath.go:127
↓ 1 callersFunctionparseEachLine
parseEachLine parses ovs-ofctl output from the input buffer, ensuring it has the specified prefix, and invoking the input function on each line scanne
ovs/openflow.go:415
↓ 1 callersFunctionparseHeader
parseHeader converts a byte slice into ovsh.Header.
ovsnl/datapath.go:204
↓ 1 callersFunctionparseIPv6Label
parseIPv6Label parses a IPv6Label Match from value.
ovs/matchparser.go:409
↓ 1 callersFunctionparseMACMatch
parseMACMatch parses a MAC address Match value from the input key and value.
ovs/matchparser.go:228
↓ 1 callersFunctionparseMetadata
parseMetadata parses a Metadata Match from value.
ovs/matchparser.go:492
↓ 1 callersFunctionparsePort
parsePort parses a port or port/mask Match value from the input key and value, with a maximum possible value of upper.
ovs/matchparser.go:180
↓ 1 callersFunctionparseTCPFlags
parseTCPFlags parses a series of TCP flags into a Match. Open vSwitch's representation of These TCP flags are outlined in the ovs-field(7) man page,
ovs/matchparser.go:275
↓ 1 callersFunctionparseTunID
parseTunID parses a tunID Match from value.
ovs/matchparser.go:525
↓ 1 callersFunctionparseVLANTCI
parseVLANTCI parses a VLANTCI Match from value.
ovs/matchparser.go:343
↓ 1 callersFunctionparseVLANTCI1
parseVLANTCI1 parses a VLANTCI1 Match from value.
ovs/matchparser.go:376
↓ 1 callersMethodpipe
pipe executes a PipeFunc using 'ovs-ofctl'.
ovs/openflow.go:506
↓ 1 callersMethodpop
pop removes an element from the stack.
ovs/actionparser.go:142
↓ 1 callersMethodpush
push adds an element to the stack.
ovs/actionparser.go:137
↓ 1 callersMethodread
read reads a single rune from the wrapped io.Reader. It returns eof if no more runes are present.
ovs/actionparser.go:48
↓ 1 callersMethodrequestID
requestID returns the next available request ID for an RPC.
ovsdb/client.go:158
↓ 1 callersFunctionrpcResult
rpcResult handles any errors from an rpcResponse and unmarshals results into a result.
ovsdb/result.go:37
↓ 1 callersFunctionshellPipe
shellPipe is a PipeFunc which shells out to the binary cmd using the arguments args, and writing to the command's stdin using stdin.
ovs/client.go:113
↓ 1 callersFunctiontestClientDatabases
(ctx context.Context, t *testing.T, c *ovsdb.Client)
ovsdb/client_integration_test.go:85
↓ 1 callersFunctiontestClientDatapath
(t *testing.T, c *ovsnl.Client, datapath string)
ovsnl/client_linux_integration_test.go:56
↓ 1 callersFunctiontestClientEcho
(ctx context.Context, t *testing.T, c *ovsdb.Client)
ovsdb/client_integration_test.go:114
↓ 1 callersFunctionvalidARPOP
validARPOP indicates if an ARP OP is out of range. It should be in the range 1-4.
ovs/action.go:734
↓ 1 callersFunctionvalidVLANPCP
validVLANVPCP indicates if a VLAN VID falls within the valid range for a VLAN VID.
ovs/action.go:752
MethodAddDataPath
AddDataPath create a Datapath with the command 'ovs-dpctl add-dp <DP>' It takes one argument, the required DataPath Name and returns an error if it fa
ovs/datapath.go:136
MethodBridge
Bridge sets configuration for a bridge using the values from a BridgeOptions struct.
ovs/vswitch.go:191
MethodClose
()
ovsdb/internal/jsonrpc/conn.go:156
MethodDelCTLimits
DelCTLimits deletes limits setup for zones. It takes the Datapath name and zones to delete the limits. sudo ovs-dpctl ct-del-limits system@ovs-system
ovs/datapath.go:234
MethodDelDataPath
DelDataPath create a Datapath with the command 'ovs-dpctl del-dp <DP>' It takes one argument, the required DataPath Name and returns an error if it fa
ovs/datapath.go:144
MethodDumpAggregate
DumpAggregate retrieves statistics about the specified flow attached to the specified bridge.
ovs/openflow.go:318
MethodError
Error returns the string representation of a FlowError.
ovs/flow.go:100
MethodError
Error returns the string representation of a pipeError.
ovs/client.go:197
MethodError
Error returns the string representation of a MatchFlowError.
ovs/matchflow.go:68
FunctionExampleClient_listDatabases
This example demonstrates basic usage of a Client. The Client connects to ovsdb-server and requests a list of all databases known to the server.
ovsdb/example_test.go:28
MethodExec
(args ...string)
ovs/datapath_test.go:33
MethodExec
Exec executes 'ovs-dpctl' + args passed in argument
ovs/datapath.go:332
MethodGetCTLimits
GetCTLimits returns the conntrack limits for a given datapath equivalent to running: 'sudo ovs-dpctl ct-get-limits <datapath_name> zone=<#1>,<#2>,...
ovs/datapath.go:152
MethodGetDataPath
GetDataPath is the method that returns all DataPaths setup for an ovs switch
ovs/datapath.go:58
MethodGoString
GoString implements Match.
ovs/match.go:126
MethodGoString
GoString implements Match.
ovs/match.go:185
MethodGoString
GoString implements Match.
ovs/match.go:221
MethodGoString
GoString implements Match.
ovs/match.go:253
MethodGoString
GoString implements Match.
ovs/match.go:289
MethodGoString
GoString implements Match.
ovs/match.go:317
MethodGoString
GoString implements Match.
ovs/match.go:341
MethodGoString
GoString implements Match.
ovs/match.go:389
MethodGoString
GoString implements Match.
ovs/match.go:413
← previousnext →201–300 of 571, ranked by callers