Documentation ¶
Index ¶
- type Client
- func (_m *Client) CreateACL(lswitch string, direction string, priority int, match string, action string) error
- func (_m *Client) CreateAddressSet(name string, addresses []string) error
- func (_m *Client) CreateLogicalPort(lswitch string, name string, mac string, ip string) error
- func (_m *Client) CreateLogicalSwitch(lswitch string) error
- func (_m *Client) DeleteACL(lswitch string, ovsdbACL ovsdb.ACL) error
- func (_m *Client) DeleteAddressSet(name string) error
- func (_m *Client) DeleteLogicalPort(lswitch string, lport ovsdb.LPort) error
- func (_m *Client) Disconnect()
- func (_m *Client) ListACLs() ([]ovsdb.ACL, error)
- func (_m *Client) ListAddressSets() ([]ovsdb.AddressSet, error)
- func (_m *Client) ListLogicalPorts() ([]ovsdb.LPort, error)
- func (_m *Client) OpenFlowPorts() (map[string]int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) CreateACL ¶
func (_m *Client) CreateACL(lswitch string, direction string, priority int, match string, action string) error
CreateACL provides a mock function with given fields: lswitch, direction, priority, match, action
func (*Client) CreateAddressSet ¶
CreateAddressSet provides a mock function with given fields: name, addresses
func (*Client) CreateLogicalPort ¶
CreateLogicalPort provides a mock function with given fields: lswitch, name, mac, ip
func (*Client) CreateLogicalSwitch ¶
CreateLogicalSwitch provides a mock function with given fields: lswitch
func (*Client) DeleteAddressSet ¶
DeleteAddressSet provides a mock function with given fields: name
func (*Client) DeleteLogicalPort ¶
DeleteLogicalPort provides a mock function with given fields: lswitch, lport
func (*Client) Disconnect ¶
func (_m *Client) Disconnect()
Disconnect provides a mock function with given fields:
func (*Client) ListAddressSets ¶
func (_m *Client) ListAddressSets() ([]ovsdb.AddressSet, error)
ListAddressSets provides a mock function with given fields:
func (*Client) ListLogicalPorts ¶
ListLogicalPorts provides a mock function with given fields: