network

package
v0.10.8-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IPPoolType_name = map[int32]string{
	0: "VM",
	1: "VIPPool",
}
View Source
var IPPoolType_value = map[string]int32{
	"VM":      0,
	"VIPPool": 1,
}
View Source
var NetworkInterface_NetworkInterfaceType_name = map[int32]string{
	0: "Local",
	1: "Remote",
}
View Source
var NetworkInterface_NetworkInterfaceType_value = map[string]int32{
	"Local":  0,
	"Remote": 1,
}
View Source
var VirtualNetworkType_name = map[int32]string{
	0: "NAT",
	1: "Transparent",
	2: "L2Bridge",
	3: "L2Tunnel",
	4: "ICS",
	5: "Private",
	6: "Overlay",
	7: "Internal",
	8: "Mirrored",
}
View Source
var VirtualNetworkType_value = map[string]int32{
	"NAT":         0,
	"Transparent": 1,
	"L2Bridge":    2,
	"L2Tunnel":    3,
	"ICS":         4,
	"Private":     5,
	"Overlay":     6,
	"Internal":    7,
	"Mirrored":    8,
}

Functions

func RegisterLoadBalancerAgentServer

func RegisterLoadBalancerAgentServer(s *grpc.Server, srv LoadBalancerAgentServer)

func RegisterMacPoolAgentServer

func RegisterMacPoolAgentServer(s *grpc.Server, srv MacPoolAgentServer)

func RegisterNetworkInterfaceAgentServer

func RegisterNetworkInterfaceAgentServer(s *grpc.Server, srv NetworkInterfaceAgentServer)

func RegisterVipPoolAgentServer

func RegisterVipPoolAgentServer(s *grpc.Server, srv VipPoolAgentServer)

func RegisterVirtualNetworkAgentServer

func RegisterVirtualNetworkAgentServer(s *grpc.Server, srv VirtualNetworkAgentServer)

Types

type IPPool added in v0.10.6

type IPPool struct {
	Name                 string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 IPPoolType `protobuf:"varint,2,opt,name=type,proto3,enum=moc.cloudagent.network.IPPoolType" json:"type,omitempty"`
	Start                string     `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	End                  string     `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*IPPool) Descriptor added in v0.10.6

func (*IPPool) Descriptor() ([]byte, []int)

func (*IPPool) GetEnd added in v0.10.6

func (m *IPPool) GetEnd() string

func (*IPPool) GetName added in v0.10.6

func (m *IPPool) GetName() string

func (*IPPool) GetStart added in v0.10.6

func (m *IPPool) GetStart() string

func (*IPPool) GetType added in v0.10.6

func (m *IPPool) GetType() IPPoolType

func (*IPPool) ProtoMessage added in v0.10.6

func (*IPPool) ProtoMessage()

func (*IPPool) Reset added in v0.10.6

func (m *IPPool) Reset()

func (*IPPool) String added in v0.10.6

func (m *IPPool) String() string

func (*IPPool) XXX_DiscardUnknown added in v0.10.6

func (m *IPPool) XXX_DiscardUnknown()

func (*IPPool) XXX_Marshal added in v0.10.6

func (m *IPPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPPool) XXX_Merge added in v0.10.6

func (m *IPPool) XXX_Merge(src proto.Message)

func (*IPPool) XXX_Size added in v0.10.6

func (m *IPPool) XXX_Size() int

func (*IPPool) XXX_Unmarshal added in v0.10.6

func (m *IPPool) XXX_Unmarshal(b []byte) error

type IPPoolType added in v0.10.6

type IPPoolType int32
const (
	IPPoolType_VM      IPPoolType = 0
	IPPoolType_VIPPool IPPoolType = 1
)

func (IPPoolType) EnumDescriptor added in v0.10.6

func (IPPoolType) EnumDescriptor() ([]byte, []int)

func (IPPoolType) String added in v0.10.6

func (x IPPoolType) String() string

type IpConfiguration

type IpConfiguration struct {
	Ipaddress               string                    `protobuf:"bytes,1,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"`
	Prefixlength            string                    `protobuf:"bytes,2,opt,name=prefixlength,proto3" json:"prefixlength,omitempty"`
	Subnetid                string                    `protobuf:"bytes,3,opt,name=subnetid,proto3" json:"subnetid,omitempty"`
	Primary                 bool                      `protobuf:"varint,4,opt,name=primary,proto3" json:"primary,omitempty"`
	Loadbalanceraddresspool []string                  `protobuf:"bytes,5,rep,name=loadbalanceraddresspool,proto3" json:"loadbalanceraddresspool,omitempty"`
	Allocation              common.IPAllocationMethod `protobuf:"varint,6,opt,name=allocation,proto3,enum=moc.IPAllocationMethod" json:"allocation,omitempty"`
	Gateway                 string                    `protobuf:"bytes,7,opt,name=gateway,proto3" json:"gateway,omitempty"`
	XXX_NoUnkeyedLiteral    struct{}                  `json:"-"`
	XXX_unrecognized        []byte                    `json:"-"`
	XXX_sizecache           int32                     `json:"-"`
}

func (*IpConfiguration) Descriptor

func (*IpConfiguration) Descriptor() ([]byte, []int)

func (*IpConfiguration) GetAllocation

func (m *IpConfiguration) GetAllocation() common.IPAllocationMethod

func (*IpConfiguration) GetGateway

func (m *IpConfiguration) GetGateway() string

func (*IpConfiguration) GetIpaddress

func (m *IpConfiguration) GetIpaddress() string

func (*IpConfiguration) GetLoadbalanceraddresspool

func (m *IpConfiguration) GetLoadbalanceraddresspool() []string

func (*IpConfiguration) GetPrefixlength

func (m *IpConfiguration) GetPrefixlength() string

func (*IpConfiguration) GetPrimary

func (m *IpConfiguration) GetPrimary() bool

func (*IpConfiguration) GetSubnetid

func (m *IpConfiguration) GetSubnetid() string

func (*IpConfiguration) ProtoMessage

