diff --git a/go.sum b/go.sum index 1fcc5440..2473307a 100644 --- a/go.sum +++ b/go.sum @@ -95,4 +95,4 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= \ No newline at end of file diff --git a/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto b/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto index ca250f11..0439ed90 100644 --- a/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto +++ b/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto @@ -12,6 +12,7 @@ import "moc_common_networkcommon.proto"; message LoadBalancerRequest { repeated LoadBalancer LoadBalancers = 1; Operation OperationType = 2; + ApiVersion version = 3; } message LoadBalancerResponse { @@ -39,10 +40,61 @@ message LoadbalancerInboundNatRule { Protocol protocol = 4; } +message LoadbalancerOutboundNatRule { + string name = 1; + repeated FrontendIPConfigurationReference frontendIpConfigurationsRef= 2; + BackendAddressPoolReference backendAddressPoolRef= 3; + Protocol protocol = 4; + bool enableTcpReset = 5; + Tags tags = 6; +} + +enum LoadDistribution { + Default = 0; + SourceIp = 1; + SourceIPProtocol = 2; +} + message LoadBalancingRule { uint32 frontendPort = 1; uint32 backendPort = 2; Protocol protocol = 3; + ProbeReference probeRef = 4; + repeated FrontendIPConfigurationReference frontendIpConfigurationsRef= 5; + BackendAddressPoolReference backendAddressPoolRef= 6; + string name = 7; + uint32 idleTimeoutInMinutes = 8; + bool enableFloatingIP = 9; + bool enableTcpReset = 10; + LoadDistribution loadDistribution = 11; + Tags tags = 12; +} + +enum ProbeProtocol { + Http = 0; + Https = 1; + Tcp = 2; +} + +message Probe { + string name = 1; + uint32 intervalInSeconds = 2; + uint32 numberOfProbes = 3; + ProbeProtocol protocol = 4; + uint32 port = 5; + string requestPath = 6; + Tags tags = 7; +} + +message FrontEndIpConfiguration { + string name = 1; + PublicIPAddressReference publicIPAddress = 2; // required if not using privateIP and a subnet. resourceRef to publicIPAddress + Tags tags = 3; +} + +message BackendAddressPool { + string name = 1; + Tags tags = 2; } message LoadBalancer { @@ -59,6 +111,10 @@ message LoadBalancer { Tags tags = 11; uint32 replicationCount = 12; repeated LoadbalancerInboundNatRule inboundNatRules = 13; + repeated LoadbalancerOutboundNatRule outboundNatRules = 14; + repeated FrontEndIpConfiguration frontendIpConfigurations = 15; + repeated Probe probes = 16; + repeated BackendAddressPool backendAddressPools = 17; } service LoadBalancerAgent { diff --git a/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go b/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go index adde616a..5b53cb6e 100644 --- a/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go +++ b/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go @@ -26,12 +26,69 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type LoadDistribution int32 + +const ( + LoadDistribution_Default LoadDistribution = 0 + LoadDistribution_SourceIp LoadDistribution = 1 + LoadDistribution_SourceIPProtocol LoadDistribution = 2 +) + +var LoadDistribution_name = map[int32]string{ + 0: "Default", + 1: "SourceIp", + 2: "SourceIPProtocol", +} + +var LoadDistribution_value = map[string]int32{ + "Default": 0, + "SourceIp": 1, + "SourceIPProtocol": 2, +} + +func (x LoadDistribution) String() string { + return proto.EnumName(LoadDistribution_name, int32(x)) +} + +func (LoadDistribution) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7464476b31ac10f8, []int{0} +} + +type ProbeProtocol int32 + +const ( + ProbeProtocol_Http ProbeProtocol = 0 + ProbeProtocol_Https ProbeProtocol = 1 + ProbeProtocol_Tcp ProbeProtocol = 2 +) + +var ProbeProtocol_name = map[int32]string{ + 0: "Http", + 1: "Https", + 2: "Tcp", +} + +var ProbeProtocol_value = map[string]int32{ + "Http": 0, + "Https": 1, + "Tcp": 2, +} + +func (x ProbeProtocol) String() string { + return proto.EnumName(ProbeProtocol_name, int32(x)) +} + +func (ProbeProtocol) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7464476b31ac10f8, []int{1} +} + 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:"-"` + 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"` + Version *common.ApiVersion `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *LoadBalancerRequest) Reset() { *m = LoadBalancerRequest{} } @@ -73,6 +130,13 @@ func (m *LoadBalancerRequest) GetOperationType() common.Operation { return common.Operation_GET } +func (m *LoadBalancerRequest) GetVersion() *common.ApiVersion { + if m != nil { + return m.Version + } + return nil +} + 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"` @@ -279,20 +343,108 @@ func (m *LoadbalancerInboundNatRule) GetProtocol() common.Protocol { return common.Protocol_All } +type LoadbalancerOutboundNatRule struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + FrontendIpConfigurationsRef []*common.FrontendIPConfigurationReference `protobuf:"bytes,2,rep,name=frontendIpConfigurationsRef,proto3" json:"frontendIpConfigurationsRef,omitempty"` + BackendAddressPoolRef *common.BackendAddressPoolReference `protobuf:"bytes,3,opt,name=backendAddressPoolRef,proto3" json:"backendAddressPoolRef,omitempty"` + Protocol common.Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"` + EnableTcpReset bool `protobuf:"varint,5,opt,name=enableTcpReset,proto3" json:"enableTcpReset,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 (m *LoadbalancerOutboundNatRule) Reset() { *m = LoadbalancerOutboundNatRule{} } +func (m *LoadbalancerOutboundNatRule) String() string { return proto.CompactTextString(m) } +func (*LoadbalancerOutboundNatRule) ProtoMessage() {} +func (*LoadbalancerOutboundNatRule) Descriptor() ([]byte, []int) { + return fileDescriptor_7464476b31ac10f8, []int{5} +} + +func (m *LoadbalancerOutboundNatRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LoadbalancerOutboundNatRule.Unmarshal(m, b) +} +func (m *LoadbalancerOutboundNatRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LoadbalancerOutboundNatRule.Marshal(b, m, deterministic) +} +func (m *LoadbalancerOutboundNatRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadbalancerOutboundNatRule.Merge(m, src) +} +func (m *LoadbalancerOutboundNatRule) XXX_Size() int { + return xxx_messageInfo_LoadbalancerOutboundNatRule.Size(m) +} +func (m *LoadbalancerOutboundNatRule) XXX_DiscardUnknown() { + xxx_messageInfo_LoadbalancerOutboundNatRule.DiscardUnknown(m) +} + +var xxx_messageInfo_LoadbalancerOutboundNatRule proto.InternalMessageInfo + +func (m *LoadbalancerOutboundNatRule) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *LoadbalancerOutboundNatRule) GetFrontendIpConfigurationsRef() []*common.FrontendIPConfigurationReference { + if m != nil { + return m.FrontendIpConfigurationsRef + } + return nil +} + +func (m *LoadbalancerOutboundNatRule) GetBackendAddressPoolRef() *common.BackendAddressPoolReference { + if m != nil { + return m.BackendAddressPoolRef + } + return nil +} + +func (m *LoadbalancerOutboundNatRule) GetProtocol() common.Protocol { + if m != nil { + return m.Protocol + } + return common.Protocol_All +} + +func (m *LoadbalancerOutboundNatRule) GetEnableTcpReset() bool { + if m != nil { + return m.EnableTcpReset + } + return false +} + +func (m *LoadbalancerOutboundNatRule) GetTags() *common.Tags { + if m != nil { + return m.Tags + } + return nil +} + 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:"-"` + 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"` + ProbeRef *common.ProbeReference `protobuf:"bytes,4,opt,name=probeRef,proto3" json:"probeRef,omitempty"` + FrontendIpConfigurationsRef []*common.FrontendIPConfigurationReference `protobuf:"bytes,5,rep,name=frontendIpConfigurationsRef,proto3" json:"frontendIpConfigurationsRef,omitempty"` + BackendAddressPoolRef *common.BackendAddressPoolReference `protobuf:"bytes,6,opt,name=backendAddressPoolRef,proto3" json:"backendAddressPoolRef,omitempty"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + IdleTimeoutInMinutes uint32 `protobuf:"varint,8,opt,name=idleTimeoutInMinutes,proto3" json:"idleTimeoutInMinutes,omitempty"` + EnableFloatingIP bool `protobuf:"varint,9,opt,name=enableFloatingIP,proto3" json:"enableFloatingIP,omitempty"` + EnableTcpReset bool `protobuf:"varint,10,opt,name=enableTcpReset,proto3" json:"enableTcpReset,omitempty"` + LoadDistribution LoadDistribution `protobuf:"varint,11,opt,name=loadDistribution,proto3,enum=moc.cloudagent.network.LoadDistribution" json:"loadDistribution,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 (m *LoadBalancingRule) Reset() { *m = LoadBalancingRule{} } func (m *LoadBalancingRule) String() string { return proto.CompactTextString(m) } func (*LoadBalancingRule) ProtoMessage() {} func (*LoadBalancingRule) Descriptor() ([]byte, []int) { - return fileDescriptor_7464476b31ac10f8, []int{5} + return fileDescriptor_7464476b31ac10f8, []int{6} } func (m *LoadBalancingRule) XXX_Unmarshal(b []byte) error { @@ -334,30 +486,286 @@ func (m *LoadBalancingRule) GetProtocol() common.Protocol { return common.Protocol_All } +func (m *LoadBalancingRule) GetProbeRef() *common.ProbeReference { + if m != nil { + return m.ProbeRef + } + return nil +} + +func (m *LoadBalancingRule) GetFrontendIpConfigurationsRef() []*common.FrontendIPConfigurationReference { + if m != nil { + return m.FrontendIpConfigurationsRef + } + return nil +} + +func (m *LoadBalancingRule) GetBackendAddressPoolRef() *common.BackendAddressPoolReference { + if m != nil { + return m.BackendAddressPoolRef + } + return nil +} + +func (m *LoadBalancingRule) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *LoadBalancingRule) GetIdleTimeoutInMinutes() uint32 { + if m != nil { + return m.IdleTimeoutInMinutes + } + return 0 +} + +func (m *LoadBalancingRule) GetEnableFloatingIP() bool { + if m != nil { + return m.EnableFloatingIP + } + return false +} + +func (m *LoadBalancingRule) GetEnableTcpReset() bool { + if m != nil { + return m.EnableTcpReset + } + return false +} + +func (m *LoadBalancingRule) GetLoadDistribution() LoadDistribution { + if m != nil { + return m.LoadDistribution + } + return LoadDistribution_Default +} + +func (m *LoadBalancingRule) GetTags() *common.Tags { + if m != nil { + return m.Tags + } + return nil +} + +type Probe struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + IntervalInSeconds uint32 `protobuf:"varint,2,opt,name=intervalInSeconds,proto3" json:"intervalInSeconds,omitempty"` + NumberOfProbes uint32 `protobuf:"varint,3,opt,name=numberOfProbes,proto3" json:"numberOfProbes,omitempty"` + Protocol ProbeProtocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=moc.cloudagent.network.ProbeProtocol" json:"protocol,omitempty"` + Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` + RequestPath string `protobuf:"bytes,6,opt,name=requestPath,proto3" json:"requestPath,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 (m *Probe) Reset() { *m = Probe{} } +func (m *Probe) String() string { return proto.CompactTextString(m) } +func (*Probe) ProtoMessage() {} +func (*Probe) Descriptor() ([]byte, []int) { + return fileDescriptor_7464476b31ac10f8, []int{7} +} + +func (m *Probe) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Probe.Unmarshal(m, b) +} +func (m *Probe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Probe.Marshal(b, m, deterministic) +} +func (m *Probe) XXX_Merge(src proto.Message) { + xxx_messageInfo_Probe.Merge(m, src) +} +func (m *Probe) XXX_Size() int { + return xxx_messageInfo_Probe.Size(m) +} +func (m *Probe) XXX_DiscardUnknown() { + xxx_messageInfo_Probe.DiscardUnknown(m) +} + +var xxx_messageInfo_Probe proto.InternalMessageInfo + +func (m *Probe) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Probe) GetIntervalInSeconds() uint32 { + if m != nil { + return m.IntervalInSeconds + } + return 0 +} + +func (m *Probe) GetNumberOfProbes() uint32 { + if m != nil { + return m.NumberOfProbes + } + return 0 +} + +func (m *Probe) GetProtocol() ProbeProtocol { + if m != nil { + return m.Protocol + } + return ProbeProtocol_Http +} + +func (m *Probe) GetPort() uint32 { + if m != nil { + return m.Port + } + return 0 +} + +func (m *Probe) GetRequestPath() string { + if m != nil { + return m.RequestPath + } + return "" +} + +func (m *Probe) GetTags() *common.Tags { + if m != nil { + return m.Tags + } + return nil +} + +type FrontEndIpConfiguration struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + PublicIPAddress *common.PublicIPAddressReference `protobuf:"bytes,2,opt,name=publicIPAddress,proto3" json:"publicIPAddress,omitempty"` + Tags *common.Tags `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FrontEndIpConfiguration) Reset() { *m = FrontEndIpConfiguration{} } +func (m *FrontEndIpConfiguration) String() string { return proto.CompactTextString(m) } +func (*FrontEndIpConfiguration) ProtoMessage() {} +func (*FrontEndIpConfiguration) Descriptor() ([]byte, []int) { + return fileDescriptor_7464476b31ac10f8, []int{8} +} + +func (m *FrontEndIpConfiguration) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FrontEndIpConfiguration.Unmarshal(m, b) +} +func (m *FrontEndIpConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FrontEndIpConfiguration.Marshal(b, m, deterministic) +} +func (m *FrontEndIpConfiguration) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrontEndIpConfiguration.Merge(m, src) +} +func (m *FrontEndIpConfiguration) XXX_Size() int { + return xxx_messageInfo_FrontEndIpConfiguration.Size(m) +} +func (m *FrontEndIpConfiguration) XXX_DiscardUnknown() { + xxx_messageInfo_FrontEndIpConfiguration.DiscardUnknown(m) +} + +var xxx_messageInfo_FrontEndIpConfiguration proto.InternalMessageInfo + +func (m *FrontEndIpConfiguration) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FrontEndIpConfiguration) GetPublicIPAddress() *common.PublicIPAddressReference { + if m != nil { + return m.PublicIPAddress + } + return nil +} + +func (m *FrontEndIpConfiguration) GetTags() *common.Tags { + if m != nil { + return m.Tags + } + return nil +} + +type BackendAddressPool struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Tags *common.Tags `protobuf:"bytes,2,opt,name=tags,proto3" json:"tags,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackendAddressPool) Reset() { *m = BackendAddressPool{} } +func (m *BackendAddressPool) String() string { return proto.CompactTextString(m) } +func (*BackendAddressPool) ProtoMessage() {} +func (*BackendAddressPool) Descriptor() ([]byte, []int) { + return fileDescriptor_7464476b31ac10f8, []int{9} +} + +func (m *BackendAddressPool) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackendAddressPool.Unmarshal(m, b) +} +func (m *BackendAddressPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackendAddressPool.Marshal(b, m, deterministic) +} +func (m *BackendAddressPool) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackendAddressPool.Merge(m, src) +} +func (m *BackendAddressPool) XXX_Size() int { + return xxx_messageInfo_BackendAddressPool.Size(m) +} +func (m *BackendAddressPool) XXX_DiscardUnknown() { + xxx_messageInfo_BackendAddressPool.DiscardUnknown(m) +} + +var xxx_messageInfo_BackendAddressPool proto.InternalMessageInfo + +func (m *BackendAddressPool) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *BackendAddressPool) GetTags() *common.Tags { + if m != nil { + return m.Tags + } + return nil +} + 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:"-"` + 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"` + OutboundNatRules []*LoadbalancerOutboundNatRule `protobuf:"bytes,14,rep,name=outboundNatRules,proto3" json:"outboundNatRules,omitempty"` + FrontendIpConfigurations []*FrontEndIpConfiguration `protobuf:"bytes,15,rep,name=frontendIpConfigurations,proto3" json:"frontendIpConfigurations,omitempty"` + Probes []*Probe `protobuf:"bytes,16,rep,name=probes,proto3" json:"probes,omitempty"` + BackendAddressPools []*BackendAddressPool `protobuf:"bytes,17,rep,name=backendAddressPools,proto3" json:"backendAddressPools,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *LoadBalancer) Reset() { *m = LoadBalancer{} } func (m *LoadBalancer) String() string { return proto.CompactTextString(m) } func (*LoadBalancer) ProtoMessage() {} func (*LoadBalancer) Descriptor() ([]byte, []int) { - return fileDescriptor_7464476b31ac10f8, []int{6} + return fileDescriptor_7464476b31ac10f8, []int{10} } func (m *LoadBalancer) XXX_Unmarshal(b []byte) error { @@ -469,64 +877,131 @@ func (m *LoadBalancer) GetInboundNatRules() []*LoadbalancerInboundNatRule { return nil } +func (m *LoadBalancer) GetOutboundNatRules() []*LoadbalancerOutboundNatRule { + if m != nil { + return m.OutboundNatRules + } + return nil +} + +func (m *LoadBalancer) GetFrontendIpConfigurations() []*FrontEndIpConfiguration { + if m != nil { + return m.FrontendIpConfigurations + } + return nil +} + +func (m *LoadBalancer) GetProbes() []*Probe { + if m != nil { + return m.Probes + } + return nil +} + +func (m *LoadBalancer) GetBackendAddressPools() []*BackendAddressPool { + if m != nil { + return m.BackendAddressPools + } + return nil +} + func init() { + proto.RegisterEnum("moc.cloudagent.network.LoadDistribution", LoadDistribution_name, LoadDistribution_value) + proto.RegisterEnum("moc.cloudagent.network.ProbeProtocol", ProbeProtocol_name, ProbeProtocol_value) proto.RegisterType((*LoadBalancerRequest)(nil), "moc.cloudagent.network.LoadBalancerRequest") proto.RegisterType((*LoadBalancerResponse)(nil), "moc.cloudagent.network.LoadBalancerResponse") proto.RegisterType((*LoadBalancerPrecheckRequest)(nil), "moc.cloudagent.network.LoadBalancerPrecheckRequest") proto.RegisterType((*LoadBalancerPrecheckResponse)(nil), "moc.cloudagent.network.LoadBalancerPrecheckResponse") proto.RegisterType((*LoadbalancerInboundNatRule)(nil), "moc.cloudagent.network.LoadbalancerInboundNatRule") + proto.RegisterType((*LoadbalancerOutboundNatRule)(nil), "moc.cloudagent.network.LoadbalancerOutboundNatRule") proto.RegisterType((*LoadBalancingRule)(nil), "moc.cloudagent.network.LoadBalancingRule") + proto.RegisterType((*Probe)(nil), "moc.cloudagent.network.Probe") + proto.RegisterType((*FrontEndIpConfiguration)(nil), "moc.cloudagent.network.FrontEndIpConfiguration") + proto.RegisterType((*BackendAddressPool)(nil), "moc.cloudagent.network.BackendAddressPool") proto.RegisterType((*LoadBalancer)(nil), "moc.cloudagent.network.LoadBalancer") } func init() { proto.RegisterFile("moc_cloudagent_loadbalancer.proto", fileDescriptor_7464476b31ac10f8) } var fileDescriptor_7464476b31ac10f8 = []byte{ - // 694 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4d, 0x6f, 0xd3, 0x4a, - 0x14, 0x7d, 0x4e, 0xd2, 0xbc, 0xe4, 0xa6, 0xe9, 0x7b, 0x6f, 0x5e, 0x05, 0x56, 0x28, 0x55, 0x08, - 0x5d, 0xa4, 0x80, 0x6c, 0x91, 0xf6, 0x0f, 0x10, 0xc4, 0xa2, 0xa8, 0x2a, 0xd1, 0x50, 0x21, 0x81, - 0x90, 0xaa, 0x89, 0x3d, 0x71, 0xad, 0xd8, 0x73, 0xdd, 0x99, 0x31, 0x15, 0x7b, 0x16, 0xfc, 0x03, - 0xd6, 0xec, 0x91, 0x58, 0xf1, 0xcb, 0xf8, 0x03, 0x28, 0x63, 0x27, 0xb1, 0xdb, 0xa8, 0x1f, 0x12, - 0xac, 0x12, 0x9f, 0x7b, 0xe6, 0xcc, 0x99, 0x33, 0x77, 0x2e, 0x3c, 0x88, 0xd1, 0x3b, 0xf1, 0x22, - 0x4c, 0x7d, 0x16, 0x70, 0xa1, 0x4f, 0x22, 0x64, 0xfe, 0x98, 0x45, 0x4c, 0x78, 0x5c, 0x3a, 0x89, - 0x44, 0x8d, 0xe4, 0x4e, 0x8c, 0x9e, 0xb3, 0xa4, 0x38, 0x82, 0xeb, 0x73, 0x94, 0xd3, 0xce, 0x76, - 0x80, 0x18, 0x44, 0xdc, 0x35, 0xac, 0x71, 0x3a, 0x71, 0xcf, 0x25, 0x4b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59, - 0x9d, 0xe5, 0x40, 0x07, 0x00, 0x00, + // 1221 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5b, 0x6e, 0xdb, 0x46, + 0x17, 0x0e, 0x75, 0xd7, 0x91, 0x65, 0xd3, 0x63, 0xff, 0x7f, 0x08, 0x25, 0x0e, 0x54, 0x35, 0x29, + 0x64, 0x37, 0x95, 0x50, 0x39, 0x5d, 0x80, 0xed, 0x5c, 0xaa, 0x22, 0x8d, 0x85, 0xb1, 0x60, 0xa0, + 0x45, 0x00, 0x83, 0x22, 0x47, 0x34, 0x61, 0x6a, 0x86, 0x99, 0x19, 0xda, 0xe8, 0x0a, 0xda, 0xbe, + 0x16, 0xe8, 0x02, 0xfa, 0xde, 0xd7, 0x6e, 0xa0, 0x6b, 0xe9, 0x0e, 0xba, 0x81, 0x82, 0x43, 0x52, + 0xa2, 0x24, 0x4a, 0xb6, 0xd1, 0xe6, 0x49, 0xd4, 0x99, 0x33, 0xdf, 0x9c, 0xcb, 0x77, 0x2e, 0xf0, + 0xc9, 0x84, 0x59, 0x17, 0x96, 0xc7, 0x02, 0xdb, 0x74, 0x08, 0x95, 0x17, 0x1e, 0x33, 0xed, 0x91, + 0xe9, 0x99, 0xd4, 0x22, 0xbc, 0xe3, 0x73, 0x26, 0x19, 0xfa, 0xff, 0x84, 0x59, 0x9d, 0x99, 0x4a, + 0x87, 0x12, 0x79, 0xc3, 0xf8, 0x55, 0xe3, 0x89, 0xc3, 0x98, 0xe3, 0x91, 0xae, 0xd2, 0x1a, 0x05, + 0xe3, 0xee, 0x0d, 0x37, 0x7d, 0x9f, 0x70, 0x11, 0xdd, 0x6b, 0x3c, 0x54, 0xd0, 0x6c, 0x32, 0x61, + 0x34, 0xfe, 0x89, 0x0f, 0x9e, 0xa4, 0x0e, 0x62, 0xb0, 0xf4, 0x79, 0xeb, 0x4f, 0x0d, 0x76, 0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, 0x54, 0x70, 0x17, 0xb3, + 0xad, 0xdd, 0x9e, 0xed, 0xdc, 0xfa, 0x6c, 0xe7, 0xd7, 0x7b, 0xd3, 0x55, 0xaa, 0x23, 0x12, 0xc6, + 0xb0, 0xa0, 0x2c, 0xdd, 0x49, 0x54, 0x95, 0x30, 0x0e, 0xdb, 0x54, 0xe9, 0xb6, 0x54, 0x17, 0x3f, + 0x7e, 0xaa, 0x4b, 0xff, 0x2e, 0xd5, 0x09, 0x7f, 0xcb, 0x29, 0xfe, 0xf6, 0x60, 0xd7, 0xb5, 0x3d, + 0x32, 0x74, 0x27, 0x84, 0x05, 0xb2, 0x4f, 0xbf, 0x75, 0x69, 0x20, 0x89, 0x30, 0x2a, 0x2a, 0xb6, + 0x99, 0x67, 0xe8, 0x00, 0xf4, 0x28, 0xe3, 0xaf, 0x3d, 0x66, 0x4a, 0x97, 0x3a, 0xfd, 0x81, 0x51, + 0x55, 0x4c, 0x58, 0x92, 0x67, 0x70, 0x06, 0x32, 0x39, 0x33, 0x04, 0x3d, 0x9c, 0x77, 0x2f, 0x5d, + 0x21, 0xb9, 0x3b, 0x0a, 0xc2, 0x58, 0x18, 0x35, 0x95, 0xc0, 0xf6, 0xba, 0xc6, 0x96, 0xd6, 0xc7, + 0x4b, 0x08, 0x53, 0x26, 0x6e, 0x64, 0x33, 0xf1, 0xe7, 0x1c, 0x14, 0x55, 0xba, 0x33, 0x4b, 0xfb, + 0x39, 0x6c, 0xbb, 0x54, 0x12, 0x7e, 0x6d, 0x7a, 0x7d, 0x7a, 0x46, 0x2c, 0x46, 0x6d, 0x11, 0x73, + 0x6e, 0xf9, 0x20, 0x74, 0x94, 0x06, 0x93, 0x11, 0xe1, 0xa7, 0x63, 0x05, 0x29, 0xe2, 0x66, 0xb4, + 0x20, 0x45, 0x47, 0x4b, 0xf5, 0xf6, 0x6c, 0x95, 0x83, 0xea, 0x46, 0x06, 0x73, 0x11, 0x14, 0xfc, + 0x90, 0xff, 0x45, 0xf5, 0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 0xc1, 0x17, 0x50, 0x9f, 0x6b, 0x95, 0xa8, 0x02, 0x85, 0xaf, 0xa5, 0xf4, 0xf5, + 0x07, 0xa8, 0x0a, 0xc5, 0xf0, 0x4b, 0xe8, 0x1a, 0x2a, 0x43, 0x7e, 0x68, 0xf9, 0x7a, 0xae, 0xf7, + 0xb7, 0x96, 0xde, 0x3f, 0x08, 0x3f, 0x0a, 0x2d, 0x47, 0x04, 0x4a, 0x7d, 0x7a, 0xcd, 0xae, 0x08, + 0xfa, 0xfc, 0x4e, 0x9b, 0x74, 0xd4, 0x59, 0x1b, 0xcf, 0xef, 0xa6, 0x1c, 0xed, 0xd3, 0xad, 0x07, + 0xe8, 0x06, 0x2a, 0xc9, 0x96, 0x8d, 0x0e, 0xef, 0x72, 0x77, 0x61, 0xfd, 0x6f, 0xbc, 0xb8, 0xdf, + 0xa5, 0xe4, 0xe1, 0xe3, 0x2f, 0xbf, 0xef, 0x3a, 0xae, 0xbc, 0x0c, 0x46, 0x1d, 0x8b, 0x4d, 0xba, + 0x13, 0xd7, 0xe2, 0x4c, 0xb0, 0xb1, 0xec, 0x4e, 0x98, 0xd5, 0xe5, 0xbe, 0xd5, 0x9d, 0x21, 0x76, + 0x63, 0xc4, 0x51, 0x49, 0x4d, 0x9c, 0xc3, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x1e, 0x2f, + 0x77, 0x99, 0x0e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go b/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go index 7a2294f2..a50dc346 100644 --- a/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go +++ b/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go @@ -281,22 +281,23 @@ func (m *InboundNatRule) GetName() string { } 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 common.NetworkType `protobuf:"varint,10,opt,name=networkType,proto3,enum=moc.NetworkType" json:"networkType,omitempty"` - NetworkSecurityGroupRef *common.NetworkSecurityGroupReference `protobuf:"bytes,12,opt,name=networkSecurityGroupRef,proto3" json:"networkSecurityGroupRef,omitempty"` - Subnet *common.SubnetReference `protobuf:"bytes,13,opt,name=subnet,proto3" json:"subnet,omitempty"` - PublicIPAddressRef *common.PublicIPAddressReference `protobuf:"bytes,14,opt,name=publicIPAddressRef,proto3" json:"publicIPAddressRef,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 common.NetworkType `protobuf:"varint,10,opt,name=networkType,proto3,enum=moc.NetworkType" json:"networkType,omitempty"` + NetworkSecurityGroupRef *common.NetworkSecurityGroupReference `protobuf:"bytes,12,opt,name=networkSecurityGroupRef,proto3" json:"networkSecurityGroupRef,omitempty"` + Subnet *common.SubnetReference `protobuf:"bytes,13,opt,name=subnet,proto3" json:"subnet,omitempty"` + PublicIPAddressRef *common.PublicIPAddressReference `protobuf:"bytes,14,opt,name=publicIPAddressRef,proto3" json:"publicIPAddressRef,omitempty"` + LoadBalancerAddressPoolsRef []*common.BackendAddressPoolReference `protobuf:"bytes,15,rep,name=loadBalancerAddressPoolsRef,proto3" json:"loadBalancerAddressPoolsRef,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *IpConfiguration) Reset() { *m = IpConfiguration{} } @@ -415,6 +416,13 @@ func (m *IpConfiguration) GetPublicIPAddressRef() *common.PublicIPAddressReferen return nil } +func (m *IpConfiguration) GetLoadBalancerAddressPoolsRef() []*common.BackendAddressPoolReference { + if m != nil { + return m.LoadBalancerAddressPoolsRef + } + return nil +} + 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"` @@ -574,66 +582,68 @@ func init() { } var fileDescriptor_641284ba8360303c = []byte{ - // 934 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0x23, 0x45, - 0x13, 0x5e, 0x27, 0xb6, 0x63, 0x97, 0x13, 0xaf, 0xdf, 0x56, 0x5e, 0x3c, 0xb2, 0xd8, 0x60, 0x0d, - 0x0b, 0xf8, 0x00, 0x63, 0x30, 0x48, 0xbb, 0x17, 0x0e, 0x09, 0x5f, 0x32, 0x22, 0xc1, 0x74, 0x56, - 0x8b, 0x84, 0x90, 0x56, 0xed, 0x99, 0xf6, 0xb8, 0x95, 0x99, 0xe9, 0xa1, 0xbb, 0x27, 0xc1, 0x27, - 0x8e, 0x70, 0xe1, 0x77, 0xc0, 0x1f, 0xe0, 0xc6, 0x8f, 0x43, 0x53, 0xd3, 0x8e, 0xc7, 0x5f, 0x52, - 0xf6, 0xb0, 0x27, 0xbb, 0xeb, 0x79, 0xea, 0xe9, 0xea, 0xfa, 0x98, 0x82, 0xf7, 0x62, 0xe9, 0xbf, - 0xf2, 0x23, 0x99, 0x05, 0x2c, 0xe4, 0x89, 0x79, 0x95, 0x70, 0x73, 0x27, 0xd5, 0x8d, 0x48, 0x0c, - 0x57, 0x33, 0xe6, 0x73, 0x2f, 0x55, 0xd2, 0x48, 0xf2, 0x56, 0x2c, 0x7d, 0x6f, 0x45, 0xf3, 0x2c, - 0xad, 0x77, 0x16, 0x4a, 0x19, 0x46, 0x7c, 0x88, 0xac, 0x69, 0x36, 0x1b, 0xde, 0x29, 0x96, 0xa6, - 0x5c, 0xe9, 0xc2, 0xaf, 0xd7, 0x45, 0x79, 0x19, 0xc7, 0x32, 0xb1, 0x3f, 0x16, 0x38, 0x2b, 0x01, - 0x56, 0xac, 0x8c, 0xbb, 0x7f, 0x55, 0xa0, 0x7b, 0x55, 0xd8, 0xc7, 0xcb, 0x58, 0x28, 0xff, 0x25, - 0xe3, 0xda, 0x90, 0x97, 0xf0, 0xbf, 0x4d, 0x48, 0x3b, 0x95, 0xfe, 0xe1, 0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d3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x41, - 0x3b, 0xb3, 0x90, 0x09, 0x00, 0x00, + // 966 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x5f, 0x6f, 0x23, 0xb5, + 0x17, 0xdd, 0xb4, 0x69, 0x9a, 0xdc, 0xb4, 0x69, 0x7e, 0x56, 0x7f, 0x74, 0x14, 0xd8, 0x12, 0x0d, + 0x0b, 0xe4, 0x01, 0x12, 0x08, 0x48, 0xbb, 0x2f, 0x3c, 0xb4, 0xfc, 0x53, 0x10, 0x2d, 0xc1, 0x5d, + 0x2d, 0x12, 0x42, 0x5a, 0x39, 0x1e, 0x67, 0x62, 0x75, 0xc6, 0x1e, 0x3c, 0x9e, 0x96, 0x3c, 0xf1, + 0x08, 0x0f, 0xf0, 0x39, 0xf8, 0x04, 0xbc, 0xf1, 0xe1, 0xd0, 0xdc, 0x71, 0x9a, 0xc9, 0x9f, 0xa2, + 0xee, 0xc3, 0x3e, 0x25, 0xbe, 0xe7, 0xdc, 0xe3, 0x6b, 0x9f, 0x7b, 0xc7, 0xf0, 0x6e, 0xac, 0xf9, + 0x4b, 0x1e, 0xe9, 0x2c, 0x60, 0xa1, 0x50, 0xf6, 0xa5, 0x12, 0xf6, 0x56, 0x9b, 0x6b, 0xa9, 0xac, + 0x30, 0x53, 0xc6, 0x45, 0x3f, 0x31, 0xda, 0x6a, 0xf2, 0x46, 0xac, 0x79, 0x7f, 0x49, 0xeb, 0x3b, + 0x5a, 0xe7, 0x34, 0xd4, 0x3a, 0x8c, 0xc4, 0x00, 0x59, 0x93, 0x6c, 0x3a, 0xb8, 0x35, 0x2c, 0x49, + 0x84, 0x49, 0x8b, 0xbc, 0xce, 0x09, 0xca, 0xeb, 0x38, 0xd6, 0xca, 0xfd, 0x38, 0xe0, 0xb4, 0x04, + 0x38, 0xb1, 0x32, 0x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7a, 0x78, 0x42, 0xf1, 0x2a, 0xf9, + 0x8f, 0xc8, 0xaf, 0x50, 0x5f, 0xbc, 0x55, 0xe4, 0xe9, 0x43, 0xf3, 0xd7, 0x1e, 0xd6, 0xce, 0xb3, + 0x57, 0x4f, 0x5c, 0x14, 0x70, 0xfe, 0xf1, 0x8f, 0x83, 0x50, 0xda, 0x59, 0x36, 0xe9, 0x73, 0x1d, + 0x0f, 0x62, 0xc9, 0x8d, 0x4e, 0xf5, 0xd4, 0x0e, 0x62, 0xcd, 0x07, 0x26, 0xe1, 0x83, 0xa5, 0xea, + 0xc0, 0xa9, 0x4e, 0x6a, 0xf8, 0x66, 0x7e, 0xf2, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa5, 0x41, + 0x63, 0xd1, 0xf4, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto b/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto index b53b4aa6..14e61514 100644 --- a/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto +++ b/rpc/cloudagent/network/networkinterface/moc_cloudagent_networkinterface.proto @@ -51,6 +51,7 @@ message IpConfiguration { NetworkSecurityGroupReference networkSecurityGroupRef = 12; SubnetReference subnet = 13; PublicIPAddressReference publicIPAddressRef = 14; + repeated BackendAddressPoolReference loadBalancerAddressPoolsRef = 15; } message NetworkInterface { diff --git a/rpc/common/moc_common_networkcommon.pb.go b/rpc/common/moc_common_networkcommon.pb.go index f02fe834..04a4dd06 100644 --- a/rpc/common/moc_common_networkcommon.pb.go +++ b/rpc/common/moc_common_networkcommon.pb.go @@ -689,6 +689,170 @@ func (m *AdvancedNetworkPolicy) GetEnabled() bool { return false } +type ProbeReference struct { + ResourceRef *ResourceReference `protobuf:"bytes,1,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProbeReference) Reset() { *m = ProbeReference{} } +func (m *ProbeReference) String() string { return proto.CompactTextString(m) } +func (*ProbeReference) ProtoMessage() {} +func (*ProbeReference) Descriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{10} +} + +func (m *ProbeReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProbeReference.Unmarshal(m, b) +} +func (m *ProbeReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProbeReference.Marshal(b, m, deterministic) +} +func (m *ProbeReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProbeReference.Merge(m, src) +} +func (m *ProbeReference) XXX_Size() int { + return xxx_messageInfo_ProbeReference.Size(m) +} +func (m *ProbeReference) XXX_DiscardUnknown() { + xxx_messageInfo_ProbeReference.DiscardUnknown(m) +} + +var xxx_messageInfo_ProbeReference proto.InternalMessageInfo + +func (m *ProbeReference) GetResourceRef() *ResourceReference { + if m != nil { + return m.ResourceRef + } + return nil +} + +type FrontendIPConfigurationReference struct { + ResourceRef *ResourceReference `protobuf:"bytes,1,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FrontendIPConfigurationReference) Reset() { *m = FrontendIPConfigurationReference{} } +func (m *FrontendIPConfigurationReference) String() string { return proto.CompactTextString(m) } +func (*FrontendIPConfigurationReference) ProtoMessage() {} +func (*FrontendIPConfigurationReference) Descriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{11} +} + +func (m *FrontendIPConfigurationReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FrontendIPConfigurationReference.Unmarshal(m, b) +} +func (m *FrontendIPConfigurationReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FrontendIPConfigurationReference.Marshal(b, m, deterministic) +} +func (m *FrontendIPConfigurationReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrontendIPConfigurationReference.Merge(m, src) +} +func (m *FrontendIPConfigurationReference) XXX_Size() int { + return xxx_messageInfo_FrontendIPConfigurationReference.Size(m) +} +func (m *FrontendIPConfigurationReference) XXX_DiscardUnknown() { + xxx_messageInfo_FrontendIPConfigurationReference.DiscardUnknown(m) +} + +var xxx_messageInfo_FrontendIPConfigurationReference proto.InternalMessageInfo + +func (m *FrontendIPConfigurationReference) GetResourceRef() *ResourceReference { + if m != nil { + return m.ResourceRef + } + return nil +} + +type LoadBalancerReference struct { + ResourceRef *ResourceReference `protobuf:"bytes,1,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LoadBalancerReference) Reset() { *m = LoadBalancerReference{} } +func (m *LoadBalancerReference) String() string { return proto.CompactTextString(m) } +func (*LoadBalancerReference) ProtoMessage() {} +func (*LoadBalancerReference) Descriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{12} +} + +func (m *LoadBalancerReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LoadBalancerReference.Unmarshal(m, b) +} +func (m *LoadBalancerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LoadBalancerReference.Marshal(b, m, deterministic) +} +func (m *LoadBalancerReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadBalancerReference.Merge(m, src) +} +func (m *LoadBalancerReference) XXX_Size() int { + return xxx_messageInfo_LoadBalancerReference.Size(m) +} +func (m *LoadBalancerReference) XXX_DiscardUnknown() { + xxx_messageInfo_LoadBalancerReference.DiscardUnknown(m) +} + +var xxx_messageInfo_LoadBalancerReference proto.InternalMessageInfo + +func (m *LoadBalancerReference) GetResourceRef() *ResourceReference { + if m != nil { + return m.ResourceRef + } + return nil +} + +type BackendAddressPoolReference struct { + ResourceRef *ResourceReference `protobuf:"bytes,1,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` + LoadBalancerRef *LoadBalancerReference `protobuf:"bytes,2,opt,name=loadBalancerRef,proto3" json:"loadBalancerRef,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackendAddressPoolReference) Reset() { *m = BackendAddressPoolReference{} } +func (m *BackendAddressPoolReference) String() string { return proto.CompactTextString(m) } +func (*BackendAddressPoolReference) ProtoMessage() {} +func (*BackendAddressPoolReference) Descriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{13} +} + +func (m *BackendAddressPoolReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackendAddressPoolReference.Unmarshal(m, b) +} +func (m *BackendAddressPoolReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackendAddressPoolReference.Marshal(b, m, deterministic) +} +func (m *BackendAddressPoolReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackendAddressPoolReference.Merge(m, src) +} +func (m *BackendAddressPoolReference) XXX_Size() int { + return xxx_messageInfo_BackendAddressPoolReference.Size(m) +} +func (m *BackendAddressPoolReference) XXX_DiscardUnknown() { + xxx_messageInfo_BackendAddressPoolReference.DiscardUnknown(m) +} + +var xxx_messageInfo_BackendAddressPoolReference proto.InternalMessageInfo + +func (m *BackendAddressPoolReference) GetResourceRef() *ResourceReference { + if m != nil { + return m.ResourceRef + } + return nil +} + +func (m *BackendAddressPoolReference) GetLoadBalancerRef() *LoadBalancerReference { + if m != nil { + return m.LoadBalancerRef + } + return nil +} + func init() { proto.RegisterEnum("moc.Protocol", Protocol_name, Protocol_value) proto.RegisterEnum("moc.IPAllocationMethod", IPAllocationMethod_name, IPAllocationMethod_value) @@ -706,56 +870,65 @@ func init() { proto.RegisterType((*SubnetReference)(nil), "moc.SubnetReference") proto.RegisterType((*PublicIPAddressReference)(nil), "moc.PublicIPAddressReference") proto.RegisterType((*AdvancedNetworkPolicy)(nil), "moc.AdvancedNetworkPolicy") + proto.RegisterType((*ProbeReference)(nil), "moc.ProbeReference") + proto.RegisterType((*FrontendIPConfigurationReference)(nil), "moc.FrontendIPConfigurationReference") + proto.RegisterType((*LoadBalancerReference)(nil), "moc.LoadBalancerReference") + proto.RegisterType((*BackendAddressPoolReference)(nil), "moc.BackendAddressPoolReference") } func init() { proto.RegisterFile("moc_common_networkcommon.proto", fileDescriptor_ba09ae1dfdbe03d2) } var fileDescriptor_ba09ae1dfdbe03d2 = []byte{ - // 731 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x51, 0x6b, 0xe3, 0x46, - 0x10, 0xb6, 0x2c, 0xc7, 0x8e, 0xc7, 0xa4, 0xd9, 0x6c, 0x9b, 0x54, 0x94, 0xa6, 0x4d, 0x15, 0x4a, - 0x53, 0x53, 0x6c, 0x48, 0x43, 0x28, 0x85, 0x16, 0xdc, 0x3a, 0x49, 0x45, 0x13, 0x47, 0xc8, 0x8e, - 0x4b, 0x0b, 0x25, 0xc8, 0xab, 0xb5, 0xb3, 0x9c, 0xb4, 0x2b, 0x56, 0x2b, 0x5f, 0x0c, 0xf7, 0x70, - 0x7f, 0xe8, 0xfe, 0xe3, 0xb1, 0x2b, 0xf9, 0xac, 0xbb, 0xdc, 0xc3, 0x3d, 0xe4, 0x6d, 0xbe, 0xd9, - 0x6f, 0xbe, 0x9d, 0xf9, 0x34, 0x5a, 0xf8, 0x26, 0x11, 0xe4, 0x9e, 0x88, 0x24, 0x11, 0xfc, 0x9e, - 0x53, 0xf5, 0x52, 0xc8, 0x17, 0x05, 0xea, 0xa5, 0x52, 0x28, 0x81, 0xed, 0x44, 0x90, 0xaf, 0xbe, - 0xac, 0x90, 0xaa, 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 0x45, 0xb5, 0x25, 0x9c, 0x3e, - 0xaa, 0xbf, 0x44, 0x5a, 0x36, 0xbc, 0x86, 0xf8, 0x27, 0xd8, 0x8b, 0x68, 0xa6, 0x18, 0x0f, 0xb5, - 0x45, 0xbe, 0xa4, 0x73, 0xf6, 0x58, 0x0e, 0xfe, 0xf4, 0x40, 0x5b, 0x9e, 0x50, 0x25, 0x19, 0x31, - 0xdd, 0xef, 0x04, 0x25, 0x72, 0x7f, 0x80, 0xbd, 0x80, 0x66, 0x22, 0x97, 0x84, 0x06, 0x74, 0x4e, - 0x25, 0xe5, 0x84, 0x7e, 0xcc, 0x22, 0xf7, 0x5f, 0x38, 0x1c, 0x15, 0x1b, 0x32, 0xa6, 0x24, 0x97, - 0x4c, 0xad, 0xae, 0xa4, 0xc8, 0xd3, 0x4d, 0xd1, 0x2f, 0xd0, 0x91, 0x1b, 0x25, 0x53, 0xdb, 0x39, - 0x3d, 0x30, 0x83, 0x3d, 0xb9, 0x21, 0xa8, 0x52, 0xdd, 0xd7, 0x16, 0xa0, 0x52, 0xfb, 0x19, 0xe4, - 0xf0, 0x29, 0x74, 0xca, 0x5d, 0x9e, 0x6c, 0xbe, 0x29, 0x32, 0x95, 0xa3, 0x4d, 0x3e, 0xa8, 0x92, - 0xdc, 0x57, 0xb0, 0x3b, 0xce, 0x67, 0x9c, 0xaa, 0x4d, 0x03, 0x7d, 0xed, 0xbc, 0x61, 0x94, 0x97, - 0xef, 0x57, 0x25, 0x36, 0x77, 0xaf, 0x59, 0x1f, 0x76, 0x5c, 0xff, 0x74, 0x03, 0x26, 0xe0, 0xf8, - 0xf9, 0x2c, 0x66, 0xc4, 0xf3, 0x07, 0x51, 0x24, 0x69, 0x96, 0x3d, 0x87, 0xad, 0xff, 0xc3, 0xfe, - 0x20, 0x5a, 0x86, 0x9c, 0xd0, 0xa8, 0x6c, 0xda, 0x17, 0x31, 0x23, 0x2b, 0xdc, 0x2d, 0xb7, 0xdd, - 0x32, 0xce, 0x1c,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, 0x84, 0xbd, 0x27, 0xde, 0x99, 0x31, - 0x46, 0xd3, 0xc1, 0xb5, 0x37, 0x2c, 0x3c, 0x19, 0x0f, 0x47, 0xc8, 0xfa, 0xe3, 0xfb, 0xff, 0x8e, - 0x17, 0x4c, 0x3d, 0xe4, 0xb3, 0x1e, 0x11, 0x49, 0x3f, 0x61, 0x44, 0x8a, 0x4c, 0xcc, 0x55, 0x3f, - 0x11, 0xa4, 0x2f, 0x53, 0xd2, 0x2f, 0x1e, 0xd7, 0x59, 0xd3, 0xbc, 0xae, 0x3f, 0xbf, 0x0d, 0x00, - 0x00, 0xff, 0xff, 0xfa, 0x21, 0xb0, 0x2c, 0x9d, 0x05, 0x00, 0x00, + // 812 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x51, 0x6f, 0xe3, 0x44, + 0x10, 0xae, 0xe3, 0x34, 0x6d, 0x26, 0xba, 0xeb, 0x76, 0xa1, 0xc5, 0x3a, 0x38, 0x28, 0x3e, 0x21, + 0x4a, 0x84, 0x1a, 0xa9, 0x9c, 0x4e, 0x08, 0x09, 0xa4, 0xf4, 0xd2, 0x1e, 0x86, 0x5c, 0xce, 0x38, + 0x69, 0x10, 0x08, 0x54, 0x6d, 0xd6, 0x9b, 0x74, 0x75, 0xf6, 0xae, 0xb5, 0x5e, 0x87, 0x8b, 0xc4, + 0x03, 0x7f, 0x84, 0x9f, 0xc0, 0x7f, 0x44, 0xbb, 0x76, 0x88, 0xef, 0xda, 0x07, 0x1e, 0xf2, 0x36, + 0x33, 0xfb, 0x7d, 0xdf, 0xce, 0x7c, 0x1e, 0xdb, 0xf0, 0x71, 0x2a, 0xe9, 0x0d, 0x95, 0x69, 0x2a, + 0xc5, 0x8d, 0x60, 0xfa, 0x0f, 0xa9, 0x5e, 0x97, 0xd9, 0x59, 0xa6, 0xa4, 0x96, 0xd8, 0x4d, 0x25, + 0x7d, 0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xcd, 0x16, 0xe1, 0x16, 0x34, 0xa6, 0x2f, 0x4b, 0xf8, + 0xb4, 0x2c, 0x23, 0xa7, 0x7b, 0x05, 0x9d, 0xda, 0x9b, 0x88, 0xdf, 0x83, 0x83, 0x69, 0x10, 0x4d, + 0xae, 0xfb, 0xc3, 0x9b, 0xd1, 0xe5, 0xe4, 0xe7, 0x57, 0xd1, 0x8f, 0x68, 0xc7, 0x14, 0x87, 0xaf, + 0x5e, 0x04, 0xcf, 0x6b, 0x45, 0x07, 0x3f, 0x80, 0xf6, 0xf5, 0x68, 0x70, 0x79, 0x15, 0x8c, 0x2e, + 0x07, 0xa8, 0xd1, 0xfd, 0x04, 0xda, 0x41, 0x38, 0x65, 0x2a, 0xe7, 0x52, 0xe0, 0x7d, 0x68, 0x06, + 0xe1, 0xf2, 0x29, 0xda, 0xa9, 0xa2, 0x67, 0xc8, 0xe9, 0x7e, 0x01, 0x87, 0x77, 0x16, 0xdb, 0x8e, + 0x31, 0x9a, 0xf6, 0x87, 0xc1, 0xa0, 0xf4, 0x64, 0x3c, 0x18, 0x21, 0xe7, 0xe2, 0xb3, 0x5f, 0x9f, + 0x2c, 0xb8, 0xbe, 0x2d, 0x66, 0x67, 0x54, 0xa6, 0xbd, 0x94, 0x53, 0x25, 0x73, 0x39, 0xd7, 0xbd, + 0x54, 0xd2, 0x9e, 0xca, 0x68, 0xaf, 0xfc, 0xf3, 0xcd, 0x5a, 0xf6, 0xd7, 0xf7, 0xd5, 0xbf, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x54, 0x0a, 0xfa, 0xbf, 0x3a, 0x07, 0x00, 0x00, } diff --git a/rpc/common/moc_common_networkcommon.proto b/rpc/common/moc_common_networkcommon.proto index f03147bd..593b7c80 100644 --- a/rpc/common/moc_common_networkcommon.proto +++ b/rpc/common/moc_common_networkcommon.proto @@ -96,3 +96,21 @@ message AdvancedNetworkPolicy { NetworkPolicyType type = 1; bool enabled = 2; } + + +message ProbeReference { + ResourceReference resourceRef = 1; +} + +message FrontendIPConfigurationReference { + ResourceReference resourceRef = 1; +} + +message LoadBalancerReference { + ResourceReference resourceRef = 1; +} + +message BackendAddressPoolReference { + ResourceReference resourceRef = 1; + LoadBalancerReference loadBalancerRef = 2; +} \ No newline at end of file