Documentation ¶
Index ¶
- Constants
- Variables
- func DumpFlows(client *ssh.Client, bridge string) (*bytes.Buffer, error)
- func DumpFlowsLS(client *ssh.Client, externalIds ExternalIds) (*bytes.Buffer, error)
- func DumpFlowsSB(client *ssh.Client, externalIds ExternalIds) (*bytes.Buffer, error)
- func DumpPorts(client *ssh.Client, bridge string) (*bytes.Buffer, error)
- func GetDBOSP(client *ssh.Client, db dbparse.OVSDBType) (buf *bytes.Buffer, err error)
- func GetDBPod(client *ssh.Client, db dbparse.OVSDBType) (buf *bytes.Buffer, err error)
- func GetHelp(client *ssh.Client, externalIds ExternalIds, db dbparse.OVSDBType) (*bytes.Buffer, error)
- func GetNBRemote(externalIds map[string]string) string
- func GetSBRemote(externalIds map[string]string) string
- func RunCmd(client *ssh.Client, externalIds ExternalIds, cmd string, db dbparse.OVSDBType) (*bytes.Buffer, error)
- func SshCommand(client *ssh.Client, command string) (*bytes.Buffer, *bytes.Buffer, error)
- type ExternalIds
- type Ssh
Constants ¶
View Source
const ( NB = "ovn-nbctl" SB = "ovn-sbctl" L_VS = "ovs-vsctl" L_OF = "ovs-ofctl" )
Variables ¶
Functions ¶
func DumpFlowsLS ¶
func DumpFlowsSB ¶
func GetNBRemote ¶
func GetSBRemote ¶
Types ¶
type ExternalIds ¶
func GetExternalIds ¶
func GetExternalIds(client *ssh.Client) (ExternalIds, error)
Click to show internal directories.
Click to hide internal directories.