func (*IpConfiguration) ProtoMessage()

func (*IpConfiguration) Reset

func (m *IpConfiguration) Reset()

func (*IpConfiguration) String

func (m *IpConfiguration) String() string

func (*IpConfiguration) XXX_DiscardUnknown

func (m *IpConfiguration) XXX_DiscardUnknown()

func (*IpConfiguration) XXX_Marshal

func (m *IpConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IpConfiguration) XXX_Merge

func (m *IpConfiguration) XXX_Merge(src proto.Message)

func (*IpConfiguration) XXX_Size

func (m *IpConfiguration) XXX_Size() int

func (*IpConfiguration) XXX_Unmarshal

func (m *IpConfiguration) XXX_Unmarshal(b []byte) error

type Ipam

type Ipam struct {
	Type                 string    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Subnets              []*Subnet `protobuf:"bytes,2,rep,name=subnets,proto3" json:"subnets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Ipam) Descriptor

func (*Ipam) Descriptor() ([]byte, []int)

func (*Ipam) GetSubnets

func (m *Ipam) GetSubnets() []*Subnet

func (*Ipam) GetType

func (m *Ipam) GetType() string

func (*Ipam) ProtoMessage

func (*Ipam) ProtoMessage()

func (*Ipam) Reset

func (m *Ipam) Reset()

func (*Ipam) String

func (m *Ipam) String() string

func (*Ipam) XXX_DiscardUnknown

func (m *Ipam) XXX_DiscardUnknown()

func (*Ipam) XXX_Marshal

func (m *Ipam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ipam) XXX_Merge

func (m *Ipam) XXX_Merge(src proto.Message)

func (*Ipam) XXX_Size

func (m *Ipam) XXX_Size() int

func (*Ipam) XXX_Unmarshal

func (m *Ipam) XXX_Unmarshal(b []byte) error

type LoadBalancer

type LoadBalancer struct {
	Name                 string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string               `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	FrontendIP           string               `protobuf:"bytes,3,opt,name=frontendIP,proto3" json:"frontendIP,omitempty"`
	Backendpoolnames     []string             `protobuf:"bytes,4,rep,name=backendpoolnames,proto3" json:"backendpoolnames,omitempty"`
	Networkid            string               `protobuf:"bytes,5,opt,name=networkid,proto3" json:"networkid,omitempty"`
	Loadbalancingrules   []*LoadBalancingRule `protobuf:"bytes,6,rep,name=loadbalancingrules,proto3" json:"loadbalancingrules,omitempty"`
	Nodefqdn             string               `protobuf:"bytes,7,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"`
	GroupName            string               `protobuf:"bytes,8,opt,name=groupName,proto3" json:"groupName,omitempty"`
	LocationName         string               `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"`
	Status               *common.Status       `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	Tags                 *common.Tags         `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"`
	ReplicationCount     uint32               `protobuf:"varint,12,opt,name=replicationCount,proto3" json:"replicationCount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*LoadBalancer) Descriptor

func (*LoadBalancer) Descriptor() ([]byte, []int)

func (*LoadBalancer) GetBackendpoolnames

func (m *LoadBalancer) GetBackendpoolnames() []string

func (*LoadBalancer) GetFrontendIP

func (m *LoadBalancer) GetFrontendIP() string

func (*LoadBalancer) GetGroupName

func (m *LoadBalancer) GetGroupName() string

func (*LoadBalancer) GetId

func (m *LoadBalancer) GetId() string

func (*LoadBalancer) GetLoadbalancingrules

func (m *LoadBalancer) GetLoadbalancingrules() []*LoadBalancingRule

func (*LoadBalancer) GetLocationName

func (m *LoadBalancer) GetLocationName() string

func (*LoadBalancer) GetName

func (m *LoadBalancer) GetName() string

func (*LoadBalancer) GetNetworkid

func (m *LoadBalancer) GetNetworkid() string

func (*LoadBalancer) GetNodefqdn

func (m *LoadBalancer) GetNodefqdn() string

func (*LoadBalancer) GetReplicationCount added in v0.10.9

func (m *LoadBalancer) GetReplicationCount() uint32

func (*LoadBalancer) GetStatus

func (m *LoadBalancer) GetStatus() *common.Status

func (*LoadBalancer) GetTags added in v0.10.5

func (m *LoadBalancer) GetTags() *common.Tags

func (*LoadBalancer) ProtoMessage

func (*LoadBalancer) ProtoMessage()

func (*LoadBalancer) Reset

func (m *LoadBalancer) Reset()

func (*LoadBalancer) String

func (m *LoadBalancer) String() string

func (*LoadBalancer) XXX_DiscardUnknown

func (m *LoadBalancer) XXX_DiscardUnknown()

func (*LoadBalancer) XXX_Marshal

func (m *LoadBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancer) XXX_Merge

func (m *LoadBalancer) XXX_Merge(src proto.Message)

func (*LoadBalancer) XXX_Size

func (m *LoadBalancer) XXX_Size() int

func (*LoadBalancer) XXX_Unmarshal

func (m *LoadBalancer) XXX_Unmarshal(b []byte) error

type LoadBalancerAgentClient

type LoadBalancerAgentClient interface {
	Invoke(ctx context.Context, in *LoadBalancerRequest, opts ...grpc.CallOption) (*LoadBalancerResponse, error)
}

LoadBalancerAgentClient is the client API for LoadBalancerAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLoadBalancerAgentClient

func NewLoadBalancerAgentClient(cc *grpc.ClientConn) LoadBalancerAgentClient

type LoadBalancerAgentServer

type LoadBalancerAgentServer interface {
	Invoke(context.Context, *LoadBalancerRequest) (*LoadBalancerResponse, error)
}

LoadBalancerAgentServer is the server API for LoadBalancerAgent service.

type LoadBalancerRequest

type LoadBalancerRequest struct {
	LoadBalancers        []*LoadBalancer  `protobuf:"bytes,1,rep,name=LoadBalancers,proto3" json:"LoadBalancers,omitempty"`
	OperationType        common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*LoadBalancerRequest) Descriptor

func (*LoadBalancerRequest) Descriptor() ([]byte, []int)

func (*LoadBalancerRequest) GetLoadBalancers

func (m *LoadBalancerRequest) GetLoadBalancers() []*LoadBalancer

func (*LoadBalancerRequest) GetOperationType

func (m *LoadBalancerRequest) GetOperationType() common.Operation

func (*LoadBalancerRequest) ProtoMessage

func (*LoadBalancerRequest) ProtoMessage()

func (*LoadBalancerRequest) Reset

func (m *LoadBalancerRequest) Reset()

func (*LoadBalancerRequest) String

func (m *LoadBalancerRequest) String() string

func (*LoadBalancerRequest) XXX_DiscardUnknown

func (m *LoadBalancerRequest) XXX_DiscardUnknown()

func (*LoadBalancerRequest) XXX_Marshal

func (m *LoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancerRequest) XXX_Merge

func (m *LoadBalancerRequest) XXX_Merge(src proto.Message)

func (*LoadBalancerRequest) XXX_Size

func (m *LoadBalancerRequest) XXX_Size() int

func (*LoadBalancerRequest) XXX_Unmarshal

func (m *LoadBalancerRequest) XXX_Unmarshal(b []byte) error

type LoadBalancerResponse

type LoadBalancerResponse struct {
	LoadBalancers        []*LoadBalancer     `protobuf:"bytes,1,rep,name=LoadBalancers,proto3" json:"LoadBalancers,omitempty"`
	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*LoadBalancerResponse) Descriptor

func (*LoadBalancerResponse) Descriptor() ([]byte, []int)

func (*LoadBalancerResponse) GetError

func (m *LoadBalancerResponse) GetError() string

func (*LoadBalancerResponse) GetLoadBalancers

func (m *LoadBalancerResponse) GetLoadBalancers() []*LoadBalancer

func (*LoadBalancerResponse) GetResult

func (m *LoadBalancerResponse) GetResult() *wrappers.BoolValue

func (*LoadBalancerResponse) ProtoMessage

func (*LoadBalancerResponse) ProtoMessage()

func (*LoadBalancerResponse) Reset

func (m *LoadBalancerResponse) Reset()

func (*LoadBalancerResponse) String

func (m *LoadBalancerResponse) String() string

func (*LoadBalancerResponse) XXX_DiscardUnknown

func (m *LoadBalancerResponse) XXX_DiscardUnknown()

func (*LoadBalancerResponse) XXX_Marshal

func (m *LoadBalancerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancerResponse) XXX_Merge

func (m *LoadBalancerResponse) XXX_Merge(src proto.Message)

func (*LoadBalancerResponse) XXX_Size

func (m *LoadBalancerResponse) XXX_Size() int

func (*LoadBalancerResponse) XXX_Unmarshal

func (m *LoadBalancerResponse) XXX_Unmarshal(b []byte) error

type LoadBalancingRule

type LoadBalancingRule struct {
	FrontendPort         uint32          `protobuf:"varint,1,opt,name=frontendPort,proto3" json:"frontendPort,omitempty"`
	BackendPort          uint32          `protobuf:"varint,2,opt,name=backendPort,proto3" json:"backendPort,omitempty"`
	Protocol             common.Protocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*LoadBalancingRule) Descriptor

func (*LoadBalancingRule) Descriptor() ([]byte, []int)

func (*LoadBalancingRule) GetBackendPort

func (m *LoadBalancingRule) GetBackendPort() uint32

func (*LoadBalancingRule) GetFrontendPort

func (m *LoadBalancingRule) GetFrontendPort() uint32

func (*LoadBalancingRule) GetProtocol

func (m *LoadBalancingRule) GetProtocol() common.Protocol

func (*LoadBalancingRule) ProtoMessage

func (*LoadBalancingRule) ProtoMessage()

func (*LoadBalancingRule) Reset

func (m *LoadBalancingRule) Reset()

func (*LoadBalancingRule) String

func (m *LoadBalancingRule) String() string

func (*LoadBalancingRule) XXX_DiscardUnknown

func (m *LoadBalancingRule) XXX_DiscardUnknown()

func (*LoadBalancingRule) XXX_Marshal

func (m *LoadBalancingRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancingRule) XXX_Merge

func (m *LoadBalancingRule) XXX_Merge(src proto.Message)

func (*LoadBalancingRule) XXX_Size

func (m *LoadBalancingRule) XXX_Size() int

func (*LoadBalancingRule) XXX_Unmarshal

func (m *LoadBalancingRule) XXX_Unmarshal(b []byte) error

type MacPool

type MacPool struct {
	Name                 string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string         `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Range                *MacRange      `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
	LocationName         string         `protobuf:"bytes,4,opt,name=locationName,proto3" json:"locationName,omitempty"`
	Status               *common.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	Tags                 *common.Tags   `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*MacPool) Descriptor

func (*MacPool) Descriptor() ([]byte, []int)

func (*MacPool) GetId

func (m *MacPool) GetId() string

func (*MacPool) GetLocationName

func (m *MacPool) GetLocationName() string

func (*MacPool) GetName

func (m *MacPool) GetName() string

func (*MacPool) GetRange

func (m *MacPool) GetRange() *MacRange

func (*MacPool) GetStatus

func (m *MacPool) GetStatus() *common.Status

func (*MacPool) GetTags added in v0.10.5

func (m *MacPool) GetTags() *common.Tags

func (*MacPool) ProtoMessage

func (*MacPool) ProtoMessage()

func (*MacPool) Reset

func (m *MacPool) Reset()

func (*MacPool) String

func (m *MacPool) String() string

func (*MacPool) XXX_DiscardUnknown

func (m *MacPool) XXX_DiscardUnknown()

func (*MacPool) XXX_Marshal

func (m *MacPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacPool) XXX_Merge

func (m *MacPool) XXX_Merge(src proto.Message)

func (*MacPool) XXX_Size

func (m *MacPool) XXX_Size() int

func (*MacPool) XXX_Unmarshal

func (m *MacPool) XXX_Unmarshal(b []byte) error

type MacPoolAgentClient

type MacPoolAgentClient interface {
	Invoke(ctx context.Context, in *MacPoolRequest, opts ...grpc.CallOption) (*MacPoolResponse, error)
}

