network

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Action_name = map[int32]string{
	0: "Allow",
	1: "Deny",
}
View Source
var Action_value = map[string]int32{
	"Allow": 0,
	"Deny":  1,
}
View Source
var Direction_name = map[int32]string{
	0: "Inbound",
	1: "Outbound",
}
View Source
var Direction_value = map[string]int32{
	"Inbound":  0,
	"Outbound": 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 NetworkType_name = map[int32]string{
	0: "VIRTUAL_NETWORK",
	1: "LOGICAL_NETWORK",
}
View Source
var NetworkType_value = map[string]int32{
	"VIRTUAL_NETWORK": 0,
	"LOGICAL_NETWORK": 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 RegisterLogicalNetworkAgentServer added in v0.13.1

func RegisterLogicalNetworkAgentServer(s *grpc.Server, srv LogicalNetworkAgentServer)

func RegisterMacPoolAgentServer

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

func RegisterNetworkInterfaceAgentServer

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

func RegisterNetworkSecurityGroupAgentServer added in v0.15.1

func RegisterNetworkSecurityGroupAgentServer(s *grpc.Server, srv NetworkSecurityGroupAgentServer)

func RegisterVipPoolAgentServer

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

func RegisterVirtualNetworkAgentServer

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

Types

type Action added in v0.15.1

type Action int32
const (
	Action_Allow Action = 0
	Action_Deny  Action = 1
)

func (Action) EnumDescriptor added in v0.15.1

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

func (Action) String added in v0.15.1

func (x Action) String() string

type Direction added in v0.15.1

type Direction int32
const (
	Direction_Inbound  Direction = 0
	Direction_Outbound Direction = 1
)

func (Direction) EnumDescriptor added in v0.15.1

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

func (Direction) String added in v0.15.1

func (x Direction) String() string

type InboundNatRule added in v0.10.28

type InboundNatRule struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InboundNatRule) Descriptor added in v0.10.28

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

func (*InboundNatRule) GetName added in v0.10.28

func (m *InboundNatRule) GetName() string

func (*InboundNatRule) ProtoMessage added in v0.10.28

func (*InboundNatRule) ProtoMessage()

func (*InboundNatRule) Reset added in v0.10.28

func (m *InboundNatRule) Reset()

func (*InboundNatRule) String added in v0.10.28

func (m *InboundNatRule) String() string

func (*InboundNatRule) XXX_DiscardUnknown added in v0.10.28

func (m *InboundNatRule) XXX_DiscardUnknown()

func (*InboundNatRule) XXX_Marshal added in v0.10.28

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

func (*InboundNatRule) XXX_Merge added in v0.10.28

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

func (*InboundNatRule) XXX_Size added in v0.10.28

func (m *InboundNatRule) XXX_Size() int

func (*InboundNatRule) XXX_Unmarshal added in v0.10.28

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

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"`
	InboundNatRules         []*InboundNatRule                     `protobuf:"bytes,8,rep,name=inboundNatRules,proto3" json:"inboundNatRules,omitempty"`
	Tags                    *common.Tags                          `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty"`
	NetworkType             NetworkType                           `protobuf:"varint,10,opt,name=networkType,proto3,enum=moc.cloudagent.network.NetworkType" json:"networkType,omitempty"`
	NetworkSecurityGroupRef *common.NetworkSecurityGroupReference `protobuf:"bytes,12,opt,name=networkSecurityGroupRef,proto3" json:"networkSecurityGroupRef,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) GetInboundNatRules added in v0.10.28

func (m *IpConfiguration) GetInboundNatRules() []*InboundNatRule

func (*IpConfiguration) GetIpaddress

func (m *IpConfiguration) GetIpaddress() string

func (*IpConfiguration) GetLoadbalanceraddresspool

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

func (*IpConfiguration) GetNetworkSecurityGroupRef added in v0.16.4

func (m *IpConfiguration) GetNetworkSecurityGroupRef() *common.NetworkSecurityGroupReference

func (*IpConfiguration) GetNetworkType added in v0.13.1

func (m *IpConfiguration) GetNetworkType() NetworkType

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) GetTags added in v0.10.31

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

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"`
	InboundNatRules      []*LoadbalancerInboundNatRule `protobuf:"bytes,13,rep,name=inboundNatRules,proto3" json:"inboundNatRules,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) GetInboundNatRules added in v0.10.28

func (m *LoadBalancer) GetInboundNatRules() []*LoadbalancerInboundNatRule

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 LoadbalancerInboundNatRule added in v0.10.28

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

func (*LoadbalancerInboundNatRule) Descriptor added in v0.10.28

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

func (*LoadbalancerInboundNatRule) GetBackendPort added in v0.10.28

func (m *LoadbalancerInboundNatRule) GetBackendPort() uint32

func (*LoadbalancerInboundNatRule) GetFrontendPort added in v0.10.28

func (m *LoadbalancerInboundNatRule) GetFrontendPort() uint32

func (*LoadbalancerInboundNatRule) GetName added in v0.10.28

func (m *LoadbalancerInboundNatRule) GetName() string

func (*LoadbalancerInboundNatRule) GetProtocol added in v0.10.28

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

func (*LoadbalancerInboundNatRule) ProtoMessage added in v0.10.28

func (*LoadbalancerInboundNatRule) ProtoMessage()

func (*LoadbalancerInboundNatRule) Reset added in v0.10.28

func (m *LoadbalancerInboundNatRule) Reset()

func (*LoadbalancerInboundNatRule) String added in v0.10.28

func (m *LoadbalancerInboundNatRule) String() string

func (*LoadbalancerInboundNatRule) XXX_DiscardUnknown added in v0.10.28

func (m *LoadbalancerInboundNatRule) XXX_DiscardUnknown()

func (*LoadbalancerInboundNatRule) XXX_Marshal added in v0.10.28

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

func (*LoadbalancerInboundNatRule) XXX_Merge added in v0.10.28

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

func (*LoadbalancerInboundNatRule) XXX_Size added in v0.10.28

func (m *LoadbalancerInboundNatRule) XXX_Size() int

func (*LoadbalancerInboundNatRule) XXX_Unmarshal added in v0.10.28

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

type LogicalNetwork added in v0.13.1

type LogicalNetwork 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                      []*LogicalSubnet `protobuf:"bytes,3,rep,name=subnets,proto3" json:"subnets,omitempty"`
	NetworkVirtualizationEnabled bool             `protobuf:"varint,4,opt,name=networkVirtualizationEnabled,proto3" json:"networkVirtualizationEnabled,omitempty"`
	Status                       *common.Status   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	LocationName                 string           `protobuf:"bytes,6,opt,name=locationName,proto3" json:"locationName,omitempty"`
	MacPoolName                  string           `protobuf:"bytes,7,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"`
	Tags                         *common.Tags     `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}         `json:"-"`
	XXX_unrecognized             []byte           `json:"-"`
	XXX_sizecache                int32            `json:"-"`
}

