MCPcopy Create free account

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

Functions571 in github.com/digitalocean/go-openvswitch

↓ 4 callersFunctionFlood
Flood outputs the packet on all switch ports other than the port on which it was received, which have flooding enabled.
ovs/action.go:149
↓ 4 callersFunctionFlowFormat
FlowFormat specifies the flow format to be used when shelling to 'ovs-ofctl'.
ovs/client.go:301
↓ 4 callersMethodInterface
Interface sets configuration for an interface using the values from an InterfaceOptions struct.
ovs/vswitch.go:221
↓ 4 callersFunctionMarshalBinary
MarshalBinary is a generic binary marshaling function for the type defined in struct.go
ovsnl/internal/ovsh/binary.go:29
↓ 4 callersFunctionModTransportDestinationPort
ModTransportDestinationPort modifies the destination port of a packet.
ovs/action.go:329
↓ 4 callersFunctionSudo
Sudo specifies that "sudo" should be prefixed to all OVS commands.
ovs/client.go:345
↓ 4 callersFunctionTestConn
TestConn creates a Conn backed by a server that calls a TestFunc. Notifications can be pushed to the client using the channel. Invoke the returned clo
ovsdb/internal/jsonrpc/testconn.go:35
↓ 4 callersFunctionTransportSourcePort
TransportSourcePort matches packets with a TCP source port matching port.
ovs/match.go:885
↓ 4 callersFunctionUnmarshalBinary
UnmarshalBinary is a generic binary unmarshaling function for the type defined in struct.go
ovsnl/internal/ovsh/binary.go:36
↓ 4 callersFunctionfamilyMessages
(families []string)
ovsnl/client_linux_test.go:91
↓ 4 callersFunctionhwAddrGoString
hwAddrGoString converts a net.HardwareAddr into its Go syntax representation.
ovs/codegen.go:25
↓ 4 callersFunctionisNetworkCloseError
(err error)
ovsdb/internal/jsonrpc/testconn.go:151
↓ 4 callersFunctionmarshalMatches
marshalMatches marshals all provided Matches to their text form.
ovs/flow.go:487
↓ 4 callersFunctionmatchEthernetHardwareAddress
matchEthernetHardwareAddress attempts to create a Match using the specified key and input hardware address, which must be a 6-octet Ethernet hardware
ovs/match.go:1590
↓ 4 callersFunctionmatchIPv4AddressOrCIDR
matchIPv4AddressOrCIDR attempts to create a Match using the specified key and input string, which could be interpreted as an IPv4 address or IPv4 CIDR
ovs/match.go:1540
↓ 4 callersFunctionmustMarshalAttributes
(attrs []netlink.Attribute)
ovsnl/client_linux_test.go:133
↓ 4 callersFunctionovsFamilies
ovsFamilies creates a genltest.Func which intercepts "list family" requests and returns all the OVS families. Other requests are passed through to fn
ovsnl/client_linux_test.go:117
↓ 4 callersFunctionpaddedHexUint64
paddedHexUint64 formats and displays a uint64 as a hexadecimal string prefixed with 0x and zero-padded up to 16 characters in length.
ovs/flow.go:513
↓ 4 callersFunctionpanicf
(format string, a ...interface{})
ovsdb/client_test.go:330
↓ 4 callersFunctionpanicf
(format string, a ...interface{})
ovsdb/internal/jsonrpc/testconn.go:147
↓ 4 callersMethodslice
slice creates a string slice containing any non-zero option values from the struct in the format expected by Open vSwitch.
ovs/vswitch.go:209
↓ 3 callersMethodAddFlow
AddFlow adds a Flow to a bridge attached to Open vSwitch.
ovs/openflow.go:43
↓ 3 callersMethodBitwiseMatch
BitwiseMatch returns an array of BitRanges that represent the range of integers in the PortRange.
ovs/portrange.go:43
↓ 3 callersFunctionConnectionTrackingZone
ConnectionTrackingZone is a mechanism to define separate connection tracking contexts.
ovs/match.go:1276
↓ 3 callersMethodDelFlows
DelFlows removes flows that match MatchFlow from a bridge attached to Open vSwitch. If flow is nil, all flows will be deleted from the specified brid
ovs/openflow.go:188
↓ 3 callersMethodError
()
ovsdb/result.go:83
↓ 3 callersFunctionInPort
InPort outputs the packet on the port from which it was received.
ovs/action.go:156
↓ 3 callersFunctionMetadata
Metadata returns a Match that matches the given Metadata exactly.
ovs/match.go:1355
↓ 3 callersFunctionNew
New creates a new Client with zero or more OptionFunc configurations applied.
ovs/client.go:212
↓ 3 callersFunctionNewConn
NewConn creates a new Conn with the input io.ReadWriteCloser. If a logger is specified, it is used for debug logs.
ovsdb/internal/jsonrpc/conn.go:59
↓ 3 callersFunctionProtocols
Protocols specifies one or more OpenFlow protocol versions to be used when shelling to 'ovs-ofctl'.
ovs/client.go:319
↓ 3 callersFunctionResubmitPort
ResubmitPort resubmits a packet into the current table with its context modified to look like it originated from the specified openflow port ID.
ovs/action.go:543
↓ 3 callersFunctionUDPDestinationPort
UDPDestinationPort matches packets with a UDP destination port matching port.
ovs/match.go:930
↓ 3 callersFunctionUDPSourcePort
UDPSourcePort matches packets with a UDP source port matching port.
ovs/match.go:921
↓ 3 callersFunctionflowErrorEqual
flowErrorEqual determines if two possible FlowErrors are equal.
ovs/flow_test.go:1307
↓ 3 callersMethodlen
len returns the current length of the stack.
ovs/actionparser.go:132
↓ 3 callersFunctionparseHexUint64
parseHexUint64 parses a uint64 value from a hexadecimal string.
ovs/matchparser.go:576
↓ 3 callersFunctionparseMatch
parseMatch creates a Match function from the input string.
ovs/matchparser.go:28
↓ 3 callersMethodrpc
rpc performs a single RPC request, and checks the response for errors.
ovsdb/client.go:203
↓ 3 callersFunctionstrPtr
(s string)
ovsdb/internal/jsonrpc/conn_test.go:201
↓ 2 callersFunctionARPOperation
ARPOperation matches packets with the specified ARP operation matching oper.
ovs/match.go:771
↓ 2 callersMethodAddBridge
AddBridge attaches a bridge to Open vSwitch. The bridge may or may not already exist.
ovs/vswitch.go:47
↓ 2 callersMethodBridge
Bridge gets configuration for a bridge and returns the values through a BridgeOptions struct.
ovs/vswitch.go:164
↓ 2 callersMethodCommit
Commit finalizes an AddFlowTransaction, returning any errors that may have occurred while adding flows. Commit must be called at the end of a success
ovs/openflow.go:131
↓ 2 callersFunctionDebug
Debug returns an OptionFunc which enables debugging output for the Client type.
ovs/client.go:267
↓ 2 callersMethodDelCTLimits
DelCTLimits is the method used to remove a limit to a zone belonging to a datapath of a switch
ovs/datapath.go:86
↓ 2 callersMethodDeletePort
DeletePort detaches a port from a bridge on Open vSwitch. The port may or may not already exist.
ovs/vswitch.go:68
↓ 2 callersFunctionDial
Dial dials a connection to an OVSDB server and returns a Client.
ovsdb/client.go:97
↓ 2 callersMethodDumpFlows
DumpFlows retrieves statistics about all flows for the specified bridge. If a table has no active flows and has not been used for a lookup or matched
ovs/openflow.go:312
↓ 2 callersMethodDumpFlowsWithFlowArgs
DumpFlowsWithFlowArgs retrieves statistics about all flows for the specified bridge, filtering on the specified flow(s), if provided. If a table has n
ovs/openflow.go:275
↓ 2 callersMethodDumpPort
DumpPort retrieves statistics about the specified port attached to the specified bridge.
ovs/openflow.go:221
↓ 2 callersMethodDumpTables
DumpTables retrieves statistics about all tables for the specified bridge. If a table has no active flows and has not been used for a lookup or matche
ovs/openflow.go:242
↓ 2 callersMethodGetCTLimits
GetCTLimits is the method used to querying conntrack limits for a datapath on a switch
ovs/datapath.go:75
↓ 2 callersMethodGoString
GoString implements Match.
ovs/match.go:365
↓ 2 callersFunctionInPortMatch
InPortMatch matches packets ingressing from a specified OVS port
ovs/match.go:676
↓ 2 callersMethodMaskedPorts
()
ovs/match.go:1049
↓ 2 callersFunctionNew
New wraps an existing connection to an OVSDB server and returns a Client.
ovsdb/client.go:107
↓ 2 callersMethodParse
Parse parses a slice of Actions using the wrapped io.Reader. The raw action strings are also returned for inspection if needed.
ovs/actionparser.go:58
↓ 2 callersMethodSetCTLimits
SetCTLimits is the method used to setup a limit for a zone belonging to a datapath of a switch
ovs/datapath.go:83
↓ 2 callersFunctionSetTunnel
SetTunnel sets the tunnel id, e.g. VNI if vxlan is the tunnel protocol.
ovs/action.go:652
↓ 2 callersFunctionTestNetConn
TestNetConn creates a net.Conn backed by a server that calls a TestFunc. Notifications can be pushed to the client using the channel. Invoke the retur
ovsdb/internal/jsonrpc/testconn.go:51
↓ 2 callersMethodTransact
TODO(mdlayher): try to make concrete types for row values. Transact creates and executes a transaction on the specified database. Each operation is ap
ovsdb/rpc.go:57
↓ 2 callersFunctionTransportDestinationPortRange
TransportDestinationPortRange represent a port range intended for a transport protocol destination port.
ovs/match.go:1060
↓ 2 callersFunctionTransportSourcePortRange
TransportSourcePortRange represent a port range intended for a transport protocol source port.
ovs/match.go:1069
↓ 2 callersFunctionUDPDestinationPortRange
UDPDestinationPortRange represent a port range intended for a UDP protocol destination port.
ovs/match.go:973
↓ 2 callersFunctionUDPSourcePortRange
UDPSourcePortRange represent a port range intended for a UDP protocol source port.
ovs/match.go:982
↓ 2 callersMethodUnmarshalText
UnmarshalText unmarshals the initial/final data path flows from ofproto/trace output
ovs/proto_trace.go:81
↓ 2 callersMethodUnmarshalText
UnmarshalText unmarshals ProtoTrace text into a ProtoTrace type. Not implemented yet.
ovs/proto_trace.go:147
↓ 2 callersFunctionctSetLimitsArgsToString
ctSetLimitsArgsToString helps formating and sanatizing an input It takes a map and output a string like this: - "zone=2,limit=10000" or "limit=10000,
ovs/datapath.go:260
↓ 2 callersFunctiondialOVSDB
(t *testing.T)
ovsdb/client_integration_test.go:120
↓ 2 callersMethoddoCallback
doCallback performs a callback for an RPC response and clears the callback on completion.
ovsdb/client.go:397
↓ 2 callersMethoddumpPorts
dumpPorts calls 'ovs-ofctl dump-ports' with the specified arguments and parses the output into zero or more PortStats structs.
ovs/openflow.go:350
↓ 2 callersFunctiongetRange
(end uint16, bitLength uint)
ovs/portrange.go:119
↓ 2 callersFunctionipv4GoString
ipv4GoString converts a net.IP (IPv4 only) into its Go syntax representation.
ovs/codegen.go:40
↓ 2 callersFunctionisClosedNetwork
isClosedNetwork checks for errors caused by a closed network connection.
ovsdb/client.go:422
↓ 2 callersFunctionmarshalFunctions
marshalFunctions marshals a slice of functions to their text form.
ovs/flow.go:497
↓ 2 callersFunctionmatchIPv6AddressOrCIDR
matchIPv6AddressOrCIDR attempts to create a Match using the specified key and input string, which could be interpreted as an IPv6 address or IPv6 CIDR
ovs/match.go:1565
↓ 2 callersFunctionmustMarshalJSON
(t *testing.T, v interface{})
ovsdb/internal/jsonrpc/conn_test.go:190
↓ 2 callersFunctionnewActionParser
newActionParser creates a new actionParser which wraps the input io.Reader.
ovs/actionparser.go:36
↓ 2 callersFunctionpanicf
(format string, a ...interface{})
ovsdb/internal/jsonrpc/conn_test.go:205
↓ 2 callersFunctionparseAction
TODO(mdlayher): replace parsing regex with arguments parsers parseAction creates an Action function from the input string.
ovs/actionparser.go:175
↓ 2 callersFunctionparseClampInt
parseClampInt calls strconv.Atoi on s, and then ensures that s is less than or equal to the integer specified by upper.
ovs/matchparser.go:120
↓ 2 callersFunctionparseEach
parseEach parses ovs-ofctl output from the input buffer, ensuring it has the specified prefix, and invoking the input function on each two lines scann
ovs/openflow.go:444
↓ 2 callersFunctionparseHexUint32
parseHexUint32 parses a uint32 value from a hexadecimal string.
ovs/matchparser.go:567
↓ 2 callersMethodpush
push pushes zero or more encoding.TextMarshalers on to the transaction (typically a Flow or MatchFlow).
ovs/openflow.go:112
↓ 2 callersFunctionvalidIPv6Label
validIPv6Label indicates if an IPv6 label is out of range. It should only use the first 20 bits of the 32 bit field.
ovs/action.go:740
↓ 2 callersFunctionvalidVLANVID
validVLANVID indicates if a VLAN VID falls within the valid range for a VLAN VID.
ovs/action.go:746
↓ 1 callersMethodAddDataPath
AddDataPath is the method used to add a datapath to the switch
ovs/datapath.go:65
↓ 1 callersMethodAddPort
AddPort attaches a port to a bridge on Open vSwitch. The port may or may not already exist.
ovs/vswitch.go:54
↓ 1 callersFunctionAll
All outputs the packet on all switch ports except the port on which it was received.
ovs/action.go:133
↓ 1 callersFunctionDebug
Debug enables debug logging for a Client.
ovsdb/client.go:72
↓ 1 callersMethodDelDataPath
DelDataPath is the method used to remove a datapath from the switch
ovs/datapath.go:67
↓ 1 callersMethodDelete
Delete pushes zero or more MatchFlows on to the transaction, to be deleted by Open vSwitch. If any of the flows are invalid, Delete becomes a no-op a
ovs/openflow.go:97
↓ 1 callersMethodDeleteBridge
DeleteBridge detaches a bridge from Open vSwitch. The bridge may or may not already exist.
ovs/vswitch.go:61
↓ 1 callersMethodDiscard
Discard discards the contents of an AddFlowTransaction, returning an error wrapping the input error. Discard should be called if any operations fail
ovs/openflow.go:143
↓ 1 callersFunctionEchoInterval
EchoInterval specifies an interval at which the Client will send echo RPCs to an OVSDB server to keep the connection alive. Note that the OVSDB serve
ovsdb/client.go:89
↓ 1 callersFunctionEqual
TODO(mdlayher): more helper functions? Cond as an interface? Equal creates a Cond that ensures a column's value equals the specified value.
ovsdb/transact.go:29
↓ 1 callersFunctionExec
Exec returns an OptionFunc which sets an ExecFunc for use with a Client. This function should typically only be used in tests.
ovs/client.go:275
↓ 1 callersMethodGetController
GetController gets the controller address for this bridge.
ovs/vswitch.go:141
↓ 1 callersMethodGetDataPaths
GetDataPaths returns the output of the command 'ovs-dpctl dump-dps'
ovs/datapath.go:124
← previousnext →101–200 of 571, ranked by callers