MacPoolAgentClient is the client API for MacPoolAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMacPoolAgentClient

func NewMacPoolAgentClient(cc *grpc.ClientConn) MacPoolAgentClient

type MacPoolAgentServer

type MacPoolAgentServer interface {
	Invoke(context.Context, *MacPoolRequest) (*MacPoolResponse, error)
}

MacPoolAgentServer is the server API for MacPoolAgent service.

type MacPoolRequest

type MacPoolRequest struct {
	MacPools             []*MacPool       `protobuf:"bytes,1,rep,name=MacPools,proto3" json:"MacPools,omitempty"`
	OperationType        common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*MacPoolRequest) Descriptor

func (*MacPoolRequest) Descriptor() ([]byte, []int)

func (*MacPoolRequest) GetMacPools

func (m *MacPoolRequest) GetMacPools() []*MacPool

func (*MacPoolRequest) GetOperationType

func (m *MacPoolRequest) GetOperationType() common.Operation

func (*MacPoolRequest) ProtoMessage

func (*MacPoolRequest) ProtoMessage()

func (*MacPoolRequest) Reset

func (m *MacPoolRequest) Reset()

func (*MacPoolRequest) String

func (m *MacPoolRequest) String() string

func (*MacPoolRequest) XXX_DiscardUnknown

func (m *MacPoolRequest) XXX_DiscardUnknown()

func (*MacPoolRequest) XXX_Marshal

func (m *MacPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacPoolRequest) XXX_Merge

func (m *MacPoolRequest) XXX_Merge(src proto.Message)

func (*MacPoolRequest) XXX_Size

func (m *MacPoolRequest) XXX_Size() int

func (*MacPoolRequest) XXX_Unmarshal

func (m *MacPoolRequest) XXX_Unmarshal(b []byte) error

type MacPoolResponse

type MacPoolResponse struct {
	MacPools             []*MacPool          `protobuf:"bytes,1,rep,name=MacPools,proto3" json:"MacPools,omitempty"`
	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*MacPoolResponse) Descriptor

func (*MacPoolResponse) Descriptor() ([]byte, []int)

func (*MacPoolResponse) GetError

func (m *MacPoolResponse) GetError() string

func (*MacPoolResponse) GetMacPools

func (m *MacPoolResponse) GetMacPools() []*MacPool

func (*MacPoolResponse) GetResult

func (m *MacPoolResponse) GetResult() *wrappers.BoolValue

func (*MacPoolResponse) ProtoMessage

func (*MacPoolResponse) ProtoMessage()

func (*MacPoolResponse) Reset

func (m *MacPoolResponse) Reset()

func (*MacPoolResponse) String

func (m *MacPoolResponse) String() string

func (*MacPoolResponse) XXX_DiscardUnknown

func (m *MacPoolResponse) XXX_DiscardUnknown()

func (*MacPoolResponse) XXX_Marshal

func (m *MacPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacPoolResponse) XXX_Merge

func (m *MacPoolResponse) XXX_Merge(src proto.Message)

func (*MacPoolResponse) XXX_Size

func (m *MacPoolResponse) XXX_Size() int

func (*MacPoolResponse) XXX_Unmarshal

func (m *MacPoolResponse) XXX_Unmarshal(b []byte) error

type MacRange

type MacRange struct {
	StartMacAddress      string   `protobuf:"bytes,1,opt,name=startMacAddress,proto3" json:"startMacAddress,omitempty"`
	EndMacAddress        string   `protobuf:"bytes,2,opt,name=endMacAddress,proto3" json:"endMacAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MacRange) Descriptor

func (*MacRange) Descriptor() ([]byte, []int)

func (*MacRange) GetEndMacAddress

func (m *MacRange) GetEndMacAddress() string

func (*MacRange) GetStartMacAddress

func (m *MacRange) GetStartMacAddress() string

func (*MacRange) ProtoMessage

func (*MacRange) ProtoMessage()

func (*MacRange) Reset

func (m *MacRange) Reset()

func (*MacRange) String

func (m *MacRange) String() string

func (*MacRange) XXX_DiscardUnknown

func (m *MacRange) XXX_DiscardUnknown()

func (*MacRange) XXX_Marshal

func (m *MacRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacRange) XXX_Merge

func (m *MacRange) XXX_Merge(src proto.Message)

func (*MacRange) XXX_Size

func (m *MacRange) XXX_Size() int

func (*MacRange) XXX_Unmarshal

func (m *MacRange) XXX_Unmarshal(b []byte) error

type NetworkInterface

type NetworkInterface struct {
	Name                 string                                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string                                `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Type                 NetworkInterface_NetworkInterfaceType `` /* 128-byte string literal not displayed */
	IpConfigurations     []*IpConfiguration                    `protobuf:"bytes,4,rep,name=ipConfigurations,proto3" json:"ipConfigurations,omitempty"`
	Macaddress           string                                `protobuf:"bytes,5,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
	Dns                  *common.Dns                           `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"`
	NodeName             string                                `protobuf:"bytes,7,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
	GroupName            string                                `protobuf:"bytes,8,opt,name=groupName,proto3" json:"groupName,omitempty"`
	LocationName         string                                `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"`
	Status               *common.Status                        `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	VirtualMachineName   string                                `protobuf:"bytes,11,opt,name=virtualMachineName,proto3" json:"virtualMachineName,omitempty"`
	IovWeight            uint32                                `protobuf:"varint,12,opt,name=iovWeight,proto3" json:"iovWeight,omitempty"`
	Tags                 *common.Tags                          `protobuf:"bytes,13,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*NetworkInterface) Descriptor

func (*NetworkInterface) Descriptor() ([]byte, []int)

func (*NetworkInterface) GetDns

func (m *NetworkInterface) GetDns() *common.Dns

func (*NetworkInterface) GetGroupName

func (m *NetworkInterface) GetGroupName() string

func (*NetworkInterface) GetId

func (m *NetworkInterface) GetId() string

func (*NetworkInterface) GetIovWeight

func (m *NetworkInterface) GetIovWeight() uint32

func (*NetworkInterface) GetIpConfigurations

func (m *NetworkInterface) GetIpConfigurations() []*IpConfiguration

func (*NetworkInterface) GetLocationName

func (m *NetworkInterface) GetLocationName() string

func (*NetworkInterface) GetMacaddress

func (m *NetworkInterface) GetMacaddress() string

func (*NetworkInterface) GetName

func (m *NetworkInterface) GetName() string

func (*NetworkInterface) GetNodeName

func (m *NetworkInterface) GetNodeName() string

func (*NetworkInterface) GetStatus

func (m *NetworkInterface) GetStatus() *common.Status

func (*NetworkInterface) GetTags added in v0.10.5

func (m *NetworkInterface) GetTags() *common.Tags

func (*NetworkInterface) GetType

func (*NetworkInterface) GetVirtualMachineName

func (m *NetworkInterface) GetVirtualMachineName() string

func (*NetworkInterface) ProtoMessage

func (*NetworkInterface) ProtoMessage()

func (*NetworkInterface) Reset

func (m *NetworkInterface) Reset()

func (*NetworkInterface) String

func (m *NetworkInterface) String() string

func (*NetworkInterface) XXX_DiscardUnknown

func (m *NetworkInterface) XXX_DiscardUnknown()

func (*NetworkInterface) XXX_Marshal

func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInterface) XXX_Merge

