Documentation ¶
Index ¶
- Variables
- func RegisterLoadBalancerAgentServer(s *grpc.Server, srv LoadBalancerAgentServer)
- func RegisterLogicalNetworkAgentServer(s *grpc.Server, srv LogicalNetworkAgentServer)
- func RegisterVirtualNetworkAgentServer(s *grpc.Server, srv VirtualNetworkAgentServer)
- func RegisterVirtualNetworkInterfaceAgentServer(s *grpc.Server, srv VirtualNetworkInterfaceAgentServer)
- type IpConfiguration
- func (*IpConfiguration) Descriptor() ([]byte, []int)
- func (m *IpConfiguration) GetAllocation() common.IPAllocationMethod
- func (m *IpConfiguration) GetGateway() string
- func (m *IpConfiguration) GetIpaddress() string
- func (m *IpConfiguration) GetNetworkType() NetworkType
- func (m *IpConfiguration) GetPrefixlength() string
- func (m *IpConfiguration) GetPrimary() bool
- func (m *IpConfiguration) GetSubnetid() string
- func (*IpConfiguration) ProtoMessage()
- func (m *IpConfiguration) Reset()
- func (m *IpConfiguration) String() string
- func (m *IpConfiguration) XXX_DiscardUnknown()
- func (m *IpConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IpConfiguration) XXX_Merge(src proto.Message)
- func (m *IpConfiguration) XXX_Size() int
- func (m *IpConfiguration) XXX_Unmarshal(b []byte) error
- type Ipam
- func (*Ipam) Descriptor() ([]byte, []int)
- func (m *Ipam) GetSubnets() []*Subnet
- func (m *Ipam) GetType() string
- func (*Ipam) ProtoMessage()
- func (m *Ipam) Reset()
- func (m *Ipam) String() string
- func (m *Ipam) XXX_DiscardUnknown()
- func (m *Ipam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ipam) XXX_Merge(src proto.Message)
- func (m *Ipam) XXX_Size() int
- func (m *Ipam) XXX_Unmarshal(b []byte) error
- type LoadBalancer
- func (*LoadBalancer) Descriptor() ([]byte, []int)
- func (m *LoadBalancer) GetBackendpoolname() string
- func (m *LoadBalancer) GetEntity() *common.Entity
- func (m *LoadBalancer) GetFrontendip() string
- func (m *LoadBalancer) GetId() string
- func (m *LoadBalancer) GetName() string
- func (m *LoadBalancer) GetNetworkid() string
- func (m *LoadBalancer) GetStatus() *common.Status
- func (m *LoadBalancer) GetTags() *common.Tags
- func (*LoadBalancer) ProtoMessage()
- func (m *LoadBalancer) Reset()
- func (m *LoadBalancer) String() string
- func (m *LoadBalancer) XXX_DiscardUnknown()
- func (m *LoadBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancer) XXX_Merge(src proto.Message)
- func (m *LoadBalancer) XXX_Size() int
- func (m *LoadBalancer) XXX_Unmarshal(b []byte) error
- type LoadBalancerAgentClient
- type LoadBalancerAgentServer
- type LoadBalancerRequest
- func (*LoadBalancerRequest) Descriptor() ([]byte, []int)
- func (m *LoadBalancerRequest) GetLoadBalancers() []*LoadBalancer
- func (m *LoadBalancerRequest) GetOperationType() common.Operation
- func (*LoadBalancerRequest) ProtoMessage()
- func (m *LoadBalancerRequest) Reset()
- func (m *LoadBalancerRequest) String() string
- func (m *LoadBalancerRequest) XXX_DiscardUnknown()
- func (m *LoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerRequest) XXX_Merge(src proto.Message)
- func (m *LoadBalancerRequest) XXX_Size() int
- func (m *LoadBalancerRequest) XXX_Unmarshal(b []byte) error
- type LoadBalancerResponse
- func (*LoadBalancerResponse) Descriptor() ([]byte, []int)
- func (m *LoadBalancerResponse) GetError() string
- func (m *LoadBalancerResponse) GetLoadBalancers() []*LoadBalancer
- func (m *LoadBalancerResponse) GetResult() *wrappers.BoolValue
- func (*LoadBalancerResponse) ProtoMessage()
- func (m *LoadBalancerResponse) Reset()
- func (m *LoadBalancerResponse) String() string
- func (m *LoadBalancerResponse) XXX_DiscardUnknown()
- func (m *LoadBalancerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerResponse) XXX_Merge(src proto.Message)
- func (m *LoadBalancerResponse) XXX_Size() int
- func (m *LoadBalancerResponse) XXX_Unmarshal(b []byte) error
- type LogicalNetwork
- func (*LogicalNetwork) Descriptor() ([]byte, []int)
- func (m *LogicalNetwork) GetEntity() *common.Entity
- func (m *LogicalNetwork) GetId() string
- func (m *LogicalNetwork) GetIpams() []*LogicalNetworkIpam
- func (m *LogicalNetwork) GetName() string
- func (m *LogicalNetwork) GetStatus() *common.Status
- func (m *LogicalNetwork) GetTags() *common.Tags
- func (*LogicalNetwork) ProtoMessage()
- func (m *LogicalNetwork) Reset()
- func (m *LogicalNetwork) String() string
- func (m *LogicalNetwork) XXX_DiscardUnknown()
- func (m *LogicalNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogicalNetwork) XXX_Merge(src proto.Message)
- func (m *LogicalNetwork) XXX_Size() int
- func (m *LogicalNetwork) XXX_Unmarshal(b []byte) error
- type LogicalNetworkAgentClient
- type LogicalNetworkAgentServer
- type LogicalNetworkIpam
- func (*LogicalNetworkIpam) Descriptor() ([]byte, []int)
- func (m *LogicalNetworkIpam) GetSubnets() []*LogicalSubnet
- func (m *LogicalNetworkIpam) GetType() string
- func (*LogicalNetworkIpam) ProtoMessage()
- func (m *LogicalNetworkIpam) Reset()
- func (m *LogicalNetworkIpam) String() string
- func (m *LogicalNetworkIpam) XXX_DiscardUnknown()
- func (m *LogicalNetworkIpam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogicalNetworkIpam) XXX_Merge(src proto.Message)
- func (m *LogicalNetworkIpam) XXX_Size() int
- func (m *LogicalNetworkIpam) XXX_Unmarshal(b []byte) error
- type LogicalNetworkRequest
- func (*LogicalNetworkRequest) Descriptor() ([]byte, []int)
- func (m *LogicalNetworkRequest) GetLogicalNetworks() []*LogicalNetwork
- func (m *LogicalNetworkRequest) GetOperationType() common.Operation
- func (*LogicalNetworkRequest) ProtoMessage()
- func (m *LogicalNetworkRequest) Reset()
- func (m *LogicalNetworkRequest) String() string
- func (m *LogicalNetworkRequest) XXX_DiscardUnknown()
- func (m *LogicalNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogicalNetworkRequest) XXX_Merge(src proto.Message)
- func (m *LogicalNetworkRequest) XXX_Size() int
- func (m *LogicalNetworkRequest) XXX_Unmarshal(b []byte) error
- type LogicalNetworkResponse
- func (*LogicalNetworkResponse) Descriptor() ([]byte, []int)
- func (m *LogicalNetworkResponse) GetError() string
- func (m *LogicalNetworkResponse) GetLogicalNetworks() []*LogicalNetwork
- func (m *LogicalNetworkResponse) GetResult() *wrappers.BoolValue
- func (*LogicalNetworkResponse) ProtoMessage()
- func (m *LogicalNetworkResponse) Reset()
- func (m *LogicalNetworkResponse) String() string
- func (m *LogicalNetworkResponse) XXX_DiscardUnknown()
- func (m *LogicalNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogicalNetworkResponse) XXX_Merge(src proto.Message)
- func (m *LogicalNetworkResponse) XXX_Size() int
- func (m *LogicalNetworkResponse) XXX_Unmarshal(b []byte) error
- type LogicalSubnet
- func (*LogicalSubnet) Descriptor() ([]byte, []int)
- func (m *LogicalSubnet) GetAddressPrefix() string
- func (m *LogicalSubnet) GetAllocation() common.IPAllocationMethod
- func (m *LogicalSubnet) GetDns() *common.Dns
- func (m *LogicalSubnet) GetId() string
- func (m *LogicalSubnet) GetName() string
- func (m *LogicalSubnet) GetRoutes() []*common.Route
- func (m *LogicalSubnet) GetVlan() uint32
- func (*LogicalSubnet) ProtoMessage()
- func (m *LogicalSubnet) Reset()
- func (m *LogicalSubnet) String() string
- func (m *LogicalSubnet) XXX_DiscardUnknown()
- func (m *LogicalSubnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogicalSubnet) XXX_Merge(src proto.Message)
- func (m *LogicalSubnet) XXX_Size() int
- func (m *LogicalSubnet) XXX_Unmarshal(b []byte) error
- type MacPool
- func (*MacPool) Descriptor() ([]byte, []int)
- func (m *MacPool) GetRanges() []*MacRange
- func (*MacPool) ProtoMessage()
- func (m *MacPool) Reset()
- func (m *MacPool) String() string
- func (m *MacPool) XXX_DiscardUnknown()
- func (m *MacPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MacPool) XXX_Merge(src proto.Message)
- func (m *MacPool) XXX_Size() int
- func (m *MacPool) XXX_Unmarshal(b []byte) error
- type MacRange
- func (*MacRange) Descriptor() ([]byte, []int)
- func (m *MacRange) GetEndMacAddress() string
- func (m *MacRange) GetStartMacAddress() string
- func (*MacRange) ProtoMessage()
- func (m *MacRange) Reset()
- func (m *MacRange) String() string
- func (m *MacRange) XXX_DiscardUnknown()
- func (m *MacRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MacRange) XXX_Merge(src proto.Message)
- func (m *MacRange) XXX_Size() int
- func (m *MacRange) XXX_Unmarshal(b []byte) error
- type NetworkType
- type Subnet
- func (*Subnet) Descriptor() ([]byte, []int)
- func (m *Subnet) GetAllocation() common.IPAllocationMethod
- func (m *Subnet) GetCidr() string
- func (m *Subnet) GetId() string
- func (m *Subnet) GetName() string
- func (m *Subnet) GetRoutes() []*common.Route
- func (m *Subnet) GetVlan() uint32
- func (*Subnet) ProtoMessage()
- func (m *Subnet) Reset()
- func (m *Subnet) String() string
- func (m *Subnet) XXX_DiscardUnknown()
- func (m *Subnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subnet) XXX_Merge(src proto.Message)
- func (m *Subnet) XXX_Size() int
- func (m *Subnet) XXX_Unmarshal(b []byte) error
- type UnimplementedLoadBalancerAgentServer
- type UnimplementedLogicalNetworkAgentServer
- type UnimplementedVirtualNetworkAgentServer
- type UnimplementedVirtualNetworkInterfaceAgentServer
- func (*UnimplementedVirtualNetworkInterfaceAgentServer) CheckNotification(ctx context.Context, req *empty.Empty) (*common.NotificationResponse, error)
- func (*UnimplementedVirtualNetworkInterfaceAgentServer) Invoke(ctx context.Context, req *VirtualNetworkInterfaceRequest) (*VirtualNetworkInterfaceResponse, error)
- type VirtualNetwork
- func (*VirtualNetwork) Descriptor() ([]byte, []int)
- func (m *VirtualNetwork) GetDns() *common.Dns
- func (m *VirtualNetwork) GetEntity() *common.Entity
- func (m *VirtualNetwork) GetId() string
- func (m *VirtualNetwork) GetIpams() []*Ipam
- func (m *VirtualNetwork) GetMacPool() *MacPool
- func (m *VirtualNetwork) GetName() string
- func (m *VirtualNetwork) GetStatus() *common.Status
- func (m *VirtualNetwork) GetTags() *common.Tags
- func (m *VirtualNetwork) GetType() VirtualNetworkType
- func (*VirtualNetwork) ProtoMessage()
- func (m *VirtualNetwork) Reset()
- func (m *VirtualNetwork) String() string
- func (m *VirtualNetwork) XXX_DiscardUnknown()
- func (m *VirtualNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetwork) XXX_Merge(src proto.Message)
- func (m *VirtualNetwork) XXX_Size() int
- func (m *VirtualNetwork) XXX_Unmarshal(b []byte) error
- type VirtualNetworkAgentClient
- type VirtualNetworkAgentServer
- type VirtualNetworkInterface
- func (*VirtualNetworkInterface) Descriptor() ([]byte, []int)
- func (m *VirtualNetworkInterface) GetDnsSettings() *common.Dns
- func (m *VirtualNetworkInterface) GetEntity() *common.Entity
- func (m *VirtualNetworkInterface) GetId() string
- func (m *VirtualNetworkInterface) GetIovWeight() uint32
- func (m *VirtualNetworkInterface) GetIpconfigs() []*IpConfiguration
- func (m *VirtualNetworkInterface) GetMacaddress() string
- func (m *VirtualNetworkInterface) GetName() string
- func (m *VirtualNetworkInterface) GetStatus() *common.Status
- func (m *VirtualNetworkInterface) GetTags() *common.Tags
- func (m *VirtualNetworkInterface) GetType() VirtualNetworkInterface_NetworkInterfaceType
- func (m *VirtualNetworkInterface) GetVirtualMachineName() string
- func (*VirtualNetworkInterface) ProtoMessage()
- func (m *VirtualNetworkInterface) Reset()
- func (m *VirtualNetworkInterface) String() string
- func (m *VirtualNetworkInterface) XXX_DiscardUnknown()
- func (m *VirtualNetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetworkInterface) XXX_Merge(src proto.Message)
- func (m *VirtualNetworkInterface) XXX_Size() int
- func (m *VirtualNetworkInterface) XXX_Unmarshal(b []byte) error
- type VirtualNetworkInterfaceAgentClient
- type VirtualNetworkInterfaceAgentServer
- type VirtualNetworkInterfaceRequest
- func (*VirtualNetworkInterfaceRequest) Descriptor() ([]byte, []int)
- func (m *VirtualNetworkInterfaceRequest) GetOperationType() common.Operation
- func (m *VirtualNetworkInterfaceRequest) GetVirtualNetworkInterfaces() []*VirtualNetworkInterface
- func (*VirtualNetworkInterfaceRequest) ProtoMessage()
- func (m *VirtualNetworkInterfaceRequest) Reset()
- func (m *VirtualNetworkInterfaceRequest) String() string
- func (m *VirtualNetworkInterfaceRequest) XXX_DiscardUnknown()
- func (m *VirtualNetworkInterfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetworkInterfaceRequest) XXX_Merge(src proto.Message)
- func (m *VirtualNetworkInterfaceRequest) XXX_Size() int
- func (m *VirtualNetworkInterfaceRequest) XXX_Unmarshal(b []byte) error
- type VirtualNetworkInterfaceResponse
- func (*VirtualNetworkInterfaceResponse) Descriptor() ([]byte, []int)
- func (m *VirtualNetworkInterfaceResponse) GetError() string
- func (m *VirtualNetworkInterfaceResponse) GetResult() *wrappers.BoolValue
- func (m *VirtualNetworkInterfaceResponse) GetVirtualNetworkInterfaces() []*VirtualNetworkInterface
- func (*VirtualNetworkInterfaceResponse) ProtoMessage()
- func (m *VirtualNetworkInterfaceResponse) Reset()
- func (m *VirtualNetworkInterfaceResponse) String() string
- func (m *VirtualNetworkInterfaceResponse) XXX_DiscardUnknown()
- func (m *VirtualNetworkInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetworkInterfaceResponse) XXX_Merge(src proto.Message)
- func (m *VirtualNetworkInterfaceResponse) XXX_Size() int
- func (m *VirtualNetworkInterfaceResponse) XXX_Unmarshal(b []byte) error
- type VirtualNetworkInterface_NetworkInterfaceType
- type VirtualNetworkRequest
- func (*VirtualNetworkRequest) Descriptor() ([]byte, []int)
- func (m *VirtualNetworkRequest) GetOperationType() common.Operation
- func (m *VirtualNetworkRequest) GetVirtualNetworks() []*VirtualNetwork
- func (*VirtualNetworkRequest) ProtoMessage()
- func (m *VirtualNetworkRequest) Reset()
- func (m *VirtualNetworkRequest) String() string
- func (m *VirtualNetworkRequest) XXX_DiscardUnknown()
- func (m *VirtualNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetworkRequest) XXX_Merge(src proto.Message)
- func (m *VirtualNetworkRequest) XXX_Size() int
- func (m *VirtualNetworkRequest) XXX_Unmarshal(b []byte) error
- type VirtualNetworkResponse
- func (*VirtualNetworkResponse) Descriptor() ([]byte, []int)
- func (m *VirtualNetworkResponse) GetError() string
- func (m *VirtualNetworkResponse) GetResult() *wrappers.BoolValue
- func (m *VirtualNetworkResponse) GetVirtualNetworks() []*VirtualNetwork
- func (*VirtualNetworkResponse) ProtoMessage()
- func (m *VirtualNetworkResponse) Reset()
- func (m *VirtualNetworkResponse) String() string
- func (m *VirtualNetworkResponse) XXX_DiscardUnknown()
- func (m *VirtualNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetworkResponse) XXX_Merge(src proto.Message)
- func (m *VirtualNetworkResponse) XXX_Size() int
- func (m *VirtualNetworkResponse) XXX_Unmarshal(b []byte) error
- type VirtualNetworkType
Constants ¶
This section is empty.
Variables ¶
var NetworkType_name = map[int32]string{
0: "VIRTUAL_NETWORK",
1: "LOGICAL_NETWORK",
}
var NetworkType_value = map[string]int32{
"VIRTUAL_NETWORK": 0,
"LOGICAL_NETWORK": 1,
}
var VirtualNetworkInterface_NetworkInterfaceType_name = map[int32]string{
0: "Local",
1: "Remote",
}
var VirtualNetworkInterface_NetworkInterfaceType_value = map[string]int32{
"Local": 0,
"Remote": 1,
}
var VirtualNetworkType_name = map[int32]string{
0: "NAT",
1: "Transparent",
2: "L2Bridge",
3: "L2Tunnel",
4: "ICS",
5: "Private",
6: "Overlay",
7: "Internal",
8: "Mirrored",
}
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 RegisterVirtualNetworkAgentServer ¶
func RegisterVirtualNetworkAgentServer(s *grpc.Server, srv VirtualNetworkAgentServer)
func RegisterVirtualNetworkInterfaceAgentServer ¶
func RegisterVirtualNetworkInterfaceAgentServer(s *grpc.Server, srv VirtualNetworkInterfaceAgentServer)
Types ¶
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"` Gateway string `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"` Allocation common.IPAllocationMethod `protobuf:"varint,6,opt,name=allocation,proto3,enum=moc.IPAllocationMethod" json:"allocation,omitempty"` NetworkType NetworkType `protobuf:"varint,7,opt,name=networkType,proto3,enum=moc.nodeagent.network.NetworkType" json:"networkType,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) 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) 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) GetSubnets ¶
func (*Ipam) ProtoMessage ¶
func (*Ipam) ProtoMessage()
func (*Ipam) XXX_DiscardUnknown ¶
func (m *Ipam) XXX_DiscardUnknown()
func (*Ipam) XXX_Unmarshal ¶
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,4,opt,name=frontendip,proto3" json:"frontendip,omitempty"` Backendpoolname string `protobuf:"bytes,5,opt,name=backendpoolname,proto3" json:"backendpoolname,omitempty"` Networkid string `protobuf:"bytes,6,opt,name=networkid,proto3" json:"networkid,omitempty"` Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` Entity *common.Entity `protobuf:"bytes,9,opt,name=entity,proto3" json:"entity,omitempty"` Tags *common.Tags `protobuf:"bytes,10,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancer) Descriptor ¶
func (*LoadBalancer) Descriptor() ([]byte, []int)
func (*LoadBalancer) GetBackendpoolname ¶
func (m *LoadBalancer) GetBackendpoolname() string
func (*LoadBalancer) GetEntity ¶
func (m *LoadBalancer) GetEntity() *common.Entity
func (*LoadBalancer) GetFrontendip ¶
func (m *LoadBalancer) GetFrontendip() string
func (*LoadBalancer) GetId ¶
func (m *LoadBalancer) GetId() string
func (*LoadBalancer) GetName ¶
func (m *LoadBalancer) GetName() string
func (*LoadBalancer) GetNetworkid ¶
func (m *LoadBalancer) GetNetworkid() string
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 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"` Ipams []*LogicalNetworkIpam `protobuf:"bytes,3,rep,name=ipams,proto3" json:"ipams,omitempty"` Status *common.Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` Entity *common.Entity `protobuf:"bytes,5,opt,name=entity,proto3" json:"entity,omitempty"` Tags *common.Tags `protobuf:"bytes,6,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) GetEntity ¶ added in v0.13.1
func (m *LogicalNetwork) GetEntity() *common.Entity
func (*LogicalNetwork) GetId ¶ added in v0.13.1
func (m *LogicalNetwork) GetId() string
func (*LogicalNetwork) GetIpams ¶ added in v0.13.1
func (m *LogicalNetwork) GetIpams() []*LogicalNetworkIpam
func (*LogicalNetwork) GetName ¶ added in v0.13.1
func (m *LogicalNetwork) GetName() string
func (*LogicalNetwork) GetStatus ¶ added in v0.13.1
func (m *LogicalNetwork) GetStatus() *common.Status
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) CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, 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) CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error) }
LogicalNetworkAgentServer is the server API for LogicalNetworkAgent service.
type LogicalNetworkIpam ¶ added in v0.13.1
type LogicalNetworkIpam struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Subnets []*LogicalSubnet `protobuf:"bytes,2,rep,name=subnets,proto3" json:"subnets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogicalNetworkIpam) Descriptor ¶ added in v0.13.1
func (*LogicalNetworkIpam) Descriptor() ([]byte, []int)
func (*LogicalNetworkIpam) GetSubnets ¶ added in v0.13.1
func (m *LogicalNetworkIpam) GetSubnets() []*LogicalSubnet
func (*LogicalNetworkIpam) GetType ¶ added in v0.13.1
func (m *LogicalNetworkIpam) GetType() string
func (*LogicalNetworkIpam) ProtoMessage ¶ added in v0.13.1
func (*LogicalNetworkIpam) ProtoMessage()
func (*LogicalNetworkIpam) Reset ¶ added in v0.13.1
func (m *LogicalNetworkIpam) Reset()
func (*LogicalNetworkIpam) String ¶ added in v0.13.1
func (m *LogicalNetworkIpam) String() string
func (*LogicalNetworkIpam) XXX_DiscardUnknown ¶ added in v0.13.1
func (m *LogicalNetworkIpam) XXX_DiscardUnknown()
func (*LogicalNetworkIpam) XXX_Marshal ¶ added in v0.13.1
func (m *LogicalNetworkIpam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogicalNetworkIpam) XXX_Merge ¶ added in v0.13.1
func (m *LogicalNetworkIpam) XXX_Merge(src proto.Message)
func (*LogicalNetworkIpam) XXX_Size ¶ added in v0.13.1
func (m *LogicalNetworkIpam) XXX_Size() int
func (*LogicalNetworkIpam) XXX_Unmarshal ¶ added in v0.13.1
func (m *LogicalNetworkIpam) XXX_Unmarshal(b []byte) error
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"` Dns *common.Dns `protobuf:"bytes,7,opt,name=dns,proto3" json:"dns,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) GetName ¶ added in v0.13.1
func (m *LogicalSubnet) GetName() string
func (*LogicalSubnet) GetRoutes ¶ added in v0.13.1
func (m *LogicalSubnet) GetRoutes() []*common.Route
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 { Ranges []*MacRange `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MacPool) Descriptor ¶
func (*MacPool) ProtoMessage ¶
func (*MacPool) ProtoMessage()
func (*MacPool) XXX_DiscardUnknown ¶
func (m *MacPool) XXX_DiscardUnknown()
func (*MacPool) XXX_Marshal ¶
func (*MacPool) XXX_Unmarshal ¶
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) GetEndMacAddress ¶
func (*MacRange) GetStartMacAddress ¶
func (*MacRange) ProtoMessage ¶
func (*MacRange) ProtoMessage()
func (*MacRange) XXX_DiscardUnknown ¶
func (m *MacRange) XXX_DiscardUnknown()
func (*MacRange) XXX_Marshal ¶
func (*MacRange) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Subnet) Descriptor ¶
func (*Subnet) GetAllocation ¶
func (m *Subnet) GetAllocation() common.IPAllocationMethod
func (*Subnet) ProtoMessage ¶
func (*Subnet) ProtoMessage()
func (*Subnet) XXX_DiscardUnknown ¶
func (m *Subnet) XXX_DiscardUnknown()
func (*Subnet) XXX_Marshal ¶
func (*Subnet) XXX_Unmarshal ¶
type UnimplementedLoadBalancerAgentServer ¶
type UnimplementedLoadBalancerAgentServer struct { }
UnimplementedLoadBalancerAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedLoadBalancerAgentServer) Invoke ¶
func (*UnimplementedLoadBalancerAgentServer) Invoke(ctx context.Context, req *LoadBalancerRequest) (*LoadBalancerResponse, error)
type UnimplementedLogicalNetworkAgentServer ¶ added in v0.13.1
type UnimplementedLogicalNetworkAgentServer struct { }
UnimplementedLogicalNetworkAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedLogicalNetworkAgentServer) CheckNotification ¶ added in v0.13.1
func (*UnimplementedLogicalNetworkAgentServer) CheckNotification(ctx context.Context, req *empty.Empty) (*common.NotificationResponse, error)
func (*UnimplementedLogicalNetworkAgentServer) Invoke ¶ added in v0.13.1
func (*UnimplementedLogicalNetworkAgentServer) Invoke(ctx context.Context, req *LogicalNetworkRequest) (*LogicalNetworkResponse, error)
type UnimplementedVirtualNetworkAgentServer ¶
type UnimplementedVirtualNetworkAgentServer struct { }
UnimplementedVirtualNetworkAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedVirtualNetworkAgentServer) CheckNotification ¶
func (*UnimplementedVirtualNetworkAgentServer) CheckNotification(ctx context.Context, req *empty.Empty) (*common.NotificationResponse, error)
func (*UnimplementedVirtualNetworkAgentServer) Invoke ¶
func (*UnimplementedVirtualNetworkAgentServer) Invoke(ctx context.Context, req *VirtualNetworkRequest) (*VirtualNetworkResponse, error)
type UnimplementedVirtualNetworkInterfaceAgentServer ¶
type UnimplementedVirtualNetworkInterfaceAgentServer struct { }
UnimplementedVirtualNetworkInterfaceAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedVirtualNetworkInterfaceAgentServer) CheckNotification ¶
func (*UnimplementedVirtualNetworkInterfaceAgentServer) CheckNotification(ctx context.Context, req *empty.Empty) (*common.NotificationResponse, error)
func (*UnimplementedVirtualNetworkInterfaceAgentServer) Invoke ¶
func (*UnimplementedVirtualNetworkInterfaceAgentServer) Invoke(ctx context.Context, req *VirtualNetworkInterfaceRequest) (*VirtualNetworkInterfaceResponse, 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"` Ipams []*Ipam `protobuf:"bytes,3,rep,name=ipams,proto3" json:"ipams,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.nodeagent.network.VirtualNetworkType" json:"type,omitempty"` MacPool *MacPool `protobuf:"bytes,6,opt,name=macPool,proto3" json:"macPool,omitempty"` Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` Entity *common.Entity `protobuf:"bytes,9,opt,name=entity,proto3" json:"entity,omitempty"` Tags *common.Tags `protobuf:"bytes,10,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) GetEntity ¶
func (m *VirtualNetwork) GetEntity() *common.Entity
func (*VirtualNetwork) GetId ¶
func (m *VirtualNetwork) GetId() string
func (*VirtualNetwork) GetIpams ¶
func (m *VirtualNetwork) GetIpams() []*Ipam
func (*VirtualNetwork) GetMacPool ¶
func (m *VirtualNetwork) GetMacPool() *MacPool
func (*VirtualNetwork) GetName ¶
func (m *VirtualNetwork) GetName() string
func (*VirtualNetwork) GetStatus ¶
func (m *VirtualNetwork) GetStatus() *common.Status
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) CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, 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) CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error) }
VirtualNetworkAgentServer is the server API for VirtualNetworkAgent service.
type VirtualNetworkInterface ¶
type VirtualNetworkInterface 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 VirtualNetworkInterface_NetworkInterfaceType `` /* 134-byte string literal not displayed */ Ipconfigs []*IpConfiguration `protobuf:"bytes,4,rep,name=ipconfigs,proto3" json:"ipconfigs,omitempty"` Macaddress string `protobuf:"bytes,5,opt,name=macaddress,proto3" json:"macaddress,omitempty"` DnsSettings *common.Dns `protobuf:"bytes,6,opt,name=dnsSettings,proto3" json:"dnsSettings,omitempty"` VirtualMachineName string `protobuf:"bytes,7,opt,name=virtualMachineName,proto3" json:"virtualMachineName,omitempty"` Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` Entity *common.Entity `protobuf:"bytes,9,opt,name=entity,proto3" json:"entity,omitempty"` IovWeight uint32 `protobuf:"varint,10,opt,name=iovWeight,proto3" json:"iovWeight,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 (*VirtualNetworkInterface) Descriptor ¶
func (*VirtualNetworkInterface) Descriptor() ([]byte, []int)
func (*VirtualNetworkInterface) GetDnsSettings ¶
func (m *VirtualNetworkInterface) GetDnsSettings() *common.Dns
func (*VirtualNetworkInterface) GetEntity ¶
func (m *VirtualNetworkInterface) GetEntity() *common.Entity
func (*VirtualNetworkInterface) GetId ¶
func (m *VirtualNetworkInterface) GetId() string
func (*VirtualNetworkInterface) GetIovWeight ¶
func (m *VirtualNetworkInterface) GetIovWeight() uint32
func (*VirtualNetworkInterface) GetIpconfigs ¶
func (m *VirtualNetworkInterface) GetIpconfigs() []*IpConfiguration
func (*VirtualNetworkInterface) GetMacaddress ¶
func (m *VirtualNetworkInterface) GetMacaddress() string
func (*VirtualNetworkInterface) GetName ¶
func (m *VirtualNetworkInterface) GetName() string
func (*VirtualNetworkInterface) GetStatus ¶
func (m *VirtualNetworkInterface) GetStatus() *common.Status
func (*VirtualNetworkInterface) GetTags ¶ added in v0.10.5
func (m *VirtualNetworkInterface) GetTags() *common.Tags
func (*VirtualNetworkInterface) GetType ¶
func (m *VirtualNetworkInterface) GetType() VirtualNetworkInterface_NetworkInterfaceType
func (*VirtualNetworkInterface) GetVirtualMachineName ¶
func (m *VirtualNetworkInterface) GetVirtualMachineName() string
func (*VirtualNetworkInterface) ProtoMessage ¶
func (*VirtualNetworkInterface) ProtoMessage()
func (*VirtualNetworkInterface) Reset ¶
func (m *VirtualNetworkInterface) Reset()
func (*VirtualNetworkInterface) String ¶
func (m *VirtualNetworkInterface) String() string
func (*VirtualNetworkInterface) XXX_DiscardUnknown ¶
func (m *VirtualNetworkInterface) XXX_DiscardUnknown()
func (*VirtualNetworkInterface) XXX_Marshal ¶
func (m *VirtualNetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualNetworkInterface) XXX_Merge ¶
func (m *VirtualNetworkInterface) XXX_Merge(src proto.Message)
func (*VirtualNetworkInterface) XXX_Size ¶
func (m *VirtualNetworkInterface) XXX_Size() int
func (*VirtualNetworkInterface) XXX_Unmarshal ¶
func (m *VirtualNetworkInterface) XXX_Unmarshal(b []byte) error
type VirtualNetworkInterfaceAgentClient ¶
type VirtualNetworkInterfaceAgentClient interface { Invoke(ctx context.Context, in *VirtualNetworkInterfaceRequest, opts ...grpc.CallOption) (*VirtualNetworkInterfaceResponse, error) CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, error) }
VirtualNetworkInterfaceAgentClient is the client API for VirtualNetworkInterfaceAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVirtualNetworkInterfaceAgentClient ¶
func NewVirtualNetworkInterfaceAgentClient(cc *grpc.ClientConn) VirtualNetworkInterfaceAgentClient
type VirtualNetworkInterfaceAgentServer ¶
type VirtualNetworkInterfaceAgentServer interface { Invoke(context.Context, *VirtualNetworkInterfaceRequest) (*VirtualNetworkInterfaceResponse, error) CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error) }
VirtualNetworkInterfaceAgentServer is the server API for VirtualNetworkInterfaceAgent service.
type VirtualNetworkInterfaceRequest ¶
type VirtualNetworkInterfaceRequest struct { VirtualNetworkInterfaces []*VirtualNetworkInterface `protobuf:"bytes,1,rep,name=VirtualNetworkInterfaces,proto3" json:"VirtualNetworkInterfaces,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 (*VirtualNetworkInterfaceRequest) Descriptor ¶
func (*VirtualNetworkInterfaceRequest) Descriptor() ([]byte, []int)
func (*VirtualNetworkInterfaceRequest) GetOperationType ¶
func (m *VirtualNetworkInterfaceRequest) GetOperationType() common.Operation
func (*VirtualNetworkInterfaceRequest) GetVirtualNetworkInterfaces ¶
func (m *VirtualNetworkInterfaceRequest) GetVirtualNetworkInterfaces() []*VirtualNetworkInterface
func (*VirtualNetworkInterfaceRequest) ProtoMessage ¶
func (*VirtualNetworkInterfaceRequest) ProtoMessage()
func (*VirtualNetworkInterfaceRequest) Reset ¶
func (m *VirtualNetworkInterfaceRequest) Reset()
func (*VirtualNetworkInterfaceRequest) String ¶
func (m *VirtualNetworkInterfaceRequest) String() string
func (*VirtualNetworkInterfaceRequest) XXX_DiscardUnknown ¶
func (m *VirtualNetworkInterfaceRequest) XXX_DiscardUnknown()
func (*VirtualNetworkInterfaceRequest) XXX_Marshal ¶
func (m *VirtualNetworkInterfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualNetworkInterfaceRequest) XXX_Merge ¶
func (m *VirtualNetworkInterfaceRequest) XXX_Merge(src proto.Message)
func (*VirtualNetworkInterfaceRequest) XXX_Size ¶
func (m *VirtualNetworkInterfaceRequest) XXX_Size() int
func (*VirtualNetworkInterfaceRequest) XXX_Unmarshal ¶
func (m *VirtualNetworkInterfaceRequest) XXX_Unmarshal(b []byte) error
type VirtualNetworkInterfaceResponse ¶
type VirtualNetworkInterfaceResponse struct { VirtualNetworkInterfaces []*VirtualNetworkInterface `protobuf:"bytes,1,rep,name=VirtualNetworkInterfaces,proto3" json:"VirtualNetworkInterfaces,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 (*VirtualNetworkInterfaceResponse) Descriptor ¶
func (*VirtualNetworkInterfaceResponse) Descriptor() ([]byte, []int)
func (*VirtualNetworkInterfaceResponse) GetError ¶
func (m *VirtualNetworkInterfaceResponse) GetError() string
func (*VirtualNetworkInterfaceResponse) GetResult ¶
func (m *VirtualNetworkInterfaceResponse) GetResult() *wrappers.BoolValue
func (*VirtualNetworkInterfaceResponse) GetVirtualNetworkInterfaces ¶
func (m *VirtualNetworkInterfaceResponse) GetVirtualNetworkInterfaces() []*VirtualNetworkInterface
func (*VirtualNetworkInterfaceResponse) ProtoMessage ¶
func (*VirtualNetworkInterfaceResponse) ProtoMessage()
func (*VirtualNetworkInterfaceResponse) Reset ¶
func (m *VirtualNetworkInterfaceResponse) Reset()
func (*VirtualNetworkInterfaceResponse) String ¶
func (m *VirtualNetworkInterfaceResponse) String() string
func (*VirtualNetworkInterfaceResponse) XXX_DiscardUnknown ¶
func (m *VirtualNetworkInterfaceResponse) XXX_DiscardUnknown()
func (*VirtualNetworkInterfaceResponse) XXX_Marshal ¶
func (m *VirtualNetworkInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualNetworkInterfaceResponse) XXX_Merge ¶
func (m *VirtualNetworkInterfaceResponse) XXX_Merge(src proto.Message)
func (*VirtualNetworkInterfaceResponse) XXX_Size ¶
func (m *VirtualNetworkInterfaceResponse) XXX_Size() int
func (*VirtualNetworkInterfaceResponse) XXX_Unmarshal ¶
func (m *VirtualNetworkInterfaceResponse) XXX_Unmarshal(b []byte) error
type VirtualNetworkInterface_NetworkInterfaceType ¶
type VirtualNetworkInterface_NetworkInterfaceType int32
const ( VirtualNetworkInterface_Local VirtualNetworkInterface_NetworkInterfaceType = 0 VirtualNetworkInterface_Remote VirtualNetworkInterface_NetworkInterfaceType = 1 )
func (VirtualNetworkInterface_NetworkInterfaceType) EnumDescriptor ¶
func (VirtualNetworkInterface_NetworkInterfaceType) EnumDescriptor() ([]byte, []int)
func (VirtualNetworkInterface_NetworkInterfaceType) String ¶
func (x VirtualNetworkInterface_NetworkInterfaceType) String() string
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