func (*LogicalNetwork) Descriptor added in v0.13.1

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

func (*LogicalNetwork) GetId added in v0.13.1

func (m *LogicalNetwork) GetId() string

func (*LogicalNetwork) GetLocationName added in v0.13.1

func (m *LogicalNetwork) GetLocationName() string

func (*LogicalNetwork) GetMacPoolName added in v0.13.1

func (m *LogicalNetwork) GetMacPoolName() string

func (*LogicalNetwork) GetName added in v0.13.1

func (m *LogicalNetwork) GetName() string

func (*LogicalNetwork) GetNetworkVirtualizationEnabled added in v0.13.1

func (m *LogicalNetwork) GetNetworkVirtualizationEnabled() bool

func (*LogicalNetwork) GetStatus added in v0.13.1

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

func (*LogicalNetwork) GetSubnets added in v0.13.1

func (m *LogicalNetwork) GetSubnets() []*LogicalSubnet

func (*LogicalNetwork) GetTags added in v0.13.1

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

func (*LogicalNetwork) ProtoMessage added in v0.13.1

func (*LogicalNetwork) ProtoMessage()

func (*LogicalNetwork) Reset added in v0.13.1

func (m *LogicalNetwork) Reset()

func (*LogicalNetwork) String added in v0.13.1