func (m *NetworkInterface) XXX_Merge(src proto.Message)

func (*NetworkInterface) XXX_Size

func (m *NetworkInterface) XXX_Size() int

func (*NetworkInterface) XXX_Unmarshal

func (m *NetworkInterface) XXX_Unmarshal(b []byte) error

type NetworkInterfaceAgentClient

type NetworkInterfaceAgentClient interface {
	Invoke(ctx context.Context, in *NetworkInterfaceRequest, opts ...grpc.CallOption) (*NetworkInterfaceResponse, error)
}

NetworkInterfaceAgentClient is the client API for NetworkInterfaceAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNetworkInterfaceAgentClient

func NewNetworkInterfaceAgentClient(cc *grpc.ClientConn) NetworkInterfaceAgentClient

type NetworkInterfaceAgentServer

type NetworkInterfaceAgentServer interface {
	Invoke(context.Context, *NetworkInterfaceRequest) (*NetworkInterfaceResponse, error)
}

NetworkInterfaceAgentServer is the server API for NetworkInterfaceAgent service.

type NetworkInterfaceRequest

type NetworkInterfaceRequest struct {
	NetworkInterfaces    []*NetworkInterface `protobuf:"bytes,1,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"`
	OperationType        common.Operation    `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*NetworkInterfaceRequest) Descriptor

func (*NetworkInterfaceRequest) Descriptor() ([]byte, []int)

func (*NetworkInterfaceRequest) GetNetworkInterfaces

func (m *NetworkInterfaceRequest) GetNetworkInterfaces() []*NetworkInterface

func (*NetworkInterfaceRequest) GetOperationType

func (m *NetworkInterfaceRequest) GetOperationType() common.Operation

func (*NetworkInterfaceRequest) ProtoMessage

func (*NetworkInterfaceRequest) ProtoMessage()

func (*NetworkInterfaceRequest) Reset

func (m *NetworkInterfaceRequest) Reset()

func (*NetworkInterfaceRequest) String

func (m *NetworkInterfaceRequest) String() string

func (*NetworkInterfaceRequest) XXX_DiscardUnknown

func (m *NetworkInterfaceRequest) XXX_DiscardUnknown()

func (*NetworkInterfaceRequest) XXX_Marshal

func (m *NetworkInterfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInterfaceRequest) XXX_Merge

func (m *NetworkInterfaceRequest) XXX_Merge(src proto.Message)

func (*NetworkInterfaceRequest) XXX_Size

func (m *NetworkInterfaceRequest) XXX_Size() int

func (*NetworkInterfaceRequest) XXX_Unmarshal

func (m *NetworkInterfaceRequest) XXX_Unmarshal(b []byte) error

type NetworkInterfaceResponse

type NetworkInterfaceResponse struct {
	NetworkInterfaces    []*NetworkInterface `protobuf:"bytes,1,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"`
	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*NetworkInterfaceResponse) Descriptor

func (*NetworkInterfaceResponse) Descriptor() ([]byte, []int)

func (*NetworkInterfaceResponse) GetError

func (m *NetworkInterfaceResponse) GetError() string

func (*NetworkInterfaceResponse) GetNetworkInterfaces

func (m *NetworkInterfaceResponse) GetNetworkInterfaces() []*NetworkInterface

func (*NetworkInterfaceResponse) GetResult

func (*NetworkInterfaceResponse) ProtoMessage

func (*NetworkInterfaceResponse) ProtoMessage()

func (*NetworkInterfaceResponse) Reset

func (m *NetworkInterfaceResponse) Reset()

func (*NetworkInterfaceResponse) String

func (m *NetworkInterfaceResponse) String() string

func (*NetworkInterfaceResponse) XXX_DiscardUnknown

func (m *NetworkInterfaceResponse) XXX_DiscardUnknown()

func (*NetworkInterfaceResponse) XXX_Marshal

func (m *NetworkInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInterfaceResponse) XXX_Merge

func (m *NetworkInterfaceResponse) XXX_Merge(src proto.Message)

func (*NetworkInterfaceResponse) XXX_Size

func (m *NetworkInterfaceResponse) XXX_Size() int

func (*NetworkInterfaceResponse) XXX_Unmarshal

func (m *NetworkInterfaceResponse) XXX_Unmarshal(b []byte) error

type NetworkInterface_NetworkInterfaceType

type NetworkInterface_NetworkInterfaceType int32
const (
	NetworkInterface_Local  NetworkInterface_NetworkInterfaceType = 0
	NetworkInterface_Remote NetworkInterface_NetworkInterfaceType = 1
)

func (NetworkInterface_NetworkInterfaceType) EnumDescriptor

func (NetworkInterface_NetworkInterfaceType) EnumDescriptor() ([]byte, []int)

func (NetworkInterface_NetworkInterfaceType) String

type Route

type Route struct {
	Nexthop              string   `protobuf:"bytes,1,opt,name=nexthop,proto3" json:"nexthop,omitempty"`
	Destinationprefix    string   `protobuf:"bytes,2,opt,name=destinationprefix,proto3" json:"destinationprefix,omitempty"`
	Metric               uint32   `protobuf:"varint,3,opt,name=metric,proto3" json:"metric,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Route) Descriptor

func (*Route) Descriptor() ([]byte, []int)

func (*Route) GetDestinationprefix

func (m *Route) GetDestinationprefix() string

func (*Route) GetMetric

func (m *Route) GetMetric() uint32

func (*Route) GetNexthop

func (m *Route) GetNexthop() string

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (m *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

type Subnet

type Subnet struct {
	Name                 string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string                    `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Cidr                 string                    `protobuf:"bytes,3,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Routes               []*Route                  `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes,omitempty"`
	Allocation           common.IPAllocationMethod `protobuf:"varint,5,opt,name=allocation,proto3,enum=moc.IPAllocationMethod" json:"allocation,omitempty"`
	Vlan                 uint32                    `protobuf:"varint,6,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Ippools              []*IPPool                 `protobuf:"bytes,7,rep,name=ippools,proto3" json:"ippools,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*Subnet) Descriptor

func (*Subnet) Descriptor() ([]byte, []int)

func (*Subnet) GetAllocation

func (m *Subnet) GetAllocation() common.IPAllocationMethod

func (*Subnet) GetCidr

func (m *Subnet) GetCidr() string

func (*Subnet) GetId

func (m *Subnet) GetId() string

func (*Subnet) GetIppools added in v0.10.6

func (m *Subnet) GetIppools() []*IPPool

func (*Subnet) GetName

func (m *Subnet) GetName() string

func (*Subnet) GetRoutes

func (m *Subnet) GetRoutes() []*Route

func (*Subnet) GetVlan

func (m *Subnet) GetVlan() uint32

func (*Subnet) ProtoMessage

func (*Subnet) ProtoMessage()

func (*Subnet) Reset

func (m *Subnet) Reset()

func (*Subnet) String

func (m *Subnet) String() string

func (*Subnet) XXX_DiscardUnknown

func (m *Subnet) XXX_DiscardUnknown()

func (*Subnet) XXX_Marshal

func (m *Subnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subnet) XXX_Merge

func (m *Subnet) XXX_Merge(src proto.Message)

func (*Subnet) XXX_Size

func (m *Subnet) XXX_Size() int

func (*Subnet) XXX_Unmarshal

func (m *Subnet) XXX_Unmarshal(b []byte) error

type UnimplementedLoadBalancerAgentServer

type UnimplementedLoadBalancerAgentServer struct {
}

UnimplementedLoadBalancerAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedLoadBalancerAgentServer) Invoke

type UnimplementedMacPoolAgentServer

type UnimplementedMacPoolAgentServer struct {
}

UnimplementedMacPoolAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedMacPoolAgentServer) Invoke

type UnimplementedNetworkInterfaceAgentServer

type UnimplementedNetworkInterfaceAgentServer struct {
}

UnimplementedNetworkInterfaceAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetworkInterfaceAgentServer) Invoke

type UnimplementedVipPoolAgentServer

type UnimplementedVipPoolAgentServer struct {
}

UnimplementedVipPoolAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedVipPoolAgentServer) Invoke

type UnimplementedVirtualNetworkAgentServer

type UnimplementedVirtualNetworkAgentServer struct {
}

UnimplementedVirtualNetworkAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedVirtualNetworkAgentServer) Invoke

type VipPool

type VipPool struct {
	Name                 string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string         `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Cidr                 string         `protobuf:"bytes,3,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Networkid            string         `protobuf:"bytes,4,opt,name=networkid,proto3" json:"networkid,omitempty"`
	Nodefqdn             string         `protobuf:"bytes,5,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"`
	GroupName            string         `protobuf:"bytes,6,opt,name=groupName,proto3" json:"groupName,omitempty"`
	LocationName         string         `protobuf:"bytes,7,opt,name=locationName,proto3" json:"locationName,omitempty"`
	Status               *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	Startip              string         `protobuf:"bytes,9,opt,name=startip,proto3" json:"startip,omitempty"`
	Endip                string         `protobuf:"bytes,10,opt,name=endip,proto3" json:"endip,omitempty"`
	Tags                 *common.Tags   `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*VipPool) Descriptor

func (*VipPool) Descriptor() ([]byte, []int)

func (*VipPool) GetCidr

func (m *VipPool) GetCidr() string

func (*VipPool) GetEndip

func (m *VipPool) GetEndip() string

func (*VipPool) GetGroupName

func (m *VipPool) GetGroupName() string

func (*VipPool) GetId

func (m *VipPool) GetId() string

func (*VipPool) GetLocationName

func (m *VipPool) GetLocationName() string

func (*VipPool) GetName

func (m *VipPool) GetName() string

func (*VipPool) GetNetworkid

func (m *VipPool) GetNetworkid() string

func (*VipPool) GetNodefqdn

func (m *VipPool) GetNodefqdn() string

func (*VipPool) GetStartip

func (m *VipPool) GetStartip() string

func (*VipPool) GetStatus

func (m *VipPool) GetStatus() *common.Status

func (*VipPool) GetTags added in v0.10.5

func (m *VipPool) GetTags() *common.Tags

func (*VipPool) ProtoMessage

func (*VipPool) ProtoMessage()

func (*VipPool) Reset

func (m *VipPool) Reset()

func (*VipPool) String

func (m *VipPool) String() string

func (*VipPool) XXX_DiscardUnknown

func (m *VipPool) XXX_DiscardUnknown()

func (*VipPool) XXX_Marshal

func (m *VipPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VipPool) XXX_Merge

func (m *VipPool) XXX_Merge(src proto.Message)

func (*VipPool) XXX_Size

func (m *VipPool) XXX_Size() int

func (*VipPool) XXX_Unmarshal

func (m *VipPool) XXX_Unmarshal(b []byte) error

type VipPoolAgentClient

type VipPoolAgentClient interface {
	Invoke(ctx context.Context, in *VipPoolRequest, opts ...grpc.CallOption) (*VipPoolResponse, error)
}

VipPoolAgentClient is the client API for VipPoolAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVipPoolAgentClient

func NewVipPoolAgentClient(cc *grpc.ClientConn) VipPoolAgentClient

type VipPoolAgentServer

type VipPoolAgentServer interface {
	Invoke(context.Context, *VipPoolRequest) (*VipPoolResponse, error)
}

VipPoolAgentServer is the server API for VipPoolAgent service.

type VipPoolRequest

type VipPoolRequest struct {
	VipPools             []*VipPool       `protobuf:"bytes,1,rep,name=VipPools,proto3" json:"VipPools,omitempty"`
	OperationType        common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*VipPoolRequest) Descriptor

func (*VipPoolRequest) Descriptor() ([]byte, []int)

func (*VipPoolRequest) GetOperationType

func (m *VipPoolRequest) GetOperationType() common.Operation

func (*VipPoolRequest) GetVipPools

func (m *VipPoolRequest) GetVipPools() []*VipPool

func (*VipPoolRequest) ProtoMessage

func (*VipPoolRequest) ProtoMessage()

func (*VipPoolRequest) Reset

func (m *VipPoolRequest) Reset()

func (*VipPoolRequest) String

func (m *VipPoolRequest) String() string

func (*VipPoolRequest) XXX_DiscardUnknown

func (m *VipPoolRequest) XXX_DiscardUnknown()

func (*VipPoolRequest) XXX_Marshal

func (m *VipPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VipPoolRequest) XXX_Merge

func (m *VipPoolRequest) XXX_Merge(src proto.Message)

func (*VipPoolRequest) XXX_Size

func (m *VipPoolRequest) XXX_Size() int

func (*VipPoolRequest) XXX_Unmarshal

func (m *VipPoolRequest) XXX_Unmarshal(b []byte) error

type VipPoolResponse

type VipPoolResponse struct {
	VipPools             []*VipPool          `protobuf:"bytes,1,rep,name=VipPools,proto3" json:"VipPools,omitempty"`
	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*VipPoolResponse) Descriptor

func (*VipPoolResponse) Descriptor() ([]byte, []int)

func (*VipPoolResponse) GetError

func (m *VipPoolResponse) GetError() string

func (*VipPoolResponse) GetResult

func (m *VipPoolResponse) GetResult() *wrappers.BoolValue

func (*VipPoolResponse) GetVipPools

func (m *VipPoolResponse) GetVipPools() []*VipPool

func (*VipPoolResponse) ProtoMessage

func (*VipPoolResponse) ProtoMessage()

func (*VipPoolResponse) Reset

func (m *VipPoolResponse) Reset()

func (*VipPoolResponse) String

func (m *VipPoolResponse) String() string

func (*VipPoolResponse) XXX_DiscardUnknown

func (m *VipPoolResponse) XXX_DiscardUnknown()

func (*VipPoolResponse) XXX_Marshal

func (m *VipPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VipPoolResponse) XXX_Merge

func (m *VipPoolResponse) XXX_Merge(src proto.Message)

func (*VipPoolResponse) XXX_Size

func (m *VipPoolResponse) XXX_Size() int

func (*VipPoolResponse) XXX_Unmarshal

func (m *VipPoolResponse) XXX_Unmarshal(b []byte) error

type VirtualNetwork

type VirtualNetwork struct {
	Name                 string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string             `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Subnets              []*Subnet          `protobuf:"bytes,3,rep,name=subnets,proto3" json:"subnets,omitempty"`
	Dns                  *common.Dns        `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"`
	Type                 VirtualNetworkType `protobuf:"varint,5,opt,name=type,proto3,enum=moc.cloudagent.network.VirtualNetworkType" json:"type,omitempty"`
	Nodefqdn             string             `protobuf:"bytes,6,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"`
	GroupName            string             `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"`
	Status               *common.Status     `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	LocationName         string             `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"`
	MacPoolName          string             `protobuf:"bytes,10,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"`
	Tags                 *common.Tags       `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*VirtualNetwork) Descriptor

func (*VirtualNetwork) Descriptor() ([]byte, []int)

func (*VirtualNetwork) GetDns

func (m *VirtualNetwork) GetDns() *common.Dns

func (*VirtualNetwork) GetGroupName

func (m *VirtualNetwork) GetGroupName() string

func (*VirtualNetwork) GetId

func (m *VirtualNetwork) GetId() string

func (*VirtualNetwork) GetLocationName

func (m *VirtualNetwork) GetLocationName() string

func (*VirtualNetwork) GetMacPoolName

func (m *VirtualNetwork) GetMacPoolName() string

func (*VirtualNetwork) GetName

func (m *VirtualNetwork) GetName() string

func (*VirtualNetwork) GetNodefqdn

func (m *VirtualNetwork) GetNodefqdn() string

func (*VirtualNetwork) GetStatus

func (m *VirtualNetwork) GetStatus() *common.Status

func (*VirtualNetwork) GetSubnets

func (m *VirtualNetwork) GetSubnets() []*Subnet

func (*VirtualNetwork) GetTags added in v0.10.5

func (m *VirtualNetwork) GetTags() *common.Tags

func (*VirtualNetwork) GetType

func (m *VirtualNetwork) GetType() VirtualNetworkType

func (*VirtualNetwork) ProtoMessage

func (*VirtualNetwork) ProtoMessage()

func (*VirtualNetwork) Reset

func (m *VirtualNetwork) Reset()

func (*VirtualNetwork) String

func (m *VirtualNetwork) String() string

func (*VirtualNetwork) XXX_DiscardUnknown

func (m *VirtualNetwork) XXX_DiscardUnknown()

func (*VirtualNetwork) XXX_Marshal

func (m *VirtualNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualNetwork) XXX_Merge

func (m *VirtualNetwork) XXX_Merge(src proto.Message)

func (*VirtualNetwork) XXX_Size

func (m *VirtualNetwork) XXX_Size() int

func (*VirtualNetwork) XXX_Unmarshal

func (m *VirtualNetwork) XXX_Unmarshal(b []byte) error

type VirtualNetworkAgentClient

type VirtualNetworkAgentClient interface {
	Invoke(ctx context.Context, in *VirtualNetworkRequest, opts ...grpc.CallOption) (*VirtualNetworkResponse, error)
}

VirtualNetworkAgentClient is the client API for VirtualNetworkAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVirtualNetworkAgentClient

func NewVirtualNetworkAgentClient(cc *grpc.ClientConn) VirtualNetworkAgentClient

type VirtualNetworkAgentServer

type VirtualNetworkAgentServer interface {
	Invoke(context.Context, *VirtualNetworkRequest) (*VirtualNetworkResponse, error)
}

VirtualNetworkAgentServer is the server API for VirtualNetworkAgent service.

type VirtualNetworkRequest

type VirtualNetworkRequest struct {
	VirtualNetworks      []*VirtualNetwork `protobuf:"bytes,1,rep,name=VirtualNetworks,proto3" json:"VirtualNetworks,omitempty"`
	OperationType        common.Operation  `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*VirtualNetworkRequest) Descriptor

func (*VirtualNetworkRequest) Descriptor() ([]byte, []int)

func (*VirtualNetworkRequest) GetOperationType

func (m *VirtualNetworkRequest) GetOperationType() common.Operation

func (*VirtualNetworkRequest) GetVirtualNetworks

func (m *VirtualNetworkRequest) GetVirtualNetworks() []*VirtualNetwork

func (*VirtualNetworkRequest) ProtoMessage

func (*VirtualNetworkRequest) ProtoMessage()

func (*VirtualNetworkRequest) Reset

func (m *VirtualNetworkRequest) Reset()

func (*VirtualNetworkRequest) String

func (m *VirtualNetworkRequest) String() string

func (*VirtualNetworkRequest) XXX_DiscardUnknown

func (m *VirtualNetworkRequest) XXX_DiscardUnknown()

func (*VirtualNetworkRequest) XXX_Marshal

func (m *VirtualNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualNetworkRequest) XXX_Merge

func (m *VirtualNetworkRequest) XXX_Merge(src proto.Message)

func (*VirtualNetworkRequest) XXX_Size

func (m *VirtualNetworkRequest) XXX_Size() int

func (*VirtualNetworkRequest) XXX_Unmarshal

func (m *VirtualNetworkRequest) XXX_Unmarshal(b []byte) error

