nbctl

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NbCtl

type NbCtl struct {
	// contains filtered or unexported fields
}

func New

func New(db, clientkey, clientcert, ca string) *NbCtl

func (*NbCtl) DelGatewayChassis

func (n *NbCtl) DelGatewayChassis(lrp, chassis string, prio int) error

func (*NbCtl) GetGatewayChassis

func (n *NbCtl) GetGatewayChassis(lrp, chassis string) (string, error)

func (*NbCtl) LrPolicyAdd

func (n *NbCtl) LrPolicyAdd(logicalRouter string, prio int, filter string, actions ...string) error

func (*NbCtl) LrPolicyDel

func (n *NbCtl) LrPolicyDel(logicalRouter string, prio int, filter string) error

func (*NbCtl) LrPolicyGetSubnets

func (n *NbCtl) LrPolicyGetSubnets(logicalRouter, rerouteIp string) (*util.StringSet, error)

func (*NbCtl) LrSetLoadBalancers

func (n *NbCtl) LrSetLoadBalancers(lrId string, lbIDs []string) error

func (*NbCtl) SetGatewayChassis

func (n *NbCtl) SetGatewayChassis(lrp, chassis string, prio int) error

func (*NbCtl) SetRouterChassis

func (n *NbCtl) SetRouterChassis(router, chassis string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL