diff --git a/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto b/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto index e545360e..d8ff8dfe 100644 --- a/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto +++ b/rpc/cloudagent/network/loadbalancer/moc_cloudagent_loadbalancer.proto @@ -39,27 +39,28 @@ message LoadBalancingRule { uint32 backendPort = 2; Protocol protocol = 3; ProbeReference probeRef = 4; // Update based on chat with Nithin + string name = 5; } message Probe { - uint32 intervalInSeconds = 1; - uint32 numberOfProbes = 2; - Protocol protocol = 3; - uint32 port = 4; - repeated LoadBalancingRule loadbalancingrules = 5; //read-only + string name = 1; + uint32 intervalInSeconds = 2; + uint32 numberOfProbes = 3; + Protocol protocol = 4; + uint32 port = 5; + repeated LoadBalancingRule loadbalancingrules = 6; //read-only } message FrontEndIpConfiguration { - string privateIPAddress = 1; // required if using subnet - IPAllocationMethod allocationMethod = 2; // required - string subnetRef = 3; // required if using privateIPAddress. Pass just the name or fully qualified ref? - PublicIPAddressReference publicIPAddress = 4; // required if not using privateIP and a subnet. resourceRef to publicIPAddress + string name = 1; + string privateIPAddress = 2; // required if using subnet + IPAllocationMethod allocationMethod = 3; // required + SubnetReference subnetRef = 4; // required if using privateIPAddress. + PublicIPAddressReference publicIPAddress = 5; // required if not using privateIP and a subnet. resourceRef to publicIPAddress - repeated LoadbalancerInboundNatRule inboundNatRules = 5; //read-only - repeated LoadbalancerOutboundNatRule outboundNatRules = 6; //read-only - repeated LoadBalancingRule loadbalancingrules = 7; //read-only - - LoadBalancerVipConfigurationState configurationState = 8; // Do we need to surface this? how is it different from Probes? + repeated LoadbalancerInboundNatRule inboundNatRules = 6; //read-only + repeated LoadbalancerOutboundNatRule outboundNatRules = 7; //read-only + repeated LoadBalancingRule loadbalancingrules = 8; //read-only } message LoadBalancer { @@ -76,7 +77,7 @@ message LoadBalancer { Tags tags = 11; uint32 replicationCount = 12; repeated LoadbalancerInboundNatRule inboundNatRules = 13; - repeated LoadbalancerInboundNatRule outboundNatRules = 14; + repeated LoadbalancerOutboundNatRule outboundNatRules = 14; repeated FrontEndIpConfiguration frontendIpConfigurations = 15; repeated Probe probes = 16; // Need more discussion around probes string useSDN = 17; // To indicate SDN optionality diff --git a/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go b/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go index 5ec3c993..5a4e75a2 100644 --- a/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go +++ b/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go @@ -191,20 +191,85 @@ func (m *LoadbalancerInboundNatRule) GetProtocol() common.Protocol { return common.Protocol_All } -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"` +type LoadbalancerOutboundNatRule struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + FrontendPort uint32 `protobuf:"varint,2,opt,name=frontendPort,proto3" json:"frontendPort,omitempty"` + BackendPort uint32 `protobuf:"varint,3,opt,name=backendPort,proto3" json:"backendPort,omitempty"` + Protocol common.Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } +func (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{3} +} + +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) GetFrontendPort() uint32 { + if m != nil { + return m.FrontendPort + } + return 0 +} + +func (m *LoadbalancerOutboundNatRule) GetBackendPort() uint32 { + if m != nil { + return m.BackendPort + } + return 0 +} + +func (m *LoadbalancerOutboundNatRule) GetProtocol() common.Protocol { + if m != nil { + return m.Protocol + } + return common.Protocol_All +} + +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"` + ProbeRef *common.ProbeReference `protobuf:"bytes,4,opt,name=probeRef,proto3" json:"probeRef,omitempty"` + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,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{3} + return fileDescriptor_7464476b31ac10f8, []int{4} } func (m *LoadBalancingRule) XXX_Unmarshal(b []byte) error { @@ -246,30 +311,223 @@ 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) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +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 common.Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"` + Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` + Loadbalancingrules []*LoadBalancingRule `protobuf:"bytes,6,rep,name=loadbalancingrules,proto3" json:"loadbalancingrules,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{5} +} + +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() common.Protocol { + if m != nil { + return m.Protocol + } + return common.Protocol_All +} + +func (m *Probe) GetPort() uint32 { + if m != nil { + return m.Port + } + return 0 +} + +func (m *Probe) GetLoadbalancingrules() []*LoadBalancingRule { + if m != nil { + return m.Loadbalancingrules + } + return nil +} + +type FrontEndIpConfiguration struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + PrivateIPAddress string `protobuf:"bytes,2,opt,name=privateIPAddress,proto3" json:"privateIPAddress,omitempty"` + AllocationMethod common.IPAllocationMethod `protobuf:"varint,3,opt,name=allocationMethod,proto3,enum=moc.IPAllocationMethod" json:"allocationMethod,omitempty"` + SubnetRef *common.SubnetReference `protobuf:"bytes,4,opt,name=subnetRef,proto3" json:"subnetRef,omitempty"` + PublicIPAddress *common.PublicIPAddressReference `protobuf:"bytes,5,opt,name=publicIPAddress,proto3" json:"publicIPAddress,omitempty"` + InboundNatRules []*LoadbalancerInboundNatRule `protobuf:"bytes,6,rep,name=inboundNatRules,proto3" json:"inboundNatRules,omitempty"` + OutboundNatRules []*LoadbalancerOutboundNatRule `protobuf:"bytes,7,rep,name=outboundNatRules,proto3" json:"outboundNatRules,omitempty"` + Loadbalancingrules []*LoadBalancingRule `protobuf:"bytes,8,rep,name=loadbalancingrules,proto3" json:"loadbalancingrules,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{6} +} + +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) GetPrivateIPAddress() string { + if m != nil { + return m.PrivateIPAddress + } + return "" +} + +func (m *FrontEndIpConfiguration) GetAllocationMethod() common.IPAllocationMethod { + if m != nil { + return m.AllocationMethod + } + return common.IPAllocationMethod_Invalid +} + +func (m *FrontEndIpConfiguration) GetSubnetRef() *common.SubnetReference { + if m != nil { + return m.SubnetRef + } + return nil +} + +func (m *FrontEndIpConfiguration) GetPublicIPAddress() *common.PublicIPAddressReference { + if m != nil { + return m.PublicIPAddress + } + return nil +} + +func (m *FrontEndIpConfiguration) GetInboundNatRules() []*LoadbalancerInboundNatRule { + if m != nil { + return m.InboundNatRules + } + return nil +} + +func (m *FrontEndIpConfiguration) GetOutboundNatRules() []*LoadbalancerOutboundNatRule { + if m != nil { + return m.OutboundNatRules + } + return nil +} + +func (m *FrontEndIpConfiguration) GetLoadbalancingrules() []*LoadBalancingRule { + if m != nil { + return m.Loadbalancingrules + } + 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"` + UseSDN string `protobuf:"bytes,17,opt,name=useSDN,proto3" json:"useSDN,omitempty"` + ApiVersion string `protobuf:"bytes,18,opt,name=apiVersion,proto3" json:"apiVersion,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{4} + return fileDescriptor_7464476b31ac10f8, []int{7} } func (m *LoadBalancer) XXX_Unmarshal(b []byte) error { @@ -381,59 +639,116 @@ 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) GetUseSDN() string { + if m != nil { + return m.UseSDN + } + return "" +} + +func (m *LoadBalancer) GetApiVersion() string { + if m != nil { + return m.ApiVersion + } + return "" +} + func init() { proto.RegisterType((*LoadBalancerRequest)(nil), "moc.cloudagent.network.LoadBalancerRequest") proto.RegisterType((*LoadBalancerResponse)(nil), "moc.cloudagent.network.LoadBalancerResponse") 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((*LoadBalancer)(nil), "moc.cloudagent.network.LoadBalancer") } func init() { proto.RegisterFile("moc_cloudagent_loadbalancer.proto", fileDescriptor_7464476b31ac10f8) } var fileDescriptor_7464476b31ac10f8 = []byte{ - // 641 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xc1, 0x6e, 0xd3, 0x4a, - 0x14, 0x7d, 0x4e, 0xd2, 0xbc, 0x66, 0xd2, 0xf4, 0xbd, 0x37, 0xaf, 0x82, 0x51, 0x04, 0x55, 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xbc, 0xd1, 0xea, 0x17, 0x37, 0x5b, 0xff, 0xd1, 0xcd, 0xc8, 0xc5, 0x65, 0x33, - 0xfc, 0x6b, 0xf2, 0xf8, 0x5d, 0x10, 0x27, 0xee, 0x43, 0x3e, 0xf5, 0x43, 0x48, 0x83, 0x34, 0x09, - 0x0d, 0x58, 0x98, 0xb9, 0x20, 0x85, 0x30, 0x30, 0x59, 0x18, 0x2c, 0x95, 0x82, 0x52, 0x69, 0xda, - 0xc6, 0x51, 0x7f, 0xf2, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x37, 0x4b, 0xd5, 0x09, 0xf1, 0x05, 0x00, - 0x00, + // 953 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xed, 0x6e, 0xe3, 0x44, + 0x14, 0xc5, 0x6d, 0x92, 0x6d, 0x6e, 0x36, 0x69, 0x3b, 0x5b, 0x6d, 0xad, 0x40, 0xab, 0x10, 0x56, + 0xa8, 0x0b, 0xab, 0x58, 0x64, 0xe1, 0x01, 0xda, 0xb2, 0xa0, 0xa0, 0xa5, 0x8d, 0xa6, 0xab, 0x95, + 0x40, 0x48, 0x95, 0x3f, 0x26, 0x5e, 0xab, 0xce, 0x8c, 0x77, 0x66, 0xdc, 0x15, 0x3c, 0x01, 0x12, + 0x0f, 0xc0, 0x6f, 0xf8, 0xcd, 0xdf, 0x7d, 0x08, 0xde, 0x85, 0x87, 0x40, 0xbe, 0x9e, 0xc4, 0x76, + 0x3e, 0xba, 0x45, 0xea, 0x4a, 0xfc, 0x8a, 0x7d, 0xee, 0x99, 0xe3, 0x93, 0x33, 0x77, 0xae, 0x0d, + 0x1f, 0x4f, 0x85, 0x7f, 0xe9, 0xc7, 0x22, 0x0d, 0xdc, 0x90, 0x71, 0x7d, 0x19, 0x0b, 0x37, 0xf0, + 0xdc, 0xd8, 0xe5, 0x3e, 0x93, 0x83, 0x44, 0x0a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8a, 0x5d, + 0x7c, 0x7d, 0x66, 0xef, 0xe2, 0x86, 0x9b, 0x3b, 0x72, 0x08, 0xe0, 0x26, 0xd1, 0x4b, 0x26, 0x55, + 0x24, 0xb8, 0x4d, 0xb0, 0x56, 0x42, 0x86, 0xbf, 0x94, 0xdf, 0xbf, 0x4c, 0x1e, 0x67, 0x8f, 0x20, + 0x0c, 0x1a, 0x23, 0x7e, 0x2d, 0xae, 0x18, 0xf9, 0xfc, 0x56, 0xdf, 0x59, 0xf9, 0x67, 0x64, 0xf7, + 0xc9, 0xed, 0xc8, 0xf9, 0x97, 0x5d, 0xff, 0x83, 0x93, 0x2f, 0x7e, 0x74, 0xc2, 0x48, 0xbf, 0x4a, + 0xbd, 0x81, 0x2f, 0xa6, 0xce, 0x34, 0xf2, 0xa5, 0x50, 0x62, 0xa2, 0x9d, 0xa9, 0xf0, 0x1d, 0x99, + 0xf8, 0x4e, 0xa1, 0xe4, 0x18, 0x25, 0xaf, 0x81, 0xaf, 0xb3, 0xa7, 0xff, 0x06, 0x00, 0x00, 0xff, + 0xff, 0xa4, 0x24, 0x22, 0x2d, 0x5e, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/rpc/common/moc_common_networkcommon.pb.go b/rpc/common/moc_common_networkcommon.pb.go index f055eda8..11fd803a 100644 --- a/rpc/common/moc_common_networkcommon.pb.go +++ b/rpc/common/moc_common_networkcommon.pb.go @@ -107,6 +107,31 @@ func (IPPoolType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_ba09ae1dfdbe03d2, []int{2} } +type IPVersion int32 + +const ( + IPVersion_IPv4 IPVersion = 0 + IPVersion_IPv6 IPVersion = 1 +) + +var IPVersion_name = map[int32]string{ + 0: "IPv4", + 1: "IPv6", +} + +var IPVersion_value = map[string]int32{ + "IPv4": 0, + "IPv6": 1, +} + +func (x IPVersion) String() string { + return proto.EnumName(IPVersion_name, int32(x)) +} + +func (IPVersion) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{3} +} + type Dns struct { Servers []string `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` @@ -430,53 +455,178 @@ func (m *NetworkSecurityGroupReference) GetResourceRef() *ResourceReference { return nil } +type PublicIPAddressReference 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 *PublicIPAddressReference) Reset() { *m = PublicIPAddressReference{} } +func (m *PublicIPAddressReference) String() string { return proto.CompactTextString(m) } +func (*PublicIPAddressReference) ProtoMessage() {} +func (*PublicIPAddressReference) Descriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{6} +} + +func (m *PublicIPAddressReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PublicIPAddressReference.Unmarshal(m, b) +} +func (m *PublicIPAddressReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PublicIPAddressReference.Marshal(b, m, deterministic) +} +func (m *PublicIPAddressReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_PublicIPAddressReference.Merge(m, src) +} +func (m *PublicIPAddressReference) XXX_Size() int { + return xxx_messageInfo_PublicIPAddressReference.Size(m) +} +func (m *PublicIPAddressReference) XXX_DiscardUnknown() { + xxx_messageInfo_PublicIPAddressReference.DiscardUnknown(m) +} + +var xxx_messageInfo_PublicIPAddressReference proto.InternalMessageInfo + +func (m *PublicIPAddressReference) GetResourceRef() *ResourceReference { + if m != nil { + return m.ResourceRef + } + return nil +} + +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{7} +} + +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 SubnetReference 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 *SubnetReference) Reset() { *m = SubnetReference{} } +func (m *SubnetReference) String() string { return proto.CompactTextString(m) } +func (*SubnetReference) ProtoMessage() {} +func (*SubnetReference) Descriptor() ([]byte, []int) { + return fileDescriptor_ba09ae1dfdbe03d2, []int{8} +} + +func (m *SubnetReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SubnetReference.Unmarshal(m, b) +} +func (m *SubnetReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SubnetReference.Marshal(b, m, deterministic) +} +func (m *SubnetReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubnetReference.Merge(m, src) +} +func (m *SubnetReference) XXX_Size() int { + return xxx_messageInfo_SubnetReference.Size(m) +} +func (m *SubnetReference) XXX_DiscardUnknown() { + xxx_messageInfo_SubnetReference.DiscardUnknown(m) +} + +var xxx_messageInfo_SubnetReference proto.InternalMessageInfo + +func (m *SubnetReference) GetResourceRef() *ResourceReference { + if m != nil { + return m.ResourceRef + } + return nil +} + func init() { proto.RegisterEnum("moc.Protocol", Protocol_name, Protocol_value) proto.RegisterEnum("moc.IPAllocationMethod", IPAllocationMethod_name, IPAllocationMethod_value) proto.RegisterEnum("moc.IPPoolType", IPPoolType_name, IPPoolType_value) + proto.RegisterEnum("moc.IPVersion", IPVersion_name, IPVersion_value) proto.RegisterType((*Dns)(nil), "moc.Dns") proto.RegisterType((*IPPoolInfo)(nil), "moc.IPPoolInfo") proto.RegisterType((*IPPool)(nil), "moc.IPPool") proto.RegisterType((*Route)(nil), "moc.Route") proto.RegisterType((*ResourceReference)(nil), "moc.ResourceReference") proto.RegisterType((*NetworkSecurityGroupReference)(nil), "moc.NetworkSecurityGroupReference") + proto.RegisterType((*PublicIPAddressReference)(nil), "moc.PublicIPAddressReference") + proto.RegisterType((*ProbeReference)(nil), "moc.ProbeReference") + proto.RegisterType((*SubnetReference)(nil), "moc.SubnetReference") } func init() { proto.RegisterFile("moc_common_networkcommon.proto", fileDescriptor_ba09ae1dfdbe03d2) } var fileDescriptor_ba09ae1dfdbe03d2 = []byte{ - // 517 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xf1, 0x6b, 0xd3, 0x40, - 0x14, 0x5e, 0x9a, 0x2c, 0xb3, 0xaf, 0xa8, 0xd9, 0x21, 0x33, 0x88, 0x93, 0x99, 0x21, 0x96, 0x22, - 0x2d, 0x4c, 0x11, 0x11, 0x14, 0x26, 0x03, 0xed, 0x0f, 0x93, 0x92, 0xd5, 0x81, 0xfe, 0x32, 0xae, - 0x97, 0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0xc1, 0x7b, - 0x20, 0xe3, 0xc9, 0x79, 0x59, 0x22, 0xf3, 0x17, 0xbe, 0xe4, 0x76, 0x89, 0x05, 0xe9, 0xc1, 0xc1, - 0x58, 0xad, 0x68, 0x29, 0x8a, 0x64, 0xcf, 0x91, 0x8b, 0xb5, 0xa2, 0x52, 0xb0, 0x24, 0x70, 0xde, - 0x2b, 0x4b, 0xad, 0x60, 0x49, 0x67, 0xf0, 0x7c, 0xb3, 0x57, 0xee, 0x3f, 0x93, 0x18, 0x3a, 0xd7, - 0x97, 0x8d, 0xfc, 0xba, 0x29, 0x27, 0xc1, 0xa7, 0x17, 0x3f, 0x4e, 0x17, 0xc2, 0x2e, 0xeb, 0xd9, - 0x90, 0xa1, 0x1c, 0x49, 0xc1, 0x34, 0x1a, 0x9c, 0xdb, 0x91, 0x44, 0x36, 0xd2, 0x15, 0x1b, 0x35, - 0x4f, 0x62, 0x16, 0xfb, 0x37, 0xf1, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x10, 0x51, - 0xe6, 0x53, 0x03, 0x00, 0x00, + // 577 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xf1, 0x6b, 0xd4, 0x30, + 0x14, 0x5e, 0xaf, 0xdd, 0x6d, 0xf7, 0x0e, 0xb7, 0x2e, 0xc8, 0x2c, 0xe2, 0x74, 0x76, 0x88, 0xe3, + 0x90, 0x3b, 0x98, 0x63, 0x88, 0xa0, 0x30, 0x19, 0x68, 0x95, 0x49, 0xe9, 0xce, 0x81, 0xfe, 0x32, + 0x7a, 0x69, 0xee, 0x16, 0x6c, 0xf2, 0x4a, 0x92, 0x9e, 0xbb, 0x3f, 0xca, 0xff, 0x51, 0x92, 0xf6, + 0xdc, 0x64, 0xfe, 0x78, 0xbf, 0x7d, 0xdf, 0x7b, 0xdf, 0xf7, 0x35, 0x79, 0x4d, 0x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0x74, 0x13, 0x2a, 0xaa, 0xf9, 0x71, 0xe8, 0xff, + 0xc5, 0x27, 0x61, 0x30, 0x78, 0x0b, 0x24, 0x49, 0x4f, 0xcb, 0x12, 0xa9, 0xfb, 0xbf, 0xe7, 0xcc, + 0x5c, 0x63, 0x41, 0xfa, 0xb0, 0x91, 0xc8, 0x79, 0x5e, 0xf2, 0x22, 0x5c, 0xb3, 0xe4, 0x6c, 0x21, + 0x73, 0xc1, 0x69, 0xe8, 0x59, 0xef, 0x85, 0xc9, 0x0d, 0xa7, 0x61, 0x67, 0xf0, 0x7c, 0x79, 0x8d, + 0xec, 0xb1, 0x26, 0x5d, 0xe8, 0x5c, 0x9e, 0x37, 0xf2, 0xcb, 0xa6, 0x1c, 0x7a, 0x83, 0x67, 0xd0, + 0x4b, 0xd2, 0x4b, 0xa6, 0x34, 0x47, 0x49, 0x36, 0x21, 0x48, 0xd2, 0xf9, 0x71, 0xb8, 0xd6, 0xa2, + 0x93, 0xd0, 0xfb, 0xf0, 0xe2, 0xc7, 0xc1, 0x8c, 0x9b, 0xeb, 0x7a, 0x32, 0xa4, 0x28, 0x46, 0x82, + 0x53, 0x85, 0x1a, 0xa7, 0x66, 0x24, 0x90, 0x8e, 0x54, 0x45, 0x47, 0xcd, 0x13, 0x31, 0xe9, 0xba, + 0x37, 0xe2, 0xf5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x16, 0x82, 0x7e, 0x02, 0x63, 0x04, 0x00, + 0x00, } diff --git a/rpc/common/moc_common_networkcommon.proto b/rpc/common/moc_common_networkcommon.proto index d4d68b6e..dc3fb361 100644 --- a/rpc/common/moc_common_networkcommon.proto +++ b/rpc/common/moc_common_networkcommon.proto @@ -73,4 +73,8 @@ message PublicIPAddressReference { message ProbeReference { ResourceReference resourceRef = 1; +} + +message SubnetReference { + ResourceReference resourceRef = 1; } \ No newline at end of file