type VirtualNetworkResponse

type VirtualNetworkResponse struct {
	VirtualNetworks      []*VirtualNetwork   `protobuf:"bytes,1,rep,name=VirtualNetworks,proto3" json:"VirtualNetworks,omitempty"`
	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*VirtualNetworkResponse) Descriptor

func (*VirtualNetworkResponse) Descriptor() ([]byte, []int)

func (*VirtualNetworkResponse) GetError

func (m *VirtualNetworkResponse) GetError() string

func (*VirtualNetworkResponse) GetResult

func (m *VirtualNetworkResponse) GetResult() *wrappers.BoolValue

func (*VirtualNetworkResponse) GetVirtualNetworks

func (m *VirtualNetworkResponse) GetVirtualNetworks() []*VirtualNetwork

func (*VirtualNetworkResponse) ProtoMessage

func (*VirtualNetworkResponse) ProtoMessage()

func (*VirtualNetworkResponse) Reset

func (m *VirtualNetworkResponse) Reset()

func (*VirtualNetworkResponse) String

func (m *VirtualNetworkResponse) String() string

func (*VirtualNetworkResponse) XXX_DiscardUnknown

func (m *VirtualNetworkResponse) XXX_DiscardUnknown()

func (*VirtualNetworkResponse) XXX_Marshal

func (m *VirtualNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualNetworkResponse) XXX_Merge

func (m *VirtualNetworkResponse) XXX_Merge(src proto.Message)

func (*VirtualNetworkResponse) XXX_Size

func (m *VirtualNetworkResponse) XXX_Size() int

func (*VirtualNetworkResponse) XXX_Unmarshal

func (m *VirtualNetworkResponse) XXX_Unmarshal(b []byte) error

type VirtualNetworkType

type VirtualNetworkType int32
const (
	VirtualNetworkType_NAT         VirtualNetworkType = 0
	VirtualNetworkType_Transparent VirtualNetworkType = 1
	VirtualNetworkType_L2Bridge    VirtualNetworkType = 2
	VirtualNetworkType_L2Tunnel    VirtualNetworkType = 3
	VirtualNetworkType_ICS         VirtualNetworkType = 4
	VirtualNetworkType_Private     VirtualNetworkType = 5
	VirtualNetworkType_Overlay     VirtualNetworkType = 6
	VirtualNetworkType_Internal    VirtualNetworkType = 7
	VirtualNetworkType_Mirrored    VirtualNetworkType = 8
)

func (VirtualNetworkType) EnumDescriptor

func (VirtualNetworkType) EnumDescriptor() ([]byte, []int)

func (VirtualNetworkType) String

func (x VirtualNetworkType) String() string

Jump to

Keyboard shortcuts

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