func (m *LogicalNetwork) String() string

func (*LogicalNetwork) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalNetwork) XXX_DiscardUnknown()

func (*LogicalNetwork) XXX_Marshal added in v0.13.1

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

func (*LogicalNetwork) XXX_Merge added in v0.13.1

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

func (*LogicalNetwork) XXX_Size added in v0.13.1

func (m *LogicalNetwork) XXX_Size() int

func (*LogicalNetwork) XXX_Unmarshal added in v0.13.1

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

type LogicalNetworkAgentClient added in v0.13.1

type LogicalNetworkAgentClient interface {
	Invoke(ctx context.Context, in *LogicalNetworkRequest, opts ...grpc.CallOption) (*LogicalNetworkResponse, error)
}

LogicalNetworkAgentClient is the client API for LogicalNetworkAgent service.

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

func NewLogicalNetworkAgentClient added in v0.13.1

func NewLogicalNetworkAgentClient(cc *grpc.ClientConn) LogicalNetworkAgentClient

type LogicalNetworkAgentServer added in v0.13.1

type LogicalNetworkAgentServer interface {
	Invoke(context.Context, *LogicalNetworkRequest) (*LogicalNetworkResponse, error)
}

LogicalNetworkAgentServer is the server API for LogicalNetworkAgent service.

type LogicalNetworkRequest added in v0.13.1

type LogicalNetworkRequest struct {
	LogicalNetworks      []*LogicalNetwork `protobuf:"bytes,1,rep,name=LogicalNetworks,proto3" json:"LogicalNetworks,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 (*LogicalNetworkRequest) Descriptor added in v0.13.1

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

func (*LogicalNetworkRequest) GetLogicalNetworks added in v0.13.1

func (m *LogicalNetworkRequest) GetLogicalNetworks() []*LogicalNetwork

func (*LogicalNetworkRequest) GetOperationType added in v0.13.1

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

func (*LogicalNetworkRequest) ProtoMessage added in v0.13.1

func (*LogicalNetworkRequest) ProtoMessage()

func (*LogicalNetworkRequest) Reset added in v0.13.1

func (m *LogicalNetworkRequest) Reset()

func (*LogicalNetworkRequest) String added in v0.13.1

func (m *LogicalNetworkRequest) String() string

func (*LogicalNetworkRequest) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalNetworkRequest) XXX_DiscardUnknown()

func (*LogicalNetworkRequest) XXX_Marshal added in v0.13.1

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

func (*LogicalNetworkRequest) XXX_Merge added in v0.13.1

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

func (*LogicalNetworkRequest) XXX_Size added in v0.13.1

func (m *LogicalNetworkRequest) XXX_Size() int

func (*LogicalNetworkRequest) XXX_Unmarshal added in v0.13.1

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

type LogicalNetworkResponse added in v0.13.1

type LogicalNetworkResponse struct {
	LogicalNetworks      []*LogicalNetwork   `protobuf:"bytes,1,rep,name=LogicalNetworks,proto3" json:"LogicalNetworks,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 (*LogicalNetworkResponse) Descriptor added in v0.13.1

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

func (*LogicalNetworkResponse) GetError added in v0.13.1

func (m *LogicalNetworkResponse) GetError() string

func (*LogicalNetworkResponse) GetLogicalNetworks added in v0.13.1

func (m *LogicalNetworkResponse) GetLogicalNetworks() []*LogicalNetwork

func (*LogicalNetworkResponse) GetResult added in v0.13.1

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

func (*LogicalNetworkResponse) ProtoMessage added in v0.13.1

func (*LogicalNetworkResponse) ProtoMessage()

func (*LogicalNetworkResponse) Reset added in v0.13.1

func (m *LogicalNetworkResponse) Reset()

func (*LogicalNetworkResponse) String added in v0.13.1

func (m *LogicalNetworkResponse) String() string

func (*LogicalNetworkResponse) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalNetworkResponse) XXX_DiscardUnknown()

func (*LogicalNetworkResponse) XXX_Marshal added in v0.13.1

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

func (*LogicalNetworkResponse) XXX_Merge added in v0.13.1

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

func (*LogicalNetworkResponse) XXX_Size added in v0.13.1

func (m *LogicalNetworkResponse) XXX_Size() int

func (*LogicalNetworkResponse) XXX_Unmarshal added in v0.13.1

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

type LogicalSubnet added in v0.13.1

type LogicalSubnet 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"`
	AddressPrefix           string                                `protobuf:"bytes,3,opt,name=addressPrefix,proto3" json:"addressPrefix,omitempty"`
	Routes                  []*common.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                 []*common.IPPool                      `protobuf:"bytes,7,rep,name=ipPools,proto3" json:"ipPools,omitempty"`
	Dns                     *common.Dns                           `protobuf:"bytes,8,opt,name=dns,proto3" json:"dns,omitempty"`
	IsPublic                bool                                  `protobuf:"varint,9,opt,name=isPublic,proto3" json:"isPublic,omitempty"`
	Tags                    *common.Tags                          `protobuf:"bytes,10,opt,name=tags,proto3" json:"tags,omitempty"`
	NetworkSecurityGroupRef *common.NetworkSecurityGroupReference `protobuf:"bytes,11,opt,name=networkSecurityGroupRef,proto3" json:"networkSecurityGroupRef,omitempty"`
	XXX_NoUnkeyedLiteral    struct{}                              `json:"-"`
	XXX_unrecognized        []byte                                `json:"-"`
	XXX_sizecache           int32                                 `json:"-"`
}

func (*LogicalSubnet) Descriptor added in v0.13.1

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

func (*LogicalSubnet) GetAddressPrefix added in v0.13.1

func (m *LogicalSubnet) GetAddressPrefix() string

func (*LogicalSubnet) GetAllocation added in v0.13.1

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

func (*LogicalSubnet) GetDns added in v0.13.1

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

func (*LogicalSubnet) GetId added in v0.13.1

func (m *LogicalSubnet) GetId() string

func (*LogicalSubnet) GetIpPools added in v0.13.1

func (m *LogicalSubnet) GetIpPools() []*common.IPPool

func (*LogicalSubnet) GetIsPublic added in v0.13.1

func (m *LogicalSubnet) GetIsPublic() bool

func (*LogicalSubnet) GetName added in v0.13.1

func (m *LogicalSubnet) GetName() string

func (*LogicalSubnet) GetNetworkSecurityGroupRef added in v0.16.4

func (m *LogicalSubnet) GetNetworkSecurityGroupRef() *common.NetworkSecurityGroupReference

func (*LogicalSubnet) GetRoutes added in v0.13.1

func (m *LogicalSubnet) GetRoutes() []*common.Route

func (*LogicalSubnet) GetTags added in v0.13.1

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

func (*LogicalSubnet) GetVlan added in v0.13.1

func (m *LogicalSubnet) GetVlan() uint32

func (*LogicalSubnet) ProtoMessage added in v0.13.1

func (*LogicalSubnet) ProtoMessage()

func (*LogicalSubnet) Reset added in v0.13.1

func (m *LogicalSubnet) Reset()

func (*LogicalSubnet) String added in v0.13.1

func (m *LogicalSubnet) String() string

func (*LogicalSubnet) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalSubnet) XXX_DiscardUnknown()

func (*LogicalSubnet) XXX_Marshal added in v0.13.1

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

func (*LogicalSubnet) XXX_Merge added in v0.13.1

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

func (*LogicalSubnet) XXX_Size added in v0.13.1

func (m *LogicalSubnet) XXX_Size() int

func (*LogicalSubnet) XXX_Unmarshal added in v0.13.1

func (m *LogicalSubnet) 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) GetPrimaryIpConfiguration added in v0.10.31

func (m *NetworkInterface) GetPrimaryIpConfiguration() *IpConfiguration

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 NetworkSecurityGroup added in v0.15.1

type NetworkSecurityGroup 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"`
	Networksecuritygrouprules []*NetworkSecurityGroupRule `protobuf:"bytes,3,rep,name=networksecuritygrouprules,proto3" json:"networksecuritygrouprules,omitempty"`
	LocationName              string                      `protobuf:"bytes,6,opt,name=locationName,proto3" json:"locationName,omitempty"`
	Status                    *common.Status              `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	Tags                      *common.Tags                `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral      struct{}                    `json:"-"`
	XXX_unrecognized          []byte                      `json:"-"`
	XXX_sizecache             int32                       `json:"-"`
}

func (*NetworkSecurityGroup) Descriptor added in v0.15.1

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

func (*NetworkSecurityGroup) GetId added in v0.15.1

func (m *NetworkSecurityGroup) GetId() string

func (*NetworkSecurityGroup) GetLocationName added in v0.15.1

func (m *NetworkSecurityGroup) GetLocationName() string

func (*NetworkSecurityGroup) GetName added in v0.15.1

func (m *NetworkSecurityGroup) GetName() string

func (*NetworkSecurityGroup) GetNetworksecuritygrouprules added in v0.15.1

func (m *NetworkSecurityGroup) GetNetworksecuritygrouprules() []*NetworkSecurityGroupRule

func (*NetworkSecurityGroup) GetStatus added in v0.15.1

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

func (*NetworkSecurityGroup) GetTags added in v0.15.1

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

func (*NetworkSecurityGroup) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroup) ProtoMessage()

func (*NetworkSecurityGroup) Reset added in v0.15.1

func (m *NetworkSecurityGroup) Reset()

func (*NetworkSecurityGroup) String added in v0.15.1

func (m *NetworkSecurityGroup) String() string

func (*NetworkSecurityGroup) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroup) XXX_DiscardUnknown()

func (*NetworkSecurityGroup) XXX_Marshal added in v0.15.1

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

func (*NetworkSecurityGroup) XXX_Merge added in v0.15.1

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

func (*NetworkSecurityGroup) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroup) XXX_Size() int

func (*NetworkSecurityGroup) XXX_Unmarshal added in v0.15.1

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

type NetworkSecurityGroupAgentClient added in v0.15.1

type NetworkSecurityGroupAgentClient interface {
	Invoke(ctx context.Context, in *NetworkSecurityGroupRequest, opts ...grpc.CallOption) (*NetworkSecurityGroupResponse, error)
}

NetworkSecurityGroupAgentClient is the client API for NetworkSecurityGroupAgent service.

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

func NewNetworkSecurityGroupAgentClient added in v0.15.1

func NewNetworkSecurityGroupAgentClient(cc *grpc.ClientConn) NetworkSecurityGroupAgentClient

type NetworkSecurityGroupAgentServer added in v0.15.1

type NetworkSecurityGroupAgentServer interface {
	Invoke(context.Context, *NetworkSecurityGroupRequest) (*NetworkSecurityGroupResponse, error)
}

NetworkSecurityGroupAgentServer is the server API for NetworkSecurityGroupAgent service.

type NetworkSecurityGroupRequest added in v0.15.1

type NetworkSecurityGroupRequest struct {
	NetworkSecurityGroups []*NetworkSecurityGroup `protobuf:"bytes,1,rep,name=NetworkSecurityGroups,proto3" json:"NetworkSecurityGroups,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 (*NetworkSecurityGroupRequest) Descriptor added in v0.15.1

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

func (*NetworkSecurityGroupRequest) GetNetworkSecurityGroups added in v0.15.1

func (m *NetworkSecurityGroupRequest) GetNetworkSecurityGroups() []*NetworkSecurityGroup

func (*NetworkSecurityGroupRequest) GetOperationType added in v0.15.1

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

func (*NetworkSecurityGroupRequest) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroupRequest) ProtoMessage()

func (*NetworkSecurityGroupRequest) Reset added in v0.15.1

func (m *NetworkSecurityGroupRequest) Reset()

func (*NetworkSecurityGroupRequest) String added in v0.15.1

func (m *NetworkSecurityGroupRequest) String() string

func (*NetworkSecurityGroupRequest) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroupRequest) XXX_DiscardUnknown()

func (*NetworkSecurityGroupRequest) XXX_Marshal added in v0.15.1

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

func (*NetworkSecurityGroupRequest) XXX_Merge added in v0.15.1

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

func (*NetworkSecurityGroupRequest) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroupRequest) XXX_Size() int

func (*NetworkSecurityGroupRequest) XXX_Unmarshal added in v0.15.1

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

type NetworkSecurityGroupResponse added in v0.15.1

type NetworkSecurityGroupResponse struct {
	NetworkSecurityGroups []*NetworkSecurityGroup `protobuf:"bytes,1,rep,name=NetworkSecurityGroups,proto3" json:"NetworkSecurityGroups,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 (*NetworkSecurityGroupResponse) Descriptor added in v0.15.1

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

func (*NetworkSecurityGroupResponse) GetError added in v0.15.1

func (m *NetworkSecurityGroupResponse) GetError() string

func (*NetworkSecurityGroupResponse) GetNetworkSecurityGroups added in v0.15.1

func (m *NetworkSecurityGroupResponse) GetNetworkSecurityGroups() []*NetworkSecurityGroup

func (*NetworkSecurityGroupResponse) GetResult added in v0.15.1

func (*NetworkSecurityGroupResponse) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroupResponse) ProtoMessage()

func (*NetworkSecurityGroupResponse) Reset added in v0.15.1

func (m *NetworkSecurityGroupResponse) Reset()

func (*NetworkSecurityGroupResponse) String added in v0.15.1

func (*NetworkSecurityGroupResponse) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroupResponse) XXX_DiscardUnknown()

func (*NetworkSecurityGroupResponse) XXX_Marshal added in v0.15.1

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

func (*NetworkSecurityGroupResponse) XXX_Merge added in v0.15.1

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

func (*NetworkSecurityGroupResponse) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroupResponse) XXX_Size() int

func (*NetworkSecurityGroupResponse) XXX_Unmarshal added in v0.15.1

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

type NetworkSecurityGroupRule added in v0.15.1

type NetworkSecurityGroupRule struct {
	Name                     string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description              string          `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Action                   Action          `protobuf:"varint,3,opt,name=action,proto3,enum=moc.cloudagent.network.Action" json:"action,omitempty"`
	Direction                Direction       `protobuf:"varint,4,opt,name=direction,proto3,enum=moc.cloudagent.network.Direction" json:"direction,omitempty"`
	SourceAddressPrefix      string          `protobuf:"bytes,5,opt,name=sourceAddressPrefix,proto3" json:"sourceAddressPrefix,omitempty"`
	DestinationAddressPrefix string          `protobuf:"bytes,6,opt,name=destinationAddressPrefix,proto3" json:"destinationAddressPrefix,omitempty"`
	SourcePortRange          string          `protobuf:"bytes,7,opt,name=sourcePortRange,proto3" json:"sourcePortRange,omitempty"`
	DestinationPortRange     string          `protobuf:"bytes,8,opt,name=destinationPortRange,proto3" json:"destinationPortRange,omitempty"`
	Protocol                 common.Protocol `protobuf:"varint,9,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"`
	Priority                 uint32          `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
	Logging                  bool            `protobuf:"varint,11,opt,name=logging,proto3" json:"logging,omitempty"`
	IsDefaultRule            bool            `protobuf:"varint,12,opt,name=isDefaultRule,proto3" json:"isDefaultRule,omitempty"`
	XXX_NoUnkeyedLiteral     struct{}        `json:"-"`
	XXX_unrecognized         []byte          `json:"-"`
	XXX_sizecache            int32           `json:"-"`
}

func (*NetworkSecurityGroupRule) Descriptor added in v0.15.1

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

func (*NetworkSecurityGroupRule) GetAction added in v0.15.1

func (m *NetworkSecurityGroupRule) GetAction() Action

func (*NetworkSecurityGroupRule) GetDescription added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDescription() string

func (*NetworkSecurityGroupRule) GetDestinationAddressPrefix added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDestinationAddressPrefix() string

func (*NetworkSecurityGroupRule) GetDestinationPortRange added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDestinationPortRange() string

func (*NetworkSecurityGroupRule) GetDirection added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDirection() Direction

func (*NetworkSecurityGroupRule) GetIsDefaultRule added in v0.15.1

func (m *NetworkSecurityGroupRule) GetIsDefaultRule() bool

func (*NetworkSecurityGroupRule) GetLogging added in v0.15.1

func (m *NetworkSecurityGroupRule) GetLogging() bool

func (*NetworkSecurityGroupRule) GetName added in v0.15.1

func (m *NetworkSecurityGroupRule) GetName() string

func (*NetworkSecurityGroupRule) GetPriority added in v0.15.1

func (m *NetworkSecurityGroupRule) GetPriority() uint32

func (*NetworkSecurityGroupRule) GetProtocol added in v0.15.1

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

func (*NetworkSecurityGroupRule) GetSourceAddressPrefix added in v0.15.1

func (m *NetworkSecurityGroupRule) GetSourceAddressPrefix() string

func (*NetworkSecurityGroupRule) GetSourcePortRange added in v0.15.1

func (m *NetworkSecurityGroupRule) GetSourcePortRange() string

func (*NetworkSecurityGroupRule) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroupRule) ProtoMessage()

func (*NetworkSecurityGroupRule) Reset added in v0.15.1

func (m *NetworkSecurityGroupRule) Reset()

func (*NetworkSecurityGroupRule) String added in v0.15.1

func (m *NetworkSecurityGroupRule) String() string

func (*NetworkSecurityGroupRule) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroupRule) XXX_DiscardUnknown()

func (*NetworkSecurityGroupRule) XXX_Marshal added in v0.15.1

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

func (*NetworkSecurityGroupRule) XXX_Merge added in v0.15.1

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

func (*NetworkSecurityGroupRule) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroupRule) XXX_Size() int

func (*NetworkSecurityGroupRule) XXX_Unmarshal added in v0.15.1

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

type NetworkType added in v0.13.1

type NetworkType int32
const (
	NetworkType_VIRTUAL_NETWORK NetworkType = 0
	NetworkType_LOGICAL_NETWORK NetworkType = 1
)

func (NetworkType) EnumDescriptor added in v0.13.1

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

func (NetworkType) String added in v0.13.1

func (x NetworkType) String() string

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                  []*common.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                 []*common.IPPool                      `protobuf:"bytes,7,rep,name=ippools,proto3" json:"ippools,omitempty"`
	Networksecuritygroupref *common.NetworkSecurityGroupReference `protobuf:"bytes,9,opt,name=networksecuritygroupref,proto3" json:"networksecuritygroupref,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() []*common.IPPool

func (*Subnet) GetName

func (m *Subnet) GetName() string

func (*Subnet) GetNetworksecuritygroupref added in v0.16.4

func (m *Subnet) GetNetworksecuritygroupref() *common.NetworkSecurityGroupReference

func (*Subnet) GetRoutes

func (m *Subnet) GetRoutes() []*common.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 UnimplementedLogicalNetworkAgentServer added in v0.13.1

type UnimplementedLogicalNetworkAgentServer struct {
}

UnimplementedLogicalNetworkAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedLogicalNetworkAgentServer) Invoke added in v0.13.1

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 UnimplementedNetworkSecurityGroupAgentServer added in v0.15.1

type UnimplementedNetworkSecurityGroupAgentServer struct {
}

UnimplementedNetworkSecurityGroupAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetworkSecurityGroupAgentServer) Invoke added in v0.15.1

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