MCPcopy Index your code
hub / github.com/digitalocean/go-openvswitch

github.com/digitalocean/go-openvswitch @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
722 symbols 2,449 edges 59 files 527 documented · 73% 2 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

TransportPortRanger (Interface)
A TransportPortRanger represents a port range that can be expressed as an array of bitwise matches. [2 implementers]
ovs/match.go
CLI (Interface)
CLI is an interface defining a contract for executing a command. Implementation of shell cli is done by the Client concr [2 …
ovs/datapath.go
TransactOp (Interface)
A TransactOp is an operation that can be applied with Client.Transact.
ovsdb/transact.go
OptionFunc (FuncType)
An OptionFunc is a function which can configure a Client.
ovsdb/client.go
TestFunc (FuncType)
A TestFunc is used to create RPC responses in TestConn.
ovsdb/internal/jsonrpc/testconn.go
DataPathActions (Interface)
DataPathActions is a text unmarshaler for data path actions in ofproto/trace output
ovs/proto_trace.go
Action (Interface)
An Action is a type which can be marshaled into an OpenFlow action. Actions can be used with Flows to perform operations
ovs/action.go
ExecFunc (FuncType)
An ExecFunc is a function which accepts input arguments and returns raw byte output and an error. ExecFuncs are swappab
ovs/client.go

Core symbols most depended-on inside this repo

bprintf
called by 68
ovs/codegen.go
MarshalText
called by 55
ovs/flow.go
TransportDestinationPort
called by 39
ovs/match.go
Drop
called by 37
ovs/action.go
Error
called by 29
ovs/ovs.go
Resubmit
called by 29
ovs/action.go
Timeout
called by 28
ovs/client.go
NetworkDestination
called by 27
ovs/match.go

Shape

Function 341
Method 230
Struct 118
TypeAlias 16
Interface 11
FuncType 6

Languages

Go100%

Modules by API surface

ovs/match.go202 symbols
ovs/action.go80 symbols
ovs/match_test.go32 symbols
ovs/datapath.go28 symbols
ovs/openflow_test.go25 symbols
ovs/openflow.go24 symbols
ovs/client.go23 symbols
ovs/vswitch.go22 symbols
ovs/vswitch_test.go21 symbols
ovsdb/client.go19 symbols
ovs/matchparser.go19 symbols
ovs/action_test.go17 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add go-openvswitch \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact