From 67c6110118eb625ebe605dbb9744635acdc74125 Mon Sep 17 00:00:00 2001 From: Michael Germano Date: Tue, 19 Nov 2019 02:19:49 -0800 Subject: [PATCH] Upgrade magma's GRPC-go version to 1.25.0 (#901) Summary: Pull Request resolved: https://github.com/facebookincubator/magma/pull/901 In production we are seeing: all SubConns are in TransientFailure, latest connection error: as referenced by: https://github.com/grpc/grpc-go/issues/2636. The primary issue is fixed in later grpc-go versions and as such we update our go.mod for Magma to 1.25.0 Reviewed By: xjtian Differential Revision: D18544967 fbshipit-source-id: 58208650d4b29feadae2cdd708b505b66359d068 --- cwf/cloud/go/go.mod | 4 +- cwf/cloud/go/go.sum | 18 + cwf/cloud/go/protos/ue_sim.pb.go | 121 +- cwf/gateway/go.mod | 3 +- cwf/gateway/go.sum | 9 + devmand/cloud/go/go.mod | 2 +- devmand/cloud/go/go.sum | 18 + .../devmand/protos/devmand_service.pb.go | 65 +- feg/cloud/go/go.mod | 4 +- feg/cloud/go/go.sum | 18 + .../controller/protos/feg_config.pb.go | 111 +- feg/gateway/go.mod | 6 +- feg/gateway/go.sum | 17 + .../services/aaa/protos/accounting.pb.go | 168 +-- .../services/aaa/protos/authorization.pb.go | 105 +- feg/gateway/services/aaa/protos/context.pb.go | 30 +- feg/gateway/services/aaa/protos/eap.pb.go | 148 ++- .../services/eap/protos/eap_auth.pb.go | 53 +- .../eap/providers/protos/eap_provider.pb.go | 22 +- lte/cloud/go/go.mod | 6 +- lte/cloud/go/go.sum | 18 + lte/cloud/go/protos/abort_session.pb.go | 95 +- lte/cloud/go/protos/enodebd.pb.go | 293 ++--- lte/cloud/go/protos/eps_authentication.pb.go | 371 +++--- lte/cloud/go/protos/keyval.pb.go | 43 +- lte/cloud/go/protos/mconfig/mconfigs.pb.go | 172 +-- lte/cloud/go/protos/meteringd.pb.go | 224 ++-- lte/cloud/go/protos/mobilityd.pb.go | 235 ++-- lte/cloud/go/protos/pipelined.pb.go | 291 +++-- lte/cloud/go/protos/policydb.pb.go | 135 +- lte/cloud/go/protos/s1ap_state.pb.go | 46 +- lte/cloud/go/protos/s6a_service.pb.go | 75 +- lte/cloud/go/protos/sctpd.pb.go | 206 +-- lte/cloud/go/protos/session_manager.pb.go | 1108 +++++++++-------- lte/cloud/go/protos/spgw_service.pb.go | 112 +- lte/cloud/go/protos/subscriberdb.pb.go | 415 +++--- .../cellular/protos/cellular_service.pb.go | 111 +- orc8r/cloud/go/go.mod | 11 +- orc8r/cloud/go/go.sum | 20 + orc8r/cloud/go/protos/bootstrapper.pb.go | 242 ++-- orc8r/cloud/go/protos/certifier.pb.go | 58 +- orc8r/cloud/go/protos/common.pb.go | 43 +- orc8r/cloud/go/protos/directoryd.pb.go | 183 +-- orc8r/cloud/go/protos/identity.pb.go | 159 +-- orc8r/cloud/go/protos/logging_service.pb.go | 109 +- orc8r/cloud/go/protos/magmad.pb.go | 272 ++-- orc8r/cloud/go/protos/mconfig.pb.go | 46 +- orc8r/cloud/go/protos/mconfig/mconfigs.pb.go | 101 +- orc8r/cloud/go/protos/metricsd.pb.go | 300 ++--- orc8r/cloud/go/protos/redis.pb.go | 23 +- orc8r/cloud/go/protos/service303.pb.go | 257 ++-- orc8r/cloud/go/protos/service_status.pb.go | 35 +- orc8r/cloud/go/protos/state.pb.go | 174 +-- orc8r/cloud/go/protos/streamer.pb.go | 100 +- orc8r/cloud/go/protos/sync_rpc_service.pb.go | 130 +- .../go/services/accessd/protos/access.pb.go | 175 ++- .../services/certifier/protos/certifier.pb.go | 170 ++- .../configurator/protos/northbound.pb.go | 343 +++-- .../configurator/protos/southbound.pb.go | 86 +- .../configurator/storage/storage.pb.go | 246 ++-- .../go/services/device/protos/device.pb.go | 138 +- .../go/services/dnsd/protos/dns_service.pb.go | 28 +- .../mconfig/test_protos/test_protos.pb.go | 28 +- .../migration/magmad_configs.pb.go | 23 +- .../migration/network_config.pb.go | 30 +- orc8r/gateway/go/go.mod | 4 +- orc8r/gateway/go/go.sum | 13 + 67 files changed, 4594 insertions(+), 3831 deletions(-) diff --git a/cwf/cloud/go/go.mod b/cwf/cloud/go/go.mod index 4217060b15b2..a5e1b1aad073 100644 --- a/cwf/cloud/go/go.mod +++ b/cwf/cloud/go/go.mod @@ -19,7 +19,7 @@ require ( github.com/go-openapi/swag v0.18.0 github.com/go-openapi/validate v0.18.0 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.2.0 + github.com/golang/protobuf v1.3.2 github.com/labstack/echo v0.0.0-20181123063414-c54d9e8eed6c github.com/pkg/errors v0.8.1 github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829 @@ -27,7 +27,7 @@ require ( github.com/robfig/cron/v3 v3.0.0 github.com/stretchr/testify v1.3.0 golang.org/x/net v0.0.0-20190311183353-d8887717615a - google.golang.org/grpc v1.19.0 + google.golang.org/grpc v1.25.0 magma/feg/cloud/go v0.0.0 magma/feg/cloud/go/protos v0.0.0 diff --git a/cwf/cloud/go/go.sum b/cwf/cloud/go/go.sum index c1be548842fd..2cbcff38d43a 100644 --- a/cwf/cloud/go/go.sum +++ b/cwf/cloud/go/go.sum @@ -52,6 +52,7 @@ github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nS github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409 h1:Da6uN+CAo1Wf09Rz1U4i9QN8f0REjyNJ73BEwAq/paU= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= @@ -104,6 +105,8 @@ github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyC github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= @@ -238,6 +241,8 @@ github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -456,6 +461,8 @@ github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f h1:BVwpUVJDADN2ufcGik7W992pyps0wZ888b/y9GXcLTU= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -532,6 +539,7 @@ golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -556,6 +564,8 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FY golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -579,7 +589,9 @@ golang.org/x/tools v0.0.0-20181112210238-4b1f3b6b1646/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/api v0.0.0-20180506000402-20530fd5d65a/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -592,11 +604,16 @@ google.golang.org/genproto v0.0.0-20170531203552-aa2eb687b4d3/go.mod h1:JiN7NxoA google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqnGaSjo+CCdIieEnwVazbOXILwQemk= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0 h1:ItERT+UbGdX+s4u+nQNlVM/Q7cbmf7icKfvzbWqVtq0= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= @@ -615,6 +632,7 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= diff --git a/cwf/cloud/go/protos/ue_sim.pb.go b/cwf/cloud/go/protos/ue_sim.pb.go index 7800c384226c..13ca8b6fd3ed 100644 --- a/cwf/cloud/go/protos/ue_sim.pb.go +++ b/cwf/cloud/go/protos/ue_sim.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: cwf/protos/ue_sim.proto -package protos // import "magma/cwf/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import protos "magma/orc8r/cloud/go/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // -------------------------------------------------------------------------- // UE config @@ -46,16 +47,17 @@ func (m *UEConfig) Reset() { *m = UEConfig{} } func (m *UEConfig) String() string { return proto.CompactTextString(m) } func (*UEConfig) ProtoMessage() {} func (*UEConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ue_sim_c6961ae2a68523c8, []int{0} + return fileDescriptor_01bc05ea16f96cbc, []int{0} } + func (m *UEConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UEConfig.Unmarshal(m, b) } func (m *UEConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UEConfig.Marshal(b, m, deterministic) } -func (dst *UEConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_UEConfig.Merge(dst, src) +func (m *UEConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_UEConfig.Merge(m, src) } func (m *UEConfig) XXX_Size() int { return xxx_messageInfo_UEConfig.Size(m) @@ -105,16 +107,17 @@ func (m *AuthenticateRequest) Reset() { *m = AuthenticateRequest{} } func (m *AuthenticateRequest) String() string { return proto.CompactTextString(m) } func (*AuthenticateRequest) ProtoMessage() {} func (*AuthenticateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ue_sim_c6961ae2a68523c8, []int{1} + return fileDescriptor_01bc05ea16f96cbc, []int{1} } + func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthenticateRequest.Unmarshal(m, b) } func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AuthenticateRequest.Marshal(b, m, deterministic) } -func (dst *AuthenticateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticateRequest.Merge(dst, src) +func (m *AuthenticateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthenticateRequest.Merge(m, src) } func (m *AuthenticateRequest) XXX_Size() int { return xxx_messageInfo_AuthenticateRequest.Size(m) @@ -143,16 +146,17 @@ func (m *AuthenticateResponse) Reset() { *m = AuthenticateResponse{} } func (m *AuthenticateResponse) String() string { return proto.CompactTextString(m) } func (*AuthenticateResponse) ProtoMessage() {} func (*AuthenticateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ue_sim_c6961ae2a68523c8, []int{2} + return fileDescriptor_01bc05ea16f96cbc, []int{2} } + func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthenticateResponse.Unmarshal(m, b) } func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AuthenticateResponse.Marshal(b, m, deterministic) } -func (dst *AuthenticateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticateResponse.Merge(dst, src) +func (m *AuthenticateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthenticateResponse.Merge(m, src) } func (m *AuthenticateResponse) XXX_Size() int { return xxx_messageInfo_AuthenticateResponse.Size(m) @@ -182,16 +186,17 @@ func (m *GenTrafficRequest) Reset() { *m = GenTrafficRequest{} } func (m *GenTrafficRequest) String() string { return proto.CompactTextString(m) } func (*GenTrafficRequest) ProtoMessage() {} func (*GenTrafficRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ue_sim_c6961ae2a68523c8, []int{3} + return fileDescriptor_01bc05ea16f96cbc, []int{3} } + func (m *GenTrafficRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GenTrafficRequest.Unmarshal(m, b) } func (m *GenTrafficRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GenTrafficRequest.Marshal(b, m, deterministic) } -func (dst *GenTrafficRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenTrafficRequest.Merge(dst, src) +func (m *GenTrafficRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenTrafficRequest.Merge(m, src) } func (m *GenTrafficRequest) XXX_Size() int { return xxx_messageInfo_GenTrafficRequest.Size(m) @@ -223,6 +228,36 @@ func init() { proto.RegisterType((*GenTrafficRequest)(nil), "magma.cwf.GenTrafficRequest") } +func init() { proto.RegisterFile("cwf/protos/ue_sim.proto", fileDescriptor_01bc05ea16f96cbc) } + +var fileDescriptor_01bc05ea16f96cbc = []byte{ + // 377 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x6f, 0xda, 0x40, + 0x10, 0xc5, 0xe5, 0xa3, 0xb0, 0xf5, 0xa1, 0x2c, 0x95, 0x6a, 0x5c, 0x44, 0x91, 0x4f, 0xf4, 0xb2, + 0x56, 0x69, 0x0f, 0x55, 0x2f, 0x15, 0xad, 0x50, 0x0f, 0x39, 0x24, 0x31, 0x81, 0x43, 0xa4, 0x08, + 0x2d, 0xeb, 0xb5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1d, 0x9c, 0xd5, 0xbc, 0x07, 0xd0, 0xfc, 0x4f, + 0xd3, 0x3b, 0x89, 0xa3, 0x88, 0x91, 0x37, 0x86, 0xc0, 0x9f, 0xa0, 0xf6, 0x28, 0x12, 0xc3, 0x69, + 0xae, 0xea, 0xc3, 0xa0, 0x83, 0x0a, 0xa3, 0xd0, 0xde, 0x28, 0x34, 0xd6, 0x92, 0xa5, 0xf1, 0x14, + 0x27, 0x86, 0x06, 0x3b, 0xee, 0xe0, 0xc9, 0x02, 0xd5, 0xc9, 0x68, 0xcc, 0x38, 0xfc, 0x0e, 0xaa, + 0xc3, 0x30, 0x9c, 0x8c, 0x60, 0x0b, 0x1d, 0xf6, 0x80, 0xf6, 0x4e, 0xba, 0xcd, 0x5d, 0x31, 0xdf, + 0x0b, 0x9a, 0x0a, 0x16, 0x7a, 0x25, 0x78, 0x0b, 0xec, 0x53, 0x5d, 0xb0, 0x7b, 0xd2, 0x79, 0xc1, + 0x1b, 0xf7, 0xeb, 0xab, 0x78, 0x61, 0x88, 0x57, 0x82, 0x7f, 0x00, 0x38, 0xca, 0x85, 0x9d, 0x93, + 0x86, 0x17, 0x2e, 0x5c, 0xfc, 0xd3, 0xdf, 0x2f, 0xf7, 0xed, 0xbc, 0xea, 0x6f, 0xaf, 0x8c, 0x24, + 0xc2, 0x84, 0x7e, 0x2c, 0x76, 0x87, 0x34, 0xaf, 0xe5, 0xef, 0x8f, 0xe7, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xad, 0x09, 0xaf, 0x8b, 0x83, 0x02, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -292,6 +327,20 @@ type UESimServer interface { GenTraffic(context.Context, *GenTrafficRequest) (*protos.Void, error) } +// UnimplementedUESimServer can be embedded to have forward compatible implementations. +type UnimplementedUESimServer struct { +} + +func (*UnimplementedUESimServer) AddUE(ctx context.Context, req *UEConfig) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddUE not implemented") +} +func (*UnimplementedUESimServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Authenticate not implemented") +} +func (*UnimplementedUESimServer) GenTraffic(ctx context.Context, req *GenTrafficRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenTraffic not implemented") +} + func RegisterUESimServer(s *grpc.Server, srv UESimServer) { s.RegisterService(&_UESim_serviceDesc, srv) } @@ -370,33 +419,3 @@ var _UESim_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "cwf/protos/ue_sim.proto", } - -func init() { proto.RegisterFile("cwf/protos/ue_sim.proto", fileDescriptor_ue_sim_c6961ae2a68523c8) } - -var fileDescriptor_ue_sim_c6961ae2a68523c8 = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x6f, 0xda, 0x40, - 0x10, 0xc5, 0xe5, 0xa3, 0xb0, 0xf5, 0xa1, 0x2c, 0x95, 0x6a, 0x5c, 0x44, 0x91, 0x4f, 0xf4, 0xb2, - 0x56, 0x69, 0x0f, 0x55, 0x2f, 0x15, 0xad, 0x50, 0x0f, 0x39, 0x24, 0x31, 0x81, 0x43, 0xa4, 0x08, - 0x2d, 0xeb, 0xb5, 0x59, 0xe1, 0xf5, 0x9a, 0xfd, 0x08, 0xe2, 0x4f, 0xe6, 0x37, 0x45, 0xd8, 0x7c, - 0x2a, 0x24, 0xa7, 0x9d, 0x99, 0xf7, 0x46, 0xb3, 0xef, 0xcd, 0x80, 0xcf, 0x64, 0x1d, 0xf9, 0x99, - 0x14, 0x5a, 0x28, 0xdf, 0xd0, 0x99, 0x62, 0x1c, 0xe5, 0x19, 0x6c, 0x70, 0x1c, 0x73, 0x8c, 0xc8, - 0x3a, 0x72, 0xdb, 0x42, 0x92, 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0xcc, 0x38, 0xfc, 0x0e, 0xaa, - 0xc3, 0x30, 0x9c, 0x8c, 0x60, 0x0b, 0x1d, 0xf6, 0x80, 0xf6, 0x4e, 0xba, 0xcd, 0x5d, 0x31, 0xdf, - 0x0b, 0x9a, 0x0a, 0x16, 0x7a, 0x25, 0x78, 0x0b, 0xec, 0x53, 0x5d, 0xb0, 0x7b, 0xd2, 0x79, 0xc1, - 0x1b, 0xf7, 0xeb, 0xab, 0x78, 0x61, 0x88, 0x57, 0x82, 0x7f, 0x00, 0x38, 0xca, 0x85, 0x9d, 0x93, - 0x86, 0x17, 0x2e, 0x5c, 0xfc, 0xd3, 0xdf, 0x2f, 0xf7, 0xed, 0xbc, 0xea, 0x6f, 0xaf, 0x8c, 0x24, - 0xc2, 0x84, 0x7e, 0x2c, 0x76, 0x87, 0x34, 0xaf, 0xe5, 0xef, 0x8f, 0xe7, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xad, 0x09, 0xaf, 0x8b, 0x83, 0x02, 0x00, 0x00, -} diff --git a/cwf/gateway/go.mod b/cwf/gateway/go.mod index 1c75936a8083..01d5bcac1e8d 100644 --- a/cwf/gateway/go.mod +++ b/cwf/gateway/go.mod @@ -45,8 +45,7 @@ require ( golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 // indirect google.golang.org/api v0.3.1 // indirect google.golang.org/appengine v1.6.5 // indirect - google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb // indirect - google.golang.org/grpc v1.21.1 + google.golang.org/grpc v1.25.0 magma/cwf/cloud/go v0.0.0-00010101000000-000000000000 magma/feg/cloud/go/protos v0.0.0 magma/feg/gateway v0.0.0-00010101000000-000000000000 diff --git a/cwf/gateway/go.sum b/cwf/gateway/go.sum index e9c7ef683d44..ad4a8413a71f 100644 --- a/cwf/gateway/go.sum +++ b/cwf/gateway/go.sum @@ -38,6 +38,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/biogo/store v0.0.0-20160505134755-913427a1d5e8/go.mod h1:Iev9Q3MErcn+w3UOJD/DkEzllvugfdx7bGcMOFhvr/4= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -71,6 +72,8 @@ github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1 github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fiorix/go-diameter v3.0.3-0.20180924121357-70410bd9fce3+incompatible h1:tiDOk1QcP1M9F+m1sP4n3DfWGXKC/Cr/ldAQfmPXLrs= @@ -322,6 +325,7 @@ github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1: github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -478,6 +482,7 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd h1:/e+gpKk9r3dJobndpTytxS2gOy6m5uvpg+ISQoEcusQ= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20191025023517-2077df36852e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -497,12 +502,15 @@ google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqn google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb h1:i1Ppqkc3WQXikh8bXiwHqAN5Rv3/qDCcRk0/Otx73BY= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.21.1 h1:j6XxA85m/6txkUCHvzlV5f+HBNl/1r5cZ2A/3IEFOO8= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= @@ -525,6 +533,7 @@ gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= diff --git a/devmand/cloud/go/go.mod b/devmand/cloud/go/go.mod index 167f7e307f0b..dbb47fdfa815 100644 --- a/devmand/cloud/go/go.mod +++ b/devmand/cloud/go/go.mod @@ -14,7 +14,7 @@ require ( github.com/go-openapi/strfmt v0.18.0 github.com/go-openapi/swag v0.18.0 github.com/go-openapi/validate v0.18.0 - github.com/golang/protobuf v1.2.0 + github.com/golang/protobuf v1.3.2 github.com/labstack/echo v0.0.0-20181123063414-c54d9e8eed6c github.com/pkg/errors v0.8.1 github.com/stretchr/testify v1.3.0 diff --git a/devmand/cloud/go/go.sum b/devmand/cloud/go/go.sum index 6993ec6fbbfd..27902faa6305 100644 --- a/devmand/cloud/go/go.sum +++ b/devmand/cloud/go/go.sum @@ -35,6 +35,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/biogo/store v0.0.0-20160505134755-913427a1d5e8/go.mod h1:Iev9Q3MErcn+w3UOJD/DkEzllvugfdx7bGcMOFhvr/4= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -66,6 +67,8 @@ github.com/elastic/go-elasticsearch/v8 v8.0.0-20190910075000-5963931cb201 h1:WNv github.com/elastic/go-elasticsearch/v8 v8.0.0-20190910075000-5963931cb201/go.mod h1:xe9a/L2aeOgFKKgrO3ibQTnMdpAeL0GC+5/HpGScSa4= github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= @@ -142,6 +145,8 @@ github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -294,6 +299,8 @@ github.com/prometheus/client_model v0.0.0-20190109181635-f287a105a20e h1:/F8S20P github.com/prometheus/client_model v0.0.0-20190109181635-f287a105a20e/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f h1:BVwpUVJDADN2ufcGik7W992pyps0wZ888b/y9GXcLTU= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -369,6 +376,7 @@ golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -394,6 +402,8 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FY golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -420,7 +430,9 @@ golang.org/x/tools v0.0.0-20181112210238-4b1f3b6b1646/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/api v0.0.0-20180506000402-20530fd5d65a/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -434,12 +446,17 @@ google.golang.org/genproto v0.0.0-20190111180523-db91494dd46c h1:LZllHYjdJnynBfm google.golang.org/genproto v0.0.0-20190111180523-db91494dd46c/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqnGaSjo+CCdIieEnwVazbOXILwQemk= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0 h1:ItERT+UbGdX+s4u+nQNlVM/Q7cbmf7icKfvzbWqVtq0= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= @@ -458,6 +475,7 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= diff --git a/devmand/cloud/go/services/devmand/protos/devmand_service.pb.go b/devmand/cloud/go/services/devmand/protos/devmand_service.pb.go index b77b15fa5d08..5be120618749 100644 --- a/devmand/cloud/go/services/devmand/protos/devmand_service.pb.go +++ b/devmand/cloud/go/services/devmand/protos/devmand_service.pb.go @@ -3,9 +3,11 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type DevmandGatewayConfig struct { ManagedDevices []string `protobuf:"bytes,1,rep,name=managed_devices,json=managedDevices,proto3" json:"managed_devices,omitempty"` @@ -29,16 +31,17 @@ func (m *DevmandGatewayConfig) Reset() { *m = DevmandGatewayConfig{} } func (m *DevmandGatewayConfig) String() string { return proto.CompactTextString(m) } func (*DevmandGatewayConfig) ProtoMessage() {} func (*DevmandGatewayConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_devmand_service_ccd07b3a38890d0a, []int{0} + return fileDescriptor_d47fb5564620b7cc, []int{0} } + func (m *DevmandGatewayConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DevmandGatewayConfig.Unmarshal(m, b) } func (m *DevmandGatewayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DevmandGatewayConfig.Marshal(b, m, deterministic) } -func (dst *DevmandGatewayConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DevmandGatewayConfig.Merge(dst, src) +func (m *DevmandGatewayConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_DevmandGatewayConfig.Merge(m, src) } func (m *DevmandGatewayConfig) XXX_Size() int { return xxx_messageInfo_DevmandGatewayConfig.Size(m) @@ -73,16 +76,17 @@ func (m *ManagedDevice) Reset() { *m = ManagedDevice{} } func (m *ManagedDevice) String() string { return proto.CompactTextString(m) } func (*ManagedDevice) ProtoMessage() {} func (*ManagedDevice) Descriptor() ([]byte, []int) { - return fileDescriptor_devmand_service_ccd07b3a38890d0a, []int{1} + return fileDescriptor_d47fb5564620b7cc, []int{1} } + func (m *ManagedDevice) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ManagedDevice.Unmarshal(m, b) } func (m *ManagedDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ManagedDevice.Marshal(b, m, deterministic) } -func (dst *ManagedDevice) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedDevice.Merge(dst, src) +func (m *ManagedDevice) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagedDevice.Merge(m, src) } func (m *ManagedDevice) XXX_Size() int { return xxx_messageInfo_ManagedDevice.Size(m) @@ -142,16 +146,17 @@ func (m *Channels) Reset() { *m = Channels{} } func (m *Channels) String() string { return proto.CompactTextString(m) } func (*Channels) ProtoMessage() {} func (*Channels) Descriptor() ([]byte, []int) { - return fileDescriptor_devmand_service_ccd07b3a38890d0a, []int{2} + return fileDescriptor_d47fb5564620b7cc, []int{2} } + func (m *Channels) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Channels.Unmarshal(m, b) } func (m *Channels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Channels.Marshal(b, m, deterministic) } -func (dst *Channels) XXX_Merge(src proto.Message) { - xxx_messageInfo_Channels.Merge(dst, src) +func (m *Channels) XXX_Merge(src proto.Message) { + xxx_messageInfo_Channels.Merge(m, src) } func (m *Channels) XXX_Size() int { return xxx_messageInfo_Channels.Size(m) @@ -202,16 +207,17 @@ func (m *SNMPChannel) Reset() { *m = SNMPChannel{} } func (m *SNMPChannel) String() string { return proto.CompactTextString(m) } func (*SNMPChannel) ProtoMessage() {} func (*SNMPChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_devmand_service_ccd07b3a38890d0a, []int{3} + return fileDescriptor_d47fb5564620b7cc, []int{3} } + func (m *SNMPChannel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SNMPChannel.Unmarshal(m, b) } func (m *SNMPChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SNMPChannel.Marshal(b, m, deterministic) } -func (dst *SNMPChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_SNMPChannel.Merge(dst, src) +func (m *SNMPChannel) XXX_Merge(src proto.Message) { + xxx_messageInfo_SNMPChannel.Merge(m, src) } func (m *SNMPChannel) XXX_Size() int { return xxx_messageInfo_SNMPChannel.Size(m) @@ -255,16 +261,17 @@ func (m *FrinxChannel) Reset() { *m = FrinxChannel{} } func (m *FrinxChannel) String() string { return proto.CompactTextString(m) } func (*FrinxChannel) ProtoMessage() {} func (*FrinxChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_devmand_service_ccd07b3a38890d0a, []int{4} + return fileDescriptor_d47fb5564620b7cc, []int{4} } + func (m *FrinxChannel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FrinxChannel.Unmarshal(m, b) } func (m *FrinxChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FrinxChannel.Marshal(b, m, deterministic) } -func (dst *FrinxChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrinxChannel.Merge(dst, src) +func (m *FrinxChannel) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrinxChannel.Merge(m, src) } func (m *FrinxChannel) XXX_Size() int { return xxx_messageInfo_FrinxChannel.Size(m) @@ -352,16 +359,17 @@ func (m *CambiumChannel) Reset() { *m = CambiumChannel{} } func (m *CambiumChannel) String() string { return proto.CompactTextString(m) } func (*CambiumChannel) ProtoMessage() {} func (*CambiumChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_devmand_service_ccd07b3a38890d0a, []int{5} + return fileDescriptor_d47fb5564620b7cc, []int{5} } + func (m *CambiumChannel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CambiumChannel.Unmarshal(m, b) } func (m *CambiumChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CambiumChannel.Marshal(b, m, deterministic) } -func (dst *CambiumChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_CambiumChannel.Merge(dst, src) +func (m *CambiumChannel) XXX_Merge(src proto.Message) { + xxx_messageInfo_CambiumChannel.Merge(m, src) } func (m *CambiumChannel) XXX_Size() int { return xxx_messageInfo_CambiumChannel.Size(m) @@ -411,16 +419,17 @@ func (m *OtherChannel) Reset() { *m = OtherChannel{} } func (m *OtherChannel) String() string { return proto.CompactTextString(m) } func (*OtherChannel) ProtoMessage() {} func (*OtherChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_devmand_service_ccd07b3a38890d0a, []int{6} + return fileDescriptor_d47fb5564620b7cc, []int{6} } + func (m *OtherChannel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OtherChannel.Unmarshal(m, b) } func (m *OtherChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OtherChannel.Marshal(b, m, deterministic) } -func (dst *OtherChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_OtherChannel.Merge(dst, src) +func (m *OtherChannel) XXX_Merge(src proto.Message) { + xxx_messageInfo_OtherChannel.Merge(m, src) } func (m *OtherChannel) XXX_Size() int { return xxx_messageInfo_OtherChannel.Size(m) @@ -449,11 +458,9 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "magma.devmand.OtherChannel.ChannelPropsEntry") } -func init() { - proto.RegisterFile("devmand_service.proto", fileDescriptor_devmand_service_ccd07b3a38890d0a) -} +func init() { proto.RegisterFile("devmand_service.proto", fileDescriptor_d47fb5564620b7cc) } -var fileDescriptor_devmand_service_ccd07b3a38890d0a = []byte{ +var fileDescriptor_d47fb5564620b7cc = []byte{ // 608 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcd, 0x6e, 0xd4, 0x3c, 0x14, 0x55, 0xe6, 0xa7, 0x4d, 0x6e, 0x92, 0xe9, 0xf7, 0x59, 0x45, 0x44, 0x53, 0x2a, 0xaa, 0x40, diff --git a/feg/cloud/go/go.mod b/feg/cloud/go/go.mod index 016b2558d636..b3f6507e68eb 100644 --- a/feg/cloud/go/go.mod +++ b/feg/cloud/go/go.mod @@ -19,13 +19,13 @@ require ( github.com/go-openapi/swag v0.18.0 github.com/go-openapi/validate v0.18.0 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.2.0 + github.com/golang/protobuf v1.3.2 github.com/labstack/echo v0.0.0-20181123063414-c54d9e8eed6c github.com/pkg/errors v0.8.1 github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829 github.com/stretchr/testify v1.3.0 golang.org/x/net v0.0.0-20190311183353-d8887717615a - google.golang.org/grpc v1.19.0 + google.golang.org/grpc v1.25.0 magma/feg/cloud/go/protos v0.0.0 magma/lte/cloud/go v0.0.0 diff --git a/feg/cloud/go/go.sum b/feg/cloud/go/go.sum index 2762788dd0e2..076f5c9a4329 100644 --- a/feg/cloud/go/go.sum +++ b/feg/cloud/go/go.sum @@ -36,6 +36,7 @@ github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23 h1:D21IyuvjDCshj1 github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -67,6 +68,8 @@ github.com/elastic/go-elasticsearch/v8 v8.0.0-20190910075000-5963931cb201 h1:WNv github.com/elastic/go-elasticsearch/v8 v8.0.0-20190910075000-5963931cb201/go.mod h1:xe9a/L2aeOgFKKgrO3ibQTnMdpAeL0GC+5/HpGScSa4= github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= @@ -145,6 +148,8 @@ github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -298,6 +303,8 @@ github.com/prometheus/client_model v0.0.0-20190109181635-f287a105a20e h1:/F8S20P github.com/prometheus/client_model v0.0.0-20190109181635-f287a105a20e/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f h1:BVwpUVJDADN2ufcGik7W992pyps0wZ888b/y9GXcLTU= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -373,6 +380,7 @@ golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -398,6 +406,8 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FY golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -424,7 +434,9 @@ golang.org/x/tools v0.0.0-20181112210238-4b1f3b6b1646/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/api v0.0.0-20180506000402-20530fd5d65a/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -438,12 +450,17 @@ google.golang.org/genproto v0.0.0-20190111180523-db91494dd46c h1:LZllHYjdJnynBfm google.golang.org/genproto v0.0.0-20190111180523-db91494dd46c/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqnGaSjo+CCdIieEnwVazbOXILwQemk= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0 h1:ItERT+UbGdX+s4u+nQNlVM/Q7cbmf7icKfvzbWqVtq0= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= @@ -462,6 +479,7 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= diff --git a/feg/cloud/go/services/controller/protos/feg_config.pb.go b/feg/cloud/go/services/controller/protos/feg_config.pb.go index fdb203d82f5a..a211845c47ef 100644 --- a/feg/cloud/go/services/controller/protos/feg_config.pb.go +++ b/feg/cloud/go/services/controller/protos/feg_config.pb.go @@ -3,9 +3,11 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GyInitMethod int32 @@ -31,6 +33,7 @@ var GyInitMethod_name = map[int32]string{ 1: "PER_SESSION", 2: "PER_KEY", } + var GyInitMethod_value = map[string]int32{ "RESERVED": 0, "PER_SESSION": 1, @@ -40,8 +43,9 @@ var GyInitMethod_value = map[string]int32{ func (x GyInitMethod) String() string { return proto.EnumName(GyInitMethod_name, int32(x)) } + func (GyInitMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{0} + return fileDescriptor_497bb2ed7dafa2c0, []int{0} } type DiamClientConfig struct { @@ -65,16 +69,17 @@ func (m *DiamClientConfig) Reset() { *m = DiamClientConfig{} } func (m *DiamClientConfig) String() string { return proto.CompactTextString(m) } func (*DiamClientConfig) ProtoMessage() {} func (*DiamClientConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{0} + return fileDescriptor_497bb2ed7dafa2c0, []int{0} } + func (m *DiamClientConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiamClientConfig.Unmarshal(m, b) } func (m *DiamClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DiamClientConfig.Marshal(b, m, deterministic) } -func (dst *DiamClientConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiamClientConfig.Merge(dst, src) +func (m *DiamClientConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiamClientConfig.Merge(m, src) } func (m *DiamClientConfig) XXX_Size() int { return xxx_messageInfo_DiamClientConfig.Size(m) @@ -177,16 +182,17 @@ func (m *DiamServerConfig) Reset() { *m = DiamServerConfig{} } func (m *DiamServerConfig) String() string { return proto.CompactTextString(m) } func (*DiamServerConfig) ProtoMessage() {} func (*DiamServerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{1} + return fileDescriptor_497bb2ed7dafa2c0, []int{1} } + func (m *DiamServerConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiamServerConfig.Unmarshal(m, b) } func (m *DiamServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DiamServerConfig.Marshal(b, m, deterministic) } -func (dst *DiamServerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiamServerConfig.Merge(dst, src) +func (m *DiamServerConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiamServerConfig.Merge(m, src) } func (m *DiamServerConfig) XXX_Size() int { return xxx_messageInfo_DiamServerConfig.Size(m) @@ -243,16 +249,17 @@ func (m *S6AConfig) Reset() { *m = S6AConfig{} } func (m *S6AConfig) String() string { return proto.CompactTextString(m) } func (*S6AConfig) ProtoMessage() {} func (*S6AConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{2} + return fileDescriptor_497bb2ed7dafa2c0, []int{2} } + func (m *S6AConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_S6AConfig.Unmarshal(m, b) } func (m *S6AConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_S6AConfig.Marshal(b, m, deterministic) } -func (dst *S6AConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_S6AConfig.Merge(dst, src) +func (m *S6AConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_S6AConfig.Merge(m, src) } func (m *S6AConfig) XXX_Size() int { return xxx_messageInfo_S6AConfig.Size(m) @@ -281,16 +288,17 @@ func (m *GxConfig) Reset() { *m = GxConfig{} } func (m *GxConfig) String() string { return proto.CompactTextString(m) } func (*GxConfig) ProtoMessage() {} func (*GxConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{3} + return fileDescriptor_497bb2ed7dafa2c0, []int{3} } + func (m *GxConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GxConfig.Unmarshal(m, b) } func (m *GxConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GxConfig.Marshal(b, m, deterministic) } -func (dst *GxConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GxConfig.Merge(dst, src) +func (m *GxConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_GxConfig.Merge(m, src) } func (m *GxConfig) XXX_Size() int { return xxx_messageInfo_GxConfig.Size(m) @@ -320,16 +328,17 @@ func (m *GyConfig) Reset() { *m = GyConfig{} } func (m *GyConfig) String() string { return proto.CompactTextString(m) } func (*GyConfig) ProtoMessage() {} func (*GyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{4} + return fileDescriptor_497bb2ed7dafa2c0, []int{4} } + func (m *GyConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GyConfig.Unmarshal(m, b) } func (m *GyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GyConfig.Marshal(b, m, deterministic) } -func (dst *GyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GyConfig.Merge(dst, src) +func (m *GyConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_GyConfig.Merge(m, src) } func (m *GyConfig) XXX_Size() int { return xxx_messageInfo_GyConfig.Size(m) @@ -368,16 +377,17 @@ func (m *SwxConfig) Reset() { *m = SwxConfig{} } func (m *SwxConfig) String() string { return proto.CompactTextString(m) } func (*SwxConfig) ProtoMessage() {} func (*SwxConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{5} + return fileDescriptor_497bb2ed7dafa2c0, []int{5} } + func (m *SwxConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SwxConfig.Unmarshal(m, b) } func (m *SwxConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SwxConfig.Marshal(b, m, deterministic) } -func (dst *SwxConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SwxConfig.Merge(dst, src) +func (m *SwxConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_SwxConfig.Merge(m, src) } func (m *SwxConfig) XXX_Size() int { return xxx_messageInfo_SwxConfig.Size(m) @@ -430,16 +440,17 @@ func (m *HSSConfig) Reset() { *m = HSSConfig{} } func (m *HSSConfig) String() string { return proto.CompactTextString(m) } func (*HSSConfig) ProtoMessage() {} func (*HSSConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{6} + return fileDescriptor_497bb2ed7dafa2c0, []int{6} } + func (m *HSSConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HSSConfig.Unmarshal(m, b) } func (m *HSSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HSSConfig.Marshal(b, m, deterministic) } -func (dst *HSSConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_HSSConfig.Merge(dst, src) +func (m *HSSConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_HSSConfig.Merge(m, src) } func (m *HSSConfig) XXX_Size() int { return xxx_messageInfo_HSSConfig.Size(m) @@ -506,16 +517,17 @@ func (m *HSSConfig_SubscriptionProfile) Reset() { *m = HSSConfig_Subscri func (m *HSSConfig_SubscriptionProfile) String() string { return proto.CompactTextString(m) } func (*HSSConfig_SubscriptionProfile) ProtoMessage() {} func (*HSSConfig_SubscriptionProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{6, 0} + return fileDescriptor_497bb2ed7dafa2c0, []int{6, 0} } + func (m *HSSConfig_SubscriptionProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HSSConfig_SubscriptionProfile.Unmarshal(m, b) } func (m *HSSConfig_SubscriptionProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HSSConfig_SubscriptionProfile.Marshal(b, m, deterministic) } -func (dst *HSSConfig_SubscriptionProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_HSSConfig_SubscriptionProfile.Merge(dst, src) +func (m *HSSConfig_SubscriptionProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_HSSConfig_SubscriptionProfile.Merge(m, src) } func (m *HSSConfig_SubscriptionProfile) XXX_Size() int { return xxx_messageInfo_HSSConfig_SubscriptionProfile.Size(m) @@ -568,16 +580,17 @@ func (m *HealthConfig) Reset() { *m = HealthConfig{} } func (m *HealthConfig) String() string { return proto.CompactTextString(m) } func (*HealthConfig) ProtoMessage() {} func (*HealthConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{7} + return fileDescriptor_497bb2ed7dafa2c0, []int{7} } + func (m *HealthConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HealthConfig.Unmarshal(m, b) } func (m *HealthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HealthConfig.Marshal(b, m, deterministic) } -func (dst *HealthConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthConfig.Merge(dst, src) +func (m *HealthConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthConfig.Merge(m, src) } func (m *HealthConfig) XXX_Size() int { return xxx_messageInfo_HealthConfig.Size(m) @@ -663,16 +676,17 @@ func (m *EapAkaConfig) Reset() { *m = EapAkaConfig{} } func (m *EapAkaConfig) String() string { return proto.CompactTextString(m) } func (*EapAkaConfig) ProtoMessage() {} func (*EapAkaConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{8} + return fileDescriptor_497bb2ed7dafa2c0, []int{8} } + func (m *EapAkaConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EapAkaConfig.Unmarshal(m, b) } func (m *EapAkaConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EapAkaConfig.Marshal(b, m, deterministic) } -func (dst *EapAkaConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EapAkaConfig.Merge(dst, src) +func (m *EapAkaConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EapAkaConfig.Merge(m, src) } func (m *EapAkaConfig) XXX_Size() int { return xxx_messageInfo_EapAkaConfig.Size(m) @@ -711,16 +725,17 @@ func (m *EapAkaConfig_Timeouts) Reset() { *m = EapAkaConfig_Timeouts{} } func (m *EapAkaConfig_Timeouts) String() string { return proto.CompactTextString(m) } func (*EapAkaConfig_Timeouts) ProtoMessage() {} func (*EapAkaConfig_Timeouts) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{8, 0} + return fileDescriptor_497bb2ed7dafa2c0, []int{8, 0} } + func (m *EapAkaConfig_Timeouts) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EapAkaConfig_Timeouts.Unmarshal(m, b) } func (m *EapAkaConfig_Timeouts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EapAkaConfig_Timeouts.Marshal(b, m, deterministic) } -func (dst *EapAkaConfig_Timeouts) XXX_Merge(src proto.Message) { - xxx_messageInfo_EapAkaConfig_Timeouts.Merge(dst, src) +func (m *EapAkaConfig_Timeouts) XXX_Merge(src proto.Message) { + xxx_messageInfo_EapAkaConfig_Timeouts.Merge(m, src) } func (m *EapAkaConfig_Timeouts) XXX_Size() int { return xxx_messageInfo_EapAkaConfig_Timeouts.Size(m) @@ -772,16 +787,17 @@ func (m *AAAConfig) Reset() { *m = AAAConfig{} } func (m *AAAConfig) String() string { return proto.CompactTextString(m) } func (*AAAConfig) ProtoMessage() {} func (*AAAConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{9} + return fileDescriptor_497bb2ed7dafa2c0, []int{9} } + func (m *AAAConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AAAConfig.Unmarshal(m, b) } func (m *AAAConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AAAConfig.Marshal(b, m, deterministic) } -func (dst *AAAConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AAAConfig.Merge(dst, src) +func (m *AAAConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_AAAConfig.Merge(m, src) } func (m *AAAConfig) XXX_Size() int { return xxx_messageInfo_AAAConfig.Size(m) @@ -833,16 +849,17 @@ func (m *Config) Reset() { *m = Config{} } func (m *Config) String() string { return proto.CompactTextString(m) } func (*Config) ProtoMessage() {} func (*Config) Descriptor() ([]byte, []int) { - return fileDescriptor_feg_config_5126292b86b6b2d5, []int{10} + return fileDescriptor_497bb2ed7dafa2c0, []int{10} } + func (m *Config) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Config.Unmarshal(m, b) } func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Config.Marshal(b, m, deterministic) } -func (dst *Config) XXX_Merge(src proto.Message) { - xxx_messageInfo_Config.Merge(dst, src) +func (m *Config) XXX_Merge(src proto.Message) { + xxx_messageInfo_Config.Merge(m, src) } func (m *Config) XXX_Size() int { return xxx_messageInfo_Config.Size(m) @@ -917,6 +934,7 @@ func (m *Config) GetAaaServer() *AAAConfig { } func init() { + proto.RegisterEnum("feg.GyInitMethod", GyInitMethod_name, GyInitMethod_value) proto.RegisterType((*DiamClientConfig)(nil), "feg.DiamClientConfig") proto.RegisterType((*DiamServerConfig)(nil), "feg.DiamServerConfig") proto.RegisterType((*S6AConfig)(nil), "feg.S6aConfig") @@ -931,12 +949,11 @@ func init() { proto.RegisterType((*EapAkaConfig_Timeouts)(nil), "feg.EapAkaConfig.Timeouts") proto.RegisterType((*AAAConfig)(nil), "feg.AAAConfig") proto.RegisterType((*Config)(nil), "feg.Config") - proto.RegisterEnum("feg.GyInitMethod", GyInitMethod_name, GyInitMethod_value) } -func init() { proto.RegisterFile("feg_config.proto", fileDescriptor_feg_config_5126292b86b6b2d5) } +func init() { proto.RegisterFile("feg_config.proto", fileDescriptor_497bb2ed7dafa2c0) } -var fileDescriptor_feg_config_5126292b86b6b2d5 = []byte{ +var fileDescriptor_497bb2ed7dafa2c0 = []byte{ // 1248 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x5d, 0x6f, 0x1b, 0x45, 0x14, 0xc5, 0x1f, 0x89, 0xed, 0x6b, 0xa7, 0x71, 0x26, 0x21, 0xdd, 0x06, 0x4a, 0x8d, 0x11, 0x22, diff --git a/feg/gateway/go.mod b/feg/gateway/go.mod index 789762e7eb39..b6e49563195a 100644 --- a/feg/gateway/go.mod +++ b/feg/gateway/go.mod @@ -22,16 +22,16 @@ require ( github.com/go-openapi/swag v0.18.0 github.com/go-redis/redis v6.14.1+incompatible github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.2.0 + github.com/golang/protobuf v1.3.2 github.com/gorilla/mux v1.6.2 github.com/ishidawataru/sctp v0.0.0-20180918013207-6e2cb1366111 github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829 - github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f + github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 github.com/prometheus/common v0.2.0 github.com/shirou/gopsutil v2.18.10+incompatible github.com/stretchr/testify v1.3.0 golang.org/x/net v0.0.0-20190311183353-d8887717615a - google.golang.org/grpc v1.19.0 + google.golang.org/grpc v1.25.0 magma/feg/cloud/go v0.0.0 magma/feg/cloud/go/protos v0.0.0 diff --git a/feg/gateway/go.sum b/feg/gateway/go.sum index 8207f9edacd9..4d0174f3d25c 100644 --- a/feg/gateway/go.sum +++ b/feg/gateway/go.sum @@ -34,6 +34,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/biogo/store v0.0.0-20160505134755-913427a1d5e8/go.mod h1:Iev9Q3MErcn+w3UOJD/DkEzllvugfdx7bGcMOFhvr/4= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -63,6 +64,8 @@ github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1 github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= @@ -143,6 +146,8 @@ github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -300,6 +305,8 @@ github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f h1:BVwpUVJDADN2ufcGik7W992pyps0wZ888b/y9GXcLTU= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -372,6 +379,7 @@ golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -396,6 +404,7 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FY golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -420,7 +429,9 @@ golang.org/x/tools v0.0.0-20181112210238-4b1f3b6b1646/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/api v0.0.0-20180506000402-20530fd5d65a/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -433,11 +444,16 @@ google.golang.org/genproto v0.0.0-20170531203552-aa2eb687b4d3/go.mod h1:JiN7NxoA google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqnGaSjo+CCdIieEnwVazbOXILwQemk= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0 h1:ItERT+UbGdX+s4u+nQNlVM/Q7cbmf7icKfvzbWqVtq0= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= @@ -458,6 +474,7 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= diff --git a/feg/gateway/services/aaa/protos/accounting.pb.go b/feg/gateway/services/aaa/protos/accounting.pb.go index 5b0405f3f435..4f5ed3c12df4 100644 --- a/feg/gateway/services/aaa/protos/accounting.pb.go +++ b/feg/gateway/services/aaa/protos/accounting.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: accounting.proto -package protos // import "magma/feg/gateway/services/aaa/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type StopRequestTerminateCause int32 @@ -68,6 +69,7 @@ var StopRequestTerminateCause_name = map[int32]string{ 17: "USER_ERROR", 18: "HOST_REQUEST", } + var StopRequestTerminateCause_value = map[string]int32{ "UNDEFINED": 0, "USER_REQUEST": 1, @@ -93,8 +95,9 @@ var StopRequestTerminateCause_value = map[string]int32{ func (x StopRequestTerminateCause) String() string { return proto.EnumName(StopRequestTerminateCause_name, int32(x)) } + func (StopRequestTerminateCause) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_accounting_14a106ad12f47352, []int{1, 0} + return fileDescriptor_cb3d75761beb5907, []int{1, 0} } // update_request with usages & included context @@ -113,16 +116,17 @@ func (m *UpdateRequest) Reset() { *m = UpdateRequest{} } func (m *UpdateRequest) String() string { return proto.CompactTextString(m) } func (*UpdateRequest) ProtoMessage() {} func (*UpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_accounting_14a106ad12f47352, []int{0} + return fileDescriptor_cb3d75761beb5907, []int{0} } + func (m *UpdateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRequest.Unmarshal(m, b) } func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateRequest.Marshal(b, m, deterministic) } -func (dst *UpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRequest.Merge(dst, src) +func (m *UpdateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRequest.Merge(m, src) } func (m *UpdateRequest) XXX_Size() int { return xxx_messageInfo_UpdateRequest.Size(m) @@ -181,16 +185,17 @@ func (m *StopRequest) Reset() { *m = StopRequest{} } func (m *StopRequest) String() string { return proto.CompactTextString(m) } func (*StopRequest) ProtoMessage() {} func (*StopRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_accounting_14a106ad12f47352, []int{1} + return fileDescriptor_cb3d75761beb5907, []int{1} } + func (m *StopRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopRequest.Unmarshal(m, b) } func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopRequest.Marshal(b, m, deterministic) } -func (dst *StopRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopRequest.Merge(dst, src) +func (m *StopRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopRequest.Merge(m, src) } func (m *StopRequest) XXX_Size() int { return xxx_messageInfo_StopRequest.Size(m) @@ -227,16 +232,17 @@ func (m *AcctResp) Reset() { *m = AcctResp{} } func (m *AcctResp) String() string { return proto.CompactTextString(m) } func (*AcctResp) ProtoMessage() {} func (*AcctResp) Descriptor() ([]byte, []int) { - return fileDescriptor_accounting_14a106ad12f47352, []int{2} + return fileDescriptor_cb3d75761beb5907, []int{2} } + func (m *AcctResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcctResp.Unmarshal(m, b) } func (m *AcctResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AcctResp.Marshal(b, m, deterministic) } -func (dst *AcctResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcctResp.Merge(dst, src) +func (m *AcctResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcctResp.Merge(m, src) } func (m *AcctResp) XXX_Size() int { return xxx_messageInfo_AcctResp.Size(m) @@ -258,16 +264,17 @@ func (m *CreateSessionResp) Reset() { *m = CreateSessionResp{} } func (m *CreateSessionResp) String() string { return proto.CompactTextString(m) } func (*CreateSessionResp) ProtoMessage() {} func (*CreateSessionResp) Descriptor() ([]byte, []int) { - return fileDescriptor_accounting_14a106ad12f47352, []int{3} + return fileDescriptor_cb3d75761beb5907, []int{3} } + func (m *CreateSessionResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSessionResp.Unmarshal(m, b) } func (m *CreateSessionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSessionResp.Marshal(b, m, deterministic) } -func (dst *CreateSessionResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSessionResp.Merge(dst, src) +func (m *CreateSessionResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSessionResp.Merge(m, src) } func (m *CreateSessionResp) XXX_Size() int { return xxx_messageInfo_CreateSessionResp.Size(m) @@ -297,16 +304,17 @@ func (m *TerminateSessionRequest) Reset() { *m = TerminateSessionRequest func (m *TerminateSessionRequest) String() string { return proto.CompactTextString(m) } func (*TerminateSessionRequest) ProtoMessage() {} func (*TerminateSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_accounting_14a106ad12f47352, []int{4} + return fileDescriptor_cb3d75761beb5907, []int{4} } + func (m *TerminateSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TerminateSessionRequest.Unmarshal(m, b) } func (m *TerminateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TerminateSessionRequest.Marshal(b, m, deterministic) } -func (dst *TerminateSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TerminateSessionRequest.Merge(dst, src) +func (m *TerminateSessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TerminateSessionRequest.Merge(m, src) } func (m *TerminateSessionRequest) XXX_Size() int { return xxx_messageInfo_TerminateSessionRequest.Size(m) @@ -332,12 +340,58 @@ func (m *TerminateSessionRequest) GetImsi() string { } func init() { + proto.RegisterEnum("aaa.protos.StopRequestTerminateCause", StopRequestTerminateCause_name, StopRequestTerminateCause_value) proto.RegisterType((*UpdateRequest)(nil), "aaa.protos.update_request") proto.RegisterType((*StopRequest)(nil), "aaa.protos.stop_request") proto.RegisterType((*AcctResp)(nil), "aaa.protos.acct_resp") proto.RegisterType((*CreateSessionResp)(nil), "aaa.protos.create_session_resp") proto.RegisterType((*TerminateSessionRequest)(nil), "aaa.protos.terminate_session_request") - proto.RegisterEnum("aaa.protos.StopRequestTerminateCause", StopRequestTerminateCause_name, StopRequestTerminateCause_value) +} + +func init() { proto.RegisterFile("accounting.proto", fileDescriptor_cb3d75761beb5907) } + +var fileDescriptor_cb3d75761beb5907 = []byte{ + // 635 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0x6d, 0x5e, 0xa5, 0xb9, 0x49, 0x9c, 0xc9, 0x44, 0x88, 0x50, 0x84, 0x5a, 0x45, 0xaa, 0xa8, + 0x58, 0x24, 0x52, 0x81, 0x05, 0x1b, 0x24, 0x27, 0x1e, 0x54, 0x8b, 0xd4, 0x0e, 0x63, 0xbb, 0x0b, + 0x58, 0x58, 0x83, 0x33, 0x44, 0x16, 0x8a, 0x1d, 0x3c, 0x63, 0x28, 0xdf, 0xc5, 0xef, 0xb0, 0xec, + 0x87, 0xa0, 0xf1, 0x23, 0x49, 0x69, 0x23, 0x56, 0xf6, 0x9c, 0x73, 0xcf, 0x9d, 0x73, 0x1f, 0x03, + 0x88, 0x05, 0x41, 0x9c, 0x46, 0x32, 0x8c, 0x96, 0xa3, 0x75, 0x12, 0xcb, 0x18, 0x03, 0x63, 0x2c, + 0xff, 0x15, 0xc7, 0x9d, 0x20, 0x8e, 0x24, 0xbf, 0x91, 0xf9, 0x79, 0xf8, 0xbb, 0x02, 0x5a, 0xba, + 0x5e, 0x30, 0xc9, 0xfd, 0x84, 0x7f, 0x4f, 0xb9, 0x90, 0xf8, 0x19, 0x34, 0xe3, 0x40, 0x72, 0x29, + 0xfc, 0x30, 0x1a, 0x54, 0x4e, 0x2b, 0xe7, 0x1d, 0x7a, 0x94, 0x03, 0x66, 0x84, 0x9f, 0x03, 0x14, + 0x64, 0x9c, 0xca, 0x41, 0x35, 0x63, 0x8b, 0x70, 0x3b, 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89, 0x1f, 0x5a, 0x9c, 0xe3, 0xc7, 0xbb, 0xe0, 0xb6, 0xac, 0x03, + 0x4c, 0x40, 0x0b, 0x23, 0xc9, 0x93, 0x70, 0xe5, 0xe7, 0x2f, 0x10, 0x1f, 0xef, 0x86, 0xde, 0x7d, + 0x95, 0xfb, 0xd3, 0xbc, 0x85, 0xba, 0xda, 0x70, 0x3c, 0xd8, 0xb7, 0xf3, 0xfb, 0xa5, 0x97, 0xa0, + 0xdd, 0x6d, 0xed, 0xc3, 0x15, 0x9c, 0xdc, 0x01, 0xef, 0xcf, 0x62, 0x78, 0x80, 0x1d, 0xe8, 0xdd, + 0x6b, 0x37, 0x3e, 0xdb, 0xd5, 0xed, 0x9d, 0xc6, 0x5e, 0x7b, 0x93, 0x17, 0x9f, 0xce, 0x56, 0x6c, + 0xb9, 0x62, 0xe3, 0xaf, 0x7c, 0x39, 0x5e, 0x32, 0xc9, 0x7f, 0xb2, 0x5f, 0x63, 0xc1, 0x93, 0x1f, + 0x61, 0xc0, 0xc5, 0x98, 0x31, 0x36, 0xce, 0x45, 0x5f, 0x0e, 0xb3, 0xef, 0xab, 0xbf, 0x01, 0x00, + 0x00, 0xff, 0xff, 0xb7, 0x1f, 0x01, 0x38, 0xfa, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -439,6 +493,26 @@ type AccountingServer interface { TerminateSession(context.Context, *TerminateSessionRequest) (*AcctResp, error) } +// UnimplementedAccountingServer can be embedded to have forward compatible implementations. +type UnimplementedAccountingServer struct { +} + +func (*UnimplementedAccountingServer) Start(ctx context.Context, req *Context) (*AcctResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedAccountingServer) InterimUpdate(ctx context.Context, req *UpdateRequest) (*AcctResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method InterimUpdate not implemented") +} +func (*UnimplementedAccountingServer) Stop(ctx context.Context, req *StopRequest) (*AcctResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedAccountingServer) CreateSession(ctx context.Context, req *Context) (*CreateSessionResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateSession not implemented") +} +func (*UnimplementedAccountingServer) TerminateSession(ctx context.Context, req *TerminateSessionRequest) (*AcctResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method TerminateSession not implemented") +} + func RegisterAccountingServer(s *grpc.Server, srv AccountingServer) { s.RegisterService(&_Accounting_serviceDesc, srv) } @@ -561,49 +635,3 @@ var _Accounting_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "accounting.proto", } - -func init() { proto.RegisterFile("accounting.proto", fileDescriptor_accounting_14a106ad12f47352) } - -var fileDescriptor_accounting_14a106ad12f47352 = []byte{ - // 635 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0x6d, 0x5e, 0xa5, 0xb9, 0x49, 0x9c, 0xc9, 0x44, 0x88, 0x50, 0x84, 0x5a, 0x45, 0xaa, 0xa8, - 0x58, 0x24, 0x52, 0x81, 0x05, 0x1b, 0x24, 0x27, 0x1e, 0x54, 0x8b, 0xd4, 0x0e, 0x63, 0xbb, 0x0b, - 0x58, 0x58, 0x83, 0x33, 0x44, 0x16, 0x8a, 0x1d, 0x3c, 0x63, 0x28, 0xdf, 0xc5, 0xef, 0xb0, 0xec, - 0x87, 0xa0, 0xf1, 0x23, 0x49, 0x69, 0x23, 0x56, 0xf6, 0x9c, 0x73, 0xcf, 0x9d, 0x73, 0x1f, 0x03, - 0x88, 0x05, 0x41, 0x9c, 0x46, 0x32, 0x8c, 0x96, 0xa3, 0x75, 0x12, 0xcb, 0x18, 0x03, 0x63, 0x2c, - 0xff, 0x15, 0xc7, 0x9d, 0x20, 0x8e, 0x24, 0xbf, 0x91, 0xf9, 0x79, 0xf8,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0x1d, 0xd4, 0x56, 0x98, 0x6f, 0xcb, 0x4b, - 0xe8, 0x25, 0x6c, 0x11, 0xa6, 0xc2, 0xbf, 0x97, 0xa2, 0x9b, 0x13, 0x4e, 0x99, 0x08, 0x63, 0xa8, - 0x87, 0x2b, 0x11, 0x66, 0xab, 0xd1, 0xa4, 0xd9, 0xff, 0xc5, 0x6d, 0x15, 0x60, 0xfb, 0xc8, 0xf0, - 0x1b, 0x68, 0x08, 0xc9, 0x12, 0x89, 0x1f, 0x5a, 0x9c, 0xe3, 0xc7, 0xbb, 0xe0, 0xb6, 0xac, 0x03, - 0x4c, 0x40, 0x0b, 0x23, 0xc9, 0x93, 0x70, 0xe5, 0xe7, 0x2f, 0x10, 0x1f, 0xef, 0x86, 0xde, 0x7d, - 0x95, 0xfb, 0xd3, 0xbc, 0x85, 0xba, 0xda, 0x70, 0x3c, 0xd8, 0xb7, 0xf3, 0xfb, 0xa5, 0x97, 0xa0, - 0xdd, 0x6d, 0xed, 0xc3, 0x15, 0x9c, 0xdc, 0x01, 0xef, 0xcf, 0x62, 0x78, 0x80, 0x1d, 0xe8, 0xdd, - 0x6b, 0x37, 0x3e, 0xdb, 0xd5, 0xed, 0x9d, 0xc6, 0x5e, 0x7b, 0x93, 0x17, 0x9f, 0xce, 0x56, 0x6c, - 0xb9, 0x62, 0xe3, 0xaf, 0x7c, 0x39, 0x5e, 0x32, 0xc9, 0x7f, 0xb2, 0x5f, 0x63, 0xc1, 0x93, 0x1f, - 0x61, 0xc0, 0xc5, 0x98, 0x31, 0x36, 0xce, 0x45, 0x5f, 0x0e, 0xb3, 0xef, 0xab, 0xbf, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xb7, 0x1f, 0x01, 0x38, 0xfa, 0x04, 0x00, 0x00, -} diff --git a/feg/gateway/services/aaa/protos/authorization.pb.go b/feg/gateway/services/aaa/protos/authorization.pb.go index 15c13eb8b56c..49a3fd48ec3c 100644 --- a/feg/gateway/services/aaa/protos/authorization.pb.go +++ b/feg/gateway/services/aaa/protos/authorization.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: authorization.proto -package protos // import "magma/feg/gateway/services/aaa/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CoaResponseCoaResponseTypeEnum int32 @@ -34,6 +35,7 @@ var CoaResponseCoaResponseTypeEnum_name = map[int32]string{ 0: "NAK", 1: "ACK", } + var CoaResponseCoaResponseTypeEnum_value = map[string]int32{ "NAK": 0, "ACK": 1, @@ -42,8 +44,9 @@ var CoaResponseCoaResponseTypeEnum_value = map[string]int32{ func (x CoaResponseCoaResponseTypeEnum) String() string { return proto.EnumName(CoaResponseCoaResponseTypeEnum_name, int32(x)) } + func (CoaResponseCoaResponseTypeEnum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_authorization_52a017d59f3b37af, []int{2, 0} + return fileDescriptor_1dbbe58d1e51a797, []int{2, 0} } // update_request with usages & included context @@ -59,16 +62,17 @@ func (m *ChangeRequest) Reset() { *m = ChangeRequest{} } func (m *ChangeRequest) String() string { return proto.CompactTextString(m) } func (*ChangeRequest) ProtoMessage() {} func (*ChangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_authorization_52a017d59f3b37af, []int{0} + return fileDescriptor_1dbbe58d1e51a797, []int{0} } + func (m *ChangeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChangeRequest.Unmarshal(m, b) } func (m *ChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChangeRequest.Marshal(b, m, deterministic) } -func (dst *ChangeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeRequest.Merge(dst, src) +func (m *ChangeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChangeRequest.Merge(m, src) } func (m *ChangeRequest) XXX_Size() int { return xxx_messageInfo_ChangeRequest.Size(m) @@ -104,16 +108,17 @@ func (m *DisconnectRequest) Reset() { *m = DisconnectRequest{} } func (m *DisconnectRequest) String() string { return proto.CompactTextString(m) } func (*DisconnectRequest) ProtoMessage() {} func (*DisconnectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_authorization_52a017d59f3b37af, []int{1} + return fileDescriptor_1dbbe58d1e51a797, []int{1} } + func (m *DisconnectRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DisconnectRequest.Unmarshal(m, b) } func (m *DisconnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DisconnectRequest.Marshal(b, m, deterministic) } -func (dst *DisconnectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectRequest.Merge(dst, src) +func (m *DisconnectRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectRequest.Merge(m, src) } func (m *DisconnectRequest) XXX_Size() int { return xxx_messageInfo_DisconnectRequest.Size(m) @@ -143,16 +148,17 @@ func (m *CoaResponse) Reset() { *m = CoaResponse{} } func (m *CoaResponse) String() string { return proto.CompactTextString(m) } func (*CoaResponse) ProtoMessage() {} func (*CoaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_authorization_52a017d59f3b37af, []int{2} + return fileDescriptor_1dbbe58d1e51a797, []int{2} } + func (m *CoaResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CoaResponse.Unmarshal(m, b) } func (m *CoaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CoaResponse.Marshal(b, m, deterministic) } -func (dst *CoaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CoaResponse.Merge(dst, src) +func (m *CoaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CoaResponse.Merge(m, src) } func (m *CoaResponse) XXX_Size() int { return xxx_messageInfo_CoaResponse.Size(m) @@ -178,10 +184,36 @@ func (m *CoaResponse) GetCtx() *Context { } func init() { + proto.RegisterEnum("aaa.protos.CoaResponseCoaResponseTypeEnum", CoaResponseCoaResponseTypeEnum_name, CoaResponseCoaResponseTypeEnum_value) proto.RegisterType((*ChangeRequest)(nil), "aaa.protos.change_request") proto.RegisterType((*DisconnectRequest)(nil), "aaa.protos.disconnect_request") proto.RegisterType((*CoaResponse)(nil), "aaa.protos.coa_response") - proto.RegisterEnum("aaa.protos.CoaResponseCoaResponseTypeEnum", CoaResponseCoaResponseTypeEnum_name, CoaResponseCoaResponseTypeEnum_value) +} + +func init() { proto.RegisterFile("authorization.proto", fileDescriptor_1dbbe58d1e51a797) } + +var fileDescriptor_1dbbe58d1e51a797 = []byte{ + // 317 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0xdf, 0x4b, 0x02, 0x41, + 0x10, 0xf6, 0x14, 0x8c, 0xa6, 0x34, 0x5b, 0x21, 0xc4, 0x87, 0x90, 0x03, 0x49, 0x22, 0x6e, 0xc1, + 0x1e, 0x7b, 0xc9, 0x7c, 0x09, 0x84, 0x1e, 0x0e, 0x9f, 0xea, 0x61, 0x99, 0xb6, 0xf1, 0xbc, 0xc8, + 0xdd, 0x6b, 0x77, 0x2d, 0xed, 0x5f, 0xe9, 0x7f, 0xe9, 0x6f, 0x8b, 0xf3, 0x8c, 0xf3, 0xb0, 0x1f, + 0xf4, 0xb4, 0x33, 0xf3, 0xcd, 0xf7, 0xcd, 0xec, 0x37, 0xd0, 0xc4, 0xb9, 0x9b, 0x6a, 0x13, 0xbf, + 0xa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0x20, 0x77, 0x94, 0x1d, 0x6f, 0x76, 0x6e, 0x3b, 0xfd, 0x9b, + 0xd2, 0xd5, 0xc9, 0x6d, 0x77, 0x86, 0xd1, 0x0c, 0xf9, 0x84, 0x22, 0x1e, 0xa1, 0xa3, 0x57, 0x5c, + 0x72, 0x4b, 0xe6, 0x25, 0x96, 0x64, 0x39, 0x22, 0xf2, 0x8c, 0x77, 0x5f, 0x5d, 0xbd, 0xe7, 0x9f, + 0x01, 0x00, 0x00, 0xff, 0xff, 0x80, 0x35, 0xb2, 0x4e, 0x64, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -232,6 +264,17 @@ type AuthorizationServer interface { Disconnect(context.Context, *DisconnectRequest) (*CoaResponse, error) } +// UnimplementedAuthorizationServer can be embedded to have forward compatible implementations. +type UnimplementedAuthorizationServer struct { +} + +func (*UnimplementedAuthorizationServer) Change(ctx context.Context, req *ChangeRequest) (*CoaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Change not implemented") +} +func (*UnimplementedAuthorizationServer) Disconnect(ctx context.Context, req *DisconnectRequest) (*CoaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Disconnect not implemented") +} + func RegisterAuthorizationServer(s *grpc.Server, srv AuthorizationServer) { s.RegisterService(&_Authorization_serviceDesc, srv) } @@ -288,29 +331,3 @@ var _Authorization_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "authorization.proto", } - -func init() { proto.RegisterFile("authorization.proto", fileDescriptor_authorization_52a017d59f3b37af) } - -var fileDescriptor_authorization_52a017d59f3b37af = []byte{ - // 317 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0xdf, 0x4b, 0x02, 0x41, - 0x10, 0xf6, 0x14, 0x8c, 0xa6, 0x34, 0x5b, 0x21, 0xc4, 0x87, 0x90, 0x03, 0x49, 0x22, 0x6e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e, 0x2f, 0x13, 0xfa, 0x5a, 0xaa, 0xfc, 0xc7, 0x52, 0xa7, 0x70, 0xf4, 0xbd, 0x22, - 0xdb, 0x81, 0xca, 0xcd, 0x60, 0xd4, 0x28, 0xa5, 0xc1, 0x60, 0x38, 0x6a, 0x78, 0xfd, 0x77, 0x0f, - 0x6a, 0x85, 0xbb, 0xb0, 0x4b, 0xa8, 0x66, 0xb6, 0xb3, 0x76, 0x61, 0x42, 0xe1, 0x14, 0xed, 0xd6, - 0x4f, 0x9f, 0xf1, 0x4b, 0xec, 0x1a, 0x20, 0x77, 0x94, 0x1d, 0x6f, 0x76, 0x6e, 0x3b, 0xfd, 0x9b, - 0xd2, 0xd5, 0xc9, 0x6d, 0x77, 0x86, 0xd1, 0x0c, 0xf9, 0x84, 0x22, 0x1e, 0xa1, 0xa3, 0x57, 0x5c, - 0x72, 0x4b, 0xe6, 0x25, 0x96, 0x64, 0x39, 0x22, 0xf2, 0x8c, 0x77, 0x5f, 0x5d, 0xbd, 0xe7, 0x9f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x80, 0x35, 0xb2, 0x4e, 0x64, 0x02, 0x00, 0x00, -} diff --git a/feg/gateway/services/aaa/protos/context.pb.go b/feg/gateway/services/aaa/protos/context.pb.go index 61759e6d2551..dbf38e1dab44 100644 --- a/feg/gateway/services/aaa/protos/context.pb.go +++ b/feg/gateway/services/aaa/protos/context.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: context.proto -package protos // import "magma/feg/gateway/services/aaa/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Context struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` @@ -38,16 +40,17 @@ func (m *Context) Reset() { *m = Context{} } func (m *Context) String() string { return proto.CompactTextString(m) } func (*Context) ProtoMessage() {} func (*Context) Descriptor() ([]byte, []int) { - return fileDescriptor_context_5ad16091514dff5e, []int{0} + return fileDescriptor_b64063be2fc89884, []int{0} } + func (m *Context) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Context.Unmarshal(m, b) } func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Context.Marshal(b, m, deterministic) } -func (dst *Context) XXX_Merge(src proto.Message) { - xxx_messageInfo_Context.Merge(dst, src) +func (m *Context) XXX_Merge(src proto.Message) { + xxx_messageInfo_Context.Merge(m, src) } func (m *Context) XXX_Size() int { return xxx_messageInfo_Context.Size(m) @@ -138,16 +141,17 @@ func (m *Void) Reset() { *m = Void{} } func (m *Void) String() string { return proto.CompactTextString(m) } func (*Void) ProtoMessage() {} func (*Void) Descriptor() ([]byte, []int) { - return fileDescriptor_context_5ad16091514dff5e, []int{1} + return fileDescriptor_b64063be2fc89884, []int{1} } + func (m *Void) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Void.Unmarshal(m, b) } func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Void.Marshal(b, m, deterministic) } -func (dst *Void) XXX_Merge(src proto.Message) { - xxx_messageInfo_Void.Merge(dst, src) +func (m *Void) XXX_Merge(src proto.Message) { + xxx_messageInfo_Void.Merge(m, src) } func (m *Void) XXX_Size() int { return xxx_messageInfo_Void.Size(m) @@ -163,9 +167,9 @@ func init() { proto.RegisterType((*Void)(nil), "aaa.protos.Void") } -func init() { proto.RegisterFile("context.proto", fileDescriptor_context_5ad16091514dff5e) } +func init() { proto.RegisterFile("context.proto", fileDescriptor_b64063be2fc89884) } -var fileDescriptor_context_5ad16091514dff5e = []byte{ +var fileDescriptor_b64063be2fc89884 = []byte{ // 257 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x4d, 0x4b, 0xc4, 0x30, 0x10, 0x86, 0xe9, 0x6e, 0xed, 0xc7, 0xe0, 0xa2, 0xe4, 0xa0, 0x51, 0x10, 0x96, 0x05, 0x75, 0x4f, diff --git a/feg/gateway/services/aaa/protos/eap.pb.go b/feg/gateway/services/aaa/protos/eap.pb.go index 3e70059468b2..ceddce42e224 100644 --- a/feg/gateway/services/aaa/protos/eap.pb.go +++ b/feg/gateway/services/aaa/protos/eap.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: eap.proto -package protos // import "magma/feg/gateway/services/aaa/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type EapType int32 @@ -54,6 +55,7 @@ var EapType_name = map[int32]string{ 23: "AKA", 50: "AKAPrime", } + var EapType_value = map[string]int32{ "Reserved": 0, "Identity": 1, @@ -71,8 +73,9 @@ var EapType_value = map[string]int32{ func (x EapType) String() string { return proto.EnumName(EapType_name, int32(x)) } + func (EapType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eap_3f6c89a3797c2922, []int{0} + return fileDescriptor_7d3d10afaccdb1f2, []int{0} } type EapCode int32 @@ -92,6 +95,7 @@ var EapCode_name = map[int32]string{ 3: "Success", 4: "Failure", } + var EapCode_value = map[string]int32{ "Undefined": 0, "Request": 1, @@ -103,8 +107,9 @@ var EapCode_value = map[string]int32{ func (x EapCode) String() string { return proto.EnumName(EapCode_name, int32(x)) } + func (EapCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eap_3f6c89a3797c2922, []int{1} + return fileDescriptor_7d3d10afaccdb1f2, []int{1} } type Eap struct { @@ -119,16 +124,17 @@ func (m *Eap) Reset() { *m = Eap{} } func (m *Eap) String() string { return proto.CompactTextString(m) } func (*Eap) ProtoMessage() {} func (*Eap) Descriptor() ([]byte, []int) { - return fileDescriptor_eap_3f6c89a3797c2922, []int{0} + return fileDescriptor_7d3d10afaccdb1f2, []int{0} } + func (m *Eap) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Eap.Unmarshal(m, b) } func (m *Eap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Eap.Marshal(b, m, deterministic) } -func (dst *Eap) XXX_Merge(src proto.Message) { - xxx_messageInfo_Eap.Merge(dst, src) +func (m *Eap) XXX_Merge(src proto.Message) { + xxx_messageInfo_Eap.Merge(m, src) } func (m *Eap) XXX_Size() int { return xxx_messageInfo_Eap.Size(m) @@ -166,16 +172,17 @@ func (m *EapIdentity) Reset() { *m = EapIdentity{} } func (m *EapIdentity) String() string { return proto.CompactTextString(m) } func (*EapIdentity) ProtoMessage() {} func (*EapIdentity) Descriptor() ([]byte, []int) { - return fileDescriptor_eap_3f6c89a3797c2922, []int{1} + return fileDescriptor_7d3d10afaccdb1f2, []int{1} } + func (m *EapIdentity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EapIdentity.Unmarshal(m, b) } func (m *EapIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EapIdentity.Marshal(b, m, deterministic) } -func (dst *EapIdentity) XXX_Merge(src proto.Message) { - xxx_messageInfo_EapIdentity.Merge(dst, src) +func (m *EapIdentity) XXX_Merge(src proto.Message) { + xxx_messageInfo_EapIdentity.Merge(m, src) } func (m *EapIdentity) XXX_Size() int { return xxx_messageInfo_EapIdentity.Size(m) @@ -218,16 +225,17 @@ func (m *EapMethodList) Reset() { *m = EapMethodList{} } func (m *EapMethodList) String() string { return proto.CompactTextString(m) } func (*EapMethodList) ProtoMessage() {} func (*EapMethodList) Descriptor() ([]byte, []int) { - return fileDescriptor_eap_3f6c89a3797c2922, []int{2} + return fileDescriptor_7d3d10afaccdb1f2, []int{2} } + func (m *EapMethodList) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EapMethodList.Unmarshal(m, b) } func (m *EapMethodList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EapMethodList.Marshal(b, m, deterministic) } -func (dst *EapMethodList) XXX_Merge(src proto.Message) { - xxx_messageInfo_EapMethodList.Merge(dst, src) +func (m *EapMethodList) XXX_Merge(src proto.Message) { + xxx_messageInfo_EapMethodList.Merge(m, src) } func (m *EapMethodList) XXX_Size() int { return xxx_messageInfo_EapMethodList.Size(m) @@ -246,11 +254,47 @@ func (m *EapMethodList) GetMethods() []byte { } func init() { + proto.RegisterEnum("aaa.protos.EapType", EapType_name, EapType_value) + proto.RegisterEnum("aaa.protos.EapCode", EapCode_name, EapCode_value) proto.RegisterType((*Eap)(nil), "aaa.protos.eap") proto.RegisterType((*EapIdentity)(nil), "aaa.protos.eap_identity") proto.RegisterType((*EapMethodList)(nil), "aaa.protos.eap_method_list") - proto.RegisterEnum("aaa.protos.EapType", EapType_name, EapType_value) - proto.RegisterEnum("aaa.protos.EapCode", EapCode_name, EapCode_value) +} + +func init() { proto.RegisterFile("eap.proto", fileDescriptor_7d3d10afaccdb1f2) } + +var fileDescriptor_7d3d10afaccdb1f2 = []byte{ + // 470 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x92, 0x5f, 0x8b, 0xd3, 0x4c,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0xf4, 0x8b, 0xc3, + 0xe4, 0x9f, 0xaa, 0xcf, 0xa1, 0x6b, 0x73, 0x63, 0x74, 0xe6, 0x48, 0x96, 0x5e, 0x59, 0xc1, 0xab, + 0x75, 0xef, 0xb4, 0x92, 0xfd, 0x47, 0x87, 0x0a, 0x2a, 0xb6, 0x0e, 0x6b, 0xd3, 0x6f, 0x0c, 0xc0, + 0xbf, 0xcd, 0x74, 0xee, 0xe8, 0x9f, 0x3c, 0xe1, 0xe5, 0xe3, 0xf7, 0xa7, 0x5b, 0x8c, 0xb7, 0x38, + 0x59, 0x53, 0x3c, 0x89, 0xd1, 0xd1, 0x17, 0xdc, 0x4f, 0xfc, 0x4f, 0xa8, 0x22, 0xb2, 0x13, 0x44, + 0x9c, 0x14, 0xad, 0x1f, 0x1a, 0x77, 0xcf, 0x67, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xdf, 0xde, + 0xb8, 0xf3, 0xb7, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -322,6 +366,20 @@ type AuthenticatorServer interface { SupportedMethods(context.Context, *Void) (*EapMethodList, error) } +// UnimplementedAuthenticatorServer can be embedded to have forward compatible implementations. +type UnimplementedAuthenticatorServer struct { +} + +func (*UnimplementedAuthenticatorServer) HandleIdentity(ctx context.Context, req *EapIdentity) (*Eap, error) { + return nil, status.Errorf(codes.Unimplemented, "method HandleIdentity not implemented") +} +func (*UnimplementedAuthenticatorServer) Handle(ctx context.Context, req *Eap) (*Eap, error) { + return nil, status.Errorf(codes.Unimplemented, "method Handle not implemented") +} +func (*UnimplementedAuthenticatorServer) SupportedMethods(ctx context.Context, req *Void) (*EapMethodList, error) { + return nil, status.Errorf(codes.Unimplemented, "method SupportedMethods not implemented") +} + func RegisterAuthenticatorServer(s *grpc.Server, srv AuthenticatorServer) { s.RegisterService(&_Authenticator_serviceDesc, srv) } @@ -462,6 +520,20 @@ type EapRouterServer interface { SupportedMethods(context.Context, *Void) (*EapMethodList, error) } +// UnimplementedEapRouterServer can be embedded to have forward compatible implementations. +type UnimplementedEapRouterServer struct { +} + +func (*UnimplementedEapRouterServer) HandleIdentity(ctx context.Context, req *EapIdentity) (*Eap, error) { + return nil, status.Errorf(codes.Unimplemented, "method HandleIdentity not implemented") +} +func (*UnimplementedEapRouterServer) Handle(ctx context.Context, req *Eap) (*Eap, error) { + return nil, status.Errorf(codes.Unimplemented, "method Handle not implemented") +} +func (*UnimplementedEapRouterServer) SupportedMethods(ctx context.Context, req *Void) (*EapMethodList, error) { + return nil, status.Errorf(codes.Unimplemented, "method SupportedMethods not implemented") +} + func RegisterEapRouterServer(s *grpc.Server, srv EapRouterServer) { s.RegisterService(&_EapRouter_serviceDesc, srv) } @@ -540,39 +612,3 @@ var _EapRouter_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "eap.proto", } - -func init() { proto.RegisterFile("eap.proto", fileDescriptor_eap_3f6c89a3797c2922) } - -var fileDescriptor_eap_3f6c89a3797c2922 = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x92, 0x5f, 0x8b, 0xd3, 0x4c, - 0x14, 0xc6, 0x3b, 0xcd, 0xd2, 0x76, 0xcf, 0x36, 0x6f, 0xa7, 0xf3, 0x82, 0x96, 0x7a, 0x53, 0x0a, - 0x8b, 0x65, 0x95, 0x16, 0x2a, 0xde, 0x0a, 0xd5, 0xdd, 0x85, 0x65, 0x77, 0x8b, 0xb4, 0xea, 0x85, - 0x37, 0xe5, 0x98, 0x39, 0x4d, 0x07, 0xd3, 0xcc, 0x98, 0x99, 0x68, 0xfb, 0x85, 0xfc, 0x1c, 0x82, - 0xdf, 0x4b, 0x65, 0x36, 0x59, 0x0c, 0xc5, 0x3b, 0xaf, 0xbc, 0xca, 0xf9, 0xe5, 0xfc, 0x7b, 0x4e, - 0x9e, 0xc0, 0x31, 0xa1, 0x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9c, 0x14, 0xad, 0x1f, 0x1a, 0x77, 0xcf, 0x67, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xdf, 0xde, - 0xb8, 0xf3, 0xb7, 0x03, 0x00, 0x00, -} diff --git a/feg/gateway/services/eap/protos/eap_auth.pb.go b/feg/gateway/services/eap/protos/eap_auth.pb.go index 15d53bcf4946..2f075edc91b9 100644 --- a/feg/gateway/services/eap/protos/eap_auth.pb.go +++ b/feg/gateway/services/eap/protos/eap_auth.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: protos/eap_auth.proto -package protos // import "magma/feg/gateway/services/eap/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/feg/gateway/services/aaa/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/feg/gateway/services/aaa/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,21 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +func init() { proto.RegisterFile("protos/eap_auth.proto", fileDescriptor_3e8f4f02288c4412) } + +var fileDescriptor_3e8f4f02288c4412 = []byte{ + // 128 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0x28, 0xca, 0x2f, + 0xc9, 0x2f, 0xd6, 0x4f, 0x4d, 0x2c, 0x88, 0x4f, 0x2c, 0x2d, 0xc9, 0xd0, 0x03, 0xf3, 0x85, 0x98, + 0x53, 0x13, 0x0b, 0xa4, 0x38, 0x53, 0x13, 0x0b, 0x20, 0x7c, 0x23, 0x6b, 0x2e, 0x6e, 0x90, 0x8a, + 0xe2, 0xd4, 0xa2, 0xb2, 0xcc, 0xe4, 0x54, 0x21, 0x1d, 0x2e, 0xb6, 0x8c, 0xc4, 0xbc, 0x94, 0x9c, + 0x54, 0x21, 0x7e, 0xbd, 0xc4, 0xc4, 0x44, 0x88, 0xa2, 0x62, 0x3d, 0x90, 0x26, 0x74, 0x01, 0x25, + 0x06, 0x27, 0xf5, 0x28, 0xd5, 0xdc, 0xc4, 0xf4, 0xdc, 0x44, 0xfd, 0xb4, 0xd4, 0x74, 0xfd, 0xf4, + 0xc4, 0x92, 0xd4, 0xf2, 0xc4, 0x4a, 0x7d, 0xa8, 0x51, 0x60, 0x9b, 0xf5, 0x21, 0xca, 0x93, 0xd8, + 0xc0, 0xb4, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xe5, 0xcc, 0x07, 0x95, 0x00, 0x00, 0x00, +} // Reference imports to suppress errors if they are not otherwise used. var _ context.Context @@ -61,6 +76,14 @@ type EapServiceServer interface { Handle(context.Context, *protos.Eap) (*protos.Eap, error) } +// UnimplementedEapServiceServer can be embedded to have forward compatible implementations. +type UnimplementedEapServiceServer struct { +} + +func (*UnimplementedEapServiceServer) Handle(ctx context.Context, req *protos.Eap) (*protos.Eap, error) { + return nil, status.Errorf(codes.Unimplemented, "method Handle not implemented") +} + func RegisterEapServiceServer(s *grpc.Server, srv EapServiceServer) { s.RegisterService(&_EapService_serviceDesc, srv) } @@ -95,17 +118,3 @@ var _EapService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "protos/eap_auth.proto", } - -func init() { proto.RegisterFile("protos/eap_auth.proto", fileDescriptor_eap_auth_ea87e7dd575c68fa) } - -var fileDescriptor_eap_auth_ea87e7dd575c68fa = []byte{ - // 128 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0x28, 0xca, 0x2f, - 0xc9, 0x2f, 0xd6, 0x4f, 0x4d, 0x2c, 0x88, 0x4f, 0x2c, 0x2d, 0xc9, 0xd0, 0x03, 0xf3, 0x85, 0x98, - 0x53, 0x13, 0x0b, 0xa4, 0x38, 0x53, 0x13, 0x0b, 0x20, 0x7c, 0x23, 0x6b, 0x2e, 0x6e, 0x90, 0x8a, - 0xe2, 0xd4, 0xa2, 0xb2, 0xcc, 0xe4, 0x54, 0x21, 0x1d, 0x2e, 0xb6, 0x8c, 0xc4, 0xbc, 0x94, 0x9c, - 0x54, 0x21, 0x7e, 0xbd, 0xc4, 0xc4, 0x44, 0x88, 0xa2, 0x62, 0x3d, 0x90, 0x26, 0x74, 0x01, 0x25, - 0x06, 0x27, 0xf5, 0x28, 0xd5, 0xdc, 0xc4, 0xf4, 0xdc, 0x44, 0xfd, 0xb4, 0xd4, 0x74, 0xfd, 0xf4, - 0xc4, 0x92, 0xd4, 0xf2, 0xc4, 0x4a, 0x7d, 0xa8, 0x51, 0x60, 0x9b, 0xf5, 0x21, 0xca, 0x93, 0xd8, - 0xc0, 0xb4, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xe5, 0xcc, 0x07, 0x95, 0x00, 0x00, 0x00, -} diff --git a/feg/gateway/services/eap/providers/protos/eap_provider.pb.go b/feg/gateway/services/eap/providers/protos/eap_provider.pb.go index 81abe5e0792d..d7a9954ecec5 100644 --- a/feg/gateway/services/eap/providers/protos/eap_provider.pb.go +++ b/feg/gateway/services/eap/providers/protos/eap_provider.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: protos/eap_provider.proto -package protos // import "magma/feg/gateway/services/eap/provider/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type EapAkaSubtype int32 @@ -41,6 +43,7 @@ var EapAkaSubtype_name = map[int32]string{ 13: "aka_reauthentication", 14: "aka_cient_error", } + var EapAkaSubtype_value = map[string]int32{ "eap_aka_subtype_undefined": 0, "aka_challenge": 1, @@ -55,19 +58,18 @@ var EapAkaSubtype_value = map[string]int32{ func (x EapAkaSubtype) String() string { return proto.EnumName(EapAkaSubtype_name, int32(x)) } + func (EapAkaSubtype) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eap_provider_97fdc7b9334ed30e, []int{0} + return fileDescriptor_42486daf089b2eda, []int{0} } func init() { proto.RegisterEnum("eap.EapAkaSubtype", EapAkaSubtype_name, EapAkaSubtype_value) } -func init() { - proto.RegisterFile("protos/eap_provider.proto", fileDescriptor_eap_provider_97fdc7b9334ed30e) -} +func init() { proto.RegisterFile("protos/eap_provider.proto", fileDescriptor_42486daf089b2eda) } -var fileDescriptor_eap_provider_97fdc7b9334ed30e = []byte{ +var fileDescriptor_42486daf089b2eda = []byte{ // 242 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xbd, 0x4e, 0xc3, 0x30, 0x14, 0x85, 0x29, 0x7f, 0x83, 0x45, 0xa9, 0x71, 0x91, 0xa0, 0x42, 0x88, 0x9d, 0xa1, 0x46, 0xe2, diff --git a/lte/cloud/go/go.mod b/lte/cloud/go/go.mod index 685ab94faf4c..410371c7ea00 100644 --- a/lte/cloud/go/go.mod +++ b/lte/cloud/go/go.mod @@ -17,7 +17,7 @@ require ( github.com/go-openapi/validate v0.18.0 github.com/go-sql-driver/mysql v1.4.0 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.2.0 + github.com/golang/protobuf v1.3.2 github.com/google/uuid v1.1.0 github.com/labstack/echo v0.0.0-20181123063414-c54d9e8eed6c github.com/lib/pq v1.0.0 @@ -26,8 +26,8 @@ require ( github.com/stretchr/testify v1.3.0 github.com/thoas/go-funk v0.4.0 golang.org/x/net v0.0.0-20190311183353-d8887717615a - google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 - google.golang.org/grpc v1.19.0 + google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 + google.golang.org/grpc v1.25.0 magma/orc8r/cloud/go v0.0.0 ) diff --git a/lte/cloud/go/go.sum b/lte/cloud/go/go.sum index 41b692a65355..abf27d6ad7e8 100644 --- a/lte/cloud/go/go.sum +++ b/lte/cloud/go/go.sum @@ -34,6 +34,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/biogo/store v0.0.0-20160505134755-913427a1d5e8/go.mod h1:Iev9Q3MErcn+w3UOJD/DkEzllvugfdx7bGcMOFhvr/4= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -63,6 +64,8 @@ github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1 github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= @@ -139,6 +142,8 @@ github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -288,6 +293,8 @@ github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f h1:BVwpUVJDADN2ufcGik7W992pyps0wZ888b/y9GXcLTU= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -358,6 +365,7 @@ golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -380,6 +388,8 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FY golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -404,7 +414,9 @@ golang.org/x/tools v0.0.0-20181112210238-4b1f3b6b1646/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/api v0.0.0-20180506000402-20530fd5d65a/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -417,11 +429,16 @@ google.golang.org/genproto v0.0.0-20170531203552-aa2eb687b4d3/go.mod h1:JiN7NxoA google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqnGaSjo+CCdIieEnwVazbOXILwQemk= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0 h1:ItERT+UbGdX+s4u+nQNlVM/Q7cbmf7icKfvzbWqVtq0= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= @@ -440,6 +457,7 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= diff --git a/lte/cloud/go/protos/abort_session.pb.go b/lte/cloud/go/protos/abort_session.pb.go index 57de26864664..90954a27bf8f 100644 --- a/lte/cloud/go/protos/abort_session.pb.go +++ b/lte/cloud/go/protos/abort_session.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/abort_session.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type AbortSessionResult_Code int32 @@ -38,6 +39,7 @@ var AbortSessionResult_Code_name = map[int32]string{ 2: "USER_NOT_FOUND", 3: "GATEWAY_NOT_FOUND", } + var AbortSessionResult_Code_value = map[string]int32{ "SESSION_REMOVED": 0, "SESSION_NOT_FOUND": 1, @@ -48,8 +50,9 @@ var AbortSessionResult_Code_value = map[string]int32{ func (x AbortSessionResult_Code) String() string { return proto.EnumName(AbortSessionResult_Code_name, int32(x)) } + func (AbortSessionResult_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_abort_session_27a0fefc3f1d6547, []int{1, 0} + return fileDescriptor_80dacefcd8bf4976, []int{1, 0} } type AbortSessionRequest struct { @@ -64,16 +67,17 @@ func (m *AbortSessionRequest) Reset() { *m = AbortSessionRequest{} } func (m *AbortSessionRequest) String() string { return proto.CompactTextString(m) } func (*AbortSessionRequest) ProtoMessage() {} func (*AbortSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_abort_session_27a0fefc3f1d6547, []int{0} + return fileDescriptor_80dacefcd8bf4976, []int{0} } + func (m *AbortSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AbortSessionRequest.Unmarshal(m, b) } func (m *AbortSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AbortSessionRequest.Marshal(b, m, deterministic) } -func (dst *AbortSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbortSessionRequest.Merge(dst, src) +func (m *AbortSessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AbortSessionRequest.Merge(m, src) } func (m *AbortSessionRequest) XXX_Size() int { return xxx_messageInfo_AbortSessionRequest.Size(m) @@ -110,16 +114,17 @@ func (m *AbortSessionResult) Reset() { *m = AbortSessionResult{} } func (m *AbortSessionResult) String() string { return proto.CompactTextString(m) } func (*AbortSessionResult) ProtoMessage() {} func (*AbortSessionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_abort_session_27a0fefc3f1d6547, []int{1} + return fileDescriptor_80dacefcd8bf4976, []int{1} } + func (m *AbortSessionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AbortSessionResult.Unmarshal(m, b) } func (m *AbortSessionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AbortSessionResult.Marshal(b, m, deterministic) } -func (dst *AbortSessionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbortSessionResult.Merge(dst, src) +func (m *AbortSessionResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_AbortSessionResult.Merge(m, src) } func (m *AbortSessionResult) XXX_Size() int { return xxx_messageInfo_AbortSessionResult.Size(m) @@ -145,9 +150,34 @@ func (m *AbortSessionResult) GetErrorMessage() string { } func init() { + proto.RegisterEnum("magma.lte.AbortSessionResult_Code", AbortSessionResult_Code_name, AbortSessionResult_Code_value) proto.RegisterType((*AbortSessionRequest)(nil), "magma.lte.AbortSessionRequest") proto.RegisterType((*AbortSessionResult)(nil), "magma.lte.AbortSessionResult") - proto.RegisterEnum("magma.lte.AbortSessionResult_Code", AbortSessionResult_Code_name, AbortSessionResult_Code_value) +} + +func init() { proto.RegisterFile("lte/protos/abort_session.proto", fileDescriptor_80dacefcd8bf4976) } + +var fileDescriptor_80dacefcd8bf4976 = []byte{ + // 302 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xdf, 0x4b, 0xfa, 0x50, + 0x14, 0xc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87, 0x41, 0x12, 0xf9, 0x93, 0xf0, 0xc1, 0x1f, + 0x35, 0x2b, 0xd8, 0x86, 0xe3, 0x3d, 0x0c, 0xc2, 0x69, 0x72, 0x1b, 0xce, 0x82, 0x51, 0xd3, 0x42, + 0x84, 0xc6, 0x2c, 0xf6, 0xa3, 0x12, 0xab, 0x16, 0xea, 0xdd, 0x70, 0xea, 0x3f, 0x0e, 0x9f, 0x4a, + 0xf8, 0xdf, 0xe0, 0x15, 0xda, 0xdf, 0x9a, 0xdc, 0x88, 0x35, 0x27, 0x89, 0x21, 0xd4, 0xcb, 0x01, + 0xec, 0xff, 0x3a, 0x96, 0xd9, 0xeb, 0x69, 0xef, 0xcf, 0xb1, 0x9d, 0xca, 0x75, 0xf7, 0xf9, 0xc4, + 0x18, 0x5e, 0x71, 0xc2, 0x45, 0x2a, 0x72, 0xee, 0x2d, 0xc5, 0xee, 0x96, 0xf3, 0xff, 0xe6, 0xbd, + 0xfc, 0x08, 0x00, 0x00, 0xff, 0xff, 0x14, 0x1d, 0x18, 0xf4, 0xe0, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -187,6 +217,14 @@ type AbortSessionResponderServer interface { AbortSession(context.Context, *AbortSessionRequest) (*AbortSessionResult, error) } +// UnimplementedAbortSessionResponderServer can be embedded to have forward compatible implementations. +type UnimplementedAbortSessionResponderServer struct { +} + +func (*UnimplementedAbortSessionResponderServer) AbortSession(ctx context.Context, req *AbortSessionRequest) (*AbortSessionResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method AbortSession not implemented") +} + func RegisterAbortSessionResponderServer(s *grpc.Server, srv AbortSessionResponderServer) { s.RegisterService(&_AbortSessionResponder_serviceDesc, srv) } @@ -221,30 +259,3 @@ var _AbortSessionResponder_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/abort_session.proto", } - -func init() { - proto.RegisterFile("lte/protos/abort_session.proto", fileDescriptor_abort_session_27a0fefc3f1d6547) -} - -var fileDescriptor_abort_session_27a0fefc3f1d6547 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xdf, 0x4b, 0xfa, 0x50, - 0x14, 0xc0, 0x9d, 0x5f, 0xf9, 0xd2, 0x0e, 0x66, 0x76, 0x44, 0xb0, 0x44, 0x89, 0xf5, 0xd2, 0xd3, - 0x06, 0x06, 0xbd, 0x5b, 0xae, 0xf0, 0xc1, 0x8d, 0x36, 0x2d, 0x0a, 0x62, 0x5c, 0xbd, 0x07, 0x13, - 0x36, 0xaf, 0xdd, 0x7b, 0xf7, 0x7f, 0xf6, 0x27, 0xc5, 0xae, 0x1a, 0xab, 0xa8, 0xa7, 0x0b, 0x9f, - 0xf3, 0x39, 0xe7, 0x9e, 0x1f, 0xd0, 0x4f, 0x35, 0x79, 0x1b, 0x29, 0xb4, 0x50, 0x1e, 0x9b, 0x0b, - 0xa9, 0x13, 0x45, 0x4a, 0xad, 0xc4, 0xda, 0x35, 0x10, 0xed, 0x8c, 0x2d, 0x33, 0xe6, 0xa6, 0x9a, - 0x9c, 0x7b, 0x68, 0x0d, 0x0b, 0x23, 0xde, 0x0a, 0x11, 0xbd, 0xe5, 0xa4, 0x34, 0xf6, 0x00, 0x76, - 0x29, 0xc9, 0x8a, 0x77, 0xac, 0x33, 0xeb, 0xc2, 0x8e, 0xec, 0x1d, 0x19, 0x73, 0xec, 0x82, 0x9d, - 0x2b, 0x92, 0xc9, 0x9a, 0x65, 0xd4, 0xa9, 0x9a, 0xe8, 0x41, 0x01, 0x02, 0x96, 0x91, 0xf3, 0x6e, - 0x01, 0x7e, 0xad, 0xa9, 0xf2, 0x54, 0xe3, 0x15, 0xd4, 0x16, 0x82, 0x93, 0x29, 0xd6, 0x18, 0x38, - 0xee, 0x67, 0x0f, 0xee, 0x4f, 0xd9, 0xbd, 0x11, 0x9c, 0x22, 0xe3, 0xe3, 0x39, 0x1c, 0x92, 0x94, - 0x42, 0x26, 0x19, 0x29, 0xc5, 0x96, 0xfb, 0xff, 0xea, 0x06, 0x4e, 0xb6, 0xcc, 0x79, 0x81, 0x5a, - 0x91, 0x82, 0x2d, 0x38, 0x8a, 0xfd, 0x38, 0x1e, 0x87, 0x41, 0x12, 0xf9, 0x93, 0xf0, 0xc1, 0x1f, - 0x35, 0x2b, 0xd8, 0x86, 0xe3, 0x3d, 0x0c, 0xc2, 0x69, 0x72, 0x1b, 0xce, 0x82, 0x51, 0xd3, 0x42, - 0x84, 0xc6, 0x2c, 0xf6, 0xa3, 0x12, 0xab, 0x16, 0xea, 0xdd, 0x70, 0xea, 0x3f, 0x0e, 0x9f, 0x4a, - 0xf8, 0xdf, 0xe0, 0x15, 0xda, 0xdf, 0x9a, 0xdc, 0x88, 0x35, 0x27, 0x89, 0x21, 0xd4, 0xcb, 0x01, - 0xec, 0xff, 0x3a, 0x96, 0xd9, 0xeb, 0x69, 0xef, 0xcf, 0xb1, 0x9d, 0xca, 0x75, 0xf7, 0xf9, 0xc4, - 0x18, 0x5e, 0x71, 0xc2, 0x45, 0x2a, 0x72, 0xee, 0x2d, 0xc5, 0xee, 0x96, 0xf3, 0xff, 0xe6, 0xbd, - 0xfc, 0x08, 0x00, 0x00, 0xff, 0xff, 0x14, 0x1d, 0x18, 0xf4, 0xe0, 0x01, 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/enodebd.pb.go b/lte/cloud/go/protos/enodebd.pb.go index dd5392c8d3ed..ec12e70a110a 100644 --- a/lte/cloud/go/protos/enodebd.pb.go +++ b/lte/cloud/go/protos/enodebd.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/enodebd.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type SingleEnodebStatus_StatusProperty int32 @@ -37,6 +38,7 @@ var SingleEnodebStatus_StatusProperty_name = map[int32]string{ 1: "ON", 2: "UNKNOWN", } + var SingleEnodebStatus_StatusProperty_value = map[string]int32{ "OFF": 0, "ON": 1, @@ -46,8 +48,9 @@ var SingleEnodebStatus_StatusProperty_value = map[string]int32{ func (x SingleEnodebStatus_StatusProperty) String() string { return proto.EnumName(SingleEnodebStatus_StatusProperty_name, int32(x)) } + func (SingleEnodebStatus_StatusProperty) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{6, 0} + return fileDescriptor_b803bda4b235859b, []int{6, 0} } // -------------------------------------------------------------------------- @@ -69,16 +72,17 @@ func (m *GetParameterRequest) Reset() { *m = GetParameterRequest{} } func (m *GetParameterRequest) String() string { return proto.CompactTextString(m) } func (*GetParameterRequest) ProtoMessage() {} func (*GetParameterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{0} + return fileDescriptor_b803bda4b235859b, []int{0} } + func (m *GetParameterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetParameterRequest.Unmarshal(m, b) } func (m *GetParameterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetParameterRequest.Marshal(b, m, deterministic) } -func (dst *GetParameterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetParameterRequest.Merge(dst, src) +func (m *GetParameterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetParameterRequest.Merge(m, src) } func (m *GetParameterRequest) XXX_Size() int { return xxx_messageInfo_GetParameterRequest.Size(m) @@ -117,16 +121,17 @@ func (m *NameValue) Reset() { *m = NameValue{} } func (m *NameValue) String() string { return proto.CompactTextString(m) } func (*NameValue) ProtoMessage() {} func (*NameValue) Descriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{1} + return fileDescriptor_b803bda4b235859b, []int{1} } + func (m *NameValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NameValue.Unmarshal(m, b) } func (m *NameValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NameValue.Marshal(b, m, deterministic) } -func (dst *NameValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_NameValue.Merge(dst, src) +func (m *NameValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_NameValue.Merge(m, src) } func (m *NameValue) XXX_Size() int { return xxx_messageInfo_NameValue.Size(m) @@ -163,16 +168,17 @@ func (m *GetParameterResponse) Reset() { *m = GetParameterResponse{} } func (m *GetParameterResponse) String() string { return proto.CompactTextString(m) } func (*GetParameterResponse) ProtoMessage() {} func (*GetParameterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{2} + return fileDescriptor_b803bda4b235859b, []int{2} } + func (m *GetParameterResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetParameterResponse.Unmarshal(m, b) } func (m *GetParameterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetParameterResponse.Marshal(b, m, deterministic) } -func (dst *GetParameterResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetParameterResponse.Merge(dst, src) +func (m *GetParameterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetParameterResponse.Merge(m, src) } func (m *GetParameterResponse) XXX_Size() int { return xxx_messageInfo_GetParameterResponse.Size(m) @@ -222,16 +228,17 @@ func (m *SetParameterRequest) Reset() { *m = SetParameterRequest{} } func (m *SetParameterRequest) String() string { return proto.CompactTextString(m) } func (*SetParameterRequest) ProtoMessage() {} func (*SetParameterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{3} + return fileDescriptor_b803bda4b235859b, []int{3} } + func (m *SetParameterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetParameterRequest.Unmarshal(m, b) } func (m *SetParameterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SetParameterRequest.Marshal(b, m, deterministic) } -func (dst *SetParameterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetParameterRequest.Merge(dst, src) +func (m *SetParameterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetParameterRequest.Merge(m, src) } func (m *SetParameterRequest) XXX_Size() int { return xxx_messageInfo_SetParameterRequest.Size(m) @@ -313,89 +320,15 @@ func (m *SetParameterRequest) GetParameterKey() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*SetParameterRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _SetParameterRequest_OneofMarshaler, _SetParameterRequest_OneofUnmarshaler, _SetParameterRequest_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*SetParameterRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*SetParameterRequest_ValueInt)(nil), (*SetParameterRequest_ValueString)(nil), (*SetParameterRequest_ValueBool)(nil), } } -func _SetParameterRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*SetParameterRequest) - // value - switch x := m.Value.(type) { - case *SetParameterRequest_ValueInt: - b.EncodeVarint(3<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.ValueInt)) - case *SetParameterRequest_ValueString: - b.EncodeVarint(4<<3 | proto.WireBytes) - b.EncodeStringBytes(x.ValueString) - case *SetParameterRequest_ValueBool: - t := uint64(0) - if x.ValueBool { - t = 1 - } - b.EncodeVarint(5<<3 | proto.WireVarint) - b.EncodeVarint(t) - case nil: - default: - return fmt.Errorf("SetParameterRequest.Value has unexpected type %T", x) - } - return nil -} - -func _SetParameterRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*SetParameterRequest) - switch tag { - case 3: // value.value_int - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Value = &SetParameterRequest_ValueInt{int32(x)} - return true, err - case 4: // value.value_string - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Value = &SetParameterRequest_ValueString{x} - return true, err - case 5: // value.value_bool - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Value = &SetParameterRequest_ValueBool{x != 0} - return true, err - default: - return false, nil - } -} - -func _SetParameterRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*SetParameterRequest) - // value - switch x := m.Value.(type) { - case *SetParameterRequest_ValueInt: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.ValueInt)) - case *SetParameterRequest_ValueString: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.ValueString))) - n += len(x.ValueString) - case *SetParameterRequest_ValueBool: - n += 1 // tag and wire - n += 1 - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type EnodebIdentity struct { // Serial ID of eNodeB. Uniquely identifies the eNodeB. DeviceSerial string `protobuf:"bytes,1,opt,name=device_serial,json=deviceSerial,proto3" json:"device_serial,omitempty"` @@ -408,16 +341,17 @@ func (m *EnodebIdentity) Reset() { *m = EnodebIdentity{} } func (m *EnodebIdentity) String() string { return proto.CompactTextString(m) } func (*EnodebIdentity) ProtoMessage() {} func (*EnodebIdentity) Descriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{4} + return fileDescriptor_b803bda4b235859b, []int{4} } + func (m *EnodebIdentity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnodebIdentity.Unmarshal(m, b) } func (m *EnodebIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnodebIdentity.Marshal(b, m, deterministic) } -func (dst *EnodebIdentity) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnodebIdentity.Merge(dst, src) +func (m *EnodebIdentity) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnodebIdentity.Merge(m, src) } func (m *EnodebIdentity) XXX_Size() int { return xxx_messageInfo_EnodebIdentity.Size(m) @@ -446,16 +380,17 @@ func (m *AllEnodebStatus) Reset() { *m = AllEnodebStatus{} } func (m *AllEnodebStatus) String() string { return proto.CompactTextString(m) } func (*AllEnodebStatus) ProtoMessage() {} func (*AllEnodebStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{5} + return fileDescriptor_b803bda4b235859b, []int{5} } + func (m *AllEnodebStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllEnodebStatus.Unmarshal(m, b) } func (m *AllEnodebStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AllEnodebStatus.Marshal(b, m, deterministic) } -func (dst *AllEnodebStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllEnodebStatus.Merge(dst, src) +func (m *AllEnodebStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllEnodebStatus.Merge(m, src) } func (m *AllEnodebStatus) XXX_Size() int { return xxx_messageInfo_AllEnodebStatus.Size(m) @@ -496,16 +431,17 @@ func (m *SingleEnodebStatus) Reset() { *m = SingleEnodebStatus{} } func (m *SingleEnodebStatus) String() string { return proto.CompactTextString(m) } func (*SingleEnodebStatus) ProtoMessage() {} func (*SingleEnodebStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_enodebd_2acabb021e36dd15, []int{6} + return fileDescriptor_b803bda4b235859b, []int{6} } + func (m *SingleEnodebStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SingleEnodebStatus.Unmarshal(m, b) } func (m *SingleEnodebStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SingleEnodebStatus.Marshal(b, m, deterministic) } -func (dst *SingleEnodebStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_SingleEnodebStatus.Merge(dst, src) +func (m *SingleEnodebStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_SingleEnodebStatus.Merge(m, src) } func (m *SingleEnodebStatus) XXX_Size() int { return xxx_messageInfo_SingleEnodebStatus.Size(m) @@ -608,6 +544,7 @@ func (m *SingleEnodebStatus) GetRfTxDesired() SingleEnodebStatus_StatusProperty } func init() { + proto.RegisterEnum("magma.lte.SingleEnodebStatus_StatusProperty", SingleEnodebStatus_StatusProperty_name, SingleEnodebStatus_StatusProperty_value) proto.RegisterType((*GetParameterRequest)(nil), "magma.lte.GetParameterRequest") proto.RegisterType((*NameValue)(nil), "magma.lte.NameValue") proto.RegisterType((*GetParameterResponse)(nil), "magma.lte.GetParameterResponse") @@ -615,7 +552,62 @@ func init() { proto.RegisterType((*EnodebIdentity)(nil), "magma.lte.EnodebIdentity") proto.RegisterType((*AllEnodebStatus)(nil), "magma.lte.AllEnodebStatus") proto.RegisterType((*SingleEnodebStatus)(nil), "magma.lte.SingleEnodebStatus") - proto.RegisterEnum("magma.lte.SingleEnodebStatus_StatusProperty", SingleEnodebStatus_StatusProperty_name, SingleEnodebStatus_StatusProperty_value) +} + +func init() { proto.RegisterFile("lte/protos/enodebd.proto", fileDescriptor_b803bda4b235859b) } + +var fileDescriptor_b803bda4b235859b = []byte{ + // 799 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5d, 0x6f, 0xe2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0x0f, 0xc5, 0xd3, 0x91, 0xba, 0xc1, 0x24, 0x5e, 0xc5, 0x53, 0xfa, 0x35, + 0xd4, 0x7a, 0x28, 0x56, 0xa0, 0x0d, 0x8b, 0xde, 0x3c, 0x96, 0xcf, 0xde, 0xfe, 0x79, 0x2c, 0xe3, + 0x9d, 0xf8, 0x1f, 0x64, 0xec, 0xb3, 0xa9, 0xd3, 0x71, 0x59, 0xf2, 0x1b, 0x31, 0xca, 0xcb, 0xeb, + 0xe9, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x93, 0x50, 0xaa, 0xa1, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -752,6 +744,35 @@ type EnodebdServer interface { GetEnodebStatus(context.Context, *EnodebIdentity) (*SingleEnodebStatus, error) } +// UnimplementedEnodebdServer can be embedded to have forward compatible implementations. +type UnimplementedEnodebdServer struct { +} + +func (*UnimplementedEnodebdServer) GetParameter(ctx context.Context, req *GetParameterRequest) (*GetParameterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetParameter not implemented") +} +func (*UnimplementedEnodebdServer) SetParameter(ctx context.Context, req *SetParameterRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetParameter not implemented") +} +func (*UnimplementedEnodebdServer) Configure(ctx context.Context, req *EnodebIdentity) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method Configure not implemented") +} +func (*UnimplementedEnodebdServer) Reboot(ctx context.Context, req *EnodebIdentity) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method Reboot not implemented") +} +func (*UnimplementedEnodebdServer) RebootAll(ctx context.Context, req *protos.Void) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method RebootAll not implemented") +} +func (*UnimplementedEnodebdServer) GetStatus(ctx context.Context, req *protos.Void) (*protos.ServiceStatus, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStatus not implemented") +} +func (*UnimplementedEnodebdServer) GetAllEnodebStatus(ctx context.Context, req *protos.Void) (*AllEnodebStatus, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAllEnodebStatus not implemented") +} +func (*UnimplementedEnodebdServer) GetEnodebStatus(ctx context.Context, req *EnodebIdentity) (*SingleEnodebStatus, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetEnodebStatus not implemented") +} + func RegisterEnodebdServer(s *grpc.Server, srv EnodebdServer) { s.RegisterService(&_Enodebd_serviceDesc, srv) } @@ -940,59 +961,3 @@ var _Enodebd_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/enodebd.proto", } - -func init() { proto.RegisterFile("lte/protos/enodebd.proto", fileDescriptor_enodebd_2acabb021e36dd15) } - -var fileDescriptor_enodebd_2acabb021e36dd15 = []byte{ - // 799 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5d, 0x6f, 0xe2, 0x46, - 0x14, 0x05, 0x92, 0x00, 0xbe, 0x7c, 0xa5, 0xb3, 0x79, 0x70, 0x58, 0xd1, 0xa5, 0x5e, 0x55, 0xe2, - 0xa1, 0x82, 0x36, 0xe9, 0x56, 0x6d, 0xdf, 0x48, 0x9a, 0x90, 0x6d, 0x22, 0xc8, 0x9a, 0x6e, 0x5a, - 0xf5, 0xc5, 0x32, 0xf8, 0x62, 0x59, 0xb5, 0x67, 0x1c, 0xcf, 0x10, 0x85, 0x9f, 0xd1, 0x9f, 0x5a, - 0xa9, 0x3f, 0xa0, 0xf2, 0x8c, 0x01, 0x93, 0x10, 0x14, 0x90, 0xfa, 0x64, 0xfb, 0xdc, 0x73, 0x8e, - 0xef, 0xdc, 0x3b, 0xbe, 0x63, 0xd0, 0x7d, 0x81, 0x9d, 0x30, 0x62, 0x82, 0xf1, 0x0e, 0x52, 0xe6, - 0xe0, 0xc8, 0x69, 0xcb, 0x47, 0xa2, 0x05, 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, 0xe6, 0x0e, 0x19, 0x40, 0x39, 0x3d, 0x7a, 0xc9, - 0x97, 0xa9, 0x34, 0xd6, 0x9c, 0x16, 0xf5, 0x77, 0x2f, 0xc6, 0x93, 0x99, 0xdd, 0x85, 0xf2, 0xf0, - 0x25, 0xc3, 0x35, 0x03, 0xb7, 0xfe, 0x45, 0x12, 0x97, 0xe7, 0x56, 0xfb, 0x8e, 0x79, 0x0e, 0xf9, - 0x09, 0xb4, 0xf3, 0xf9, 0xc7, 0x42, 0x8e, 0x53, 0xfa, 0xd5, 0xd1, 0xb5, 0x4e, 0xfa, 0x03, 0xe4, - 0x4d, 0x1c, 0x31, 0x26, 0xb6, 0xd4, 0x7d, 0x07, 0x9a, 0xd2, 0x75, 0x7d, 0x9f, 0x3c, 0x8f, 0xaf, - 0x93, 0xfc, 0x0c, 0x5a, 0x0f, 0x45, 0x32, 0xaf, 0xd6, 0x48, 0xea, 0x2b, 0xd0, 0x50, 0x1d, 0xd4, - 0x09, 0xfd, 0x1c, 0x48, 0x0f, 0xc5, 0xd3, 0x91, 0xba, 0xc1, 0x24, 0x5e, 0xc5, 0x53, 0xfa, 0x35, - 0xd4, 0x7a, 0x28, 0x56, 0xa0, 0x0d, 0x8b, 0xde, 0x3c, 0x96, 0xcf, 0xde, 0xfe, 0x79, 0x2c, 0xe3, - 0x9d, 0xf8, 0x1f, 0x64, 0xec, 0xb3, 0xa9, 0xd3, 0x71, 0x59, 0xf2, 0x1b, 0x31, 0xca, 0xcb, 0xeb, - 0xe9, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x93, 0x50, 0xaa, 0xa1, 0x08, 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/eps_authentication.pb.go b/lte/cloud/go/protos/eps_authentication.pb.go index 961b1fcbefb0..47e6b7140089 100644 --- a/lte/cloud/go/protos/eps_authentication.pb.go +++ b/lte/cloud/go/protos/eps_authentication.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/eps_authentication.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // ErrorCode reflects Experimental-Result values which are 3GPP failures // to be processed by EPC. Diameter Base Protocol errors are reflected in gRPC status code @@ -85,6 +86,7 @@ var ErrorCode_name = map[int32]string{ 5423: "UNKOWN_SERVING_NODE", 4181: "AUTHENTICATION_DATA_UNAVAILABLE", } + var ErrorCode_value = map[string]int32{ "UNDEFINED": 0, "MULTI_ROUND_AUTH": 1001, @@ -116,8 +118,9 @@ var ErrorCode_value = map[string]int32{ func (x ErrorCode) String() string { return proto.EnumName(ErrorCode_name, int32(x)) } + func (ErrorCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{0} + return fileDescriptor_d46b5bf6ceb95a32, []int{0} } // Network Access Mode AVP (Section 7.3.21) @@ -134,6 +137,7 @@ var UpdateLocationAnswer_NetworkAccessMode_name = map[int32]string{ 1: "RESERVED", 2: "ONLY_PACKET", } + var UpdateLocationAnswer_NetworkAccessMode_value = map[string]int32{ "PACKET_AND_CIRCUIT": 0, "RESERVED": 1, @@ -143,8 +147,9 @@ var UpdateLocationAnswer_NetworkAccessMode_value = map[string]int32{ func (x UpdateLocationAnswer_NetworkAccessMode) String() string { return proto.EnumName(UpdateLocationAnswer_NetworkAccessMode_name, int32(x)) } + func (UpdateLocationAnswer_NetworkAccessMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{3, 0} + return fileDescriptor_d46b5bf6ceb95a32, []int{3, 0} } type UpdateLocationAnswer_APNConfiguration_PDNType int32 @@ -162,6 +167,7 @@ var UpdateLocationAnswer_APNConfiguration_PDNType_name = map[int32]string{ 2: "IPV4V6", 3: "IPV4_OR_IPV6", } + var UpdateLocationAnswer_APNConfiguration_PDNType_value = map[string]int32{ "IPV4": 0, "IPV6": 1, @@ -172,8 +178,9 @@ var UpdateLocationAnswer_APNConfiguration_PDNType_value = map[string]int32{ func (x UpdateLocationAnswer_APNConfiguration_PDNType) String() string { return proto.EnumName(UpdateLocationAnswer_APNConfiguration_PDNType_name, int32(x)) } + func (UpdateLocationAnswer_APNConfiguration_PDNType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{3, 0, 0} + return fileDescriptor_d46b5bf6ceb95a32, []int{3, 0, 0} } type CancelLocationRequest_CancellationType int32 @@ -193,6 +200,7 @@ var CancelLocationRequest_CancellationType_name = map[int32]string{ 3: "UPDATE_PROCEDURE_IWF", 4: "INITIAL_ATTACH_PROCEDURE", } + var CancelLocationRequest_CancellationType_value = map[string]int32{ "MME_UPDATE_PROCEDURE": 0, "SGSN_UPDATE_PROCEDURE": 1, @@ -204,8 +212,9 @@ var CancelLocationRequest_CancellationType_value = map[string]int32{ func (x CancelLocationRequest_CancellationType) String() string { return proto.EnumName(CancelLocationRequest_CancellationType_name, int32(x)) } + func (CancelLocationRequest_CancellationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{4, 0} + return fileDescriptor_d46b5bf6ceb95a32, []int{4, 0} } // Authentication Information Request (Section 7.2.5) @@ -229,16 +238,17 @@ func (m *AuthenticationInformationRequest) Reset() { *m = Authentication func (m *AuthenticationInformationRequest) String() string { return proto.CompactTextString(m) } func (*AuthenticationInformationRequest) ProtoMessage() {} func (*AuthenticationInformationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{0} + return fileDescriptor_d46b5bf6ceb95a32, []int{0} } + func (m *AuthenticationInformationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthenticationInformationRequest.Unmarshal(m, b) } func (m *AuthenticationInformationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AuthenticationInformationRequest.Marshal(b, m, deterministic) } -func (dst *AuthenticationInformationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationInformationRequest.Merge(dst, src) +func (m *AuthenticationInformationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthenticationInformationRequest.Merge(m, src) } func (m *AuthenticationInformationRequest) XXX_Size() int { return xxx_messageInfo_AuthenticationInformationRequest.Size(m) @@ -299,16 +309,17 @@ func (m *AuthenticationInformationAnswer) Reset() { *m = AuthenticationI func (m *AuthenticationInformationAnswer) String() string { return proto.CompactTextString(m) } func (*AuthenticationInformationAnswer) ProtoMessage() {} func (*AuthenticationInformationAnswer) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{1} + return fileDescriptor_d46b5bf6ceb95a32, []int{1} } + func (m *AuthenticationInformationAnswer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthenticationInformationAnswer.Unmarshal(m, b) } func (m *AuthenticationInformationAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AuthenticationInformationAnswer.Marshal(b, m, deterministic) } -func (dst *AuthenticationInformationAnswer) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationInformationAnswer.Merge(dst, src) +func (m *AuthenticationInformationAnswer) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthenticationInformationAnswer.Merge(m, src) } func (m *AuthenticationInformationAnswer) XXX_Size() int { return xxx_messageInfo_AuthenticationInformationAnswer.Size(m) @@ -352,16 +363,17 @@ func (m *AuthenticationInformationAnswer_EUTRANVector) String() string { } func (*AuthenticationInformationAnswer_EUTRANVector) ProtoMessage() {} func (*AuthenticationInformationAnswer_EUTRANVector) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{1, 0} + return fileDescriptor_d46b5bf6ceb95a32, []int{1, 0} } + func (m *AuthenticationInformationAnswer_EUTRANVector) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthenticationInformationAnswer_EUTRANVector.Unmarshal(m, b) } func (m *AuthenticationInformationAnswer_EUTRANVector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AuthenticationInformationAnswer_EUTRANVector.Marshal(b, m, deterministic) } -func (dst *AuthenticationInformationAnswer_EUTRANVector) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationInformationAnswer_EUTRANVector.Merge(dst, src) +func (m *AuthenticationInformationAnswer_EUTRANVector) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthenticationInformationAnswer_EUTRANVector.Merge(m, src) } func (m *AuthenticationInformationAnswer_EUTRANVector) XXX_Size() int { return xxx_messageInfo_AuthenticationInformationAnswer_EUTRANVector.Size(m) @@ -420,16 +432,17 @@ func (m *UpdateLocationRequest) Reset() { *m = UpdateLocationRequest{} } func (m *UpdateLocationRequest) String() string { return proto.CompactTextString(m) } func (*UpdateLocationRequest) ProtoMessage() {} func (*UpdateLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{2} + return fileDescriptor_d46b5bf6ceb95a32, []int{2} } + func (m *UpdateLocationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateLocationRequest.Unmarshal(m, b) } func (m *UpdateLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateLocationRequest.Marshal(b, m, deterministic) } -func (dst *UpdateLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLocationRequest.Merge(dst, src) +func (m *UpdateLocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateLocationRequest.Merge(m, src) } func (m *UpdateLocationRequest) XXX_Size() int { return xxx_messageInfo_UpdateLocationRequest.Size(m) @@ -491,16 +504,17 @@ func (m *UpdateLocationAnswer) Reset() { *m = UpdateLocationAnswer{} } func (m *UpdateLocationAnswer) String() string { return proto.CompactTextString(m) } func (*UpdateLocationAnswer) ProtoMessage() {} func (*UpdateLocationAnswer) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{3} + return fileDescriptor_d46b5bf6ceb95a32, []int{3} } + func (m *UpdateLocationAnswer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateLocationAnswer.Unmarshal(m, b) } func (m *UpdateLocationAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateLocationAnswer.Marshal(b, m, deterministic) } -func (dst *UpdateLocationAnswer) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLocationAnswer.Merge(dst, src) +func (m *UpdateLocationAnswer) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateLocationAnswer.Merge(m, src) } func (m *UpdateLocationAnswer) XXX_Size() int { return xxx_messageInfo_UpdateLocationAnswer.Size(m) @@ -579,16 +593,17 @@ func (m *UpdateLocationAnswer_APNConfiguration) Reset() { *m = UpdateLoc func (m *UpdateLocationAnswer_APNConfiguration) String() string { return proto.CompactTextString(m) } func (*UpdateLocationAnswer_APNConfiguration) ProtoMessage() {} func (*UpdateLocationAnswer_APNConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{3, 0} + return fileDescriptor_d46b5bf6ceb95a32, []int{3, 0} } + func (m *UpdateLocationAnswer_APNConfiguration) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateLocationAnswer_APNConfiguration.Unmarshal(m, b) } func (m *UpdateLocationAnswer_APNConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateLocationAnswer_APNConfiguration.Marshal(b, m, deterministic) } -func (dst *UpdateLocationAnswer_APNConfiguration) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLocationAnswer_APNConfiguration.Merge(dst, src) +func (m *UpdateLocationAnswer_APNConfiguration) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateLocationAnswer_APNConfiguration.Merge(m, src) } func (m *UpdateLocationAnswer_APNConfiguration) XXX_Size() int { return xxx_messageInfo_UpdateLocationAnswer_APNConfiguration.Size(m) @@ -653,16 +668,17 @@ func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) String() string { } func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) ProtoMessage() {} func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{3, 0, 0} + return fileDescriptor_d46b5bf6ceb95a32, []int{3, 0, 0} } + func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateLocationAnswer_APNConfiguration_QoSProfile.Unmarshal(m, b) } func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateLocationAnswer_APNConfiguration_QoSProfile.Marshal(b, m, deterministic) } -func (dst *UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLocationAnswer_APNConfiguration_QoSProfile.Merge(dst, src) +func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateLocationAnswer_APNConfiguration_QoSProfile.Merge(m, src) } func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Size() int { return xxx_messageInfo_UpdateLocationAnswer_APNConfiguration_QoSProfile.Size(m) @@ -719,16 +735,17 @@ func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) String() string { } func (*UpdateLocationAnswer_AggregatedMaximumBitrate) ProtoMessage() {} func (*UpdateLocationAnswer_AggregatedMaximumBitrate) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{3, 1} + return fileDescriptor_d46b5bf6ceb95a32, []int{3, 1} } + func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateLocationAnswer_AggregatedMaximumBitrate.Unmarshal(m, b) } func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateLocationAnswer_AggregatedMaximumBitrate.Marshal(b, m, deterministic) } -func (dst *UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLocationAnswer_AggregatedMaximumBitrate.Merge(dst, src) +func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateLocationAnswer_AggregatedMaximumBitrate.Merge(m, src) } func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Size() int { return xxx_messageInfo_UpdateLocationAnswer_AggregatedMaximumBitrate.Size(m) @@ -768,16 +785,17 @@ func (m *CancelLocationRequest) Reset() { *m = CancelLocationRequest{} } func (m *CancelLocationRequest) String() string { return proto.CompactTextString(m) } func (*CancelLocationRequest) ProtoMessage() {} func (*CancelLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{4} + return fileDescriptor_d46b5bf6ceb95a32, []int{4} } + func (m *CancelLocationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelLocationRequest.Unmarshal(m, b) } func (m *CancelLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CancelLocationRequest.Marshal(b, m, deterministic) } -func (dst *CancelLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelLocationRequest.Merge(dst, src) +func (m *CancelLocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelLocationRequest.Merge(m, src) } func (m *CancelLocationRequest) XXX_Size() int { return xxx_messageInfo_CancelLocationRequest.Size(m) @@ -815,16 +833,17 @@ func (m *CancelLocationAnswer) Reset() { *m = CancelLocationAnswer{} } func (m *CancelLocationAnswer) String() string { return proto.CompactTextString(m) } func (*CancelLocationAnswer) ProtoMessage() {} func (*CancelLocationAnswer) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{5} + return fileDescriptor_d46b5bf6ceb95a32, []int{5} } + func (m *CancelLocationAnswer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelLocationAnswer.Unmarshal(m, b) } func (m *CancelLocationAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CancelLocationAnswer.Marshal(b, m, deterministic) } -func (dst *CancelLocationAnswer) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelLocationAnswer.Merge(dst, src) +func (m *CancelLocationAnswer) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelLocationAnswer.Merge(m, src) } func (m *CancelLocationAnswer) XXX_Size() int { return xxx_messageInfo_CancelLocationAnswer.Size(m) @@ -855,16 +874,17 @@ func (m *PurgeUERequest) Reset() { *m = PurgeUERequest{} } func (m *PurgeUERequest) String() string { return proto.CompactTextString(m) } func (*PurgeUERequest) ProtoMessage() {} func (*PurgeUERequest) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{6} + return fileDescriptor_d46b5bf6ceb95a32, []int{6} } + func (m *PurgeUERequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PurgeUERequest.Unmarshal(m, b) } func (m *PurgeUERequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PurgeUERequest.Marshal(b, m, deterministic) } -func (dst *PurgeUERequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeUERequest.Merge(dst, src) +func (m *PurgeUERequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PurgeUERequest.Merge(m, src) } func (m *PurgeUERequest) XXX_Size() int { return xxx_messageInfo_PurgeUERequest.Size(m) @@ -895,16 +915,17 @@ func (m *PurgeUEAnswer) Reset() { *m = PurgeUEAnswer{} } func (m *PurgeUEAnswer) String() string { return proto.CompactTextString(m) } func (*PurgeUEAnswer) ProtoMessage() {} func (*PurgeUEAnswer) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{7} + return fileDescriptor_d46b5bf6ceb95a32, []int{7} } + func (m *PurgeUEAnswer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PurgeUEAnswer.Unmarshal(m, b) } func (m *PurgeUEAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PurgeUEAnswer.Marshal(b, m, deterministic) } -func (dst *PurgeUEAnswer) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeUEAnswer.Merge(dst, src) +func (m *PurgeUEAnswer) XXX_Merge(src proto.Message) { + xxx_messageInfo_PurgeUEAnswer.Merge(m, src) } func (m *PurgeUEAnswer) XXX_Size() int { return xxx_messageInfo_PurgeUEAnswer.Size(m) @@ -935,16 +956,17 @@ func (m *ResetRequest) Reset() { *m = ResetRequest{} } func (m *ResetRequest) String() string { return proto.CompactTextString(m) } func (*ResetRequest) ProtoMessage() {} func (*ResetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{8} + return fileDescriptor_d46b5bf6ceb95a32, []int{8} } + func (m *ResetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResetRequest.Unmarshal(m, b) } func (m *ResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResetRequest.Marshal(b, m, deterministic) } -func (dst *ResetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetRequest.Merge(dst, src) +func (m *ResetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetRequest.Merge(m, src) } func (m *ResetRequest) XXX_Size() int { return xxx_messageInfo_ResetRequest.Size(m) @@ -975,16 +997,17 @@ func (m *ResetAnswer) Reset() { *m = ResetAnswer{} } func (m *ResetAnswer) String() string { return proto.CompactTextString(m) } func (*ResetAnswer) ProtoMessage() {} func (*ResetAnswer) Descriptor() ([]byte, []int) { - return fileDescriptor_eps_authentication_8cbd7bc7d50d22e0, []int{9} + return fileDescriptor_d46b5bf6ceb95a32, []int{9} } + func (m *ResetAnswer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResetAnswer.Unmarshal(m, b) } func (m *ResetAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResetAnswer.Marshal(b, m, deterministic) } -func (dst *ResetAnswer) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetAnswer.Merge(dst, src) +func (m *ResetAnswer) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetAnswer.Merge(m, src) } func (m *ResetAnswer) XXX_Size() int { return xxx_messageInfo_ResetAnswer.Size(m) @@ -1003,6 +1026,10 @@ func (m *ResetAnswer) GetErrorCode() ErrorCode { } func init() { + proto.RegisterEnum("magma.lte.ErrorCode", ErrorCode_name, ErrorCode_value) + proto.RegisterEnum("magma.lte.UpdateLocationAnswer_NetworkAccessMode", UpdateLocationAnswer_NetworkAccessMode_name, UpdateLocationAnswer_NetworkAccessMode_value) + proto.RegisterEnum("magma.lte.UpdateLocationAnswer_APNConfiguration_PDNType", UpdateLocationAnswer_APNConfiguration_PDNType_name, UpdateLocationAnswer_APNConfiguration_PDNType_value) + proto.RegisterEnum("magma.lte.CancelLocationRequest_CancellationType", CancelLocationRequest_CancellationType_name, CancelLocationRequest_CancellationType_value) proto.RegisterType((*AuthenticationInformationRequest)(nil), "magma.lte.AuthenticationInformationRequest") proto.RegisterType((*AuthenticationInformationAnswer)(nil), "magma.lte.AuthenticationInformationAnswer") proto.RegisterType((*AuthenticationInformationAnswer_EUTRANVector)(nil), "magma.lte.AuthenticationInformationAnswer.EUTRANVector") @@ -1017,10 +1044,116 @@ func init() { proto.RegisterType((*PurgeUEAnswer)(nil), "magma.lte.PurgeUEAnswer") proto.RegisterType((*ResetRequest)(nil), "magma.lte.ResetRequest") proto.RegisterType((*ResetAnswer)(nil), "magma.lte.ResetAnswer") - proto.RegisterEnum("magma.lte.ErrorCode", ErrorCode_name, ErrorCode_value) - proto.RegisterEnum("magma.lte.UpdateLocationAnswer_NetworkAccessMode", UpdateLocationAnswer_NetworkAccessMode_name, UpdateLocationAnswer_NetworkAccessMode_value) - proto.RegisterEnum("magma.lte.UpdateLocationAnswer_APNConfiguration_PDNType", UpdateLocationAnswer_APNConfiguration_PDNType_name, UpdateLocationAnswer_APNConfiguration_PDNType_value) - proto.RegisterEnum("magma.lte.CancelLocationRequest_CancellationType", CancelLocationRequest_CancellationType_name, CancelLocationRequest_CancellationType_value) +} + +func init() { + proto.RegisterFile("lte/protos/eps_authentication.proto", fileDescriptor_d46b5bf6ceb95a32) +} + +var fileDescriptor_d46b5bf6ceb95a32 = []byte{ + // 1617 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdb, 0x6e, 0xdb, 0xc8, + 0x19, 0xb6, 0x64, 0x27, 0xb6, 0x7e, 0x4b, 0x36, 0x3d, 0x6b, 0x47, 0xb2, 0x93, 0x85, 0x5d, 0xb5, + 0x45, 0x0c, 0x6f, 0xeb, 0x6c, 0xb3, 0xc5, 0xb6, 0xc5, 0x5e, 0x74, 0x29, 0x72, 0xb2, 0x66, 0x42, + 0x91, 0xdc, 0x21, 0x29, 0x63, 0x17, 0xc5, 0x4e, 0xc7, 0xe4,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, 0x0d, 0x6c, 0xd9, 0xb3, 0xf7, + 0x5c, 0x74, 0x0e, 0xdb, 0x2f, 0xbd, 0xf9, 0xa2, 0xb7, 0x5e, 0xe7, 0x7e, 0x5c, 0x1f, 0x8a, 0x9d, + 0x83, 0xd7, 0xbf, 0x4c, 0xf7, 0x17, 0x90, 0x0b, 0x6b, 0xb3, 0x9f, 0x4e, 0xb4, 0xf7, 0xd2, 0xaf, + 0xea, 0x24, 0xc3, 0xee, 0x2b, 0xbe, 0xbb, 0xfd, 0x05, 0xf4, 0x3e, 0x2c, 0xd7, 0xe7, 0x1d, 0x6d, + 0x4f, 0x59, 0xcf, 0xbe, 0x32, 0x76, 0x7a, 0x2f, 0x52, 0x93, 0x08, 0x83, 0xdb, 0x1f, 0x6f, 0x0b, + 0xf2, 0x5e, 0xf9, 0x2f, 0xce, 0x0b, 0x93, 0xb1, 0x7f, 0xef, 0x2c, 0xa9, 0xff, 0xce, 0x9d, 0xdc, + 0x14, 0xbf, 0xef, 0xfc, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x4a, 0xbf, 0x77, 0xe3, 0x0d, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1088,6 +1221,20 @@ type EPSAuthenticationServer interface { PurgeUE(context.Context, *PurgeUERequest) (*PurgeUEAnswer, error) } +// UnimplementedEPSAuthenticationServer can be embedded to have forward compatible implementations. +type UnimplementedEPSAuthenticationServer struct { +} + +func (*UnimplementedEPSAuthenticationServer) AuthenticationInformation(ctx context.Context, req *AuthenticationInformationRequest) (*AuthenticationInformationAnswer, error) { + return nil, status.Errorf(codes.Unimplemented, "method AuthenticationInformation not implemented") +} +func (*UnimplementedEPSAuthenticationServer) UpdateLocation(ctx context.Context, req *UpdateLocationRequest) (*UpdateLocationAnswer, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateLocation not implemented") +} +func (*UnimplementedEPSAuthenticationServer) PurgeUE(ctx context.Context, req *PurgeUERequest) (*PurgeUEAnswer, error) { + return nil, status.Errorf(codes.Unimplemented, "method PurgeUE not implemented") +} + func RegisterEPSAuthenticationServer(s *grpc.Server, srv EPSAuthenticationServer) { s.RegisterService(&_EPSAuthentication_serviceDesc, srv) } @@ -1166,113 +1313,3 @@ var _EPSAuthentication_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/eps_authentication.proto", } - -func init() { - proto.RegisterFile("lte/protos/eps_authentication.proto", fileDescriptor_eps_authentication_8cbd7bc7d50d22e0) -} - -var fileDescriptor_eps_authentication_8cbd7bc7d50d22e0 = []byte{ - // 1617 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdb, 0x6e, 0xdb, 0xc8, - 0x19, 0xb6, 0x64, 0x27, 0xb6, 0x7e, 0x4b, 0x36, 0x3d, 0x6b, 0x47, 0xb2, 0x93, 0x85, 0x5d, 0xb5, - 0x45, 0x0c, 0x6f, 0xeb, 0x6c, 0xb3, 0xc5, 0xb6, 0xc5, 0x5e, 0x74, 0x29, 0x72, 0xb2, 0x66, 0x42, - 0x91, 0xdc, 0x21, 0x29, 0x63, 0x17, 0xc5, 0x4e, 0xc7, 0xe4, 0xd8, 0x21, 0xc2, 0x53, 0x48, 0xca, - 0xb1, 0x5f, 0xa0, 0x40, 0xd1, 0x3e, 0x40, 0x2f, 0x7a, 0xd3, 0xc3, 0x65, 0x4f, 0x40, 0xaf, 0x7a, - 0xda, 0x1e, 0x9e, 0xa0, 0x2d, 0xba, 0x0f, 0xd1, 0xb7, 0x28, 0x38, 0xa4, 0x1c, 0x49, 0xd9, 0x20, - 0x59, 0xb8, 0x57, 0x1a, 0x7e, 0xdf, 0x7f, 0x9a, 0xef, 0xff, 0x87, 0x1c, 0xc1, 0x97, 0xc3, 0x82, - 0xdf, 0x4b, 0xb3, 0xa4, 0x48, 0xf2, 0x7b, 0x3c, 0xcd, 0x29, 0x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x48, 0x31, - 0x87, 0xc3, 0x72, 0xe0, 0x5d, 0xc3, 0x76, 0x2d, 0x93, 0x38, 0x58, 0x95, 0xfe, 0xd0, 0x45, 0xb7, - 0x60, 0xc3, 0x35, 0xe4, 0x81, 0x8e, 0xa9, 0x63, 0x52, 0x15, 0xeb, 0xda, 0x08, 0x13, 0xe9, 0x8f, - 0xdd, 0x32, 0x17, 0xc1, 0xb2, 0x3e, 0xa4, 0x86, 0xe9, 0xd0, 0xfa, 0x50, 0xfc, 0xa9, 0x8b, 0x3a, - 0xb0, 0xe2, 0x98, 0x26, 0x1d, 0xb8, 0xf6, 0x47, 0xd2, 0x9f, 0xbb, 0x08, 0x41, 0x47, 0x37, 0x4d, - 0x8b, 0xaa, 0xd8, 0xc1, 0x4a, 0x19, 0xf1, 0x2f, 0x5d, 0xd4, 0x83, 0x37, 0x08, 0x56, 0x35, 0x82, - 0x15, 0x87, 0x6a, 0x86, 0xaa, 0x29, 0x72, 0x39, 0x4d, 0xd2, 0xa7, 0x5d, 0x74, 0x07, 0xba, 0xb2, - 0x65, 0xe9, 0x35, 0x52, 0x15, 0x52, 0x57, 0xf2, 0x57, 0x91, 0x51, 0x33, 0x46, 0xb2, 0xae, 0xa9, - 0x47, 0x54, 0x25, 0x74, 0xa0, 0x39, 0xb6, 0xf4, 0xb7, 0x69, 0x98, 0xca, 0x23, 0xab, 0x82, 0xff, - 0xde, 0x45, 0x1b, 0xd0, 0x76, 0x8d, 0x47, 0x86, 0x79, 0x6c, 0x50, 0x0b, 0x63, 0x22, 0xfd, 0xa3, - 0x0a, 0xef, 0x3a, 0x47, 0xd8, 0x70, 0x26, 0x19, 0x08, 0x7e, 0x58, 0x95, 0xf5, 0xb3, 0xdd, 0xd2, - 0xc1, 0x74, 0x1d, 0x6a, 0x3e, 0xa0, 0xb6, 0x25, 0x2b, 0x58, 0xfa, 0xf9, 0x6e, 0x59, 0x3d, 0xd6, - 0xb1, 0x22, 0x4c, 0x75, 0xd3, 0x76, 0xa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93, 0x08, 0x83, 0xdb, 0x1f, 0x6f, 0x0b, - 0xf2, 0x5e, 0xf9, 0x2f, 0xce, 0x0b, 0x93, 0xb1, 0x7f, 0xef, 0x2c, 0xa9, 0xff, 0xce, 0x9d, 0xdc, - 0x14, 0xbf, 0xef, 0xfc, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x4a, 0xbf, 0x77, 0xe3, 0x0d, 0x00, - 0x00, -} diff --git a/lte/cloud/go/protos/keyval.pb.go b/lte/cloud/go/protos/keyval.pb.go index e6fae1500d0c..589985c91cf1 100644 --- a/lte/cloud/go/protos/keyval.pb.go +++ b/lte/cloud/go/protos/keyval.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/keyval.proto -package protos // import "magma/lte/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // IPs can be in 1 of 4 states during their lifecycle; see // mobilityd.ip_allocator for full description @@ -35,6 +37,7 @@ var IPDesc_IPState_name = map[int32]string{ 2: "RELEASED", 3: "REAPED", } + var IPDesc_IPState_value = map[string]int32{ "FREE": 0, "ALLOCATED": 1, @@ -45,8 +48,9 @@ var IPDesc_IPState_value = map[string]int32{ func (x IPDesc_IPState) String() string { return proto.EnumName(IPDesc_IPState_name, int32(x)) } + func (IPDesc_IPState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_keyval_5383d858f3392e16, []int{1, 0} + return fileDescriptor_7ec85b478524e2d6, []int{1, 0} } // -------------------------------------------------------------------------- @@ -63,16 +67,17 @@ func (m *AssignedIPBlocks) Reset() { *m = AssignedIPBlocks{} } func (m *AssignedIPBlocks) String() string { return proto.CompactTextString(m) } func (*AssignedIPBlocks) ProtoMessage() {} func (*AssignedIPBlocks) Descriptor() ([]byte, []int) { - return fileDescriptor_keyval_5383d858f3392e16, []int{0} + return fileDescriptor_7ec85b478524e2d6, []int{0} } + func (m *AssignedIPBlocks) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AssignedIPBlocks.Unmarshal(m, b) } func (m *AssignedIPBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AssignedIPBlocks.Marshal(b, m, deterministic) } -func (dst *AssignedIPBlocks) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssignedIPBlocks.Merge(dst, src) +func (m *AssignedIPBlocks) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssignedIPBlocks.Merge(m, src) } func (m *AssignedIPBlocks) XXX_Size() int { return xxx_messageInfo_AssignedIPBlocks.Size(m) @@ -107,16 +112,17 @@ func (m *IPDesc) Reset() { *m = IPDesc{} } func (m *IPDesc) String() string { return proto.CompactTextString(m) } func (*IPDesc) ProtoMessage() {} func (*IPDesc) Descriptor() ([]byte, []int) { - return fileDescriptor_keyval_5383d858f3392e16, []int{1} + return fileDescriptor_7ec85b478524e2d6, []int{1} } + func (m *IPDesc) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IPDesc.Unmarshal(m, b) } func (m *IPDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IPDesc.Marshal(b, m, deterministic) } -func (dst *IPDesc) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPDesc.Merge(dst, src) +func (m *IPDesc) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPDesc.Merge(m, src) } func (m *IPDesc) XXX_Size() int { return xxx_messageInfo_IPDesc.Size(m) @@ -169,16 +175,17 @@ func (m *IPDescs) Reset() { *m = IPDescs{} } func (m *IPDescs) String() string { return proto.CompactTextString(m) } func (*IPDescs) ProtoMessage() {} func (*IPDescs) Descriptor() ([]byte, []int) { - return fileDescriptor_keyval_5383d858f3392e16, []int{2} + return fileDescriptor_7ec85b478524e2d6, []int{2} } + func (m *IPDescs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IPDescs.Unmarshal(m, b) } func (m *IPDescs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IPDescs.Marshal(b, m, deterministic) } -func (dst *IPDescs) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPDescs.Merge(dst, src) +func (m *IPDescs) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPDescs.Merge(m, src) } func (m *IPDescs) XXX_Size() int { return xxx_messageInfo_IPDescs.Size(m) @@ -197,15 +204,15 @@ func (m *IPDescs) GetIpDescs() []*IPDesc { } func init() { + proto.RegisterEnum("magma.lte.IPDesc_IPState", IPDesc_IPState_name, IPDesc_IPState_value) proto.RegisterType((*AssignedIPBlocks)(nil), "magma.lte.AssignedIPBlocks") proto.RegisterType((*IPDesc)(nil), "magma.lte.IPDesc") proto.RegisterType((*IPDescs)(nil), "magma.lte.IPDescs") - proto.RegisterEnum("magma.lte.IPDesc_IPState", IPDesc_IPState_name, IPDesc_IPState_value) } -func init() { proto.RegisterFile("lte/protos/keyval.proto", fileDescriptor_keyval_5383d858f3392e16) } +func init() { proto.RegisterFile("lte/protos/keyval.proto", fileDescriptor_7ec85b478524e2d6) } -var fileDescriptor_keyval_5383d858f3392e16 = []byte{ +var fileDescriptor_7ec85b478524e2d6 = []byte{ // 346 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xcf, 0x4b, 0xe3, 0x40, 0x14, 0xc7, 0x37, 0x49, 0xb7, 0x3f, 0xa6, 0xdb, 0x25, 0x3b, 0x2c, 0x34, 0xad, 0x08, 0x25, 0x78, diff --git a/lte/cloud/go/protos/mconfig/mconfigs.pb.go b/lte/cloud/go/protos/mconfig/mconfigs.pb.go index 38ba1cfaf8ed..9137751e5586 100644 --- a/lte/cloud/go/protos/mconfig/mconfigs.pb.go +++ b/lte/cloud/go/protos/mconfig/mconfigs.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/mconfig/mconfigs.proto -package mconfig // import "magma/lte/cloud/go/protos/mconfig" +package mconfig -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + protos "magma/orc8r/cloud/go/protos" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type EnodebD_CSFBRat int32 @@ -30,6 +32,7 @@ var EnodebD_CSFBRat_name = map[int32]string{ 0: "CSFBRAT_2G", 1: "CSFBRAT_3G", } + var EnodebD_CSFBRat_value = map[string]int32{ "CSFBRAT_2G": 0, "CSFBRAT_3G": 1, @@ -38,8 +41,9 @@ var EnodebD_CSFBRat_value = map[string]int32{ func (x EnodebD_CSFBRat) String() string { return proto.EnumName(EnodebD_CSFBRat_name, int32(x)) } + func (EnodebD_CSFBRat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{0, 0} + return fileDescriptor_cb46bfd77f2ecf71, []int{0, 0} } type PipelineD_NetworkServices int32 @@ -55,6 +59,7 @@ var PipelineD_NetworkServices_name = map[int32]string{ 1: "DPI", 2: "ENFORCEMENT", } + var PipelineD_NetworkServices_value = map[string]int32{ "METERING": 0, "DPI": 1, @@ -64,8 +69,9 @@ var PipelineD_NetworkServices_value = map[string]int32{ func (x PipelineD_NetworkServices) String() string { return proto.EnumName(PipelineD_NetworkServices_name, int32(x)) } + func (PipelineD_NetworkServices) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{1, 0} + return fileDescriptor_cb46bfd77f2ecf71, []int{1, 0} } // (0)Turning off NonEPS service, (1)Both CSFB and SMS, (2)only SMS @@ -82,6 +88,7 @@ var MME_NonEPSServiceControl_name = map[int32]string{ 1: "NON_EPS_SERVICE_CONTROL_CSFB_SMS", 2: "NON_EPS_SERVICE_CONTROL_SMS", } + var MME_NonEPSServiceControl_value = map[string]int32{ "NON_EPS_SERVICE_CONTROL_OFF": 0, "NON_EPS_SERVICE_CONTROL_CSFB_SMS": 1, @@ -91,13 +98,14 @@ var MME_NonEPSServiceControl_value = map[string]int32{ func (x MME_NonEPSServiceControl) String() string { return proto.EnumName(MME_NonEPSServiceControl_name, int32(x)) } + func (MME_NonEPSServiceControl) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{6, 0} + return fileDescriptor_cb46bfd77f2ecf71, []int{6, 0} } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // EnodebD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type EnodebD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` // Physical cell ID (0-504) @@ -133,16 +141,17 @@ func (m *EnodebD) Reset() { *m = EnodebD{} } func (m *EnodebD) String() string { return proto.CompactTextString(m) } func (*EnodebD) ProtoMessage() {} func (*EnodebD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{0} + return fileDescriptor_cb46bfd77f2ecf71, []int{0} } + func (m *EnodebD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnodebD.Unmarshal(m, b) } func (m *EnodebD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnodebD.Marshal(b, m, deterministic) } -func (dst *EnodebD) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnodebD.Merge(dst, src) +func (m *EnodebD) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnodebD.Merge(m, src) } func (m *EnodebD) XXX_Size() int { return xxx_messageInfo_EnodebD.Size(m) @@ -263,16 +272,17 @@ func (m *EnodebD_FDDConfig) Reset() { *m = EnodebD_FDDConfig{} } func (m *EnodebD_FDDConfig) String() string { return proto.CompactTextString(m) } func (*EnodebD_FDDConfig) ProtoMessage() {} func (*EnodebD_FDDConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{0, 0} + return fileDescriptor_cb46bfd77f2ecf71, []int{0, 0} } + func (m *EnodebD_FDDConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnodebD_FDDConfig.Unmarshal(m, b) } func (m *EnodebD_FDDConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnodebD_FDDConfig.Marshal(b, m, deterministic) } -func (dst *EnodebD_FDDConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnodebD_FDDConfig.Merge(dst, src) +func (m *EnodebD_FDDConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnodebD_FDDConfig.Merge(m, src) } func (m *EnodebD_FDDConfig) XXX_Size() int { return xxx_messageInfo_EnodebD_FDDConfig.Size(m) @@ -312,16 +322,17 @@ func (m *EnodebD_TDDConfig) Reset() { *m = EnodebD_TDDConfig{} } func (m *EnodebD_TDDConfig) String() string { return proto.CompactTextString(m) } func (*EnodebD_TDDConfig) ProtoMessage() {} func (*EnodebD_TDDConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{0, 1} + return fileDescriptor_cb46bfd77f2ecf71, []int{0, 1} } + func (m *EnodebD_TDDConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnodebD_TDDConfig.Unmarshal(m, b) } func (m *EnodebD_TDDConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnodebD_TDDConfig.Marshal(b, m, deterministic) } -func (dst *EnodebD_TDDConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnodebD_TDDConfig.Merge(dst, src) +func (m *EnodebD_TDDConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnodebD_TDDConfig.Merge(m, src) } func (m *EnodebD_TDDConfig) XXX_Size() int { return xxx_messageInfo_EnodebD_TDDConfig.Size(m) @@ -374,16 +385,17 @@ func (m *EnodebD_EnodebConfig) Reset() { *m = EnodebD_EnodebConfig{} } func (m *EnodebD_EnodebConfig) String() string { return proto.CompactTextString(m) } func (*EnodebD_EnodebConfig) ProtoMessage() {} func (*EnodebD_EnodebConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{0, 2} + return fileDescriptor_cb46bfd77f2ecf71, []int{0, 2} } + func (m *EnodebD_EnodebConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnodebD_EnodebConfig.Unmarshal(m, b) } func (m *EnodebD_EnodebConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnodebD_EnodebConfig.Marshal(b, m, deterministic) } -func (dst *EnodebD_EnodebConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnodebD_EnodebConfig.Merge(dst, src) +func (m *EnodebD_EnodebConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnodebD_EnodebConfig.Merge(m, src) } func (m *EnodebD_EnodebConfig) XXX_Size() int { return xxx_messageInfo_EnodebD_EnodebConfig.Size(m) @@ -457,9 +469,9 @@ func (m *EnodebD_EnodebConfig) GetCellId() int32 { return 0 } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // PipelineD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type PipelineD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` // Range of IPs allocated to UEs @@ -481,16 +493,17 @@ func (m *PipelineD) Reset() { *m = PipelineD{} } func (m *PipelineD) String() string { return proto.CompactTextString(m) } func (*PipelineD) ProtoMessage() {} func (*PipelineD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{1} + return fileDescriptor_cb46bfd77f2ecf71, []int{1} } + func (m *PipelineD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PipelineD.Unmarshal(m, b) } func (m *PipelineD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PipelineD.Marshal(b, m, deterministic) } -func (dst *PipelineD) XXX_Merge(src proto.Message) { - xxx_messageInfo_PipelineD.Merge(dst, src) +func (m *PipelineD) XXX_Merge(src proto.Message) { + xxx_messageInfo_PipelineD.Merge(m, src) } func (m *PipelineD) XXX_Size() int { return xxx_messageInfo_PipelineD.Size(m) @@ -562,16 +575,17 @@ func (m *PipelineD_AllowedGrePeer) Reset() { *m = PipelineD_AllowedGrePe func (m *PipelineD_AllowedGrePeer) String() string { return proto.CompactTextString(m) } func (*PipelineD_AllowedGrePeer) ProtoMessage() {} func (*PipelineD_AllowedGrePeer) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{1, 0} + return fileDescriptor_cb46bfd77f2ecf71, []int{1, 0} } + func (m *PipelineD_AllowedGrePeer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PipelineD_AllowedGrePeer.Unmarshal(m, b) } func (m *PipelineD_AllowedGrePeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PipelineD_AllowedGrePeer.Marshal(b, m, deterministic) } -func (dst *PipelineD_AllowedGrePeer) XXX_Merge(src proto.Message) { - xxx_messageInfo_PipelineD_AllowedGrePeer.Merge(dst, src) +func (m *PipelineD_AllowedGrePeer) XXX_Merge(src proto.Message) { + xxx_messageInfo_PipelineD_AllowedGrePeer.Merge(m, src) } func (m *PipelineD_AllowedGrePeer) XXX_Size() int { return xxx_messageInfo_PipelineD_AllowedGrePeer.Size(m) @@ -596,9 +610,9 @@ func (m *PipelineD_AllowedGrePeer) GetKey() uint32 { return 0 } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // SessionD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type SessionD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` // Enable forwarding S6a related requests to Federated GW @@ -612,16 +626,17 @@ func (m *SessionD) Reset() { *m = SessionD{} } func (m *SessionD) String() string { return proto.CompactTextString(m) } func (*SessionD) ProtoMessage() {} func (*SessionD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{2} + return fileDescriptor_cb46bfd77f2ecf71, []int{2} } + func (m *SessionD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SessionD.Unmarshal(m, b) } func (m *SessionD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SessionD.Marshal(b, m, deterministic) } -func (dst *SessionD) XXX_Merge(src proto.Message) { - xxx_messageInfo_SessionD.Merge(dst, src) +func (m *SessionD) XXX_Merge(src proto.Message) { + xxx_messageInfo_SessionD.Merge(m, src) } func (m *SessionD) XXX_Size() int { return xxx_messageInfo_SessionD.Size(m) @@ -646,9 +661,9 @@ func (m *SessionD) GetRelayEnabled() bool { return false } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // PolicyDB configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type PolicyDB struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -660,16 +675,17 @@ func (m *PolicyDB) Reset() { *m = PolicyDB{} } func (m *PolicyDB) String() string { return proto.CompactTextString(m) } func (*PolicyDB) ProtoMessage() {} func (*PolicyDB) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{3} + return fileDescriptor_cb46bfd77f2ecf71, []int{3} } + func (m *PolicyDB) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PolicyDB.Unmarshal(m, b) } func (m *PolicyDB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PolicyDB.Marshal(b, m, deterministic) } -func (dst *PolicyDB) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyDB.Merge(dst, src) +func (m *PolicyDB) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyDB.Merge(m, src) } func (m *PolicyDB) XXX_Size() int { return xxx_messageInfo_PolicyDB.Size(m) @@ -687,9 +703,9 @@ func (m *PolicyDB) GetLogLevel() protos.LogLevel { return protos.LogLevel_DEBUG } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // RedirectD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type RedirectD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -701,16 +717,17 @@ func (m *RedirectD) Reset() { *m = RedirectD{} } func (m *RedirectD) String() string { return proto.CompactTextString(m) } func (*RedirectD) ProtoMessage() {} func (*RedirectD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{4} + return fileDescriptor_cb46bfd77f2ecf71, []int{4} } + func (m *RedirectD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RedirectD.Unmarshal(m, b) } func (m *RedirectD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RedirectD.Marshal(b, m, deterministic) } -func (dst *RedirectD) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedirectD.Merge(dst, src) +func (m *RedirectD) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedirectD.Merge(m, src) } func (m *RedirectD) XXX_Size() int { return xxx_messageInfo_RedirectD.Size(m) @@ -728,9 +745,9 @@ func (m *RedirectD) GetLogLevel() protos.LogLevel { return protos.LogLevel_DEBUG } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // MobilityD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type MobilityD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` // An IP block is a range of IP addresses specified by a network address and @@ -747,16 +764,17 @@ func (m *MobilityD) Reset() { *m = MobilityD{} } func (m *MobilityD) String() string { return proto.CompactTextString(m) } func (*MobilityD) ProtoMessage() {} func (*MobilityD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{5} + return fileDescriptor_cb46bfd77f2ecf71, []int{5} } + func (m *MobilityD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MobilityD.Unmarshal(m, b) } func (m *MobilityD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MobilityD.Marshal(b, m, deterministic) } -func (dst *MobilityD) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobilityD.Merge(dst, src) +func (m *MobilityD) XXX_Merge(src proto.Message) { + xxx_messageInfo_MobilityD.Merge(m, src) } func (m *MobilityD) XXX_Size() int { return xxx_messageInfo_MobilityD.Size(m) @@ -781,9 +799,9 @@ func (m *MobilityD) GetIpBlock() string { return "" } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // MME configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type MME struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` // Mobile country code @@ -827,16 +845,17 @@ func (m *MME) Reset() { *m = MME{} } func (m *MME) String() string { return proto.CompactTextString(m) } func (*MME) ProtoMessage() {} func (*MME) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{6} + return fileDescriptor_cb46bfd77f2ecf71, []int{6} } + func (m *MME) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MME.Unmarshal(m, b) } func (m *MME) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MME.Marshal(b, m, deterministic) } -func (dst *MME) XXX_Merge(src proto.Message) { - xxx_messageInfo_MME.Merge(dst, src) +func (m *MME) XXX_Merge(src proto.Message) { + xxx_messageInfo_MME.Merge(m, src) } func (m *MME) XXX_Size() int { return xxx_messageInfo_MME.Size(m) @@ -945,9 +964,9 @@ func (m *MME) GetAttachedEnodebTacs() []int32 { return nil } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // SubscriberDB configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type SubscriberDB struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` // Operator configuration field for LTE @@ -966,16 +985,17 @@ func (m *SubscriberDB) Reset() { *m = SubscriberDB{} } func (m *SubscriberDB) String() string { return proto.CompactTextString(m) } func (*SubscriberDB) ProtoMessage() {} func (*SubscriberDB) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{7} + return fileDescriptor_cb46bfd77f2ecf71, []int{7} } + func (m *SubscriberDB) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberDB.Unmarshal(m, b) } func (m *SubscriberDB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberDB.Marshal(b, m, deterministic) } -func (dst *SubscriberDB) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberDB.Merge(dst, src) +func (m *SubscriberDB) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberDB.Merge(m, src) } func (m *SubscriberDB) XXX_Size() int { return xxx_messageInfo_SubscriberDB.Size(m) @@ -1035,16 +1055,17 @@ func (m *SubscriberDB_SubscriptionProfile) Reset() { *m = SubscriberDB_S func (m *SubscriberDB_SubscriptionProfile) String() string { return proto.CompactTextString(m) } func (*SubscriberDB_SubscriptionProfile) ProtoMessage() {} func (*SubscriberDB_SubscriptionProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{7, 0} + return fileDescriptor_cb46bfd77f2ecf71, []int{7, 0} } + func (m *SubscriberDB_SubscriptionProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberDB_SubscriptionProfile.Unmarshal(m, b) } func (m *SubscriberDB_SubscriptionProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberDB_SubscriptionProfile.Marshal(b, m, deterministic) } -func (dst *SubscriberDB_SubscriptionProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberDB_SubscriptionProfile.Merge(dst, src) +func (m *SubscriberDB_SubscriptionProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberDB_SubscriptionProfile.Merge(m, src) } func (m *SubscriberDB_SubscriptionProfile) XXX_Size() int { return xxx_messageInfo_SubscriberDB_SubscriptionProfile.Size(m) @@ -1069,9 +1090,9 @@ func (m *SubscriberDB_SubscriptionProfile) GetMaxDlBitRate() uint64 { return 0 } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // LighttpD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type LighttpD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` EnableCaching bool `protobuf:"varint,2,opt,name=enable_caching,json=enableCaching,proto3" json:"enable_caching,omitempty"` @@ -1084,16 +1105,17 @@ func (m *LighttpD) Reset() { *m = LighttpD{} } func (m *LighttpD) String() string { return proto.CompactTextString(m) } func (*LighttpD) ProtoMessage() {} func (*LighttpD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_23c44891222b9f48, []int{8} + return fileDescriptor_cb46bfd77f2ecf71, []int{8} } + func (m *LighttpD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LighttpD.Unmarshal(m, b) } func (m *LighttpD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LighttpD.Marshal(b, m, deterministic) } -func (dst *LighttpD) XXX_Merge(src proto.Message) { - xxx_messageInfo_LighttpD.Merge(dst, src) +func (m *LighttpD) XXX_Merge(src proto.Message) { + xxx_messageInfo_LighttpD.Merge(m, src) } func (m *LighttpD) XXX_Size() int { return xxx_messageInfo_LighttpD.Size(m) @@ -1119,6 +1141,9 @@ func (m *LighttpD) GetEnableCaching() bool { } func init() { + proto.RegisterEnum("magma.mconfig.EnodebD_CSFBRat", EnodebD_CSFBRat_name, EnodebD_CSFBRat_value) + proto.RegisterEnum("magma.mconfig.PipelineD_NetworkServices", PipelineD_NetworkServices_name, PipelineD_NetworkServices_value) + proto.RegisterEnum("magma.mconfig.MME_NonEPSServiceControl", MME_NonEPSServiceControl_name, MME_NonEPSServiceControl_value) proto.RegisterType((*EnodebD)(nil), "magma.mconfig.EnodebD") proto.RegisterMapType((map[string]*EnodebD_EnodebConfig)(nil), "magma.mconfig.EnodebD.EnbConfigsBySerialEntry") proto.RegisterType((*EnodebD_FDDConfig)(nil), "magma.mconfig.EnodebD.FDDConfig") @@ -1135,16 +1160,11 @@ func init() { proto.RegisterMapType((map[string]*SubscriberDB_SubscriptionProfile)(nil), "magma.mconfig.SubscriberDB.SubProfilesEntry") proto.RegisterType((*SubscriberDB_SubscriptionProfile)(nil), "magma.mconfig.SubscriberDB.SubscriptionProfile") proto.RegisterType((*LighttpD)(nil), "magma.mconfig.LighttpD") - proto.RegisterEnum("magma.mconfig.EnodebD_CSFBRat", EnodebD_CSFBRat_name, EnodebD_CSFBRat_value) - proto.RegisterEnum("magma.mconfig.PipelineD_NetworkServices", PipelineD_NetworkServices_name, PipelineD_NetworkServices_value) - proto.RegisterEnum("magma.mconfig.MME_NonEPSServiceControl", MME_NonEPSServiceControl_name, MME_NonEPSServiceControl_value) } -func init() { - proto.RegisterFile("lte/protos/mconfig/mconfigs.proto", fileDescriptor_mconfigs_23c44891222b9f48) -} +func init() { proto.RegisterFile("lte/protos/mconfig/mconfigs.proto", fileDescriptor_cb46bfd77f2ecf71) } -var fileDescriptor_mconfigs_23c44891222b9f48 = []byte{ +var fileDescriptor_cb46bfd77f2ecf71 = []byte{ // 1379 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x41, 0x73, 0x1a, 0xb7, 0x17, 0x0f, 0x60, 0xcc, 0xf2, 0xc0, 0x98, 0xff, 0x26, 0xf9, 0x67, 0x43, 0x67, 0x12, 0x42, 0x9a, diff --git a/lte/cloud/go/protos/meteringd.pb.go b/lte/cloud/go/protos/meteringd.pb.go index 1e3ccded8332..6c24d91a7e90 100644 --- a/lte/cloud/go/protos/meteringd.pb.go +++ b/lte/cloud/go/protos/meteringd.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/meteringd.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import protos "magma/orc8r/cloud/go/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type FlowRecord struct { Id *FlowRecord_ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -43,16 +44,17 @@ func (m *FlowRecord) Reset() { *m = FlowRecord{} } func (m *FlowRecord) String() string { return proto.CompactTextString(m) } func (*FlowRecord) ProtoMessage() {} func (*FlowRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_meteringd_97ff2927fcdc668a, []int{0} + return fileDescriptor_b88a6fd3c74575d2, []int{0} } + func (m *FlowRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowRecord.Unmarshal(m, b) } func (m *FlowRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowRecord.Marshal(b, m, deterministic) } -func (dst *FlowRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowRecord.Merge(dst, src) +func (m *FlowRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowRecord.Merge(m, src) } func (m *FlowRecord) XXX_Size() int { return xxx_messageInfo_FlowRecord.Size(m) @@ -130,16 +132,17 @@ func (m *FlowRecord_ID) Reset() { *m = FlowRecord_ID{} } func (m *FlowRecord_ID) String() string { return proto.CompactTextString(m) } func (*FlowRecord_ID) ProtoMessage() {} func (*FlowRecord_ID) Descriptor() ([]byte, []int) { - return fileDescriptor_meteringd_97ff2927fcdc668a, []int{0, 0} + return fileDescriptor_b88a6fd3c74575d2, []int{0, 0} } + func (m *FlowRecord_ID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowRecord_ID.Unmarshal(m, b) } func (m *FlowRecord_ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowRecord_ID.Marshal(b, m, deterministic) } -func (dst *FlowRecord_ID) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowRecord_ID.Merge(dst, src) +func (m *FlowRecord_ID) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowRecord_ID.Merge(m, src) } func (m *FlowRecord_ID) XXX_Size() int { return xxx_messageInfo_FlowRecord_ID.Size(m) @@ -168,16 +171,17 @@ func (m *FlowRecordSet) Reset() { *m = FlowRecordSet{} } func (m *FlowRecordSet) String() string { return proto.CompactTextString(m) } func (*FlowRecordSet) ProtoMessage() {} func (*FlowRecordSet) Descriptor() ([]byte, []int) { - return fileDescriptor_meteringd_97ff2927fcdc668a, []int{1} + return fileDescriptor_b88a6fd3c74575d2, []int{1} } + func (m *FlowRecordSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowRecordSet.Unmarshal(m, b) } func (m *FlowRecordSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowRecordSet.Marshal(b, m, deterministic) } -func (dst *FlowRecordSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowRecordSet.Merge(dst, src) +func (m *FlowRecordSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowRecordSet.Merge(m, src) } func (m *FlowRecordSet) XXX_Size() int { return xxx_messageInfo_FlowRecordSet.Size(m) @@ -206,16 +210,17 @@ func (m *FlowTable) Reset() { *m = FlowTable{} } func (m *FlowTable) String() string { return proto.CompactTextString(m) } func (*FlowTable) ProtoMessage() {} func (*FlowTable) Descriptor() ([]byte, []int) { - return fileDescriptor_meteringd_97ff2927fcdc668a, []int{2} + return fileDescriptor_b88a6fd3c74575d2, []int{2} } + func (m *FlowTable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowTable.Unmarshal(m, b) } func (m *FlowTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowTable.Marshal(b, m, deterministic) } -func (dst *FlowTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowTable.Merge(dst, src) +func (m *FlowTable) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowTable.Merge(m, src) } func (m *FlowTable) XXX_Size() int { return xxx_messageInfo_FlowTable.Size(m) @@ -260,16 +265,17 @@ func (m *FlowRecordQuery) Reset() { *m = FlowRecordQuery{} } func (m *FlowRecordQuery) String() string { return proto.CompactTextString(m) } func (*FlowRecordQuery) ProtoMessage() {} func (*FlowRecordQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_meteringd_97ff2927fcdc668a, []int{3} + return fileDescriptor_b88a6fd3c74575d2, []int{3} } + func (m *FlowRecordQuery) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowRecordQuery.Unmarshal(m, b) } func (m *FlowRecordQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowRecordQuery.Marshal(b, m, deterministic) } -func (dst *FlowRecordQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowRecordQuery.Merge(dst, src) +func (m *FlowRecordQuery) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowRecordQuery.Merge(m, src) } func (m *FlowRecordQuery) XXX_Size() int { return xxx_messageInfo_FlowRecordQuery.Size(m) @@ -337,87 +343,15 @@ func (m *FlowRecordQuery) GetSubscriberId() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*FlowRecordQuery) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _FlowRecordQuery_OneofMarshaler, _FlowRecordQuery_OneofUnmarshaler, _FlowRecordQuery_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*FlowRecordQuery) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*FlowRecordQuery_RecordId)(nil), (*FlowRecordQuery_GatewayId)(nil), (*FlowRecordQuery_SubscriberId)(nil), } } -func _FlowRecordQuery_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*FlowRecordQuery) - // query - switch x := m.Query.(type) { - case *FlowRecordQuery_RecordId: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeStringBytes(x.RecordId) - case *FlowRecordQuery_GatewayId: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.GatewayId) - case *FlowRecordQuery_SubscriberId: - b.EncodeVarint(4<<3 | proto.WireBytes) - b.EncodeStringBytes(x.SubscriberId) - case nil: - default: - return fmt.Errorf("FlowRecordQuery.Query has unexpected type %T", x) - } - return nil -} - -func _FlowRecordQuery_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*FlowRecordQuery) - switch tag { - case 2: // query.record_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Query = &FlowRecordQuery_RecordId{x} - return true, err - case 3: // query.gateway_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Query = &FlowRecordQuery_GatewayId{x} - return true, err - case 4: // query.subscriber_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Query = &FlowRecordQuery_SubscriberId{x} - return true, err - default: - return false, nil - } -} - -func _FlowRecordQuery_OneofSizer(msg proto.Message) (n int) { - m := msg.(*FlowRecordQuery) - // query - switch x := m.Query.(type) { - case *FlowRecordQuery_RecordId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.RecordId))) - n += len(x.RecordId) - case *FlowRecordQuery_GatewayId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.GatewayId))) - n += len(x.GatewayId) - case *FlowRecordQuery_SubscriberId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.SubscriberId))) - n += len(x.SubscriberId) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { proto.RegisterType((*FlowRecord)(nil), "magma.lte.FlowRecord") proto.RegisterType((*FlowRecord_ID)(nil), "magma.lte.FlowRecord.ID") @@ -426,6 +360,44 @@ func init() { proto.RegisterType((*FlowRecordQuery)(nil), "magma.lte.FlowRecordQuery") } +func init() { proto.RegisterFile("lte/protos/meteringd.proto", fileDescriptor_b88a6fd3c74575d2) } + +var fileDescriptor_b88a6fd3c74575d2 = []byte{ + // 503 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x5d, 0x6f, 0xd3, 0x30, + 0x14, 0x6d, 0xda, 0xf5, 0xc3, 0xb7, 0x8c, 0x0f, 0x6b, 0x13, 0x69, 0x10, 0x5a, 0x15, 0x09, 0xa9, + 0x12, 0x92, 0x2b, 0x95, 0x97, 0xf2, 0x86, 0xc6, 0x04, 0x8b, 0x80, 0x07, 0xb2, 0xc2, 0x03, 0x2f, + 0x55, 0x12, 0x7b, 0x91, 0xb5, 0xa4, 0x2e, 0xb6, 0xab, 0xa6, 0xff, 0x66, 0x7f, 0x8e, 0xff, 0x81, + 0xec, 0x7c, 0x4d, 0x50, 0xed, 0xa9, 0xbd, 0xe7, 0x9c, 0xf8, 0xde, 0x73, 0xec, 0x0b, 0x5e, 0xa6, + 0xd9, 0x7c, 0x2b, 0x85, 0x16, 0x6a, 0x9e, 0x33, 0xcd, 0x24, 0xdf, 0xa4, 0x94, 0x58, 0x00, 0xa3, + 0x3c, 0x4a, 0xf3, 0x88, 0x64, 0x9a, 0x79, 0x13, 0x21, 0x93, 0xa5, 0xac, 0x85, 0x89, 0xc8, 0x73, + 0xb1, 0x29, 0x55, 0xde, 0x45, 0x2a, 0x44, 0x9a, 0x55, 0x87, 0xc4, 0xbb, 0xdb, 0xb9, 0xe6, 0x39, + 0x53, 0x3a, 0xca, 0xb7, 0xa5, 0xc0, 0xbf, 0xef, 0x02, 0x7c, 0xca, 0xc4, 0x3e, 0x64, 0x89, 0x90, + 0x14, 0xcf, 0xa0, 0xcb, 0xa9, 0xeb, 0x4c, 0x9d, 0xd9, 0x78, 0xe1, 0x92, 0xa6, 0x05, 0x69, 0x25, + 0x24, 0xb8, 0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15, 0x12, 0x98, 0xd0, 0x51, 0x33, 0x4b, 0x79, 0x19, + 0xd7, 0x9d, 0x70, 0x54, 0x0f, 0x83, 0x2f, 0xfe, 0xbf, 0x93, 0xeb, 0xce, 0xc3, 0x5b, 0x79, 0x03, + 0xa7, 0x6a, 0x17, 0xab, 0x44, 0xf2, 0x98, 0x49, 0xa3, 0x39, 0xa9, 0x34, 0x4f, 0x5a, 0x38, 0xa0, + 0x97, 0x43, 0xe8, 0xff, 0x36, 0xe3, 0x2c, 0xfe, 0x38, 0xe0, 0x7d, 0xab, 0x9f, 0x62, 0x39, 0xa7, + 0xfa, 0x28, 0x36, 0x5a, 0x8a, 0x2c, 0x63, 0x12, 0x7f, 0x00, 0xf4, 0x99, 0xe9, 0xea, 0x31, 0x79, + 0x47, 0xcd, 0x5a, 0x5b, 0xde, 0xf1, 0x20, 0xfc, 0x0e, 0xfe, 0x02, 0xe7, 0x5f, 0xb9, 0xd2, 0x37, + 0x4d, 0xf7, 0xaa, 0xc9, 0xa3, 0xa7, 0x9d, 0xfd, 0xc3, 0xd9, 0xec, 0xfd, 0x0e, 0x5e, 0xc2, 0xf8, + 0xc7, 0x96, 0x46, 0x9a, 0x19, 0x50, 0xe1, 0xa3, 0x32, 0xef, 0x45, 0x85, 0xda, 0x2d, 0x22, 0x3f, + 0x05, 0xa7, 0x7e, 0xe7, 0xf2, 0xd5, 0xaf, 0x89, 0x45, 0xe7, 0x66, 0x05, 0x93, 0x4c, 0xec, 0xe8, + 0x3c, 0x15, 0xd5, 0x8a, 0xc5, 0x03, 0xfb, 0xfb, 0xee, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x42, + 0x8c, 0xb8, 0x9d, 0xa0, 0x03, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -491,6 +463,20 @@ type MeteringdRecordsControllerServer interface { UpdateFlows(context.Context, *FlowTable) (*protos.Void, error) } +// UnimplementedMeteringdRecordsControllerServer can be embedded to have forward compatible implementations. +type UnimplementedMeteringdRecordsControllerServer struct { +} + +func (*UnimplementedMeteringdRecordsControllerServer) GetRecord(ctx context.Context, req *FlowRecordQuery) (*FlowRecord, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRecord not implemented") +} +func (*UnimplementedMeteringdRecordsControllerServer) ListSubscriberRecords(ctx context.Context, req *FlowRecordQuery) (*FlowTable, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListSubscriberRecords not implemented") +} +func (*UnimplementedMeteringdRecordsControllerServer) UpdateFlows(ctx context.Context, req *FlowTable) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateFlows not implemented") +} + func RegisterMeteringdRecordsControllerServer(s *grpc.Server, srv MeteringdRecordsControllerServer) { s.RegisterService(&_MeteringdRecordsController_serviceDesc, srv) } @@ -569,43 +555,3 @@ var _MeteringdRecordsController_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/meteringd.proto", } - -func init() { - proto.RegisterFile("lte/protos/meteringd.proto", fileDescriptor_meteringd_97ff2927fcdc668a) -} - -var fileDescriptor_meteringd_97ff2927fcdc668a = []byte{ - // 503 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x6d, 0xda, 0xf5, 0xc3, 0xb7, 0x8c, 0x0f, 0x6b, 0x13, 0x69, 0x10, 0x5a, 0x15, 0x09, 0xa9, - 0x12, 0x92, 0x2b, 0x95, 0x97, 0xf2, 0x86, 0xc6, 0x04, 0x8b, 0x80, 0x07, 0xb2, 0xc2, 0x03, 0x2f, - 0x55, 0x12, 0x7b, 0x91, 0xb5, 0xa4, 0x2e, 0xb6, 0xab, 0xa6, 0xff, 0x66, 0x7f, 0x8e, 0xff, 0x81, - 0xec, 0x7c, 0x4d, 0x50, 0xed, 0xa9, 0xbd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0xc9, 0xa3, 0xa7, 0x9d, 0xfd, 0xc3, 0xd9, 0xec, 0xfd, 0x0e, 0x5e, 0xc2, 0xf8, - 0xc7, 0x96, 0x46, 0x9a, 0x19, 0x50, 0xe1, 0xa3, 0x32, 0xef, 0x45, 0x85, 0xda, 0x2d, 0x22, 0x3f, - 0x05, 0xa7, 0x7e, 0xe7, 0xf2, 0xd5, 0xaf, 0x89, 0x45, 0xe7, 0x66, 0x05, 0x93, 0x4c, 0xec, 0xe8, - 0x3c, 0x15, 0xd5, 0x8a, 0xc5, 0x03, 0xfb, 0xfb, 0xee, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x42, - 0x8c, 0xb8, 0x9d, 0xa0, 0x03, 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/mobilityd.pb.go b/lte/cloud/go/protos/mobilityd.pb.go index 1bb700f75af7..674aebb38f56 100644 --- a/lte/cloud/go/protos/mobilityd.pb.go +++ b/lte/cloud/go/protos/mobilityd.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/mobilityd.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type IPAddress_IPVersion int32 @@ -35,6 +36,7 @@ var IPAddress_IPVersion_name = map[int32]string{ 0: "IPV4", 1: "IPV6", } + var IPAddress_IPVersion_value = map[string]int32{ "IPV4": 0, "IPV6": 1, @@ -43,8 +45,9 @@ var IPAddress_IPVersion_value = map[string]int32{ func (x IPAddress_IPVersion) String() string { return proto.EnumName(IPAddress_IPVersion_name, int32(x)) } + func (IPAddress_IPVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{0, 0} + return fileDescriptor_3f226a441609c6cc, []int{0, 0} } type IPBlock_IPVersion int32 @@ -58,6 +61,7 @@ var IPBlock_IPVersion_name = map[int32]string{ 0: "IPV4", 1: "IPV6", } + var IPBlock_IPVersion_value = map[string]int32{ "IPV4": 0, "IPV6": 1, @@ -66,8 +70,9 @@ var IPBlock_IPVersion_value = map[string]int32{ func (x IPBlock_IPVersion) String() string { return proto.EnumName(IPBlock_IPVersion_name, int32(x)) } + func (IPBlock_IPVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{1, 0} + return fileDescriptor_3f226a441609c6cc, []int{1, 0} } type AllocateIPRequest_IPVersion int32 @@ -81,6 +86,7 @@ var AllocateIPRequest_IPVersion_name = map[int32]string{ 0: "IPV4", 1: "IPV6", } + var AllocateIPRequest_IPVersion_value = map[string]int32{ "IPV4": 0, "IPV6": 1, @@ -89,8 +95,9 @@ var AllocateIPRequest_IPVersion_value = map[string]int32{ func (x AllocateIPRequest_IPVersion) String() string { return proto.EnumName(AllocateIPRequest_IPVersion_name, int32(x)) } + func (AllocateIPRequest_IPVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{5, 0} + return fileDescriptor_3f226a441609c6cc, []int{5, 0} } // -------------------------------------------------------------------------- @@ -108,16 +115,17 @@ func (m *IPAddress) Reset() { *m = IPAddress{} } func (m *IPAddress) String() string { return proto.CompactTextString(m) } func (*IPAddress) ProtoMessage() {} func (*IPAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{0} + return fileDescriptor_3f226a441609c6cc, []int{0} } + func (m *IPAddress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IPAddress.Unmarshal(m, b) } func (m *IPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IPAddress.Marshal(b, m, deterministic) } -func (dst *IPAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPAddress.Merge(dst, src) +func (m *IPAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPAddress.Merge(m, src) } func (m *IPAddress) XXX_Size() int { return xxx_messageInfo_IPAddress.Size(m) @@ -163,16 +171,17 @@ func (m *IPBlock) Reset() { *m = IPBlock{} } func (m *IPBlock) String() string { return proto.CompactTextString(m) } func (*IPBlock) ProtoMessage() {} func (*IPBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{1} + return fileDescriptor_3f226a441609c6cc, []int{1} } + func (m *IPBlock) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IPBlock.Unmarshal(m, b) } func (m *IPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IPBlock.Marshal(b, m, deterministic) } -func (dst *IPBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPBlock.Merge(dst, src) +func (m *IPBlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPBlock.Merge(m, src) } func (m *IPBlock) XXX_Size() int { return xxx_messageInfo_IPBlock.Size(m) @@ -216,16 +225,17 @@ func (m *ListAddedIPBlocksResponse) Reset() { *m = ListAddedIPBlocksResp func (m *ListAddedIPBlocksResponse) String() string { return proto.CompactTextString(m) } func (*ListAddedIPBlocksResponse) ProtoMessage() {} func (*ListAddedIPBlocksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{2} + return fileDescriptor_3f226a441609c6cc, []int{2} } + func (m *ListAddedIPBlocksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAddedIPBlocksResponse.Unmarshal(m, b) } func (m *ListAddedIPBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAddedIPBlocksResponse.Marshal(b, m, deterministic) } -func (dst *ListAddedIPBlocksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAddedIPBlocksResponse.Merge(dst, src) +func (m *ListAddedIPBlocksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAddedIPBlocksResponse.Merge(m, src) } func (m *ListAddedIPBlocksResponse) XXX_Size() int { return xxx_messageInfo_ListAddedIPBlocksResponse.Size(m) @@ -258,16 +268,17 @@ func (m *SubscriberIPTableEntry) Reset() { *m = SubscriberIPTableEntry{} func (m *SubscriberIPTableEntry) String() string { return proto.CompactTextString(m) } func (*SubscriberIPTableEntry) ProtoMessage() {} func (*SubscriberIPTableEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{3} + return fileDescriptor_3f226a441609c6cc, []int{3} } + func (m *SubscriberIPTableEntry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberIPTableEntry.Unmarshal(m, b) } func (m *SubscriberIPTableEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberIPTableEntry.Marshal(b, m, deterministic) } -func (dst *SubscriberIPTableEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberIPTableEntry.Merge(dst, src) +func (m *SubscriberIPTableEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberIPTableEntry.Merge(m, src) } func (m *SubscriberIPTableEntry) XXX_Size() int { return xxx_messageInfo_SubscriberIPTableEntry.Size(m) @@ -303,16 +314,17 @@ func (m *SubscriberIPTable) Reset() { *m = SubscriberIPTable{} } func (m *SubscriberIPTable) String() string { return proto.CompactTextString(m) } func (*SubscriberIPTable) ProtoMessage() {} func (*SubscriberIPTable) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{4} + return fileDescriptor_3f226a441609c6cc, []int{4} } + func (m *SubscriberIPTable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberIPTable.Unmarshal(m, b) } func (m *SubscriberIPTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberIPTable.Marshal(b, m, deterministic) } -func (dst *SubscriberIPTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberIPTable.Merge(dst, src) +func (m *SubscriberIPTable) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberIPTable.Merge(m, src) } func (m *SubscriberIPTable) XXX_Size() int { return xxx_messageInfo_SubscriberIPTable.Size(m) @@ -347,16 +359,17 @@ func (m *AllocateIPRequest) Reset() { *m = AllocateIPRequest{} } func (m *AllocateIPRequest) String() string { return proto.CompactTextString(m) } func (*AllocateIPRequest) ProtoMessage() {} func (*AllocateIPRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{5} + return fileDescriptor_3f226a441609c6cc, []int{5} } + func (m *AllocateIPRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocateIPRequest.Unmarshal(m, b) } func (m *AllocateIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AllocateIPRequest.Marshal(b, m, deterministic) } -func (dst *AllocateIPRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllocateIPRequest.Merge(dst, src) +func (m *AllocateIPRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllocateIPRequest.Merge(m, src) } func (m *AllocateIPRequest) XXX_Size() int { return xxx_messageInfo_AllocateIPRequest.Size(m) @@ -393,16 +406,17 @@ func (m *ListAllocatedIPsResponse) Reset() { *m = ListAllocatedIPsRespon func (m *ListAllocatedIPsResponse) String() string { return proto.CompactTextString(m) } func (*ListAllocatedIPsResponse) ProtoMessage() {} func (*ListAllocatedIPsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{6} + return fileDescriptor_3f226a441609c6cc, []int{6} } + func (m *ListAllocatedIPsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAllocatedIPsResponse.Unmarshal(m, b) } func (m *ListAllocatedIPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAllocatedIPsResponse.Marshal(b, m, deterministic) } -func (dst *ListAllocatedIPsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAllocatedIPsResponse.Merge(dst, src) +func (m *ListAllocatedIPsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAllocatedIPsResponse.Merge(m, src) } func (m *ListAllocatedIPsResponse) XXX_Size() int { return xxx_messageInfo_ListAllocatedIPsResponse.Size(m) @@ -434,16 +448,17 @@ func (m *ReleaseIPRequest) Reset() { *m = ReleaseIPRequest{} } func (m *ReleaseIPRequest) String() string { return proto.CompactTextString(m) } func (*ReleaseIPRequest) ProtoMessage() {} func (*ReleaseIPRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{7} + return fileDescriptor_3f226a441609c6cc, []int{7} } + func (m *ReleaseIPRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReleaseIPRequest.Unmarshal(m, b) } func (m *ReleaseIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ReleaseIPRequest.Marshal(b, m, deterministic) } -func (dst *ReleaseIPRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReleaseIPRequest.Merge(dst, src) +func (m *ReleaseIPRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReleaseIPRequest.Merge(m, src) } func (m *ReleaseIPRequest) XXX_Size() int { return xxx_messageInfo_ReleaseIPRequest.Size(m) @@ -483,16 +498,17 @@ func (m *RemoveIPBlockRequest) Reset() { *m = RemoveIPBlockRequest{} } func (m *RemoveIPBlockRequest) String() string { return proto.CompactTextString(m) } func (*RemoveIPBlockRequest) ProtoMessage() {} func (*RemoveIPBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{8} + return fileDescriptor_3f226a441609c6cc, []int{8} } + func (m *RemoveIPBlockRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveIPBlockRequest.Unmarshal(m, b) } func (m *RemoveIPBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveIPBlockRequest.Marshal(b, m, deterministic) } -func (dst *RemoveIPBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveIPBlockRequest.Merge(dst, src) +func (m *RemoveIPBlockRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveIPBlockRequest.Merge(m, src) } func (m *RemoveIPBlockRequest) XXX_Size() int { return xxx_messageInfo_RemoveIPBlockRequest.Size(m) @@ -529,16 +545,17 @@ func (m *RemoveIPBlockResponse) Reset() { *m = RemoveIPBlockResponse{} } func (m *RemoveIPBlockResponse) String() string { return proto.CompactTextString(m) } func (*RemoveIPBlockResponse) ProtoMessage() {} func (*RemoveIPBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_mobilityd_196d6190f9c6b188, []int{9} + return fileDescriptor_3f226a441609c6cc, []int{9} } + func (m *RemoveIPBlockResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveIPBlockResponse.Unmarshal(m, b) } func (m *RemoveIPBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveIPBlockResponse.Marshal(b, m, deterministic) } -func (dst *RemoveIPBlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveIPBlockResponse.Merge(dst, src) +func (m *RemoveIPBlockResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveIPBlockResponse.Merge(m, src) } func (m *RemoveIPBlockResponse) XXX_Size() int { return xxx_messageInfo_RemoveIPBlockResponse.Size(m) @@ -557,6 +574,9 @@ func (m *RemoveIPBlockResponse) GetIpBlocks() []*IPBlock { } func init() { + proto.RegisterEnum("magma.lte.IPAddress_IPVersion", IPAddress_IPVersion_name, IPAddress_IPVersion_value) + proto.RegisterEnum("magma.lte.IPBlock_IPVersion", IPBlock_IPVersion_name, IPBlock_IPVersion_value) + proto.RegisterEnum("magma.lte.AllocateIPRequest_IPVersion", AllocateIPRequest_IPVersion_name, AllocateIPRequest_IPVersion_value) proto.RegisterType((*IPAddress)(nil), "magma.lte.IPAddress") proto.RegisterType((*IPBlock)(nil), "magma.lte.IPBlock") proto.RegisterType((*ListAddedIPBlocksResponse)(nil), "magma.lte.ListAddedIPBlocksResponse") @@ -567,9 +587,54 @@ func init() { proto.RegisterType((*ReleaseIPRequest)(nil), "magma.lte.ReleaseIPRequest") proto.RegisterType((*RemoveIPBlockRequest)(nil), "magma.lte.RemoveIPBlockRequest") proto.RegisterType((*RemoveIPBlockResponse)(nil), "magma.lte.RemoveIPBlockResponse") - proto.RegisterEnum("magma.lte.IPAddress_IPVersion", IPAddress_IPVersion_name, IPAddress_IPVersion_value) - proto.RegisterEnum("magma.lte.IPBlock_IPVersion", IPBlock_IPVersion_name, IPBlock_IPVersion_value) - proto.RegisterEnum("magma.lte.AllocateIPRequest_IPVersion", AllocateIPRequest_IPVersion_name, AllocateIPRequest_IPVersion_value) +} + +func init() { proto.RegisterFile("lte/protos/mobilityd.proto", fileDescriptor_3f226a441609c6cc) } + +var fileDescriptor_3f226a441609c6cc = []byte{ + // 670 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x61, 0x4f, 0xd3, 0x40, + 0x18, 0xb6, 0x43, 0x18, 0x7b, 0x27, 0x3a, 0xce, 0xa1, 0xa3, 0x80, 0xcc, 0x4a, 0xcc, 0xfc, 0xe0, + 0x96, 0x0c, 0x42, 0x48, 0xfc, 0x22, 0xa8, 0xcc, 0x46, 0x34, 0x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, 0xe4, 0x10, 0x56, 0x7a, 0xa8, 0xf2, + 0xc0, 0x43, 0xc1, 0x43, 0xdb, 0x21, 0x85, 0x70, 0x73, 0x16, 0x3b, 0xe9, 0x41, 0x7d, 0x9c, 0x47, + 0x4f, 0x94, 0x02, 0xdf, 0xd6, 0xaf, 0x9b, 0x29, 0x84, 0xc2, 0xd2, 0x58, 0x24, 0xc9, 0xe6, 0x58, + 0x5b, 0xa6, 0xcf, 0x82, 0xd9, 0x9c, 0x0d, 0x48, 0x6d, 0x3b, 0x58, 0xfb, 0xb2, 0x9a, 0x40, 0x3a, + 0xa3, 0xbf, 0xa2, 0x17, 0xf0, 0x73, 0xbf, 0x73, 0xc6, 0xf5, 0xdf, 0xcf, 0x5d, 0x48, 0xae, 0xdb, + 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x16, 0x22, 0x30, 0x91, 0x5a, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -747,6 +812,38 @@ type MobilityServiceServer interface { RemoveIPBlock(context.Context, *RemoveIPBlockRequest) (*RemoveIPBlockResponse, error) } +// UnimplementedMobilityServiceServer can be embedded to have forward compatible implementations. +type UnimplementedMobilityServiceServer struct { +} + +func (*UnimplementedMobilityServiceServer) AddIPBlock(ctx context.Context, req *IPBlock) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddIPBlock not implemented") +} +func (*UnimplementedMobilityServiceServer) ListAddedIPv4Blocks(ctx context.Context, req *protos.Void) (*ListAddedIPBlocksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAddedIPv4Blocks not implemented") +} +func (*UnimplementedMobilityServiceServer) ListAllocatedIPs(ctx context.Context, req *IPBlock) (*ListAllocatedIPsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAllocatedIPs not implemented") +} +func (*UnimplementedMobilityServiceServer) AllocateIPAddress(ctx context.Context, req *AllocateIPRequest) (*IPAddress, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocateIPAddress not implemented") +} +func (*UnimplementedMobilityServiceServer) ReleaseIPAddress(ctx context.Context, req *ReleaseIPRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReleaseIPAddress not implemented") +} +func (*UnimplementedMobilityServiceServer) GetIPForSubscriber(ctx context.Context, req *SubscriberID) (*IPAddress, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIPForSubscriber not implemented") +} +func (*UnimplementedMobilityServiceServer) GetSubscriberIDFromIP(ctx context.Context, req *IPAddress) (*SubscriberID, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSubscriberIDFromIP not implemented") +} +func (*UnimplementedMobilityServiceServer) GetSubscriberIPTable(ctx context.Context, req *protos.Void) (*SubscriberIPTable, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSubscriberIPTable not implemented") +} +func (*UnimplementedMobilityServiceServer) RemoveIPBlock(ctx context.Context, req *RemoveIPBlockRequest) (*RemoveIPBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveIPBlock not implemented") +} + func RegisterMobilityServiceServer(s *grpc.Server, srv MobilityServiceServer) { s.RegisterService(&_MobilityService_serviceDesc, srv) } @@ -957,53 +1054,3 @@ var _MobilityService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/mobilityd.proto", } - -func init() { - proto.RegisterFile("lte/protos/mobilityd.proto", fileDescriptor_mobilityd_196d6190f9c6b188) -} - -var fileDescriptor_mobilityd_196d6190f9c6b188 = []byte{ - // 670 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x61, 0x4f, 0xd3, 0x40, - 0x18, 0xb6, 0x43, 0x18, 0x7b, 0x27, 0x3a, 0xce, 0xa1, 0xa3, 0x80, 0xcc, 0x4a, 0xcc, 0xfc, 0xe0, - 0x96, 0x0c, 0x42, 0x48, 0xfc, 0x22, 0xa8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0x59, 0xa9, 0x9b, 0x21, 0xe4, 0x10, 0x56, 0x7a, 0xa8, 0xf2, - 0xc0, 0x43, 0xc1, 0x43, 0xdb, 0x21, 0x85, 0x70, 0x73, 0x16, 0x3b, 0xe9, 0x41, 0x7d, 0x9c, 0x47, - 0x4f, 0x94, 0x02, 0xdf, 0xd6, 0xaf, 0x9b, 0x29, 0x84, 0xc2, 0xd2, 0x58, 0x24, 0xc9, 0xe6, 0x58, - 0x5b, 0xa6, 0xcf, 0x82, 0xd9, 0x9c, 0x0d, 0x48, 0x6d, 0x3b, 0x58, 0xfb, 0xb2, 0x9a, 0x40, 0x3a, - 0xa3, 0xbf, 0xa2, 0x17, 0xf0, 0x73, 0xbf, 0x73, 0xc6, 0xf5, 0xdf, 0xcf, 0x5d, 0x48, 0xae, 0xdb, - 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x16, 0x22, 0x30, 0x91, 0x5a, 0x07, 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/pipelined.pb.go b/lte/cloud/go/protos/pipelined.pb.go index 3d220f512089..40ce91238963 100644 --- a/lte/cloud/go/protos/pipelined.pb.go +++ b/lte/cloud/go/protos/pipelined.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/pipelined.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type SetupFlowsResult_Result int32 @@ -37,6 +38,7 @@ var SetupFlowsResult_Result_name = map[int32]string{ 1: "FAILURE", 2: "OUTDATED_EPOCH", } + var SetupFlowsResult_Result_value = map[string]int32{ "SUCCESS": 0, "FAILURE": 1, @@ -46,8 +48,9 @@ var SetupFlowsResult_Result_value = map[string]int32{ func (x SetupFlowsResult_Result) String() string { return proto.EnumName(SetupFlowsResult_Result_name, int32(x)) } + func (SetupFlowsResult_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{1, 0} + return fileDescriptor_e17e923ef6f5752e, []int{1, 0} } type RuleModResult_Result int32 @@ -63,6 +66,7 @@ var RuleModResult_Result_name = map[int32]string{ 1: "PARTIAL_SUCCESS", 2: "FAILURE", } + var RuleModResult_Result_value = map[string]int32{ "SUCCESS": 0, "PARTIAL_SUCCESS": 1, @@ -72,8 +76,9 @@ var RuleModResult_Result_value = map[string]int32{ func (x RuleModResult_Result) String() string { return proto.EnumName(RuleModResult_Result_name, int32(x)) } + func (RuleModResult_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{4, 0} + return fileDescriptor_e17e923ef6f5752e, []int{4, 0} } type SetupFlowsRequest struct { @@ -90,16 +95,17 @@ func (m *SetupFlowsRequest) Reset() { *m = SetupFlowsRequest{} } func (m *SetupFlowsRequest) String() string { return proto.CompactTextString(m) } func (*SetupFlowsRequest) ProtoMessage() {} func (*SetupFlowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{0} + return fileDescriptor_e17e923ef6f5752e, []int{0} } + func (m *SetupFlowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetupFlowsRequest.Unmarshal(m, b) } func (m *SetupFlowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SetupFlowsRequest.Marshal(b, m, deterministic) } -func (dst *SetupFlowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetupFlowsRequest.Merge(dst, src) +func (m *SetupFlowsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetupFlowsRequest.Merge(m, src) } func (m *SetupFlowsRequest) XXX_Size() int { return xxx_messageInfo_SetupFlowsRequest.Size(m) @@ -135,16 +141,17 @@ func (m *SetupFlowsResult) Reset() { *m = SetupFlowsResult{} } func (m *SetupFlowsResult) String() string { return proto.CompactTextString(m) } func (*SetupFlowsResult) ProtoMessage() {} func (*SetupFlowsResult) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{1} + return fileDescriptor_e17e923ef6f5752e, []int{1} } + func (m *SetupFlowsResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetupFlowsResult.Unmarshal(m, b) } func (m *SetupFlowsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SetupFlowsResult.Marshal(b, m, deterministic) } -func (dst *SetupFlowsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetupFlowsResult.Merge(dst, src) +func (m *SetupFlowsResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetupFlowsResult.Merge(m, src) } func (m *SetupFlowsResult) XXX_Size() int { return xxx_messageInfo_SetupFlowsResult.Size(m) @@ -179,16 +186,17 @@ func (m *ActivateFlowsRequest) Reset() { *m = ActivateFlowsRequest{} } func (m *ActivateFlowsRequest) String() string { return proto.CompactTextString(m) } func (*ActivateFlowsRequest) ProtoMessage() {} func (*ActivateFlowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{2} + return fileDescriptor_e17e923ef6f5752e, []int{2} } + func (m *ActivateFlowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ActivateFlowsRequest.Unmarshal(m, b) } func (m *ActivateFlowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ActivateFlowsRequest.Marshal(b, m, deterministic) } -func (dst *ActivateFlowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActivateFlowsRequest.Merge(dst, src) +func (m *ActivateFlowsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivateFlowsRequest.Merge(m, src) } func (m *ActivateFlowsRequest) XXX_Size() int { return xxx_messageInfo_ActivateFlowsRequest.Size(m) @@ -244,16 +252,17 @@ func (m *DeactivateFlowsRequest) Reset() { *m = DeactivateFlowsRequest{} func (m *DeactivateFlowsRequest) String() string { return proto.CompactTextString(m) } func (*DeactivateFlowsRequest) ProtoMessage() {} func (*DeactivateFlowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{3} + return fileDescriptor_e17e923ef6f5752e, []int{3} } + func (m *DeactivateFlowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeactivateFlowsRequest.Unmarshal(m, b) } func (m *DeactivateFlowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeactivateFlowsRequest.Marshal(b, m, deterministic) } -func (dst *DeactivateFlowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeactivateFlowsRequest.Merge(dst, src) +func (m *DeactivateFlowsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeactivateFlowsRequest.Merge(m, src) } func (m *DeactivateFlowsRequest) XXX_Size() int { return xxx_messageInfo_DeactivateFlowsRequest.Size(m) @@ -290,16 +299,17 @@ func (m *RuleModResult) Reset() { *m = RuleModResult{} } func (m *RuleModResult) String() string { return proto.CompactTextString(m) } func (*RuleModResult) ProtoMessage() {} func (*RuleModResult) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{4} + return fileDescriptor_e17e923ef6f5752e, []int{4} } + func (m *RuleModResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RuleModResult.Unmarshal(m, b) } func (m *RuleModResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RuleModResult.Marshal(b, m, deterministic) } -func (dst *RuleModResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuleModResult.Merge(dst, src) +func (m *RuleModResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuleModResult.Merge(m, src) } func (m *RuleModResult) XXX_Size() int { return xxx_messageInfo_RuleModResult.Size(m) @@ -336,16 +346,17 @@ func (m *ActivateFlowsResult) Reset() { *m = ActivateFlowsResult{} } func (m *ActivateFlowsResult) String() string { return proto.CompactTextString(m) } func (*ActivateFlowsResult) ProtoMessage() {} func (*ActivateFlowsResult) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{5} + return fileDescriptor_e17e923ef6f5752e, []int{5} } + func (m *ActivateFlowsResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ActivateFlowsResult.Unmarshal(m, b) } func (m *ActivateFlowsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ActivateFlowsResult.Marshal(b, m, deterministic) } -func (dst *ActivateFlowsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActivateFlowsResult.Merge(dst, src) +func (m *ActivateFlowsResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivateFlowsResult.Merge(m, src) } func (m *ActivateFlowsResult) XXX_Size() int { return xxx_messageInfo_ActivateFlowsResult.Size(m) @@ -380,16 +391,17 @@ func (m *DeactivateFlowsResult) Reset() { *m = DeactivateFlowsResult{} } func (m *DeactivateFlowsResult) String() string { return proto.CompactTextString(m) } func (*DeactivateFlowsResult) ProtoMessage() {} func (*DeactivateFlowsResult) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{6} + return fileDescriptor_e17e923ef6f5752e, []int{6} } + func (m *DeactivateFlowsResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeactivateFlowsResult.Unmarshal(m, b) } func (m *DeactivateFlowsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeactivateFlowsResult.Marshal(b, m, deterministic) } -func (dst *DeactivateFlowsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeactivateFlowsResult.Merge(dst, src) +func (m *DeactivateFlowsResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeactivateFlowsResult.Merge(m, src) } func (m *DeactivateFlowsResult) XXX_Size() int { return xxx_messageInfo_DeactivateFlowsResult.Size(m) @@ -413,16 +425,17 @@ func (m *FlowRequest) Reset() { *m = FlowRequest{} } func (m *FlowRequest) String() string { return proto.CompactTextString(m) } func (*FlowRequest) ProtoMessage() {} func (*FlowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{7} + return fileDescriptor_e17e923ef6f5752e, []int{7} } + func (m *FlowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowRequest.Unmarshal(m, b) } func (m *FlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowRequest.Marshal(b, m, deterministic) } -func (dst *FlowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowRequest.Merge(dst, src) +func (m *FlowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowRequest.Merge(m, src) } func (m *FlowRequest) XXX_Size() int { return xxx_messageInfo_FlowRequest.Size(m) @@ -464,16 +477,17 @@ func (m *FlowResponse) Reset() { *m = FlowResponse{} } func (m *FlowResponse) String() string { return proto.CompactTextString(m) } func (*FlowResponse) ProtoMessage() {} func (*FlowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{8} + return fileDescriptor_e17e923ef6f5752e, []int{8} } + func (m *FlowResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowResponse.Unmarshal(m, b) } func (m *FlowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowResponse.Marshal(b, m, deterministic) } -func (dst *FlowResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowResponse.Merge(dst, src) +func (m *FlowResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowResponse.Merge(m, src) } func (m *FlowResponse) XXX_Size() int { return xxx_messageInfo_FlowResponse.Size(m) @@ -499,16 +513,17 @@ func (m *UEMacFlowRequest) Reset() { *m = UEMacFlowRequest{} } func (m *UEMacFlowRequest) String() string { return proto.CompactTextString(m) } func (*UEMacFlowRequest) ProtoMessage() {} func (*UEMacFlowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{9} + return fileDescriptor_e17e923ef6f5752e, []int{9} } + func (m *UEMacFlowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UEMacFlowRequest.Unmarshal(m, b) } func (m *UEMacFlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UEMacFlowRequest.Marshal(b, m, deterministic) } -func (dst *UEMacFlowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UEMacFlowRequest.Merge(dst, src) +func (m *UEMacFlowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UEMacFlowRequest.Merge(m, src) } func (m *UEMacFlowRequest) XXX_Size() int { return xxx_messageInfo_UEMacFlowRequest.Size(m) @@ -546,16 +561,17 @@ func (m *TableAssignment) Reset() { *m = TableAssignment{} } func (m *TableAssignment) String() string { return proto.CompactTextString(m) } func (*TableAssignment) ProtoMessage() {} func (*TableAssignment) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{10} + return fileDescriptor_e17e923ef6f5752e, []int{10} } + func (m *TableAssignment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableAssignment.Unmarshal(m, b) } func (m *TableAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TableAssignment.Marshal(b, m, deterministic) } -func (dst *TableAssignment) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableAssignment.Merge(dst, src) +func (m *TableAssignment) XXX_Merge(src proto.Message) { + xxx_messageInfo_TableAssignment.Merge(m, src) } func (m *TableAssignment) XXX_Size() int { return xxx_messageInfo_TableAssignment.Size(m) @@ -598,16 +614,17 @@ func (m *AllTableAssignments) Reset() { *m = AllTableAssignments{} } func (m *AllTableAssignments) String() string { return proto.CompactTextString(m) } func (*AllTableAssignments) ProtoMessage() {} func (*AllTableAssignments) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{11} + return fileDescriptor_e17e923ef6f5752e, []int{11} } + func (m *AllTableAssignments) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllTableAssignments.Unmarshal(m, b) } func (m *AllTableAssignments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AllTableAssignments.Marshal(b, m, deterministic) } -func (dst *AllTableAssignments) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllTableAssignments.Merge(dst, src) +func (m *AllTableAssignments) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllTableAssignments.Merge(m, src) } func (m *AllTableAssignments) XXX_Size() int { return xxx_messageInfo_AllTableAssignments.Size(m) @@ -637,16 +654,17 @@ func (m *SerializedRyuPacket) Reset() { *m = SerializedRyuPacket{} } func (m *SerializedRyuPacket) String() string { return proto.CompactTextString(m) } func (*SerializedRyuPacket) ProtoMessage() {} func (*SerializedRyuPacket) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{12} + return fileDescriptor_e17e923ef6f5752e, []int{12} } + func (m *SerializedRyuPacket) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SerializedRyuPacket.Unmarshal(m, b) } func (m *SerializedRyuPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SerializedRyuPacket.Marshal(b, m, deterministic) } -func (dst *SerializedRyuPacket) XXX_Merge(src proto.Message) { - xxx_messageInfo_SerializedRyuPacket.Merge(dst, src) +func (m *SerializedRyuPacket) XXX_Merge(src proto.Message) { + xxx_messageInfo_SerializedRyuPacket.Merge(m, src) } func (m *SerializedRyuPacket) XXX_Size() int { return xxx_messageInfo_SerializedRyuPacket.Size(m) @@ -682,16 +700,17 @@ func (m *PacketDropTableId) Reset() { *m = PacketDropTableId{} } func (m *PacketDropTableId) String() string { return proto.CompactTextString(m) } func (*PacketDropTableId) ProtoMessage() {} func (*PacketDropTableId) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelined_fdd6a92f6495fa3f, []int{13} + return fileDescriptor_e17e923ef6f5752e, []int{13} } + func (m *PacketDropTableId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PacketDropTableId.Unmarshal(m, b) } func (m *PacketDropTableId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PacketDropTableId.Marshal(b, m, deterministic) } -func (dst *PacketDropTableId) XXX_Merge(src proto.Message) { - xxx_messageInfo_PacketDropTableId.Merge(dst, src) +func (m *PacketDropTableId) XXX_Merge(src proto.Message) { + xxx_messageInfo_PacketDropTableId.Merge(m, src) } func (m *PacketDropTableId) XXX_Size() int { return xxx_messageInfo_PacketDropTableId.Size(m) @@ -710,6 +729,8 @@ func (m *PacketDropTableId) GetTableId() int32 { } func init() { + proto.RegisterEnum("magma.lte.SetupFlowsResult_Result", SetupFlowsResult_Result_name, SetupFlowsResult_Result_value) + proto.RegisterEnum("magma.lte.RuleModResult_Result", RuleModResult_Result_name, RuleModResult_Result_value) proto.RegisterType((*SetupFlowsRequest)(nil), "magma.lte.SetupFlowsRequest") proto.RegisterType((*SetupFlowsResult)(nil), "magma.lte.SetupFlowsResult") proto.RegisterType((*ActivateFlowsRequest)(nil), "magma.lte.ActivateFlowsRequest") @@ -724,8 +745,71 @@ func init() { proto.RegisterType((*AllTableAssignments)(nil), "magma.lte.AllTableAssignments") proto.RegisterType((*SerializedRyuPacket)(nil), "magma.lte.SerializedRyuPacket") proto.RegisterType((*PacketDropTableId)(nil), "magma.lte.PacketDropTableId") - proto.RegisterEnum("magma.lte.SetupFlowsResult_Result", SetupFlowsResult_Result_name, SetupFlowsResult_Result_value) - proto.RegisterEnum("magma.lte.RuleModResult_Result", RuleModResult_Result_name, RuleModResult_Result_value) +} + +func init() { proto.RegisterFile("lte/protos/pipelined.proto", fileDescriptor_e17e923ef6f5752e) } + +var fileDescriptor_e17e923ef6f5752e = []byte{ + // 944 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdf, 0x6e, 0x23, 0xb5, + 0x17, 0xee, 0x24, 0x4d, 0xf2, 0xcb, 0x69, 0x9b, 0x26, 0x4e, 0xb7, 0x49, 0x67, 0x7f, 0x0b, 0x61, + 0x24, 0xa4, 0xc2, 0x45, 0x2a, 0x15, 0xc1, 0xa2, 0xe5, 0x02, 0x0d, 0x4d, 0x9a, 0x0d, 0x6c, 0xd9, + 0xc8, 0x69, 0xd0, 0x8a, 0x0b, 0x06, 0x67, 0xc6, 0xca, 0x5a, 0x3b, 0xff, 0x18, 0x3b, 0xb0, 0xe5, + 0x01, 0x78, 0x08, 0x5e, 0x01, 0x6e, 0x78, 0x43, 0x34, 0xb6, 0x93, 0x3a, 0xd3, 0xb4, 0x2b, 0xe0, + 0x2a, 0x63, 0xfb, 0x3b, 0xdf, 0x39, 0x3e, 0xdf, 0x39, 0xc7, 0x01, 0x3b, 0x14, 0xf4, 0x2c, 0xcd, + 0x12, 0x91, 0xf0, 0xb3, 0x94, 0xa5, 0x34, 0x64, 0x31, 0x0d, 0xfa, 0x72, 0x03, 0xd5, 0x23, 0xb2, + 0x88, 0x48, 0x3f, 0x14, 0xd4, 0x3e, 0x49, 0x32, 0xff, 0xf3, 0x6c, 0x05, 0xf4, 0x93, 0x28, 0x4a, + 0x62, 0x85, 0xb2, 0x4d, 0x86, 0x88, 0x0a, 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, + 0x41, 0x03, 0x38, 0x9c, 0xa5, 0x81, 0x26, 0x98, 0x0a, 0x22, 0xf8, 0xbf, 0x61, 0xb9, 0x84, 0x7d, + 0x37, 0x08, 0xd6, 0x7d, 0x8b, 0x4c, 0x99, 0x8a, 0xdd, 0xfc, 0x10, 0xcf, 0x37, 0x70, 0x3c, 0xa2, + 0x62, 0x5b, 0xc7, 0x6c, 0xc9, 0xcc, 0x86, 0x74, 0x77, 0x4d, 0xbe, 0x7a, 0xfc, 0xfd, 0x89, 0x04, + 0x9c, 0xe5, 0x7f, 0x2a, 0xfc, 0x30, 0x59, 0x06, 0x67, 0x8b, 0x44, 0xff, 0xbb, 0x98, 0x57, 0xe5, + 0xef, 0x27, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x40, 0x78, 0x48, 0x0d, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -873,6 +957,38 @@ type PipelinedServer interface { GetAllTableAssignments(context.Context, *protos.Void) (*AllTableAssignments, error) } +// UnimplementedPipelinedServer can be embedded to have forward compatible implementations. +type UnimplementedPipelinedServer struct { +} + +func (*UnimplementedPipelinedServer) GetSubscriberMeteringFlows(ctx context.Context, req *protos.Void) (*FlowTable, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSubscriberMeteringFlows not implemented") +} +func (*UnimplementedPipelinedServer) SetupFlows(ctx context.Context, req *SetupFlowsRequest) (*SetupFlowsResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetupFlows not implemented") +} +func (*UnimplementedPipelinedServer) ActivateFlows(ctx context.Context, req *ActivateFlowsRequest) (*ActivateFlowsResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method ActivateFlows not implemented") +} +func (*UnimplementedPipelinedServer) DeactivateFlows(ctx context.Context, req *DeactivateFlowsRequest) (*DeactivateFlowsResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeactivateFlows not implemented") +} +func (*UnimplementedPipelinedServer) GetPolicyUsage(ctx context.Context, req *protos.Void) (*RuleRecordTable, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPolicyUsage not implemented") +} +func (*UnimplementedPipelinedServer) CreateFlow(ctx context.Context, req *FlowRequest) (*FlowResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateFlow not implemented") +} +func (*UnimplementedPipelinedServer) UpdateFlowStats(ctx context.Context, req *FlowRequest) (*FlowResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateFlowStats not implemented") +} +func (*UnimplementedPipelinedServer) AddUEMacFlow(ctx context.Context, req *UEMacFlowRequest) (*FlowResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddUEMacFlow not implemented") +} +func (*UnimplementedPipelinedServer) GetAllTableAssignments(ctx context.Context, req *protos.Void) (*AllTableAssignments, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAllTableAssignments not implemented") +} + func RegisterPipelinedServer(s *grpc.Server, srv PipelinedServer) { s.RegisterService(&_Pipelined_serviceDesc, srv) } @@ -1083,70 +1199,3 @@ var _Pipelined_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/pipelined.proto", } - -func init() { - proto.RegisterFile("lte/protos/pipelined.proto", fileDescriptor_pipelined_fdd6a92f6495fa3f) -} - -var fileDescriptor_pipelined_fdd6a92f6495fa3f = []byte{ - // 944 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdf, 0x6e, 0x23, 0xb5, - 0x17, 0xee, 0x24, 0x4d, 0xf2, 0xcb, 0x69, 0x9b, 0x26, 0x4e, 0xb7, 0x49, 0x67, 0x7f, 0x0b, 0x61, - 0x24, 0xa4, 0xc2, 0x45, 0x2a, 0x15, 0xc1, 0xa2, 0xe5, 0x02, 0x0d, 0x4d, 0x9a, 0x0d, 0x6c, 0xd9, - 0xc8, 0x69, 0xd0, 0x8a, 0x0b, 0x06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55, - 0x56, 0x82, 0xfd, 0xf8, 0x81, 0xd1, 0xeb, 0xec, 0x20, 0x0c, 0x07, 0x1b, 0x3d, 0x88, 0xde, 0xf5, - 0x1a, 0xd8, 0xef, 0xdd, 0x0f, 0xd0, 0x9c, 0xaf, 0xe0, 0xb0, 0xd0, 0x2a, 0xe8, 0x03, 0xc3, 0x68, - 0xfb, 0xc4, 0xb3, 0x7b, 0x0f, 0x41, 0x34, 0xb3, 0x0b, 0x8d, 0x11, 0x15, 0x6a, 0x9c, 0xce, 0x38, - 0x59, 0xd0, 0x6d, 0x59, 0xb3, 0x0b, 0x7d, 0x8d, 0xa9, 0x9f, 0x64, 0xc1, 0x2a, 0x77, 0x5f, 0x02, - 0x5c, 0x64, 0x54, 0x33, 0xa3, 0xe3, 0x42, 0x86, 0x57, 0xc1, 0x74, 0xee, 0xec, 0xeb, 0x66, 0xdb, - 0x41, 0x03, 0x38, 0x9c, 0xa5, 0x81, 0x26, 0x98, 0x0a, 0x22, 0xf8, 0xbf, 0x61, 0xb9, 0x84, 0x7d, - 0x37, 0x08, 0xd6, 0x7d, 0x8b, 0x4c, 0x99, 0x8a, 0xdd, 0xfc, 0x10, 0xcf, 0x37, 0x70, 0x3c, 0xa2, - 0x62, 0x5b, 0xc7, 0x6c, 0xc9, 0xcc, 0x86, 0x74, 0x77, 0x4d, 0xbe, 0x7a, 0xfc, 0xfd, 0x89, 0x04, - 0x9c, 0xe5, 0x7f, 0x2a, 0xfc, 0x30, 0x59, 0x06, 0x67, 0x8b, 0x44, 0xff, 0xbb, 0x98, 0x57, 0xe5, - 0xef, 0x27, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x40, 0x78, 0x48, 0x0d, 0x09, 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/policydb.pb.go b/lte/cloud/go/protos/policydb.pb.go index 519fd7625968..0f90c005f0fd 100644 --- a/lte/cloud/go/protos/policydb.pb.go +++ b/lte/cloud/go/protos/policydb.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/policydb.proto -package protos // import "magma/lte/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "magma/orc8r/cloud/go/protos" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "magma/orc8r/cloud/go/protos" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PolicyRule_TrackingType int32 @@ -34,6 +36,7 @@ var PolicyRule_TrackingType_name = map[int32]string{ 2: "OCS_AND_PCRF", 3: "NO_TRACKING", } + var PolicyRule_TrackingType_value = map[string]int32{ "ONLY_OCS": 0, "ONLY_PCRF": 1, @@ -44,8 +47,9 @@ var PolicyRule_TrackingType_value = map[string]int32{ func (x PolicyRule_TrackingType) String() string { return proto.EnumName(PolicyRule_TrackingType_name, int32(x)) } + func (PolicyRule_TrackingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{0, 0} + return fileDescriptor_a4a2a416c199de0d, []int{0, 0} } type FlowDescription_Action int32 @@ -59,6 +63,7 @@ var FlowDescription_Action_name = map[int32]string{ 0: "PERMIT", 1: "DENY", } + var FlowDescription_Action_value = map[string]int32{ "PERMIT": 0, "DENY": 1, @@ -67,8 +72,9 @@ var FlowDescription_Action_value = map[string]int32{ func (x FlowDescription_Action) String() string { return proto.EnumName(FlowDescription_Action_name, int32(x)) } + func (FlowDescription_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{2, 0} + return fileDescriptor_a4a2a416c199de0d, []int{2, 0} } type FlowMatch_IPProto int32 @@ -110,6 +116,7 @@ var FlowMatch_IPProto_name = map[int32]string{ 112: "IPPROTO_VRRP", 132: "IPPROTO_SCTP", } + var FlowMatch_IPProto_value = map[string]int32{ "IPPROTO_IP": 0, "IPPROTO_HOPOPTS": 0, @@ -132,8 +139,9 @@ var FlowMatch_IPProto_value = map[string]int32{ func (x FlowMatch_IPProto) String() string { return proto.EnumName(FlowMatch_IPProto_name, int32(x)) } + func (FlowMatch_IPProto) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{3, 0} + return fileDescriptor_a4a2a416c199de0d, []int{3, 0} } type FlowMatch_Direction int32 @@ -147,6 +155,7 @@ var FlowMatch_Direction_name = map[int32]string{ 0: "UPLINK", 1: "DOWNLINK", } + var FlowMatch_Direction_value = map[string]int32{ "UPLINK": 0, "DOWNLINK": 1, @@ -155,8 +164,9 @@ var FlowMatch_Direction_value = map[string]int32{ func (x FlowMatch_Direction) String() string { return proto.EnumName(FlowMatch_Direction_name, int32(x)) } + func (FlowMatch_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{3, 1} + return fileDescriptor_a4a2a416c199de0d, []int{3, 1} } type QosArp_PreCap int32 @@ -170,6 +180,7 @@ var QosArp_PreCap_name = map[int32]string{ 0: "PRE_CAP_ENABLED", 1: "PRE_CAP_DISABLED", } + var QosArp_PreCap_value = map[string]int32{ "PRE_CAP_ENABLED": 0, "PRE_CAP_DISABLED": 1, @@ -178,8 +189,9 @@ var QosArp_PreCap_value = map[string]int32{ func (x QosArp_PreCap) String() string { return proto.EnumName(QosArp_PreCap_name, int32(x)) } + func (QosArp_PreCap) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{4, 0} + return fileDescriptor_a4a2a416c199de0d, []int{4, 0} } type QosArp_PreVul int32 @@ -193,6 +205,7 @@ var QosArp_PreVul_name = map[int32]string{ 0: "PRE_VUL_ENABLED", 1: "PRE_VUL_DISABLED", } + var QosArp_PreVul_value = map[string]int32{ "PRE_VUL_ENABLED": 0, "PRE_VUL_DISABLED": 1, @@ -201,8 +214,9 @@ var QosArp_PreVul_value = map[string]int32{ func (x QosArp_PreVul) String() string { return proto.EnumName(QosArp_PreVul_name, int32(x)) } + func (QosArp_PreVul) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{4, 1} + return fileDescriptor_a4a2a416c199de0d, []int{4, 1} } type FlowQos_Qci int32 @@ -244,6 +258,7 @@ var FlowQos_Qci_name = map[int32]string{ 75: "QCI_75", 79: "QCI_79", } + var FlowQos_Qci_value = map[string]int32{ "QCI_0": 0, "QCI_1": 1, @@ -266,8 +281,9 @@ var FlowQos_Qci_value = map[string]int32{ func (x FlowQos_Qci) String() string { return proto.EnumName(FlowQos_Qci_name, int32(x)) } + func (FlowQos_Qci) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{5, 0} + return fileDescriptor_a4a2a416c199de0d, []int{5, 0} } type RedirectInformation_Support int32 @@ -281,6 +297,7 @@ var RedirectInformation_Support_name = map[int32]string{ 0: "DISABLED", 1: "ENABLED", } + var RedirectInformation_Support_value = map[string]int32{ "DISABLED": 0, "ENABLED": 1, @@ -289,8 +306,9 @@ var RedirectInformation_Support_value = map[string]int32{ func (x RedirectInformation_Support) String() string { return proto.EnumName(RedirectInformation_Support_name, int32(x)) } + func (RedirectInformation_Support) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{6, 0} + return fileDescriptor_a4a2a416c199de0d, []int{6, 0} } type RedirectInformation_AddressType int32 @@ -308,6 +326,7 @@ var RedirectInformation_AddressType_name = map[int32]string{ 2: "URL", 3: "SIP_URI", } + var RedirectInformation_AddressType_value = map[string]int32{ "IPv4": 0, "IPv6": 1, @@ -318,8 +337,9 @@ var RedirectInformation_AddressType_value = map[string]int32{ func (x RedirectInformation_AddressType) String() string { return proto.EnumName(RedirectInformation_AddressType_name, int32(x)) } + func (RedirectInformation_AddressType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{6, 1} + return fileDescriptor_a4a2a416c199de0d, []int{6, 1} } // -------------------------------------------------------------------------- @@ -357,16 +377,17 @@ func (m *PolicyRule) Reset() { *m = PolicyRule{} } func (m *PolicyRule) String() string { return proto.CompactTextString(m) } func (*PolicyRule) ProtoMessage() {} func (*PolicyRule) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{0} + return fileDescriptor_a4a2a416c199de0d, []int{0} } + func (m *PolicyRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PolicyRule.Unmarshal(m, b) } func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PolicyRule.Marshal(b, m, deterministic) } -func (dst *PolicyRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyRule.Merge(dst, src) +func (m *PolicyRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyRule.Merge(m, src) } func (m *PolicyRule) XXX_Size() int { return xxx_messageInfo_PolicyRule.Size(m) @@ -458,16 +479,17 @@ func (m *ServiceIdentifier) Reset() { *m = ServiceIdentifier{} } func (m *ServiceIdentifier) String() string { return proto.CompactTextString(m) } func (*ServiceIdentifier) ProtoMessage() {} func (*ServiceIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{1} + return fileDescriptor_a4a2a416c199de0d, []int{1} } + func (m *ServiceIdentifier) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceIdentifier.Unmarshal(m, b) } func (m *ServiceIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceIdentifier.Marshal(b, m, deterministic) } -func (dst *ServiceIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceIdentifier.Merge(dst, src) +func (m *ServiceIdentifier) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceIdentifier.Merge(m, src) } func (m *ServiceIdentifier) XXX_Size() int { return xxx_messageInfo_ServiceIdentifier.Size(m) @@ -497,16 +519,17 @@ func (m *FlowDescription) Reset() { *m = FlowDescription{} } func (m *FlowDescription) String() string { return proto.CompactTextString(m) } func (*FlowDescription) ProtoMessage() {} func (*FlowDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{2} + return fileDescriptor_a4a2a416c199de0d, []int{2} } + func (m *FlowDescription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowDescription.Unmarshal(m, b) } func (m *FlowDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowDescription.Marshal(b, m, deterministic) } -func (dst *FlowDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowDescription.Merge(dst, src) +func (m *FlowDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowDescription.Merge(m, src) } func (m *FlowDescription) XXX_Size() int { return xxx_messageInfo_FlowDescription.Size(m) @@ -550,16 +573,17 @@ func (m *FlowMatch) Reset() { *m = FlowMatch{} } func (m *FlowMatch) String() string { return proto.CompactTextString(m) } func (*FlowMatch) ProtoMessage() {} func (*FlowMatch) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{3} + return fileDescriptor_a4a2a416c199de0d, []int{3} } + func (m *FlowMatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowMatch.Unmarshal(m, b) } func (m *FlowMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowMatch.Marshal(b, m, deterministic) } -func (dst *FlowMatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowMatch.Merge(dst, src) +func (m *FlowMatch) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowMatch.Merge(m, src) } func (m *FlowMatch) XXX_Size() int { return xxx_messageInfo_FlowMatch.Size(m) @@ -646,16 +670,17 @@ func (m *QosArp) Reset() { *m = QosArp{} } func (m *QosArp) String() string { return proto.CompactTextString(m) } func (*QosArp) ProtoMessage() {} func (*QosArp) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{4} + return fileDescriptor_a4a2a416c199de0d, []int{4} } + func (m *QosArp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QosArp.Unmarshal(m, b) } func (m *QosArp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QosArp.Marshal(b, m, deterministic) } -func (dst *QosArp) XXX_Merge(src proto.Message) { - xxx_messageInfo_QosArp.Merge(dst, src) +func (m *QosArp) XXX_Merge(src proto.Message) { + xxx_messageInfo_QosArp.Merge(m, src) } func (m *QosArp) XXX_Size() int { return xxx_messageInfo_QosArp.Size(m) @@ -703,16 +728,17 @@ func (m *FlowQos) Reset() { *m = FlowQos{} } func (m *FlowQos) String() string { return proto.CompactTextString(m) } func (*FlowQos) ProtoMessage() {} func (*FlowQos) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{5} + return fileDescriptor_a4a2a416c199de0d, []int{5} } + func (m *FlowQos) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlowQos.Unmarshal(m, b) } func (m *FlowQos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlowQos.Marshal(b, m, deterministic) } -func (dst *FlowQos) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowQos.Merge(dst, src) +func (m *FlowQos) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowQos.Merge(m, src) } func (m *FlowQos) XXX_Size() int { return xxx_messageInfo_FlowQos.Size(m) @@ -778,16 +804,17 @@ func (m *RedirectInformation) Reset() { *m = RedirectInformation{} } func (m *RedirectInformation) String() string { return proto.CompactTextString(m) } func (*RedirectInformation) ProtoMessage() {} func (*RedirectInformation) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{6} + return fileDescriptor_a4a2a416c199de0d, []int{6} } + func (m *RedirectInformation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RedirectInformation.Unmarshal(m, b) } func (m *RedirectInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RedirectInformation.Marshal(b, m, deterministic) } -func (dst *RedirectInformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedirectInformation.Merge(dst, src) +func (m *RedirectInformation) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedirectInformation.Merge(m, src) } func (m *RedirectInformation) XXX_Size() int { return xxx_messageInfo_RedirectInformation.Size(m) @@ -830,16 +857,17 @@ func (m *ChargingRuleNameSet) Reset() { *m = ChargingRuleNameSet{} } func (m *ChargingRuleNameSet) String() string { return proto.CompactTextString(m) } func (*ChargingRuleNameSet) ProtoMessage() {} func (*ChargingRuleNameSet) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{7} + return fileDescriptor_a4a2a416c199de0d, []int{7} } + func (m *ChargingRuleNameSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChargingRuleNameSet.Unmarshal(m, b) } func (m *ChargingRuleNameSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChargingRuleNameSet.Marshal(b, m, deterministic) } -func (dst *ChargingRuleNameSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChargingRuleNameSet.Merge(dst, src) +func (m *ChargingRuleNameSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChargingRuleNameSet.Merge(m, src) } func (m *ChargingRuleNameSet) XXX_Size() int { return xxx_messageInfo_ChargingRuleNameSet.Size(m) @@ -869,16 +897,17 @@ func (m *ChargingRuleBaseNameRecord) Reset() { *m = ChargingRuleBaseName func (m *ChargingRuleBaseNameRecord) String() string { return proto.CompactTextString(m) } func (*ChargingRuleBaseNameRecord) ProtoMessage() {} func (*ChargingRuleBaseNameRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_policydb_d4fd8b82a9e810f5, []int{8} + return fileDescriptor_a4a2a416c199de0d, []int{8} } + func (m *ChargingRuleBaseNameRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChargingRuleBaseNameRecord.Unmarshal(m, b) } func (m *ChargingRuleBaseNameRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChargingRuleBaseNameRecord.Marshal(b, m, deterministic) } -func (dst *ChargingRuleBaseNameRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChargingRuleBaseNameRecord.Merge(dst, src) +func (m *ChargingRuleBaseNameRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChargingRuleBaseNameRecord.Merge(m, src) } func (m *ChargingRuleBaseNameRecord) XXX_Size() int { return xxx_messageInfo_ChargingRuleBaseNameRecord.Size(m) @@ -904,15 +933,6 @@ func (m *ChargingRuleBaseNameRecord) GetRuleNamesSet() *ChargingRuleNameSet { } func init() { - proto.RegisterType((*PolicyRule)(nil), "magma.lte.PolicyRule") - proto.RegisterType((*ServiceIdentifier)(nil), "magma.lte.ServiceIdentifier") - proto.RegisterType((*FlowDescription)(nil), "magma.lte.FlowDescription") - proto.RegisterType((*FlowMatch)(nil), "magma.lte.FlowMatch") - proto.RegisterType((*QosArp)(nil), "magma.lte.QosArp") - proto.RegisterType((*FlowQos)(nil), "magma.lte.FlowQos") - proto.RegisterType((*RedirectInformation)(nil), "magma.lte.RedirectInformation") - proto.RegisterType((*ChargingRuleNameSet)(nil), "magma.lte.ChargingRuleNameSet") - proto.RegisterType((*ChargingRuleBaseNameRecord)(nil), "magma.lte.ChargingRuleBaseNameRecord") proto.RegisterEnum("magma.lte.PolicyRule_TrackingType", PolicyRule_TrackingType_name, PolicyRule_TrackingType_value) proto.RegisterEnum("magma.lte.FlowDescription_Action", FlowDescription_Action_name, FlowDescription_Action_value) proto.RegisterEnum("magma.lte.FlowMatch_IPProto", FlowMatch_IPProto_name, FlowMatch_IPProto_value) @@ -922,11 +942,20 @@ func init() { proto.RegisterEnum("magma.lte.FlowQos_Qci", FlowQos_Qci_name, FlowQos_Qci_value) proto.RegisterEnum("magma.lte.RedirectInformation_Support", RedirectInformation_Support_name, RedirectInformation_Support_value) proto.RegisterEnum("magma.lte.RedirectInformation_AddressType", RedirectInformation_AddressType_name, RedirectInformation_AddressType_value) + proto.RegisterType((*PolicyRule)(nil), "magma.lte.PolicyRule") + proto.RegisterType((*ServiceIdentifier)(nil), "magma.lte.ServiceIdentifier") + proto.RegisterType((*FlowDescription)(nil), "magma.lte.FlowDescription") + proto.RegisterType((*FlowMatch)(nil), "magma.lte.FlowMatch") + proto.RegisterType((*QosArp)(nil), "magma.lte.QosArp") + proto.RegisterType((*FlowQos)(nil), "magma.lte.FlowQos") + proto.RegisterType((*RedirectInformation)(nil), "magma.lte.RedirectInformation") + proto.RegisterType((*ChargingRuleNameSet)(nil), "magma.lte.ChargingRuleNameSet") + proto.RegisterType((*ChargingRuleBaseNameRecord)(nil), "magma.lte.ChargingRuleBaseNameRecord") } -func init() { proto.RegisterFile("lte/protos/policydb.proto", fileDescriptor_policydb_d4fd8b82a9e810f5) } +func init() { proto.RegisterFile("lte/protos/policydb.proto", fileDescriptor_a4a2a416c199de0d) } -var fileDescriptor_policydb_d4fd8b82a9e810f5 = []byte{ +var fileDescriptor_a4a2a416c199de0d = []byte{ // 1328 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0x41, 0x6f, 0xdb, 0xc6, 0x12, 0x36, 0x25, 0x5b, 0x12, 0x47, 0x92, 0xb3, 0xde, 0xe4, 0xbd, 0x47, 0xfb, 0x05, 0x81, 0xc3, diff --git a/lte/cloud/go/protos/s1ap_state.pb.go b/lte/cloud/go/protos/s1ap_state.pb.go index 27c08c24228a..138237448164 100644 --- a/lte/cloud/go/protos/s1ap_state.pb.go +++ b/lte/cloud/go/protos/s1ap_state.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/s1ap_state.proto -package protos // import "magma/lte/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type S1ApTimer struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` @@ -30,16 +32,17 @@ func (m *S1ApTimer) Reset() { *m = S1ApTimer{} } func (m *S1ApTimer) String() string { return proto.CompactTextString(m) } func (*S1ApTimer) ProtoMessage() {} func (*S1ApTimer) Descriptor() ([]byte, []int) { - return fileDescriptor_s1ap_state_ca83a955c413608c, []int{0} + return fileDescriptor_598f854c569be2d7, []int{0} } + func (m *S1ApTimer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_S1ApTimer.Unmarshal(m, b) } func (m *S1ApTimer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_S1ApTimer.Marshal(b, m, deterministic) } -func (dst *S1ApTimer) XXX_Merge(src proto.Message) { - xxx_messageInfo_S1ApTimer.Merge(dst, src) +func (m *S1ApTimer) XXX_Merge(src proto.Message) { + xxx_messageInfo_S1ApTimer.Merge(m, src) } func (m *S1ApTimer) XXX_Size() int { return xxx_messageInfo_S1ApTimer.Size(m) @@ -85,16 +88,17 @@ func (m *EnbDescription) Reset() { *m = EnbDescription{} } func (m *EnbDescription) String() string { return proto.CompactTextString(m) } func (*EnbDescription) ProtoMessage() {} func (*EnbDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_s1ap_state_ca83a955c413608c, []int{1} + return fileDescriptor_598f854c569be2d7, []int{1} } + func (m *EnbDescription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnbDescription.Unmarshal(m, b) } func (m *EnbDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnbDescription.Marshal(b, m, deterministic) } -func (dst *EnbDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnbDescription.Merge(dst, src) +func (m *EnbDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnbDescription.Merge(m, src) } func (m *EnbDescription) XXX_Size() int { return xxx_messageInfo_EnbDescription.Size(m) @@ -198,16 +202,17 @@ func (m *UeDescription) Reset() { *m = UeDescription{} } func (m *UeDescription) String() string { return proto.CompactTextString(m) } func (*UeDescription) ProtoMessage() {} func (*UeDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_s1ap_state_ca83a955c413608c, []int{2} + return fileDescriptor_598f854c569be2d7, []int{2} } + func (m *UeDescription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UeDescription.Unmarshal(m, b) } func (m *UeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UeDescription.Marshal(b, m, deterministic) } -func (dst *UeDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_UeDescription.Merge(dst, src) +func (m *UeDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_UeDescription.Merge(m, src) } func (m *UeDescription) XXX_Size() int { return xxx_messageInfo_UeDescription.Size(m) @@ -273,16 +278,17 @@ func (m *S1ApState) Reset() { *m = S1ApState{} } func (m *S1ApState) String() string { return proto.CompactTextString(m) } func (*S1ApState) ProtoMessage() {} func (*S1ApState) Descriptor() ([]byte, []int) { - return fileDescriptor_s1ap_state_ca83a955c413608c, []int{3} + return fileDescriptor_598f854c569be2d7, []int{3} } + func (m *S1ApState) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_S1ApState.Unmarshal(m, b) } func (m *S1ApState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_S1ApState.Marshal(b, m, deterministic) } -func (dst *S1ApState) XXX_Merge(src proto.Message) { - xxx_messageInfo_S1ApState.Merge(dst, src) +func (m *S1ApState) XXX_Merge(src proto.Message) { + xxx_messageInfo_S1ApState.Merge(m, src) } func (m *S1ApState) XXX_Size() int { return xxx_messageInfo_S1ApState.Size(m) @@ -324,11 +330,9 @@ func init() { proto.RegisterMapType((map[uint32]uint32)(nil), "magma.lte.gateway.s1ap.S1apState.Mmeid2associdEntry") } -func init() { - proto.RegisterFile("lte/protos/s1ap_state.proto", fileDescriptor_s1ap_state_ca83a955c413608c) -} +func init() { proto.RegisterFile("lte/protos/s1ap_state.proto", fileDescriptor_598f854c569be2d7) } -var fileDescriptor_s1ap_state_ca83a955c413608c = []byte{ +var fileDescriptor_598f854c569be2d7 = []byte{ // 661 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xd1, 0x6e, 0xd3, 0x4a, 0x10, 0x55, 0x9c, 0xa6, 0x69, 0xd6, 0x37, 0x51, 0xb4, 0xba, 0x45, 0x6e, 0x0b, 0x55, 0x08, 0x02, diff --git a/lte/cloud/go/protos/s6a_service.pb.go b/lte/cloud/go/protos/s6a_service.pb.go index 5bab10bd78cd..c8c42cc7b5c2 100644 --- a/lte/cloud/go/protos/s6a_service.pb.go +++ b/lte/cloud/go/protos/s6a_service.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/s6a_service.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type DeleteSubscriberResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -33,16 +34,17 @@ func (m *DeleteSubscriberResponse) Reset() { *m = DeleteSubscriberRespon func (m *DeleteSubscriberResponse) String() string { return proto.CompactTextString(m) } func (*DeleteSubscriberResponse) ProtoMessage() {} func (*DeleteSubscriberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_s6a_service_3bc2ef615a4405cc, []int{0} + return fileDescriptor_f98715f79553a438, []int{0} } + func (m *DeleteSubscriberResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSubscriberResponse.Unmarshal(m, b) } func (m *DeleteSubscriberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteSubscriberResponse.Marshal(b, m, deterministic) } -func (dst *DeleteSubscriberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSubscriberResponse.Merge(dst, src) +func (m *DeleteSubscriberResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSubscriberResponse.Merge(m, src) } func (m *DeleteSubscriberResponse) XXX_Size() int { return xxx_messageInfo_DeleteSubscriberResponse.Size(m) @@ -65,16 +67,17 @@ func (m *DeleteSubscriberRequest) Reset() { *m = DeleteSubscriberRequest func (m *DeleteSubscriberRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSubscriberRequest) ProtoMessage() {} func (*DeleteSubscriberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_s6a_service_3bc2ef615a4405cc, []int{1} + return fileDescriptor_f98715f79553a438, []int{1} } + func (m *DeleteSubscriberRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSubscriberRequest.Unmarshal(m, b) } func (m *DeleteSubscriberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteSubscriberRequest.Marshal(b, m, deterministic) } -func (dst *DeleteSubscriberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSubscriberRequest.Merge(dst, src) +func (m *DeleteSubscriberRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSubscriberRequest.Merge(m, src) } func (m *DeleteSubscriberRequest) XXX_Size() int { return xxx_messageInfo_DeleteSubscriberRequest.Size(m) @@ -97,6 +100,24 @@ func init() { proto.RegisterType((*DeleteSubscriberRequest)(nil), "magma.lte.DeleteSubscriberRequest") } +func init() { proto.RegisterFile("lte/protos/s6a_service.proto", fileDescriptor_f98715f79553a438) } + +var fileDescriptor_f98715f79553a438 = []byte{ + // 184 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xc9, 0x29, 0x49, 0xd5, + 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0xd6, 0x2f, 0x36, 0x4b, 0x8c, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, + 0x4c, 0x4e, 0xd5, 0x03, 0x0b, 0x09, 0x71, 0xe6, 0x26, 0xa6, 0xe7, 0x26, 0xea, 0xe5, 0x94, 0xa4, + 0x2a, 0x49, 0x71, 0x49, 0xb8, 0xa4, 0xe6, 0xa4, 0x96, 0xa4, 0x06, 0x97, 0x26, 0x15, 0x27, 0x17, + 0x65, 0x26, 0xa5, 0x16, 0x05, 0xa5, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x2a, 0x99, 0x71, 0x89, + 0x63, 0xca, 0x15, 0x96, 0xa6, 0x16, 0x97, 0x08, 0x49, 0x73, 0x71, 0x66, 0xe6, 0x16, 0x67, 0xc6, + 0xe7, 0x64, 0x16, 0x97, 0x48, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x06, 0x71, 0x80, 0x04, 0x7c, 0x32, + 0x8b, 0x4b, 0x8c, 0xb2, 0xb9, 0xb8, 0x82, 0xcd, 0x12, 0x83, 0x21, 0x56, 0x0a, 0xc5, 0x72, 0x09, + 0xa0, 0x9b, 0x22, 0xa4, 0xa4, 0x07, 0x77, 0x81, 0x1e, 0x0e, 0x2b, 0xa4, 0x94, 0xf1, 0xaa, 0x81, + 0x3a, 0x91, 0xc1, 0x49, 0x3a, 0x4a, 0x12, 0xac, 0x4e, 0x1f, 0xe4, 0xe3, 0xe4, 0x9c, 0xfc, 0xd2, + 0x14, 0xfd, 0xf4, 0x7c, 0xa8, 0xd7, 0x93, 0xd8, 0xc0, 0xb4, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, + 0xfd, 0x02, 0x58, 0x1c, 0x0f, 0x01, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -136,6 +157,14 @@ type S6AServiceServer interface { DeleteSubscriber(context.Context, *DeleteSubscriberRequest) (*DeleteSubscriberResponse, error) } +// UnimplementedS6AServiceServer can be embedded to have forward compatible implementations. +type UnimplementedS6AServiceServer struct { +} + +func (*UnimplementedS6AServiceServer) DeleteSubscriber(ctx context.Context, req *DeleteSubscriberRequest) (*DeleteSubscriberResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscriber not implemented") +} + func RegisterS6AServiceServer(s *grpc.Server, srv S6AServiceServer) { s.RegisterService(&_S6AService_serviceDesc, srv) } @@ -170,23 +199,3 @@ var _S6AService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/s6a_service.proto", } - -func init() { - proto.RegisterFile("lte/protos/s6a_service.proto", fileDescriptor_s6a_service_3bc2ef615a4405cc) -} - -var fileDescriptor_s6a_service_3bc2ef615a4405cc = []byte{ - // 184 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xc9, 0x29, 0x49, 0xd5, - 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0xd6, 0x2f, 0x36, 0x4b, 0x8c, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, - 0x4c, 0x4e, 0xd5, 0x03, 0x0b, 0x09, 0x71, 0xe6, 0x26, 0xa6, 0xe7, 0x26, 0xea, 0xe5, 0x94, 0xa4, - 0x2a, 0x49, 0x71, 0x49, 0xb8, 0xa4, 0xe6, 0xa4, 0x96, 0xa4, 0x06, 0x97, 0x26, 0x15, 0x27, 0x17, - 0x65, 0x26, 0xa5, 0x16, 0x05, 0xa5, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x2a, 0x99, 0x71, 0x89, - 0x63, 0xca, 0x15, 0x96, 0xa6, 0x16, 0x97, 0x08, 0x49, 0x73, 0x71, 0x66, 0xe6, 0x16, 0x67, 0xc6, - 0xe7, 0x64, 0x16, 0x97, 0x48, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x06, 0x71, 0x80, 0x04, 0x7c, 0x32, - 0x8b, 0x4b, 0x8c, 0xb2, 0xb9, 0xb8, 0x82, 0xcd, 0x12, 0x83, 0x21, 0x56, 0x0a, 0xc5, 0x72, 0x09, - 0xa0, 0x9b, 0x22, 0xa4, 0xa4, 0x07, 0x77, 0x81, 0x1e, 0x0e, 0x2b, 0xa4, 0x94, 0xf1, 0xaa, 0x81, - 0x3a, 0x91, 0xc1, 0x49, 0x3a, 0x4a, 0x12, 0xac, 0x4e, 0x1f, 0xe4, 0xe3, 0xe4, 0x9c, 0xfc, 0xd2, - 0x14, 0xfd, 0xf4, 0x7c, 0xa8, 0xd7, 0x93, 0xd8, 0xc0, 0xb4, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, - 0xfd, 0x02, 0x58, 0x1c, 0x0f, 0x01, 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/sctpd.pb.go b/lte/cloud/go/protos/sctpd.pb.go index c836f81f0ad5..656317e08634 100644 --- a/lte/cloud/go/protos/sctpd.pb.go +++ b/lte/cloud/go/protos/sctpd.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/sctpd.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type InitRes_InitResult int32 @@ -36,6 +37,7 @@ var InitRes_InitResult_name = map[int32]string{ 1: "INIT_OK", 2: "INIT_FAIL", } + var InitRes_InitResult_value = map[string]int32{ "INIT_UNKNOWN": 0, "INIT_OK": 1, @@ -45,8 +47,9 @@ var InitRes_InitResult_value = map[string]int32{ func (x InitRes_InitResult) String() string { return proto.EnumName(InitRes_InitResult_name, int32(x)) } + func (InitRes_InitResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{1, 0} + return fileDescriptor_4b79271ac29ed95c, []int{1, 0} } type SendDlRes_SendDlResult int32 @@ -62,6 +65,7 @@ var SendDlRes_SendDlResult_name = map[int32]string{ 1: "SEND_DL_OK", 2: "SEND_DL_FAIL", } + var SendDlRes_SendDlResult_value = map[string]int32{ "SEND_DL_UNKNOWN": 0, "SEND_DL_OK": 1, @@ -71,8 +75,9 @@ var SendDlRes_SendDlResult_value = map[string]int32{ func (x SendDlRes_SendDlResult) String() string { return proto.EnumName(SendDlRes_SendDlResult_name, int32(x)) } + func (SendDlRes_SendDlResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{3, 0} + return fileDescriptor_4b79271ac29ed95c, []int{3, 0} } // InitReq - request for sctpd to initialize sctp connection @@ -93,16 +98,17 @@ func (m *InitReq) Reset() { *m = InitReq{} } func (m *InitReq) String() string { return proto.CompactTextString(m) } func (*InitReq) ProtoMessage() {} func (*InitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{0} + return fileDescriptor_4b79271ac29ed95c, []int{0} } + func (m *InitReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InitReq.Unmarshal(m, b) } func (m *InitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_InitReq.Marshal(b, m, deterministic) } -func (dst *InitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitReq.Merge(dst, src) +func (m *InitReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_InitReq.Merge(m, src) } func (m *InitReq) XXX_Size() int { return xxx_messageInfo_InitReq.Size(m) @@ -174,16 +180,17 @@ func (m *InitRes) Reset() { *m = InitRes{} } func (m *InitRes) String() string { return proto.CompactTextString(m) } func (*InitRes) ProtoMessage() {} func (*InitRes) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{1} + return fileDescriptor_4b79271ac29ed95c, []int{1} } + func (m *InitRes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InitRes.Unmarshal(m, b) } func (m *InitRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_InitRes.Marshal(b, m, deterministic) } -func (dst *InitRes) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitRes.Merge(dst, src) +func (m *InitRes) XXX_Merge(src proto.Message) { + xxx_messageInfo_InitRes.Merge(m, src) } func (m *InitRes) XXX_Size() int { return xxx_messageInfo_InitRes.Size(m) @@ -215,16 +222,17 @@ func (m *SendDlReq) Reset() { *m = SendDlReq{} } func (m *SendDlReq) String() string { return proto.CompactTextString(m) } func (*SendDlReq) ProtoMessage() {} func (*SendDlReq) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{2} + return fileDescriptor_4b79271ac29ed95c, []int{2} } + func (m *SendDlReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendDlReq.Unmarshal(m, b) } func (m *SendDlReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SendDlReq.Marshal(b, m, deterministic) } -func (dst *SendDlReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendDlReq.Merge(dst, src) +func (m *SendDlReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendDlReq.Merge(m, src) } func (m *SendDlReq) XXX_Size() int { return xxx_messageInfo_SendDlReq.Size(m) @@ -268,16 +276,17 @@ func (m *SendDlRes) Reset() { *m = SendDlRes{} } func (m *SendDlRes) String() string { return proto.CompactTextString(m) } func (*SendDlRes) ProtoMessage() {} func (*SendDlRes) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{3} + return fileDescriptor_4b79271ac29ed95c, []int{3} } + func (m *SendDlRes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendDlRes.Unmarshal(m, b) } func (m *SendDlRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SendDlRes.Marshal(b, m, deterministic) } -func (dst *SendDlRes) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendDlRes.Merge(dst, src) +func (m *SendDlRes) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendDlRes.Merge(m, src) } func (m *SendDlRes) XXX_Size() int { return xxx_messageInfo_SendDlRes.Size(m) @@ -309,16 +318,17 @@ func (m *SendUlReq) Reset() { *m = SendUlReq{} } func (m *SendUlReq) String() string { return proto.CompactTextString(m) } func (*SendUlReq) ProtoMessage() {} func (*SendUlReq) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{4} + return fileDescriptor_4b79271ac29ed95c, []int{4} } + func (m *SendUlReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendUlReq.Unmarshal(m, b) } func (m *SendUlReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SendUlReq.Marshal(b, m, deterministic) } -func (dst *SendUlReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendUlReq.Merge(dst, src) +func (m *SendUlReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendUlReq.Merge(m, src) } func (m *SendUlReq) XXX_Size() int { return xxx_messageInfo_SendUlReq.Size(m) @@ -361,16 +371,17 @@ func (m *SendUlRes) Reset() { *m = SendUlRes{} } func (m *SendUlRes) String() string { return proto.CompactTextString(m) } func (*SendUlRes) ProtoMessage() {} func (*SendUlRes) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{5} + return fileDescriptor_4b79271ac29ed95c, []int{5} } + func (m *SendUlRes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendUlRes.Unmarshal(m, b) } func (m *SendUlRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SendUlRes.Marshal(b, m, deterministic) } -func (dst *SendUlRes) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendUlRes.Merge(dst, src) +func (m *SendUlRes) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendUlRes.Merge(m, src) } func (m *SendUlRes) XXX_Size() int { return xxx_messageInfo_SendUlRes.Size(m) @@ -395,16 +406,17 @@ func (m *NewAssocReq) Reset() { *m = NewAssocReq{} } func (m *NewAssocReq) String() string { return proto.CompactTextString(m) } func (*NewAssocReq) ProtoMessage() {} func (*NewAssocReq) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{6} + return fileDescriptor_4b79271ac29ed95c, []int{6} } + func (m *NewAssocReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NewAssocReq.Unmarshal(m, b) } func (m *NewAssocReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NewAssocReq.Marshal(b, m, deterministic) } -func (dst *NewAssocReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewAssocReq.Merge(dst, src) +func (m *NewAssocReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewAssocReq.Merge(m, src) } func (m *NewAssocReq) XXX_Size() int { return xxx_messageInfo_NewAssocReq.Size(m) @@ -447,16 +459,17 @@ func (m *NewAssocRes) Reset() { *m = NewAssocRes{} } func (m *NewAssocRes) String() string { return proto.CompactTextString(m) } func (*NewAssocRes) ProtoMessage() {} func (*NewAssocRes) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{7} + return fileDescriptor_4b79271ac29ed95c, []int{7} } + func (m *NewAssocRes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NewAssocRes.Unmarshal(m, b) } func (m *NewAssocRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NewAssocRes.Marshal(b, m, deterministic) } -func (dst *NewAssocRes) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewAssocRes.Merge(dst, src) +func (m *NewAssocRes) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewAssocRes.Merge(m, src) } func (m *NewAssocRes) XXX_Size() int { return xxx_messageInfo_NewAssocRes.Size(m) @@ -480,16 +493,17 @@ func (m *CloseAssocReq) Reset() { *m = CloseAssocReq{} } func (m *CloseAssocReq) String() string { return proto.CompactTextString(m) } func (*CloseAssocReq) ProtoMessage() {} func (*CloseAssocReq) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{8} + return fileDescriptor_4b79271ac29ed95c, []int{8} } + func (m *CloseAssocReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloseAssocReq.Unmarshal(m, b) } func (m *CloseAssocReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CloseAssocReq.Marshal(b, m, deterministic) } -func (dst *CloseAssocReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseAssocReq.Merge(dst, src) +func (m *CloseAssocReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloseAssocReq.Merge(m, src) } func (m *CloseAssocReq) XXX_Size() int { return xxx_messageInfo_CloseAssocReq.Size(m) @@ -525,16 +539,17 @@ func (m *CloseAssocRes) Reset() { *m = CloseAssocRes{} } func (m *CloseAssocRes) String() string { return proto.CompactTextString(m) } func (*CloseAssocRes) ProtoMessage() {} func (*CloseAssocRes) Descriptor() ([]byte, []int) { - return fileDescriptor_sctpd_10e0c51e7722af55, []int{9} + return fileDescriptor_4b79271ac29ed95c, []int{9} } + func (m *CloseAssocRes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloseAssocRes.Unmarshal(m, b) } func (m *CloseAssocRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CloseAssocRes.Marshal(b, m, deterministic) } -func (dst *CloseAssocRes) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseAssocRes.Merge(dst, src) +func (m *CloseAssocRes) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloseAssocRes.Merge(m, src) } func (m *CloseAssocRes) XXX_Size() int { return xxx_messageInfo_CloseAssocRes.Size(m) @@ -546,6 +561,8 @@ func (m *CloseAssocRes) XXX_DiscardUnknown() { var xxx_messageInfo_CloseAssocRes proto.InternalMessageInfo func init() { + proto.RegisterEnum("magma.sctpd.InitRes_InitResult", InitRes_InitResult_name, InitRes_InitResult_value) + proto.RegisterEnum("magma.sctpd.SendDlRes_SendDlResult", SendDlRes_SendDlResult_name, SendDlRes_SendDlResult_value) proto.RegisterType((*InitReq)(nil), "magma.sctpd.InitReq") proto.RegisterType((*InitRes)(nil), "magma.sctpd.InitRes") proto.RegisterType((*SendDlReq)(nil), "magma.sctpd.SendDlReq") @@ -556,8 +573,48 @@ func init() { proto.RegisterType((*NewAssocRes)(nil), "magma.sctpd.NewAssocRes") proto.RegisterType((*CloseAssocReq)(nil), "magma.sctpd.CloseAssocReq") proto.RegisterType((*CloseAssocRes)(nil), "magma.sctpd.CloseAssocRes") - proto.RegisterEnum("magma.sctpd.InitRes_InitResult", InitRes_InitResult_name, InitRes_InitResult_value) - proto.RegisterEnum("magma.sctpd.SendDlRes_SendDlResult", SendDlRes_SendDlResult_name, SendDlRes_SendDlResult_value) +} + +func init() { proto.RegisterFile("lte/protos/sctpd.proto", fileDescriptor_4b79271ac29ed95c) } + +var fileDescriptor_4b79271ac29ed95c = []byte{ + // 567 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4d, 0x6f, 0xda, 0x40, + 0x10, 0xc5, 0x81, 0x62, 0x18, 0x70, 0x82, 0xb6, 0x15, 0x32, 0xf4, 0x0b, 0x6d, 0x2e, 0x9c, 0x40, + 0xa2, 0x88, 0x4a, 0xe9, 0xa5, 0xb4, 0x10, 0xc9, 0x4a, 0xe4, 0x48, 0xa6, 0xa8, 0x55, 0x2f, 0x96, + 0x8b, 0x37, 0x91, 0x55, 0xc3, 0x1a, 0xcf, 0x3a, 0x51, 0x2f, 0x95, 0xfa, 0x0b, 0xfa, 0xbf, 0x7a, + 0xed, 0x1f, 0xaa, 0xbc, 0xd8, 0xb1, 0x5d, 0x81, 0xda, 0x43, 0x4e, 0xde, 0x79, 0x6f, 0x78, 0x33, + 0x6f, 0x66, 0x59, 0x68, 0xfb, 0x82, 0x0d, 0x83, 0x90, 0x0b, 0x8e, 0x43, 0x5c, 0x89, 0xc0, 0x1d, + 0xc8, 0x80, 0x34, 0xd6, 0xce, 0xcd, 0xda, 0x19, 0x48, 0x88, 0xfe, 0x52, 0x40, 0x35, 0x36, 0x9e, + 0xb0, 0xd8, 0x96, 0x74, 0xa0, 0x16, 0x21, 0xb3, 0xbd, 0xe0, 0x76, 0xac, 0x2b, 0x3d, 0xa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0xf7, 0x69, 0x2d, + 0x0f, 0x68, 0xed, 0x96, 0x53, 0x22, 0x6f, 0xa1, 0x96, 0x8e, 0x8d, 0xe8, 0x85, 0xac, 0xdc, 0xd6, + 0xba, 0x87, 0x98, 0x58, 0xe1, 0x1c, 0x20, 0x1b, 0x11, 0xe9, 0x16, 0x32, 0x0b, 0x2b, 0xe8, 0x1e, + 0xe6, 0x90, 0x96, 0xde, 0x3d, 0xfd, 0xdc, 0x91, 0xf4, 0x30, 0x7e, 0xf5, 0x56, 0x3e, 0x8f, 0xdc, + 0xe1, 0x0d, 0x4f, 0x9e, 0xbf, 0x2f, 0x55, 0xf9, 0x7d, 0xf5, 0x27, 0x00, 0x00, 0xff, 0xff, 0x08, + 0x63, 0xdf, 0xff, 0x13, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -620,6 +677,17 @@ type SctpdDownlinkServer interface { SendDl(context.Context, *SendDlReq) (*SendDlRes, error) } +// UnimplementedSctpdDownlinkServer can be embedded to have forward compatible implementations. +type UnimplementedSctpdDownlinkServer struct { +} + +func (*UnimplementedSctpdDownlinkServer) Init(ctx context.Context, req *InitReq) (*InitRes, error) { + return nil, status.Errorf(codes.Unimplemented, "method Init not implemented") +} +func (*UnimplementedSctpdDownlinkServer) SendDl(ctx context.Context, req *SendDlReq) (*SendDlRes, error) { + return nil, status.Errorf(codes.Unimplemented, "method SendDl not implemented") +} + func RegisterSctpdDownlinkServer(s *grpc.Server, srv SctpdDownlinkServer) { s.RegisterService(&_SctpdDownlink_serviceDesc, srv) } @@ -746,6 +814,20 @@ type SctpdUplinkServer interface { CloseAssoc(context.Context, *CloseAssocReq) (*CloseAssocRes, error) } +// UnimplementedSctpdUplinkServer can be embedded to have forward compatible implementations. +type UnimplementedSctpdUplinkServer struct { +} + +func (*UnimplementedSctpdUplinkServer) SendUl(ctx context.Context, req *SendUlReq) (*SendUlRes, error) { + return nil, status.Errorf(codes.Unimplemented, "method SendUl not implemented") +} +func (*UnimplementedSctpdUplinkServer) NewAssoc(ctx context.Context, req *NewAssocReq) (*NewAssocRes, error) { + return nil, status.Errorf(codes.Unimplemented, "method NewAssoc not implemented") +} +func (*UnimplementedSctpdUplinkServer) CloseAssoc(ctx context.Context, req *CloseAssocReq) (*CloseAssocRes, error) { + return nil, status.Errorf(codes.Unimplemented, "method CloseAssoc not implemented") +} + func RegisterSctpdUplinkServer(s *grpc.Server, srv SctpdUplinkServer) { s.RegisterService(&_SctpdUplink_serviceDesc, srv) } @@ -824,45 +906,3 @@ var _SctpdUplink_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/sctpd.proto", } - -func init() { proto.RegisterFile("lte/protos/sctpd.proto", fileDescriptor_sctpd_10e0c51e7722af55) } - -var fileDescriptor_sctpd_10e0c51e7722af55 = []byte{ - // 567 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4d, 0x6f, 0xda, 0x40, - 0x10, 0xc5, 0x81, 0x62, 0x18, 0x70, 0x82, 0xb6, 0x15, 0x32, 0xf4, 0x0b, 0x6d, 0x2e, 0x9c, 0x40, - 0xa2, 0x88, 0x4a, 0xe9, 0xa5, 0xb4, 0x10, 0xc9, 0x4a, 0xe4, 0x48, 0xa6, 0xa8, 0x55, 0x2f, 0x96, - 0x8b, 0x37, 0x91, 0x55, 0xc3, 0x1a, 0xcf, 0x3a, 0x51, 0x2f, 0x95, 0xfa, 0x0b, 0xfa, 0xbf, 0x7a, - 0xed, 0x1f, 0xaa, 0xbc, 0xd8, 0xb1, 0x5d, 0x81, 0xda, 0x43, 0x4e, 0xde, 0x79, 0x6f, 0x78, 0x33, - 0x6f, 0x66, 0x59, 0x68, 0xfb, 0x82, 0x0d, 0x83, 0x90, 0x0b, 0x8e, 0x43, 0x5c, 0x89, 0xc0, 0x1d, - 0xc8, 0x80, 0x34, 0xd6, 0xce, 0xcd, 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0x77, 0x4b, 0x24, 0xed, 0xbd, 0xbb, 0xdf, 0x76, 0xf7, 0xe3, 0x48, - 0x4b, 0xa3, 0xdf, 0x0a, 0x34, 0x64, 0x0f, 0xcb, 0x40, 0x76, 0x90, 0x68, 0x2d, 0xf7, 0x69, 0x2d, - 0x0f, 0x68, 0xed, 0x96, 0x53, 0x22, 0x6f, 0xa1, 0x96, 0x8e, 0x8d, 0xe8, 0x85, 0xac, 0xdc, 0xd6, - 0xba, 0x87, 0x98, 0x58, 0xe1, 0x1c, 0x20, 0x1b, 0x11, 0xe9, 0x16, 0x32, 0x0b, 0x2b, 0xe8, 0x1e, - 0xe6, 0x90, 0x96, 0xde, 0x3d, 0xfd, 0xdc, 0x91, 0xf4, 0x30, 0x7e, 0xf5, 0x56, 0x3e, 0x8f, 0xdc, - 0xe1, 0x0d, 0x4f, 0x9e, 0xbf, 0x2f, 0x55, 0xf9, 0x7d, 0xf5, 0x27, 0x00, 0x00, 0xff, 0xff, 0x08, - 0x63, 0xdf, 0xff, 0x13, 0x05, 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/session_manager.pb.go b/lte/cloud/go/protos/session_manager.pb.go index 4f3b629ea8c4..ee601f272c3d 100644 --- a/lte/cloud/go/protos/session_manager.pb.go +++ b/lte/cloud/go/protos/session_manager.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/session_manager.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import protos "magma/orc8r/cloud/go/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,11 +24,11 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -// ///////////////// +/////////////////// // LocalSessionManager service -// ///////////////// +/////////////////// type RATType int32 const ( @@ -39,6 +40,7 @@ var RATType_name = map[int32]string{ 0: "TGPP_LTE", 1: "TGPP_WLAN", } + var RATType_value = map[string]int32{ "TGPP_LTE": 0, "TGPP_WLAN": 1, @@ -47,8 +49,9 @@ var RATType_value = map[string]int32{ func (x RATType) String() string { return proto.EnumName(RATType_name, int32(x)) } + func (RATType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{0} + return fileDescriptor_85add0446af78174, []int{0} } type EventTrigger int32 @@ -149,6 +152,7 @@ var EventTrigger_name = map[int32]string{ 48: "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT", 49: "UNSUPPORTED", } + var EventTrigger_value = map[string]int32{ "SGSN_CHANGE": 0, "QOS_CHANGE": 1, @@ -198,8 +202,9 @@ var EventTrigger_value = map[string]int32{ func (x EventTrigger) String() string { return proto.EnumName(EventTrigger_name, int32(x)) } + func (EventTrigger) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{1} + return fileDescriptor_85add0446af78174, []int{1} } type QCI int32 @@ -241,6 +246,7 @@ var QCI_name = map[int32]string{ 75: "QCI_75", 79: "QCI_79", } + var QCI_value = map[string]int32{ "QCI_0": 0, "QCI_1": 1, @@ -263,8 +269,9 @@ var QCI_value = map[string]int32{ func (x QCI) String() string { return proto.EnumName(QCI_name, int32(x)) } + func (QCI) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{2} + return fileDescriptor_85add0446af78174, []int{2} } type ReAuthResult int32 @@ -282,6 +289,7 @@ var ReAuthResult_name = map[int32]string{ 2: "SESSION_NOT_FOUND", 3: "OTHER_FAILURE", } + var ReAuthResult_value = map[string]int32{ "UPDATE_INITIATED": 0, "UPDATE_NOT_NEEDED": 1, @@ -292,8 +300,9 @@ var ReAuthResult_value = map[string]int32{ func (x ReAuthResult) String() string { return proto.EnumName(ReAuthResult_name, int32(x)) } + func (ReAuthResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{3} + return fileDescriptor_85add0446af78174, []int{3} } type MonitoringLevel int32 @@ -307,6 +316,7 @@ var MonitoringLevel_name = map[int32]string{ 0: "SESSION_LEVEL", 1: "PCC_RULE_LEVEL", } + var MonitoringLevel_value = map[string]int32{ "SESSION_LEVEL": 0, "PCC_RULE_LEVEL": 1, @@ -315,8 +325,9 @@ var MonitoringLevel_value = map[string]int32{ func (x MonitoringLevel) String() string { return proto.EnumName(MonitoringLevel_name, int32(x)) } + func (MonitoringLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{4} + return fileDescriptor_85add0446af78174, []int{4} } type ChargingReAuthRequest_Type int32 @@ -330,6 +341,7 @@ var ChargingReAuthRequest_Type_name = map[int32]string{ 0: "SINGLE_SERVICE", 1: "ENTIRE_SESSION", } + var ChargingReAuthRequest_Type_value = map[string]int32{ "SINGLE_SERVICE": 0, "ENTIRE_SESSION": 1, @@ -338,8 +350,9 @@ var ChargingReAuthRequest_Type_value = map[string]int32{ func (x ChargingReAuthRequest_Type) String() string { return proto.EnumName(ChargingReAuthRequest_Type_name, int32(x)) } + func (ChargingReAuthRequest_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{5, 0} + return fileDescriptor_85add0446af78174, []int{5, 0} } type ChargingReAuthAnswer_Result int32 @@ -357,6 +370,7 @@ var ChargingReAuthAnswer_Result_name = map[int32]string{ 2: "SESSION_NOT_FOUND", 3: "OTHER_FAILURE", } + var ChargingReAuthAnswer_Result_value = map[string]int32{ "UPDATE_INITIATED": 0, "UPDATE_NOT_NEEDED": 1, @@ -367,8 +381,9 @@ var ChargingReAuthAnswer_Result_value = map[string]int32{ func (x ChargingReAuthAnswer_Result) String() string { return proto.EnumName(ChargingReAuthAnswer_Result_name, int32(x)) } + func (ChargingReAuthAnswer_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{6, 0} + return fileDescriptor_85add0446af78174, []int{6, 0} } type PolicyReAuthAnswer_FailureCode int32 @@ -434,6 +449,7 @@ var PolicyReAuthAnswer_FailureCode_name = map[int32]string{ 25: "UNKNOWN_ROUTING_ACCESS_INFORMATION", 26: "NO_NBIFOM_SUPPORT", } + var PolicyReAuthAnswer_FailureCode_value = map[string]int32{ "UNUSED": 0, "UNKNOWN_RULE_NAME": 1, @@ -467,8 +483,9 @@ var PolicyReAuthAnswer_FailureCode_value = map[string]int32{ func (x PolicyReAuthAnswer_FailureCode) String() string { return proto.EnumName(PolicyReAuthAnswer_FailureCode_name, int32(x)) } + func (PolicyReAuthAnswer_FailureCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{9, 0} + return fileDescriptor_85add0446af78174, []int{9, 0} } type RedirectServer_RedirectAddressType int32 @@ -486,6 +503,7 @@ var RedirectServer_RedirectAddressType_name = map[int32]string{ 2: "URL", 3: "SIP_URI", } + var RedirectServer_RedirectAddressType_value = map[string]int32{ "IPV4": 0, "IPV6": 1, @@ -496,8 +514,9 @@ var RedirectServer_RedirectAddressType_value = map[string]int32{ func (x RedirectServer_RedirectAddressType) String() string { return proto.EnumName(RedirectServer_RedirectAddressType_name, int32(x)) } + func (RedirectServer_RedirectAddressType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{12, 0} + return fileDescriptor_85add0446af78174, []int{12, 0} } type ChargingCredit_UnitType int32 @@ -511,6 +530,7 @@ var ChargingCredit_UnitType_name = map[int32]string{ 0: "BYTES", 1: "SECONDS", } + var ChargingCredit_UnitType_value = map[string]int32{ "BYTES": 0, "SECONDS": 1, @@ -519,8 +539,9 @@ var ChargingCredit_UnitType_value = map[string]int32{ func (x ChargingCredit_UnitType) String() string { return proto.EnumName(ChargingCredit_UnitType_name, int32(x)) } + func (ChargingCredit_UnitType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{13, 0} + return fileDescriptor_85add0446af78174, []int{13, 0} } type ChargingCredit_FinalAction int32 @@ -536,6 +557,7 @@ var ChargingCredit_FinalAction_name = map[int32]string{ 1: "REDIRECT", 2: "RESTRICT_ACCESS", } + var ChargingCredit_FinalAction_value = map[string]int32{ "TERMINATE": 0, "REDIRECT": 1, @@ -545,8 +567,9 @@ var ChargingCredit_FinalAction_value = map[string]int32{ func (x ChargingCredit_FinalAction) String() string { return proto.EnumName(ChargingCredit_FinalAction_name, int32(x)) } + func (ChargingCredit_FinalAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{13, 1} + return fileDescriptor_85add0446af78174, []int{13, 1} } type CreditUsage_UpdateType int32 @@ -574,6 +597,7 @@ var CreditUsage_UpdateType_name = map[int32]string{ 7: "REAUTH_REQUIRED", 8: "POOL_EXHAUSTED", } + var CreditUsage_UpdateType_value = map[string]int32{ "THRESHOLD": 0, "QHT": 1, @@ -589,8 +613,9 @@ var CreditUsage_UpdateType_value = map[string]int32{ func (x CreditUsage_UpdateType) String() string { return proto.EnumName(CreditUsage_UpdateType_name, int32(x)) } + func (CreditUsage_UpdateType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{14, 0} + return fileDescriptor_85add0446af78174, []int{14, 0} } type CreditUpdateResponse_ResponseType int32 @@ -602,6 +627,7 @@ const ( var CreditUpdateResponse_ResponseType_name = map[int32]string{ 0: "UPDATE", } + var CreditUpdateResponse_ResponseType_value = map[string]int32{ "UPDATE": 0, } @@ -609,8 +635,9 @@ var CreditUpdateResponse_ResponseType_value = map[string]int32{ func (x CreditUpdateResponse_ResponseType) String() string { return proto.EnumName(CreditUpdateResponse_ResponseType_name, int32(x)) } + func (CreditUpdateResponse_ResponseType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{16, 0} + return fileDescriptor_85add0446af78174, []int{16, 0} } type UsageMonitoringCredit_Action int32 @@ -624,6 +651,7 @@ var UsageMonitoringCredit_Action_name = map[int32]string{ 0: "CONTINUE", 1: "DISABLE", } + var UsageMonitoringCredit_Action_value = map[string]int32{ "CONTINUE": 0, "DISABLE": 1, @@ -632,8 +660,9 @@ var UsageMonitoringCredit_Action_value = map[string]int32{ func (x UsageMonitoringCredit_Action) String() string { return proto.EnumName(UsageMonitoringCredit_Action_name, int32(x)) } + func (UsageMonitoringCredit_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{18, 0} + return fileDescriptor_85add0446af78174, []int{18, 0} } type RuleRecord struct { @@ -650,16 +679,17 @@ func (m *RuleRecord) Reset() { *m = RuleRecord{} } func (m *RuleRecord) String() string { return proto.CompactTextString(m) } func (*RuleRecord) ProtoMessage() {} func (*RuleRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{0} + return fileDescriptor_85add0446af78174, []int{0} } + func (m *RuleRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RuleRecord.Unmarshal(m, b) } func (m *RuleRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RuleRecord.Marshal(b, m, deterministic) } -func (dst *RuleRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuleRecord.Merge(dst, src) +func (m *RuleRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuleRecord.Merge(m, src) } func (m *RuleRecord) XXX_Size() int { return xxx_messageInfo_RuleRecord.Size(m) @@ -710,16 +740,17 @@ func (m *RuleRecordTable) Reset() { *m = RuleRecordTable{} } func (m *RuleRecordTable) String() string { return proto.CompactTextString(m) } func (*RuleRecordTable) ProtoMessage() {} func (*RuleRecordTable) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{1} + return fileDescriptor_85add0446af78174, []int{1} } + func (m *RuleRecordTable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RuleRecordTable.Unmarshal(m, b) } func (m *RuleRecordTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RuleRecordTable.Marshal(b, m, deterministic) } -func (dst *RuleRecordTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuleRecordTable.Merge(dst, src) +func (m *RuleRecordTable) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuleRecordTable.Merge(m, src) } func (m *RuleRecordTable) XXX_Size() int { return xxx_messageInfo_RuleRecordTable.Size(m) @@ -768,16 +799,17 @@ func (m *LocalCreateSessionRequest) Reset() { *m = LocalCreateSessionReq func (m *LocalCreateSessionRequest) String() string { return proto.CompactTextString(m) } func (*LocalCreateSessionRequest) ProtoMessage() {} func (*LocalCreateSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{2} + return fileDescriptor_85add0446af78174, []int{2} } + func (m *LocalCreateSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocalCreateSessionRequest.Unmarshal(m, b) } func (m *LocalCreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LocalCreateSessionRequest.Marshal(b, m, deterministic) } -func (dst *LocalCreateSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalCreateSessionRequest.Merge(dst, src) +func (m *LocalCreateSessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalCreateSessionRequest.Merge(m, src) } func (m *LocalCreateSessionRequest) XXX_Size() int { return xxx_messageInfo_LocalCreateSessionRequest.Size(m) @@ -897,16 +929,17 @@ func (m *LocalCreateSessionResponse) Reset() { *m = LocalCreateSessionRe func (m *LocalCreateSessionResponse) String() string { return proto.CompactTextString(m) } func (*LocalCreateSessionResponse) ProtoMessage() {} func (*LocalCreateSessionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{3} + return fileDescriptor_85add0446af78174, []int{3} } + func (m *LocalCreateSessionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocalCreateSessionResponse.Unmarshal(m, b) } func (m *LocalCreateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LocalCreateSessionResponse.Marshal(b, m, deterministic) } -func (dst *LocalCreateSessionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalCreateSessionResponse.Merge(dst, src) +func (m *LocalCreateSessionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalCreateSessionResponse.Merge(m, src) } func (m *LocalCreateSessionResponse) XXX_Size() int { return xxx_messageInfo_LocalCreateSessionResponse.Size(m) @@ -934,16 +967,17 @@ func (m *LocalEndSessionResponse) Reset() { *m = LocalEndSessionResponse func (m *LocalEndSessionResponse) String() string { return proto.CompactTextString(m) } func (*LocalEndSessionResponse) ProtoMessage() {} func (*LocalEndSessionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{4} + return fileDescriptor_85add0446af78174, []int{4} } + func (m *LocalEndSessionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocalEndSessionResponse.Unmarshal(m, b) } func (m *LocalEndSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LocalEndSessionResponse.Marshal(b, m, deterministic) } -func (dst *LocalEndSessionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalEndSessionResponse.Merge(dst, src) +func (m *LocalEndSessionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalEndSessionResponse.Merge(m, src) } func (m *LocalEndSessionResponse) XXX_Size() int { return xxx_messageInfo_LocalEndSessionResponse.Size(m) @@ -969,16 +1003,17 @@ func (m *ChargingReAuthRequest) Reset() { *m = ChargingReAuthRequest{} } func (m *ChargingReAuthRequest) String() string { return proto.CompactTextString(m) } func (*ChargingReAuthRequest) ProtoMessage() {} func (*ChargingReAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{5} + return fileDescriptor_85add0446af78174, []int{5} } + func (m *ChargingReAuthRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChargingReAuthRequest.Unmarshal(m, b) } func (m *ChargingReAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChargingReAuthRequest.Marshal(b, m, deterministic) } -func (dst *ChargingReAuthRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChargingReAuthRequest.Merge(dst, src) +func (m *ChargingReAuthRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChargingReAuthRequest.Merge(m, src) } func (m *ChargingReAuthRequest) XXX_Size() int { return xxx_messageInfo_ChargingReAuthRequest.Size(m) @@ -1035,16 +1070,17 @@ func (m *ChargingReAuthAnswer) Reset() { *m = ChargingReAuthAnswer{} } func (m *ChargingReAuthAnswer) String() string { return proto.CompactTextString(m) } func (*ChargingReAuthAnswer) ProtoMessage() {} func (*ChargingReAuthAnswer) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{6} + return fileDescriptor_85add0446af78174, []int{6} } + func (m *ChargingReAuthAnswer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChargingReAuthAnswer.Unmarshal(m, b) } func (m *ChargingReAuthAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChargingReAuthAnswer.Marshal(b, m, deterministic) } -func (dst *ChargingReAuthAnswer) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChargingReAuthAnswer.Merge(dst, src) +func (m *ChargingReAuthAnswer) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChargingReAuthAnswer.Merge(m, src) } func (m *ChargingReAuthAnswer) XXX_Size() int { return xxx_messageInfo_ChargingReAuthAnswer.Size(m) @@ -1081,16 +1117,17 @@ func (m *PolicyReAuthRequest) Reset() { *m = PolicyReAuthRequest{} } func (m *PolicyReAuthRequest) String() string { return proto.CompactTextString(m) } func (*PolicyReAuthRequest) ProtoMessage() {} func (*PolicyReAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{7} + return fileDescriptor_85add0446af78174, []int{7} } + func (m *PolicyReAuthRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PolicyReAuthRequest.Unmarshal(m, b) } func (m *PolicyReAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PolicyReAuthRequest.Marshal(b, m, deterministic) } -func (dst *PolicyReAuthRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyReAuthRequest.Merge(dst, src) +func (m *PolicyReAuthRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyReAuthRequest.Merge(m, src) } func (m *PolicyReAuthRequest) XXX_Size() int { return xxx_messageInfo_PolicyReAuthRequest.Size(m) @@ -1176,16 +1213,17 @@ func (m *QoSInformation) Reset() { *m = QoSInformation{} } func (m *QoSInformation) String() string { return proto.CompactTextString(m) } func (*QoSInformation) ProtoMessage() {} func (*QoSInformation) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{8} + return fileDescriptor_85add0446af78174, []int{8} } + func (m *QoSInformation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QoSInformation.Unmarshal(m, b) } func (m *QoSInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QoSInformation.Marshal(b, m, deterministic) } -func (dst *QoSInformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_QoSInformation.Merge(dst, src) +func (m *QoSInformation) XXX_Merge(src proto.Message) { + xxx_messageInfo_QoSInformation.Merge(m, src) } func (m *QoSInformation) XXX_Size() int { return xxx_messageInfo_QoSInformation.Size(m) @@ -1223,16 +1261,17 @@ func (m *PolicyReAuthAnswer) Reset() { *m = PolicyReAuthAnswer{} } func (m *PolicyReAuthAnswer) String() string { return proto.CompactTextString(m) } func (*PolicyReAuthAnswer) ProtoMessage() {} func (*PolicyReAuthAnswer) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{9} + return fileDescriptor_85add0446af78174, []int{9} } + func (m *PolicyReAuthAnswer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PolicyReAuthAnswer.Unmarshal(m, b) } func (m *PolicyReAuthAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PolicyReAuthAnswer.Marshal(b, m, deterministic) } -func (dst *PolicyReAuthAnswer) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyReAuthAnswer.Merge(dst, src) +func (m *PolicyReAuthAnswer) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyReAuthAnswer.Merge(m, src) } func (m *PolicyReAuthAnswer) XXX_Size() int { return xxx_messageInfo_PolicyReAuthAnswer.Size(m) @@ -1276,16 +1315,17 @@ func (m *CreditUnit) Reset() { *m = CreditUnit{} } func (m *CreditUnit) String() string { return proto.CompactTextString(m) } func (*CreditUnit) ProtoMessage() {} func (*CreditUnit) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{10} + return fileDescriptor_85add0446af78174, []int{10} } + func (m *CreditUnit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreditUnit.Unmarshal(m, b) } func (m *CreditUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreditUnit.Marshal(b, m, deterministic) } -func (dst *CreditUnit) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreditUnit.Merge(dst, src) +func (m *CreditUnit) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreditUnit.Merge(m, src) } func (m *CreditUnit) XXX_Size() int { return xxx_messageInfo_CreditUnit.Size(m) @@ -1323,16 +1363,17 @@ func (m *GrantedUnits) Reset() { *m = GrantedUnits{} } func (m *GrantedUnits) String() string { return proto.CompactTextString(m) } func (*GrantedUnits) ProtoMessage() {} func (*GrantedUnits) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{11} + return fileDescriptor_85add0446af78174, []int{11} } + func (m *GrantedUnits) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GrantedUnits.Unmarshal(m, b) } func (m *GrantedUnits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GrantedUnits.Marshal(b, m, deterministic) } -func (dst *GrantedUnits) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrantedUnits.Merge(dst, src) +func (m *GrantedUnits) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantedUnits.Merge(m, src) } func (m *GrantedUnits) XXX_Size() int { return xxx_messageInfo_GrantedUnits.Size(m) @@ -1376,16 +1417,17 @@ func (m *RedirectServer) Reset() { *m = RedirectServer{} } func (m *RedirectServer) String() string { return proto.CompactTextString(m) } func (*RedirectServer) ProtoMessage() {} func (*RedirectServer) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{12} + return fileDescriptor_85add0446af78174, []int{12} } + func (m *RedirectServer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RedirectServer.Unmarshal(m, b) } func (m *RedirectServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RedirectServer.Marshal(b, m, deterministic) } -func (dst *RedirectServer) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedirectServer.Merge(dst, src) +func (m *RedirectServer) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedirectServer.Merge(m, src) } func (m *RedirectServer) XXX_Size() int { return xxx_messageInfo_RedirectServer.Size(m) @@ -1426,16 +1468,17 @@ func (m *ChargingCredit) Reset() { *m = ChargingCredit{} } func (m *ChargingCredit) String() string { return proto.CompactTextString(m) } func (*ChargingCredit) ProtoMessage() {} func (*ChargingCredit) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{13} + return fileDescriptor_85add0446af78174, []int{13} } + func (m *ChargingCredit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChargingCredit.Unmarshal(m, b) } func (m *ChargingCredit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChargingCredit.Marshal(b, m, deterministic) } -func (dst *ChargingCredit) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChargingCredit.Merge(dst, src) +func (m *ChargingCredit) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChargingCredit.Merge(m, src) } func (m *ChargingCredit) XXX_Size() int { return xxx_messageInfo_ChargingCredit.Size(m) @@ -1504,16 +1547,17 @@ func (m *CreditUsage) Reset() { *m = CreditUsage{} } func (m *CreditUsage) String() string { return proto.CompactTextString(m) } func (*CreditUsage) ProtoMessage() {} func (*CreditUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{14} + return fileDescriptor_85add0446af78174, []int{14} } + func (m *CreditUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreditUsage.Unmarshal(m, b) } func (m *CreditUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreditUsage.Marshal(b, m, deterministic) } -func (dst *CreditUsage) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreditUsage.Merge(dst, src) +func (m *CreditUsage) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreditUsage.Merge(m, src) } func (m *CreditUsage) XXX_Size() int { return xxx_messageInfo_CreditUsage.Size(m) @@ -1590,16 +1634,17 @@ func (m *CreditUsageUpdate) Reset() { *m = CreditUsageUpdate{} } func (m *CreditUsageUpdate) String() string { return proto.CompactTextString(m) } func (*CreditUsageUpdate) ProtoMessage() {} func (*CreditUsageUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{15} + return fileDescriptor_85add0446af78174, []int{15} } + func (m *CreditUsageUpdate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreditUsageUpdate.Unmarshal(m, b) } func (m *CreditUsageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreditUsageUpdate.Marshal(b, m, deterministic) } -func (dst *CreditUsageUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreditUsageUpdate.Merge(dst, src) +func (m *CreditUsageUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreditUsageUpdate.Merge(m, src) } func (m *CreditUsageUpdate) XXX_Size() int { return xxx_messageInfo_CreditUsageUpdate.Size(m) @@ -1725,16 +1770,17 @@ func (m *CreditUpdateResponse) Reset() { *m = CreditUpdateResponse{} } func (m *CreditUpdateResponse) String() string { return proto.CompactTextString(m) } func (*CreditUpdateResponse) ProtoMessage() {} func (*CreditUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{16} + return fileDescriptor_85add0446af78174, []int{16} } + func (m *CreditUpdateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreditUpdateResponse.Unmarshal(m, b) } func (m *CreditUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreditUpdateResponse.Marshal(b, m, deterministic) } -func (dst *CreditUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreditUpdateResponse.Merge(dst, src) +func (m *CreditUpdateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreditUpdateResponse.Merge(m, src) } func (m *CreditUpdateResponse) XXX_Size() int { return xxx_messageInfo_CreditUpdateResponse.Size(m) @@ -1809,16 +1855,17 @@ func (m *UsageMonitorUpdate) Reset() { *m = UsageMonitorUpdate{} } func (m *UsageMonitorUpdate) String() string { return proto.CompactTextString(m) } func (*UsageMonitorUpdate) ProtoMessage() {} func (*UsageMonitorUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{17} + return fileDescriptor_85add0446af78174, []int{17} } + func (m *UsageMonitorUpdate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UsageMonitorUpdate.Unmarshal(m, b) } func (m *UsageMonitorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UsageMonitorUpdate.Marshal(b, m, deterministic) } -func (dst *UsageMonitorUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsageMonitorUpdate.Merge(dst, src) +func (m *UsageMonitorUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsageMonitorUpdate.Merge(m, src) } func (m *UsageMonitorUpdate) XXX_Size() int { return xxx_messageInfo_UsageMonitorUpdate.Size(m) @@ -1872,16 +1919,17 @@ func (m *UsageMonitoringCredit) Reset() { *m = UsageMonitoringCredit{} } func (m *UsageMonitoringCredit) String() string { return proto.CompactTextString(m) } func (*UsageMonitoringCredit) ProtoMessage() {} func (*UsageMonitoringCredit) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{18} + return fileDescriptor_85add0446af78174, []int{18} } + func (m *UsageMonitoringCredit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UsageMonitoringCredit.Unmarshal(m, b) } func (m *UsageMonitoringCredit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UsageMonitoringCredit.Marshal(b, m, deterministic) } -func (dst *UsageMonitoringCredit) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsageMonitoringCredit.Merge(dst, src) +func (m *UsageMonitoringCredit) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsageMonitoringCredit.Merge(m, src) } func (m *UsageMonitoringCredit) XXX_Size() int { return xxx_messageInfo_UsageMonitoringCredit.Size(m) @@ -1938,16 +1986,17 @@ func (m *UsageMonitoringUpdateRequest) Reset() { *m = UsageMonitoringUpd func (m *UsageMonitoringUpdateRequest) String() string { return proto.CompactTextString(m) } func (*UsageMonitoringUpdateRequest) ProtoMessage() {} func (*UsageMonitoringUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{19} + return fileDescriptor_85add0446af78174, []int{19} } + func (m *UsageMonitoringUpdateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UsageMonitoringUpdateRequest.Unmarshal(m, b) } func (m *UsageMonitoringUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UsageMonitoringUpdateRequest.Marshal(b, m, deterministic) } -func (dst *UsageMonitoringUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsageMonitoringUpdateRequest.Merge(dst, src) +func (m *UsageMonitoringUpdateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsageMonitoringUpdateRequest.Merge(m, src) } func (m *UsageMonitoringUpdateRequest) XXX_Size() int { return xxx_messageInfo_UsageMonitoringUpdateRequest.Size(m) @@ -2026,16 +2075,17 @@ func (m *UsageMonitoringUpdateResponse) Reset() { *m = UsageMonitoringUp func (m *UsageMonitoringUpdateResponse) String() string { return proto.CompactTextString(m) } func (*UsageMonitoringUpdateResponse) ProtoMessage() {} func (*UsageMonitoringUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{20} + return fileDescriptor_85add0446af78174, []int{20} } + func (m *UsageMonitoringUpdateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UsageMonitoringUpdateResponse.Unmarshal(m, b) } func (m *UsageMonitoringUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UsageMonitoringUpdateResponse.Marshal(b, m, deterministic) } -func (dst *UsageMonitoringUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsageMonitoringUpdateResponse.Merge(dst, src) +func (m *UsageMonitoringUpdateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsageMonitoringUpdateResponse.Merge(m, src) } func (m *UsageMonitoringUpdateResponse) XXX_Size() int { return xxx_messageInfo_UsageMonitoringUpdateResponse.Size(m) @@ -2119,16 +2169,17 @@ func (m *QosInformationRequest) Reset() { *m = QosInformationRequest{} } func (m *QosInformationRequest) String() string { return proto.CompactTextString(m) } func (*QosInformationRequest) ProtoMessage() {} func (*QosInformationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{21} + return fileDescriptor_85add0446af78174, []int{21} } + func (m *QosInformationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QosInformationRequest.Unmarshal(m, b) } func (m *QosInformationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QosInformationRequest.Marshal(b, m, deterministic) } -func (dst *QosInformationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QosInformationRequest.Merge(dst, src) +func (m *QosInformationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QosInformationRequest.Merge(m, src) } func (m *QosInformationRequest) XXX_Size() int { return xxx_messageInfo_QosInformationRequest.Size(m) @@ -2205,16 +2256,17 @@ func (m *CreateSessionRequest) Reset() { *m = CreateSessionRequest{} } func (m *CreateSessionRequest) String() string { return proto.CompactTextString(m) } func (*CreateSessionRequest) ProtoMessage() {} func (*CreateSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{22} + return fileDescriptor_85add0446af78174, []int{22} } + func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSessionRequest.Unmarshal(m, b) } func (m *CreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSessionRequest.Marshal(b, m, deterministic) } -func (dst *CreateSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSessionRequest.Merge(dst, src) +func (m *CreateSessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSessionRequest.Merge(m, src) } func (m *CreateSessionRequest) XXX_Size() int { return xxx_messageInfo_CreateSessionRequest.Size(m) @@ -2339,16 +2391,17 @@ func (m *CreateSessionResponse) Reset() { *m = CreateSessionResponse{} } func (m *CreateSessionResponse) String() string { return proto.CompactTextString(m) } func (*CreateSessionResponse) ProtoMessage() {} func (*CreateSessionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{23} + return fileDescriptor_85add0446af78174, []int{23} } + func (m *CreateSessionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSessionResponse.Unmarshal(m, b) } func (m *CreateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSessionResponse.Marshal(b, m, deterministic) } -func (dst *CreateSessionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSessionResponse.Merge(dst, src) +func (m *CreateSessionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSessionResponse.Merge(m, src) } func (m *CreateSessionResponse) XXX_Size() int { return xxx_messageInfo_CreateSessionResponse.Size(m) @@ -2414,16 +2467,17 @@ func (m *StaticRuleInstall) Reset() { *m = StaticRuleInstall{} } func (m *StaticRuleInstall) String() string { return proto.CompactTextString(m) } func (*StaticRuleInstall) ProtoMessage() {} func (*StaticRuleInstall) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{24} + return fileDescriptor_85add0446af78174, []int{24} } + func (m *StaticRuleInstall) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StaticRuleInstall.Unmarshal(m, b) } func (m *StaticRuleInstall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StaticRuleInstall.Marshal(b, m, deterministic) } -func (dst *StaticRuleInstall) XXX_Merge(src proto.Message) { - xxx_messageInfo_StaticRuleInstall.Merge(dst, src) +func (m *StaticRuleInstall) XXX_Merge(src proto.Message) { + xxx_messageInfo_StaticRuleInstall.Merge(m, src) } func (m *StaticRuleInstall) XXX_Size() int { return xxx_messageInfo_StaticRuleInstall.Size(m) @@ -2468,16 +2522,17 @@ func (m *DynamicRuleInstall) Reset() { *m = DynamicRuleInstall{} } func (m *DynamicRuleInstall) String() string { return proto.CompactTextString(m) } func (*DynamicRuleInstall) ProtoMessage() {} func (*DynamicRuleInstall) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{25} + return fileDescriptor_85add0446af78174, []int{25} } + func (m *DynamicRuleInstall) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DynamicRuleInstall.Unmarshal(m, b) } func (m *DynamicRuleInstall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DynamicRuleInstall.Marshal(b, m, deterministic) } -func (dst *DynamicRuleInstall) XXX_Merge(src proto.Message) { - xxx_messageInfo_DynamicRuleInstall.Merge(dst, src) +func (m *DynamicRuleInstall) XXX_Merge(src proto.Message) { + xxx_messageInfo_DynamicRuleInstall.Merge(m, src) } func (m *DynamicRuleInstall) XXX_Size() int { return xxx_messageInfo_DynamicRuleInstall.Size(m) @@ -2521,16 +2576,17 @@ func (m *UpdateSessionRequest) Reset() { *m = UpdateSessionRequest{} } func (m *UpdateSessionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSessionRequest) ProtoMessage() {} func (*UpdateSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{26} + return fileDescriptor_85add0446af78174, []int{26} } + func (m *UpdateSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSessionRequest.Unmarshal(m, b) } func (m *UpdateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSessionRequest.Marshal(b, m, deterministic) } -func (dst *UpdateSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSessionRequest.Merge(dst, src) +func (m *UpdateSessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSessionRequest.Merge(m, src) } func (m *UpdateSessionRequest) XXX_Size() int { return xxx_messageInfo_UpdateSessionRequest.Size(m) @@ -2567,16 +2623,17 @@ func (m *UpdateSessionResponse) Reset() { *m = UpdateSessionResponse{} } func (m *UpdateSessionResponse) String() string { return proto.CompactTextString(m) } func (*UpdateSessionResponse) ProtoMessage() {} func (*UpdateSessionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{27} + return fileDescriptor_85add0446af78174, []int{27} } + func (m *UpdateSessionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSessionResponse.Unmarshal(m, b) } func (m *UpdateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSessionResponse.Marshal(b, m, deterministic) } -func (dst *UpdateSessionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSessionResponse.Merge(dst, src) +func (m *UpdateSessionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSessionResponse.Merge(m, src) } func (m *UpdateSessionResponse) XXX_Size() int { return xxx_messageInfo_UpdateSessionResponse.Size(m) @@ -2613,16 +2670,17 @@ func (m *SessionTerminateResponse) Reset() { *m = SessionTerminateRespon func (m *SessionTerminateResponse) String() string { return proto.CompactTextString(m) } func (*SessionTerminateResponse) ProtoMessage() {} func (*SessionTerminateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{28} + return fileDescriptor_85add0446af78174, []int{28} } + func (m *SessionTerminateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SessionTerminateResponse.Unmarshal(m, b) } func (m *SessionTerminateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SessionTerminateResponse.Marshal(b, m, deterministic) } -func (dst *SessionTerminateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SessionTerminateResponse.Merge(dst, src) +func (m *SessionTerminateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SessionTerminateResponse.Merge(m, src) } func (m *SessionTerminateResponse) XXX_Size() int { return xxx_messageInfo_SessionTerminateResponse.Size(m) @@ -2672,16 +2730,17 @@ func (m *SessionTerminateRequest) Reset() { *m = SessionTerminateRequest func (m *SessionTerminateRequest) String() string { return proto.CompactTextString(m) } func (*SessionTerminateRequest) ProtoMessage() {} func (*SessionTerminateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_manager_406cf25ed0c021a5, []int{29} + return fileDescriptor_85add0446af78174, []int{29} } + func (m *SessionTerminateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SessionTerminateRequest.Unmarshal(m, b) } func (m *SessionTerminateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SessionTerminateRequest.Marshal(b, m, deterministic) } -func (dst *SessionTerminateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SessionTerminateRequest.Merge(dst, src) +func (m *SessionTerminateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SessionTerminateRequest.Merge(m, src) } func (m *SessionTerminateRequest) XXX_Size() int { return xxx_messageInfo_SessionTerminateRequest.Size(m) @@ -2798,6 +2857,20 @@ func (m *SessionTerminateRequest) GetHardwareAddr() []byte { } func init() { + proto.RegisterEnum("magma.lte.RATType", RATType_name, RATType_value) + proto.RegisterEnum("magma.lte.EventTrigger", EventTrigger_name, EventTrigger_value) + proto.RegisterEnum("magma.lte.QCI", QCI_name, QCI_value) + proto.RegisterEnum("magma.lte.ReAuthResult", ReAuthResult_name, ReAuthResult_value) + proto.RegisterEnum("magma.lte.MonitoringLevel", MonitoringLevel_name, MonitoringLevel_value) + proto.RegisterEnum("magma.lte.ChargingReAuthRequest_Type", ChargingReAuthRequest_Type_name, ChargingReAuthRequest_Type_value) + proto.RegisterEnum("magma.lte.ChargingReAuthAnswer_Result", ChargingReAuthAnswer_Result_name, ChargingReAuthAnswer_Result_value) + proto.RegisterEnum("magma.lte.PolicyReAuthAnswer_FailureCode", PolicyReAuthAnswer_FailureCode_name, PolicyReAuthAnswer_FailureCode_value) + proto.RegisterEnum("magma.lte.RedirectServer_RedirectAddressType", RedirectServer_RedirectAddressType_name, RedirectServer_RedirectAddressType_value) + proto.RegisterEnum("magma.lte.ChargingCredit_UnitType", ChargingCredit_UnitType_name, ChargingCredit_UnitType_value) + proto.RegisterEnum("magma.lte.ChargingCredit_FinalAction", ChargingCredit_FinalAction_name, ChargingCredit_FinalAction_value) + proto.RegisterEnum("magma.lte.CreditUsage_UpdateType", CreditUsage_UpdateType_name, CreditUsage_UpdateType_value) + proto.RegisterEnum("magma.lte.CreditUpdateResponse_ResponseType", CreditUpdateResponse_ResponseType_name, CreditUpdateResponse_ResponseType_value) + proto.RegisterEnum("magma.lte.UsageMonitoringCredit_Action", UsageMonitoringCredit_Action_name, UsageMonitoringCredit_Action_value) proto.RegisterType((*RuleRecord)(nil), "magma.lte.RuleRecord") proto.RegisterType((*RuleRecordTable)(nil), "magma.lte.RuleRecordTable") proto.RegisterType((*LocalCreateSessionRequest)(nil), "magma.lte.LocalCreateSessionRequest") @@ -2829,400 +2902,11 @@ func init() { proto.RegisterType((*UpdateSessionResponse)(nil), "magma.lte.UpdateSessionResponse") proto.RegisterType((*SessionTerminateResponse)(nil), "magma.lte.SessionTerminateResponse") proto.RegisterType((*SessionTerminateRequest)(nil), "magma.lte.SessionTerminateRequest") - proto.RegisterEnum("magma.lte.RATType", RATType_name, RATType_value) - proto.RegisterEnum("magma.lte.EventTrigger", EventTrigger_name, EventTrigger_value) - proto.RegisterEnum("magma.lte.QCI", QCI_name, QCI_value) - proto.RegisterEnum("magma.lte.ReAuthResult", ReAuthResult_name, ReAuthResult_value) - proto.RegisterEnum("magma.lte.MonitoringLevel", MonitoringLevel_name, MonitoringLevel_value) - proto.RegisterEnum("magma.lte.ChargingReAuthRequest_Type", ChargingReAuthRequest_Type_name, ChargingReAuthRequest_Type_value) - proto.RegisterEnum("magma.lte.ChargingReAuthAnswer_Result", ChargingReAuthAnswer_Result_name, ChargingReAuthAnswer_Result_value) - proto.RegisterEnum("magma.lte.PolicyReAuthAnswer_FailureCode", PolicyReAuthAnswer_FailureCode_name, PolicyReAuthAnswer_FailureCode_value) - proto.RegisterEnum("magma.lte.RedirectServer_RedirectAddressType", RedirectServer_RedirectAddressType_name, RedirectServer_RedirectAddressType_value) - proto.RegisterEnum("magma.lte.ChargingCredit_UnitType", ChargingCredit_UnitType_name, ChargingCredit_UnitType_value) - proto.RegisterEnum("magma.lte.ChargingCredit_FinalAction", ChargingCredit_FinalAction_name, ChargingCredit_FinalAction_value) - proto.RegisterEnum("magma.lte.CreditUsage_UpdateType", CreditUsage_UpdateType_name, CreditUsage_UpdateType_value) - proto.RegisterEnum("magma.lte.CreditUpdateResponse_ResponseType", CreditUpdateResponse_ResponseType_name, CreditUpdateResponse_ResponseType_value) - proto.RegisterEnum("magma.lte.UsageMonitoringCredit_Action", UsageMonitoringCredit_Action_name, UsageMonitoringCredit_Action_value) -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// LocalSessionManagerClient is the client API for LocalSessionManager service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LocalSessionManagerClient interface { - ReportRuleStats(ctx context.Context, in *RuleRecordTable, opts ...grpc.CallOption) (*protos.Void, error) - CreateSession(ctx context.Context, in *LocalCreateSessionRequest, opts ...grpc.CallOption) (*LocalCreateSessionResponse, error) - EndSession(ctx context.Context, in *SubscriberID, opts ...grpc.CallOption) (*LocalEndSessionResponse, error) -} - -type localSessionManagerClient struct { - cc *grpc.ClientConn -} - -func NewLocalSessionManagerClient(cc *grpc.ClientConn) LocalSessionManagerClient { - return &localSessionManagerClient{cc} -} - -func (c *localSessionManagerClient) ReportRuleStats(ctx context.Context, in *RuleRecordTable, opts ...grpc.CallOption) (*protos.Void, error) { - out := new(protos.Void) - err := c.cc.Invoke(ctx, "/magma.lte.LocalSessionManager/ReportRuleStats", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *localSessionManagerClient) CreateSession(ctx context.Context, in *LocalCreateSessionRequest, opts ...grpc.CallOption) (*LocalCreateSessionResponse, error) { - out := new(LocalCreateSessionResponse) - err := c.cc.Invoke(ctx, "/magma.lte.LocalSessionManager/CreateSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *localSessionManagerClient) EndSession(ctx context.Context, in *SubscriberID, opts ...grpc.CallOption) (*LocalEndSessionResponse, error) { - out := new(LocalEndSessionResponse) - err := c.cc.Invoke(ctx, "/magma.lte.LocalSessionManager/EndSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LocalSessionManagerServer is the server API for LocalSessionManager service. -type LocalSessionManagerServer interface { - ReportRuleStats(context.Context, *RuleRecordTable) (*protos.Void, error) - CreateSession(context.Context, *LocalCreateSessionRequest) (*LocalCreateSessionResponse, error) - EndSession(context.Context, *SubscriberID) (*LocalEndSessionResponse, error) -} - -func RegisterLocalSessionManagerServer(s *grpc.Server, srv LocalSessionManagerServer) { - s.RegisterService(&_LocalSessionManager_serviceDesc, srv) -} - -func _LocalSessionManager_ReportRuleStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RuleRecordTable) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LocalSessionManagerServer).ReportRuleStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.LocalSessionManager/ReportRuleStats", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocalSessionManagerServer).ReportRuleStats(ctx, req.(*RuleRecordTable)) - } - return interceptor(ctx, in, info, handler) -} - -func _LocalSessionManager_CreateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LocalCreateSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LocalSessionManagerServer).CreateSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.LocalSessionManager/CreateSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocalSessionManagerServer).CreateSession(ctx, req.(*LocalCreateSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LocalSessionManager_EndSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubscriberID) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LocalSessionManagerServer).EndSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.LocalSessionManager/EndSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocalSessionManagerServer).EndSession(ctx, req.(*SubscriberID)) - } - return interceptor(ctx, in, info, handler) -} - -var _LocalSessionManager_serviceDesc = grpc.ServiceDesc{ - ServiceName: "magma.lte.LocalSessionManager", - HandlerType: (*LocalSessionManagerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ReportRuleStats", - Handler: _LocalSessionManager_ReportRuleStats_Handler, - }, - { - MethodName: "CreateSession", - Handler: _LocalSessionManager_CreateSession_Handler, - }, - { - MethodName: "EndSession", - Handler: _LocalSessionManager_EndSession_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "lte/protos/session_manager.proto", -} - -// SessionProxyResponderClient is the client API for SessionProxyResponder service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SessionProxyResponderClient interface { - ChargingReAuth(ctx context.Context, in *ChargingReAuthRequest, opts ...grpc.CallOption) (*ChargingReAuthAnswer, error) - PolicyReAuth(ctx context.Context, in *PolicyReAuthRequest, opts ...grpc.CallOption) (*PolicyReAuthAnswer, error) -} - -type sessionProxyResponderClient struct { - cc *grpc.ClientConn -} - -func NewSessionProxyResponderClient(cc *grpc.ClientConn) SessionProxyResponderClient { - return &sessionProxyResponderClient{cc} } -func (c *sessionProxyResponderClient) ChargingReAuth(ctx context.Context, in *ChargingReAuthRequest, opts ...grpc.CallOption) (*ChargingReAuthAnswer, error) { - out := new(ChargingReAuthAnswer) - err := c.cc.Invoke(ctx, "/magma.lte.SessionProxyResponder/ChargingReAuth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func init() { proto.RegisterFile("lte/protos/session_manager.proto", fileDescriptor_85add0446af78174) } -func (c *sessionProxyResponderClient) PolicyReAuth(ctx context.Context, in *PolicyReAuthRequest, opts ...grpc.CallOption) (*PolicyReAuthAnswer, error) { - out := new(PolicyReAuthAnswer) - err := c.cc.Invoke(ctx, "/magma.lte.SessionProxyResponder/PolicyReAuth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SessionProxyResponderServer is the server API for SessionProxyResponder service. -type SessionProxyResponderServer interface { - ChargingReAuth(context.Context, *ChargingReAuthRequest) (*ChargingReAuthAnswer, error) - PolicyReAuth(context.Context, *PolicyReAuthRequest) (*PolicyReAuthAnswer, error) -} - -func RegisterSessionProxyResponderServer(s *grpc.Server, srv SessionProxyResponderServer) { - s.RegisterService(&_SessionProxyResponder_serviceDesc, srv) -} - -func _SessionProxyResponder_ChargingReAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ChargingReAuthRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionProxyResponderServer).ChargingReAuth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.SessionProxyResponder/ChargingReAuth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionProxyResponderServer).ChargingReAuth(ctx, req.(*ChargingReAuthRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionProxyResponder_PolicyReAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PolicyReAuthRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionProxyResponderServer).PolicyReAuth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.SessionProxyResponder/PolicyReAuth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionProxyResponderServer).PolicyReAuth(ctx, req.(*PolicyReAuthRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SessionProxyResponder_serviceDesc = grpc.ServiceDesc{ - ServiceName: "magma.lte.SessionProxyResponder", - HandlerType: (*SessionProxyResponderServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ChargingReAuth", - Handler: _SessionProxyResponder_ChargingReAuth_Handler, - }, - { - MethodName: "PolicyReAuth", - Handler: _SessionProxyResponder_PolicyReAuth_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "lte/protos/session_manager.proto", -} - -// CentralSessionControllerClient is the client API for CentralSessionController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CentralSessionControllerClient interface { - // Notify OCS/PCRF of new session and return rules associated with subscriber - // along with credits for each rule - CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) - // Updates OCS/PCRF with used credit and terminations from gateway - UpdateSession(ctx context.Context, in *UpdateSessionRequest, opts ...grpc.CallOption) (*UpdateSessionResponse, error) - // Terminates session in OCS/PCRF for a subscriber - TerminateSession(ctx context.Context, in *SessionTerminateRequest, opts ...grpc.CallOption) (*SessionTerminateResponse, error) -} - -type centralSessionControllerClient struct { - cc *grpc.ClientConn -} - -func NewCentralSessionControllerClient(cc *grpc.ClientConn) CentralSessionControllerClient { - return ¢ralSessionControllerClient{cc} -} - -func (c *centralSessionControllerClient) CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) { - out := new(CreateSessionResponse) - err := c.cc.Invoke(ctx, "/magma.lte.CentralSessionController/CreateSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centralSessionControllerClient) UpdateSession(ctx context.Context, in *UpdateSessionRequest, opts ...grpc.CallOption) (*UpdateSessionResponse, error) { - out := new(UpdateSessionResponse) - err := c.cc.Invoke(ctx, "/magma.lte.CentralSessionController/UpdateSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centralSessionControllerClient) TerminateSession(ctx context.Context, in *SessionTerminateRequest, opts ...grpc.CallOption) (*SessionTerminateResponse, error) { - out := new(SessionTerminateResponse) - err := c.cc.Invoke(ctx, "/magma.lte.CentralSessionController/TerminateSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CentralSessionControllerServer is the server API for CentralSessionController service. -type CentralSessionControllerServer interface { - // Notify OCS/PCRF of new session and return rules associated with subscriber - // along with credits for each rule - CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error) - // Updates OCS/PCRF with used credit and terminations from gateway - UpdateSession(context.Context, *UpdateSessionRequest) (*UpdateSessionResponse, error) - // Terminates session in OCS/PCRF for a subscriber - TerminateSession(context.Context, *SessionTerminateRequest) (*SessionTerminateResponse, error) -} - -func RegisterCentralSessionControllerServer(s *grpc.Server, srv CentralSessionControllerServer) { - s.RegisterService(&_CentralSessionController_serviceDesc, srv) -} - -func _CentralSessionController_CreateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentralSessionControllerServer).CreateSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.CentralSessionController/CreateSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentralSessionControllerServer).CreateSession(ctx, req.(*CreateSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentralSessionController_UpdateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentralSessionControllerServer).UpdateSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.CentralSessionController/UpdateSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentralSessionControllerServer).UpdateSession(ctx, req.(*UpdateSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentralSessionController_TerminateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SessionTerminateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentralSessionControllerServer).TerminateSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.lte.CentralSessionController/TerminateSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentralSessionControllerServer).TerminateSession(ctx, req.(*SessionTerminateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CentralSessionController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "magma.lte.CentralSessionController", - HandlerType: (*CentralSessionControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateSession", - Handler: _CentralSessionController_CreateSession_Handler, - }, - { - MethodName: "UpdateSession", - Handler: _CentralSessionController_UpdateSession_Handler, - }, - { - MethodName: "TerminateSession", - Handler: _CentralSessionController_TerminateSession_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "lte/protos/session_manager.proto", -} - -func init() { - proto.RegisterFile("lte/protos/session_manager.proto", fileDescriptor_session_manager_406cf25ed0c021a5) -} - -var fileDescriptor_session_manager_406cf25ed0c021a5 = []byte{ +var fileDescriptor_85add0446af78174 = []byte{ // 4045 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3a, 0x4d, 0x73, 0xe3, 0x46, 0x76, 0x22, 0x29, 0x92, 0xd2, 0xe3, 0x87, 0xa0, 0x96, 0x34, 0xa2, 0xe4, 0xf9, 0x90, 0x31, 0x1e, @@ -3478,3 +3162,415 @@ var fileDescriptor_session_manager_406cf25ed0c021a5 = []byte{ 0xdd, 0x1d, 0x8c, 0x3b, 0x47, 0x97, 0x03, 0xf9, 0x5e, 0xf7, 0x22, 0xc7, 0xbf, 0x9f, 0xfd, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x85, 0x17, 0x2f, 0x9d, 0x27, 0x2c, 0x00, 0x00, } + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// LocalSessionManagerClient is the client API for LocalSessionManager service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type LocalSessionManagerClient interface { + ReportRuleStats(ctx context.Context, in *RuleRecordTable, opts ...grpc.CallOption) (*protos.Void, error) + CreateSession(ctx context.Context, in *LocalCreateSessionRequest, opts ...grpc.CallOption) (*LocalCreateSessionResponse, error) + EndSession(ctx context.Context, in *SubscriberID, opts ...grpc.CallOption) (*LocalEndSessionResponse, error) +} + +type localSessionManagerClient struct { + cc *grpc.ClientConn +} + +func NewLocalSessionManagerClient(cc *grpc.ClientConn) LocalSessionManagerClient { + return &localSessionManagerClient{cc} +} + +func (c *localSessionManagerClient) ReportRuleStats(ctx context.Context, in *RuleRecordTable, opts ...grpc.CallOption) (*protos.Void, error) { + out := new(protos.Void) + err := c.cc.Invoke(ctx, "/magma.lte.LocalSessionManager/ReportRuleStats", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *localSessionManagerClient) CreateSession(ctx context.Context, in *LocalCreateSessionRequest, opts ...grpc.CallOption) (*LocalCreateSessionResponse, error) { + out := new(LocalCreateSessionResponse) + err := c.cc.Invoke(ctx, "/magma.lte.LocalSessionManager/CreateSession", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *localSessionManagerClient) EndSession(ctx context.Context, in *SubscriberID, opts ...grpc.CallOption) (*LocalEndSessionResponse, error) { + out := new(LocalEndSessionResponse) + err := c.cc.Invoke(ctx, "/magma.lte.LocalSessionManager/EndSession", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// LocalSessionManagerServer is the server API for LocalSessionManager service. +type LocalSessionManagerServer interface { + ReportRuleStats(context.Context, *RuleRecordTable) (*protos.Void, error) + CreateSession(context.Context, *LocalCreateSessionRequest) (*LocalCreateSessionResponse, error) + EndSession(context.Context, *SubscriberID) (*LocalEndSessionResponse, error) +} + +// UnimplementedLocalSessionManagerServer can be embedded to have forward compatible implementations. +type UnimplementedLocalSessionManagerServer struct { +} + +func (*UnimplementedLocalSessionManagerServer) ReportRuleStats(ctx context.Context, req *RuleRecordTable) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReportRuleStats not implemented") +} +func (*UnimplementedLocalSessionManagerServer) CreateSession(ctx context.Context, req *LocalCreateSessionRequest) (*LocalCreateSessionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateSession not implemented") +} +func (*UnimplementedLocalSessionManagerServer) EndSession(ctx context.Context, req *SubscriberID) (*LocalEndSessionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EndSession not implemented") +} + +func RegisterLocalSessionManagerServer(s *grpc.Server, srv LocalSessionManagerServer) { + s.RegisterService(&_LocalSessionManager_serviceDesc, srv) +} + +func _LocalSessionManager_ReportRuleStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RuleRecordTable) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LocalSessionManagerServer).ReportRuleStats(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.LocalSessionManager/ReportRuleStats", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LocalSessionManagerServer).ReportRuleStats(ctx, req.(*RuleRecordTable)) + } + return interceptor(ctx, in, info, handler) +} + +func _LocalSessionManager_CreateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(LocalCreateSessionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LocalSessionManagerServer).CreateSession(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.LocalSessionManager/CreateSession", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LocalSessionManagerServer).CreateSession(ctx, req.(*LocalCreateSessionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _LocalSessionManager_EndSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SubscriberID) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LocalSessionManagerServer).EndSession(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.LocalSessionManager/EndSession", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LocalSessionManagerServer).EndSession(ctx, req.(*SubscriberID)) + } + return interceptor(ctx, in, info, handler) +} + +var _LocalSessionManager_serviceDesc = grpc.ServiceDesc{ + ServiceName: "magma.lte.LocalSessionManager", + HandlerType: (*LocalSessionManagerServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ReportRuleStats", + Handler: _LocalSessionManager_ReportRuleStats_Handler, + }, + { + MethodName: "CreateSession", + Handler: _LocalSessionManager_CreateSession_Handler, + }, + { + MethodName: "EndSession", + Handler: _LocalSessionManager_EndSession_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "lte/protos/session_manager.proto", +} + +// SessionProxyResponderClient is the client API for SessionProxyResponder service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type SessionProxyResponderClient interface { + ChargingReAuth(ctx context.Context, in *ChargingReAuthRequest, opts ...grpc.CallOption) (*ChargingReAuthAnswer, error) + PolicyReAuth(ctx context.Context, in *PolicyReAuthRequest, opts ...grpc.CallOption) (*PolicyReAuthAnswer, error) +} + +type sessionProxyResponderClient struct { + cc *grpc.ClientConn +} + +func NewSessionProxyResponderClient(cc *grpc.ClientConn) SessionProxyResponderClient { + return &sessionProxyResponderClient{cc} +} + +func (c *sessionProxyResponderClient) ChargingReAuth(ctx context.Context, in *ChargingReAuthRequest, opts ...grpc.CallOption) (*ChargingReAuthAnswer, error) { + out := new(ChargingReAuthAnswer) + err := c.cc.Invoke(ctx, "/magma.lte.SessionProxyResponder/ChargingReAuth", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *sessionProxyResponderClient) PolicyReAuth(ctx context.Context, in *PolicyReAuthRequest, opts ...grpc.CallOption) (*PolicyReAuthAnswer, error) { + out := new(PolicyReAuthAnswer) + err := c.cc.Invoke(ctx, "/magma.lte.SessionProxyResponder/PolicyReAuth", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SessionProxyResponderServer is the server API for SessionProxyResponder service. +type SessionProxyResponderServer interface { + ChargingReAuth(context.Context, *ChargingReAuthRequest) (*ChargingReAuthAnswer, error) + PolicyReAuth(context.Context, *PolicyReAuthRequest) (*PolicyReAuthAnswer, error) +} + +// UnimplementedSessionProxyResponderServer can be embedded to have forward compatible implementations. +type UnimplementedSessionProxyResponderServer struct { +} + +func (*UnimplementedSessionProxyResponderServer) ChargingReAuth(ctx context.Context, req *ChargingReAuthRequest) (*ChargingReAuthAnswer, error) { + return nil, status.Errorf(codes.Unimplemented, "method ChargingReAuth not implemented") +} +func (*UnimplementedSessionProxyResponderServer) PolicyReAuth(ctx context.Context, req *PolicyReAuthRequest) (*PolicyReAuthAnswer, error) { + return nil, status.Errorf(codes.Unimplemented, "method PolicyReAuth not implemented") +} + +func RegisterSessionProxyResponderServer(s *grpc.Server, srv SessionProxyResponderServer) { + s.RegisterService(&_SessionProxyResponder_serviceDesc, srv) +} + +func _SessionProxyResponder_ChargingReAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ChargingReAuthRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SessionProxyResponderServer).ChargingReAuth(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.SessionProxyResponder/ChargingReAuth", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SessionProxyResponderServer).ChargingReAuth(ctx, req.(*ChargingReAuthRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SessionProxyResponder_PolicyReAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PolicyReAuthRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SessionProxyResponderServer).PolicyReAuth(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.SessionProxyResponder/PolicyReAuth", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SessionProxyResponderServer).PolicyReAuth(ctx, req.(*PolicyReAuthRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _SessionProxyResponder_serviceDesc = grpc.ServiceDesc{ + ServiceName: "magma.lte.SessionProxyResponder", + HandlerType: (*SessionProxyResponderServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ChargingReAuth", + Handler: _SessionProxyResponder_ChargingReAuth_Handler, + }, + { + MethodName: "PolicyReAuth", + Handler: _SessionProxyResponder_PolicyReAuth_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "lte/protos/session_manager.proto", +} + +// CentralSessionControllerClient is the client API for CentralSessionController service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CentralSessionControllerClient interface { + // Notify OCS/PCRF of new session and return rules associated with subscriber + // along with credits for each rule + CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) + // Updates OCS/PCRF with used credit and terminations from gateway + UpdateSession(ctx context.Context, in *UpdateSessionRequest, opts ...grpc.CallOption) (*UpdateSessionResponse, error) + // Terminates session in OCS/PCRF for a subscriber + TerminateSession(ctx context.Context, in *SessionTerminateRequest, opts ...grpc.CallOption) (*SessionTerminateResponse, error) +} + +type centralSessionControllerClient struct { + cc *grpc.ClientConn +} + +func NewCentralSessionControllerClient(cc *grpc.ClientConn) CentralSessionControllerClient { + return ¢ralSessionControllerClient{cc} +} + +func (c *centralSessionControllerClient) CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) { + out := new(CreateSessionResponse) + err := c.cc.Invoke(ctx, "/magma.lte.CentralSessionController/CreateSession", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *centralSessionControllerClient) UpdateSession(ctx context.Context, in *UpdateSessionRequest, opts ...grpc.CallOption) (*UpdateSessionResponse, error) { + out := new(UpdateSessionResponse) + err := c.cc.Invoke(ctx, "/magma.lte.CentralSessionController/UpdateSession", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *centralSessionControllerClient) TerminateSession(ctx context.Context, in *SessionTerminateRequest, opts ...grpc.CallOption) (*SessionTerminateResponse, error) { + out := new(SessionTerminateResponse) + err := c.cc.Invoke(ctx, "/magma.lte.CentralSessionController/TerminateSession", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CentralSessionControllerServer is the server API for CentralSessionController service. +type CentralSessionControllerServer interface { + // Notify OCS/PCRF of new session and return rules associated with subscriber + // along with credits for each rule + CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error) + // Updates OCS/PCRF with used credit and terminations from gateway + UpdateSession(context.Context, *UpdateSessionRequest) (*UpdateSessionResponse, error) + // Terminates session in OCS/PCRF for a subscriber + TerminateSession(context.Context, *SessionTerminateRequest) (*SessionTerminateResponse, error) +} + +// UnimplementedCentralSessionControllerServer can be embedded to have forward compatible implementations. +type UnimplementedCentralSessionControllerServer struct { +} + +func (*UnimplementedCentralSessionControllerServer) CreateSession(ctx context.Context, req *CreateSessionRequest) (*CreateSessionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateSession not implemented") +} +func (*UnimplementedCentralSessionControllerServer) UpdateSession(ctx context.Context, req *UpdateSessionRequest) (*UpdateSessionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateSession not implemented") +} +func (*UnimplementedCentralSessionControllerServer) TerminateSession(ctx context.Context, req *SessionTerminateRequest) (*SessionTerminateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TerminateSession not implemented") +} + +func RegisterCentralSessionControllerServer(s *grpc.Server, srv CentralSessionControllerServer) { + s.RegisterService(&_CentralSessionController_serviceDesc, srv) +} + +func _CentralSessionController_CreateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateSessionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CentralSessionControllerServer).CreateSession(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.CentralSessionController/CreateSession", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CentralSessionControllerServer).CreateSession(ctx, req.(*CreateSessionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CentralSessionController_UpdateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateSessionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CentralSessionControllerServer).UpdateSession(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.CentralSessionController/UpdateSession", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CentralSessionControllerServer).UpdateSession(ctx, req.(*UpdateSessionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CentralSessionController_TerminateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SessionTerminateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CentralSessionControllerServer).TerminateSession(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.lte.CentralSessionController/TerminateSession", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CentralSessionControllerServer).TerminateSession(ctx, req.(*SessionTerminateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CentralSessionController_serviceDesc = grpc.ServiceDesc{ + ServiceName: "magma.lte.CentralSessionController", + HandlerType: (*CentralSessionControllerServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateSession", + Handler: _CentralSessionController_CreateSession_Handler, + }, + { + MethodName: "UpdateSession", + Handler: _CentralSessionController_UpdateSession_Handler, + }, + { + MethodName: "TerminateSession", + Handler: _CentralSessionController_TerminateSession_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "lte/protos/session_manager.proto", +} diff --git a/lte/cloud/go/protos/spgw_service.pb.go b/lte/cloud/go/protos/spgw_service.pb.go index 4624bf9c5c89..42832a1d6730 100644 --- a/lte/cloud/go/protos/spgw_service.pb.go +++ b/lte/cloud/go/protos/spgw_service.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/spgw_service.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CreateBearerRequest struct { Sid *SubscriberID `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` @@ -37,16 +38,17 @@ func (m *CreateBearerRequest) Reset() { *m = CreateBearerRequest{} } func (m *CreateBearerRequest) String() string { return proto.CompactTextString(m) } func (*CreateBearerRequest) ProtoMessage() {} func (*CreateBearerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spgw_service_5dfbca8567fae526, []int{0} + return fileDescriptor_b9b6f72b6fee9214, []int{0} } + func (m *CreateBearerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBearerRequest.Unmarshal(m, b) } func (m *CreateBearerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateBearerRequest.Marshal(b, m, deterministic) } -func (dst *CreateBearerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBearerRequest.Merge(dst, src) +func (m *CreateBearerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBearerRequest.Merge(m, src) } func (m *CreateBearerRequest) XXX_Size() int { return xxx_messageInfo_CreateBearerRequest.Size(m) @@ -95,16 +97,17 @@ func (m *CreateBearerResult) Reset() { *m = CreateBearerResult{} } func (m *CreateBearerResult) String() string { return proto.CompactTextString(m) } func (*CreateBearerResult) ProtoMessage() {} func (*CreateBearerResult) Descriptor() ([]byte, []int) { - return fileDescriptor_spgw_service_5dfbca8567fae526, []int{1} + return fileDescriptor_b9b6f72b6fee9214, []int{1} } + func (m *CreateBearerResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBearerResult.Unmarshal(m, b) } func (m *CreateBearerResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateBearerResult.Marshal(b, m, deterministic) } -func (dst *CreateBearerResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBearerResult.Merge(dst, src) +func (m *CreateBearerResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBearerResult.Merge(m, src) } func (m *CreateBearerResult) XXX_Size() int { return xxx_messageInfo_CreateBearerResult.Size(m) @@ -129,16 +132,17 @@ func (m *DeleteBearerRequest) Reset() { *m = DeleteBearerRequest{} } func (m *DeleteBearerRequest) String() string { return proto.CompactTextString(m) } func (*DeleteBearerRequest) ProtoMessage() {} func (*DeleteBearerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spgw_service_5dfbca8567fae526, []int{2} + return fileDescriptor_b9b6f72b6fee9214, []int{2} } + func (m *DeleteBearerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteBearerRequest.Unmarshal(m, b) } func (m *DeleteBearerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteBearerRequest.Marshal(b, m, deterministic) } -func (dst *DeleteBearerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteBearerRequest.Merge(dst, src) +func (m *DeleteBearerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteBearerRequest.Merge(m, src) } func (m *DeleteBearerRequest) XXX_Size() int { return xxx_messageInfo_DeleteBearerRequest.Size(m) @@ -187,16 +191,17 @@ func (m *DeleteBearerResult) Reset() { *m = DeleteBearerResult{} } func (m *DeleteBearerResult) String() string { return proto.CompactTextString(m) } func (*DeleteBearerResult) ProtoMessage() {} func (*DeleteBearerResult) Descriptor() ([]byte, []int) { - return fileDescriptor_spgw_service_5dfbca8567fae526, []int{3} + return fileDescriptor_b9b6f72b6fee9214, []int{3} } + func (m *DeleteBearerResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteBearerResult.Unmarshal(m, b) } func (m *DeleteBearerResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteBearerResult.Marshal(b, m, deterministic) } -func (dst *DeleteBearerResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteBearerResult.Merge(dst, src) +func (m *DeleteBearerResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteBearerResult.Merge(m, src) } func (m *DeleteBearerResult) XXX_Size() int { return xxx_messageInfo_DeleteBearerResult.Size(m) @@ -214,6 +219,34 @@ func init() { proto.RegisterType((*DeleteBearerResult)(nil), "magma.lte.DeleteBearerResult") } +func init() { proto.RegisterFile("lte/protos/spgw_service.proto", fileDescriptor_b9b6f72b6fee9214) } + +var fileDescriptor_b9b6f72b6fee9214 = []byte{ + // 338 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x52, 0x3f, 0x4f, 0xfb, 0x30, + 0x14, 0xac, 0x7f, 0xfd, 0xa9, 0xa8, 0x4e, 0xda, 0xc1, 0x05, 0x35, 0x2d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f, 0xed, 0xfa, 0xd6, 0xe2, 0xac, 0x61, 0x79, 0x6f, 0x60, 0x5a, 0x0a, 0xa0, 0x96, 0x3c, + 0xfc, 0xb5, 0x77, 0x8a, 0x49, 0x3b, 0xba, 0x2e, 0x45, 0xe1, 0xbd, 0x21, 0x3c, 0x5a, 0x81, 0x80, + 0xbf, 0xeb, 0x68, 0x8e, 0x87, 0x20, 0xf5, 0x37, 0xa9, 0xee, 0x69, 0x40, 0x6d, 0x90, 0x7a, 0x4f, + 0x32, 0xe9, 0xdb, 0x31, 0xab, 0xf4, 0x8b, 0x77, 0x84, 0xad, 0x8d, 0xcc, 0x76, 0x9b, 0x7a, 0xd5, + 0xe4, 0x0e, 0xdb, 0xcd, 0x1e, 0xc9, 0x45, 0x23, 0xf8, 0x91, 0xbd, 0x4d, 0x67, 0xbf, 0xe2, 0x66, + 0x38, 0x9d, 0x4a, 0xb0, 0x69, 0xdb, 0x12, 0x3c, 0x32, 0xb6, 0x96, 0xe0, 0xcf, 0xbc, 0x5e, 0x67, + 0x79, 0xfe, 0x30, 0x31, 0x8c, 0xb0, 0x3a, 0xb2, 0x54, 0xe4, 0x25, 0x0b, 0xb3, 0xfc, 0xeb, 0xda, + 0x92, 0x9e, 0x79, 0xaf, 0x3e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xeb, 0xb0, 0x89, 0xda, 0xcb, 0x02, + 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -262,6 +295,17 @@ type SpgwServiceServer interface { DeleteBearer(context.Context, *DeleteBearerRequest) (*DeleteBearerResult, error) } +// UnimplementedSpgwServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSpgwServiceServer struct { +} + +func (*UnimplementedSpgwServiceServer) CreateBearer(ctx context.Context, req *CreateBearerRequest) (*CreateBearerResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateBearer not implemented") +} +func (*UnimplementedSpgwServiceServer) DeleteBearer(ctx context.Context, req *DeleteBearerRequest) (*DeleteBearerResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteBearer not implemented") +} + func RegisterSpgwServiceServer(s *grpc.Server, srv SpgwServiceServer) { s.RegisterService(&_SpgwService_serviceDesc, srv) } @@ -318,33 +362,3 @@ var _SpgwService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/spgw_service.proto", } - -func init() { - proto.RegisterFile("lte/protos/spgw_service.proto", fileDescriptor_spgw_service_5dfbca8567fae526) -} - -var fileDescriptor_spgw_service_5dfbca8567fae526 = []byte{ - // 338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x52, 0x3f, 0x4f, 0xfb, 0x30, - 0x14, 0xac, 0x7f, 0xfd, 0xa9, 0xa8, 0x4e, 0xda, 0xc1, 0x05, 0x35, 0x2d, 0x2a, 0x8a, 0xa2, 0x0e, - 0x61, 0x49, 0xa4, 0xb2, 0xb0, 0x52, 0xba, 0x74, 0x02, 0xb9, 0x1b, 0x4b, 0x94, 0xc4, 0x4f, 0x91, - 0x85, 0x4b, 0x8c, 0x9d, 0x50, 0xf1, 0x81, 0x98, 0x99, 0xf9, 0x76, 0x28, 0x0e, 0x2d, 0x89, 0x28, - 0x33, 0x93, 0xad, 0x77, 0xa7, 0xbb, 0x7b, 0x7f, 0xf0, 0x4c, 0x14, 0x10, 0x4a, 0x95, 0x17, 0xb9, - 0x0e, 0xb5, 0xcc, 0x76, 0x91, 0x06, 0xf5, 0xc2, 0x53, 0x08, 0x4c, 0x8d, 0xf4, 0xb7, 0x71, 0xb6, - 0x8d, 0x03, 0x51, 0xc0, 0xb4, 0xc5, 0x2c, 0x13, 0x9d, 0x2a, 0x9e, 0x80, 0x62, 0x49, 0xcd, 0x9c, - 0x4e, 0x1a, 0xb0, 0xcc, 0x05, 0x4f, 0x5f, 0xf7, 0x90, 0xf7, 0x81, 0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0xfe, 0x30, 0x31, 0x8c, 0xb0, 0x3a, 0xb2, 0x54, 0xe4, 0x25, 0x0b, 0xb3, 0xfc, 0xeb, 0xda, - 0x92, 0x9e, 0x79, 0xaf, 0x3e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xeb, 0xb0, 0x89, 0xda, 0xcb, 0x02, - 0x00, 0x00, -} diff --git a/lte/cloud/go/protos/subscriberdb.pb.go b/lte/cloud/go/protos/subscriberdb.pb.go index 2f0a1a95ccc9..b5dda3a7468d 100644 --- a/lte/cloud/go/protos/subscriberdb.pb.go +++ b/lte/cloud/go/protos/subscriberdb.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: lte/protos/subscriberdb.proto -package protos // import "magma/lte/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import field_mask "google.golang.org/genproto/protobuf/field_mask" -import protos "magma/orc8r/cloud/go/protos" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // For details about values read 3GPP 24.302 type AccessNetworkIdentifier int32 @@ -41,6 +42,7 @@ var AccessNetworkIdentifier_name = map[int32]string{ 2: "WLAN", 3: "ETHERNET", } + var AccessNetworkIdentifier_value = map[string]int32{ "HRPD": 0, "WIMAX": 1, @@ -51,8 +53,9 @@ var AccessNetworkIdentifier_value = map[string]int32{ func (x AccessNetworkIdentifier) String() string { return proto.EnumName(AccessNetworkIdentifier_name, int32(x)) } + func (AccessNetworkIdentifier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{0} + return fileDescriptor_d870e4203d378ec0, []int{0} } type SubscriberID_IDType int32 @@ -64,6 +67,7 @@ const ( var SubscriberID_IDType_name = map[int32]string{ 0: "IMSI", } + var SubscriberID_IDType_value = map[string]int32{ "IMSI": 0, } @@ -71,8 +75,9 @@ var SubscriberID_IDType_value = map[string]int32{ func (x SubscriberID_IDType) String() string { return proto.EnumName(SubscriberID_IDType_name, int32(x)) } + func (SubscriberID_IDType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{0, 0} + return fileDescriptor_d870e4203d378ec0, []int{0, 0} } type GSMSubscription_GSMSubscriptionState int32 @@ -86,6 +91,7 @@ var GSMSubscription_GSMSubscriptionState_name = map[int32]string{ 0: "INACTIVE", 1: "ACTIVE", } + var GSMSubscription_GSMSubscriptionState_value = map[string]int32{ "INACTIVE": 0, "ACTIVE": 1, @@ -94,8 +100,9 @@ var GSMSubscription_GSMSubscriptionState_value = map[string]int32{ func (x GSMSubscription_GSMSubscriptionState) String() string { return proto.EnumName(GSMSubscription_GSMSubscriptionState_name, int32(x)) } + func (GSMSubscription_GSMSubscriptionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{2, 0} + return fileDescriptor_d870e4203d378ec0, []int{2, 0} } type GSMSubscription_GSMAuthAlgo int32 @@ -107,6 +114,7 @@ const ( var GSMSubscription_GSMAuthAlgo_name = map[int32]string{ 0: "PRECOMPUTED_AUTH_TUPLES", } + var GSMSubscription_GSMAuthAlgo_value = map[string]int32{ "PRECOMPUTED_AUTH_TUPLES": 0, } @@ -114,8 +122,9 @@ var GSMSubscription_GSMAuthAlgo_value = map[string]int32{ func (x GSMSubscription_GSMAuthAlgo) String() string { return proto.EnumName(GSMSubscription_GSMAuthAlgo_name, int32(x)) } + func (GSMSubscription_GSMAuthAlgo) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{2, 1} + return fileDescriptor_d870e4203d378ec0, []int{2, 1} } type LTESubscription_LTESubscriptionState int32 @@ -129,6 +138,7 @@ var LTESubscription_LTESubscriptionState_name = map[int32]string{ 0: "INACTIVE", 1: "ACTIVE", } + var LTESubscription_LTESubscriptionState_value = map[string]int32{ "INACTIVE": 0, "ACTIVE": 1, @@ -137,8 +147,9 @@ var LTESubscription_LTESubscriptionState_value = map[string]int32{ func (x LTESubscription_LTESubscriptionState) String() string { return proto.EnumName(LTESubscription_LTESubscriptionState_name, int32(x)) } + func (LTESubscription_LTESubscriptionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{3, 0} + return fileDescriptor_d870e4203d378ec0, []int{3, 0} } type LTESubscription_LTEAuthAlgo int32 @@ -150,6 +161,7 @@ const ( var LTESubscription_LTEAuthAlgo_name = map[int32]string{ 0: "MILENAGE", } + var LTESubscription_LTEAuthAlgo_value = map[string]int32{ "MILENAGE": 0, } @@ -157,8 +169,9 @@ var LTESubscription_LTEAuthAlgo_value = map[string]int32{ func (x LTESubscription_LTEAuthAlgo) String() string { return proto.EnumName(LTESubscription_LTEAuthAlgo_name, int32(x)) } + func (LTESubscription_LTEAuthAlgo) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{3, 1} + return fileDescriptor_d870e4203d378ec0, []int{3, 1} } type APNConfiguration_PDNType int32 @@ -176,6 +189,7 @@ var APNConfiguration_PDNType_name = map[int32]string{ 2: "IPV4V6", 3: "IPV4_OR_IPV6", } + var APNConfiguration_PDNType_value = map[string]int32{ "IPV4": 0, "IPV6": 1, @@ -186,8 +200,9 @@ var APNConfiguration_PDNType_value = map[string]int32{ func (x APNConfiguration_PDNType) String() string { return proto.EnumName(APNConfiguration_PDNType_name, int32(x)) } + func (APNConfiguration_PDNType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{5, 0} + return fileDescriptor_d870e4203d378ec0, []int{5, 0} } type Non3GPPUserProfile_Non3GPPIPAccess int32 @@ -203,6 +218,7 @@ var Non3GPPUserProfile_Non3GPPIPAccess_name = map[int32]string{ 0: "NON_3GPP_SUBSCRIPTION_ALLOWED", 1: "NON_3GPP_SUBSCRIPTION_BARRED", } + var Non3GPPUserProfile_Non3GPPIPAccess_value = map[string]int32{ "NON_3GPP_SUBSCRIPTION_ALLOWED": 0, "NON_3GPP_SUBSCRIPTION_BARRED": 1, @@ -211,8 +227,9 @@ var Non3GPPUserProfile_Non3GPPIPAccess_value = map[string]int32{ func (x Non3GPPUserProfile_Non3GPPIPAccess) String() string { return proto.EnumName(Non3GPPUserProfile_Non3GPPIPAccess_name, int32(x)) } + func (Non3GPPUserProfile_Non3GPPIPAccess) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{7, 0} + return fileDescriptor_d870e4203d378ec0, []int{7, 0} } type Non3GPPUserProfile_Non3GPPIPAccessAPN int32 @@ -228,6 +245,7 @@ var Non3GPPUserProfile_Non3GPPIPAccessAPN_name = map[int32]string{ 0: "NON_3GPP_APNS_ENABLE", 1: "NON_3GPP_APNS_DISABLE", } + var Non3GPPUserProfile_Non3GPPIPAccessAPN_value = map[string]int32{ "NON_3GPP_APNS_ENABLE": 0, "NON_3GPP_APNS_DISABLE": 1, @@ -236,8 +254,9 @@ var Non3GPPUserProfile_Non3GPPIPAccessAPN_value = map[string]int32{ func (x Non3GPPUserProfile_Non3GPPIPAccessAPN) String() string { return proto.EnumName(Non3GPPUserProfile_Non3GPPIPAccessAPN_name, int32(x)) } + func (Non3GPPUserProfile_Non3GPPIPAccessAPN) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{7, 1} + return fileDescriptor_d870e4203d378ec0, []int{7, 1} } // -------------------------------------------------------------------------- @@ -255,16 +274,17 @@ func (m *SubscriberID) Reset() { *m = SubscriberID{} } func (m *SubscriberID) String() string { return proto.CompactTextString(m) } func (*SubscriberID) ProtoMessage() {} func (*SubscriberID) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{0} + return fileDescriptor_d870e4203d378ec0, []int{0} } + func (m *SubscriberID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberID.Unmarshal(m, b) } func (m *SubscriberID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberID.Marshal(b, m, deterministic) } -func (dst *SubscriberID) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberID.Merge(dst, src) +func (m *SubscriberID) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberID.Merge(m, src) } func (m *SubscriberID) XXX_Size() int { return xxx_messageInfo_SubscriberID.Size(m) @@ -300,16 +320,17 @@ func (m *SubscriberIDSet) Reset() { *m = SubscriberIDSet{} } func (m *SubscriberIDSet) String() string { return proto.CompactTextString(m) } func (*SubscriberIDSet) ProtoMessage() {} func (*SubscriberIDSet) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{1} + return fileDescriptor_d870e4203d378ec0, []int{1} } + func (m *SubscriberIDSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberIDSet.Unmarshal(m, b) } func (m *SubscriberIDSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberIDSet.Marshal(b, m, deterministic) } -func (dst *SubscriberIDSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberIDSet.Merge(dst, src) +func (m *SubscriberIDSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberIDSet.Merge(m, src) } func (m *SubscriberIDSet) XXX_Size() int { return xxx_messageInfo_SubscriberIDSet.Size(m) @@ -348,16 +369,17 @@ func (m *GSMSubscription) Reset() { *m = GSMSubscription{} } func (m *GSMSubscription) String() string { return proto.CompactTextString(m) } func (*GSMSubscription) ProtoMessage() {} func (*GSMSubscription) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{2} + return fileDescriptor_d870e4203d378ec0, []int{2} } + func (m *GSMSubscription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GSMSubscription.Unmarshal(m, b) } func (m *GSMSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GSMSubscription.Marshal(b, m, deterministic) } -func (dst *GSMSubscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_GSMSubscription.Merge(dst, src) +func (m *GSMSubscription) XXX_Merge(src proto.Message) { + xxx_messageInfo_GSMSubscription.Merge(m, src) } func (m *GSMSubscription) XXX_Size() int { return xxx_messageInfo_GSMSubscription.Size(m) @@ -414,16 +436,17 @@ func (m *LTESubscription) Reset() { *m = LTESubscription{} } func (m *LTESubscription) String() string { return proto.CompactTextString(m) } func (*LTESubscription) ProtoMessage() {} func (*LTESubscription) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{3} + return fileDescriptor_d870e4203d378ec0, []int{3} } + func (m *LTESubscription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LTESubscription.Unmarshal(m, b) } func (m *LTESubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LTESubscription.Marshal(b, m, deterministic) } -func (dst *LTESubscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_LTESubscription.Merge(dst, src) +func (m *LTESubscription) XXX_Merge(src proto.Message) { + xxx_messageInfo_LTESubscription.Merge(m, src) } func (m *LTESubscription) XXX_Size() int { return xxx_messageInfo_LTESubscription.Size(m) @@ -493,16 +516,17 @@ func (m *SubscriberState) Reset() { *m = SubscriberState{} } func (m *SubscriberState) String() string { return proto.CompactTextString(m) } func (*SubscriberState) ProtoMessage() {} func (*SubscriberState) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{4} + return fileDescriptor_d870e4203d378ec0, []int{4} } + func (m *SubscriberState) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberState.Unmarshal(m, b) } func (m *SubscriberState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberState.Marshal(b, m, deterministic) } -func (dst *SubscriberState) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberState.Merge(dst, src) +func (m *SubscriberState) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberState.Merge(m, src) } func (m *SubscriberState) XXX_Size() int { return xxx_messageInfo_SubscriberState.Size(m) @@ -553,16 +577,17 @@ func (m *APNConfiguration) Reset() { *m = APNConfiguration{} } func (m *APNConfiguration) String() string { return proto.CompactTextString(m) } func (*APNConfiguration) ProtoMessage() {} func (*APNConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{5} + return fileDescriptor_d870e4203d378ec0, []int{5} } + func (m *APNConfiguration) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_APNConfiguration.Unmarshal(m, b) } func (m *APNConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_APNConfiguration.Marshal(b, m, deterministic) } -func (dst *APNConfiguration) XXX_Merge(src proto.Message) { - xxx_messageInfo_APNConfiguration.Merge(dst, src) +func (m *APNConfiguration) XXX_Merge(src proto.Message) { + xxx_messageInfo_APNConfiguration.Merge(m, src) } func (m *APNConfiguration) XXX_Size() int { return xxx_messageInfo_APNConfiguration.Size(m) @@ -623,16 +648,17 @@ func (m *APNConfiguration_QoSProfile) Reset() { *m = APNConfiguration_Qo func (m *APNConfiguration_QoSProfile) String() string { return proto.CompactTextString(m) } func (*APNConfiguration_QoSProfile) ProtoMessage() {} func (*APNConfiguration_QoSProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{5, 0} + return fileDescriptor_d870e4203d378ec0, []int{5, 0} } + func (m *APNConfiguration_QoSProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_APNConfiguration_QoSProfile.Unmarshal(m, b) } func (m *APNConfiguration_QoSProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_APNConfiguration_QoSProfile.Marshal(b, m, deterministic) } -func (dst *APNConfiguration_QoSProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_APNConfiguration_QoSProfile.Merge(dst, src) +func (m *APNConfiguration_QoSProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_APNConfiguration_QoSProfile.Merge(m, src) } func (m *APNConfiguration_QoSProfile) XXX_Size() int { return xxx_messageInfo_APNConfiguration_QoSProfile.Size(m) @@ -685,16 +711,17 @@ func (m *AggregatedMaximumBitrate) Reset() { *m = AggregatedMaximumBitra func (m *AggregatedMaximumBitrate) String() string { return proto.CompactTextString(m) } func (*AggregatedMaximumBitrate) ProtoMessage() {} func (*AggregatedMaximumBitrate) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{6} + return fileDescriptor_d870e4203d378ec0, []int{6} } + func (m *AggregatedMaximumBitrate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AggregatedMaximumBitrate.Unmarshal(m, b) } func (m *AggregatedMaximumBitrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AggregatedMaximumBitrate.Marshal(b, m, deterministic) } -func (dst *AggregatedMaximumBitrate) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregatedMaximumBitrate.Merge(dst, src) +func (m *AggregatedMaximumBitrate) XXX_Merge(src proto.Message) { + xxx_messageInfo_AggregatedMaximumBitrate.Merge(m, src) } func (m *AggregatedMaximumBitrate) XXX_Size() int { return xxx_messageInfo_AggregatedMaximumBitrate.Size(m) @@ -735,16 +762,17 @@ func (m *Non3GPPUserProfile) Reset() { *m = Non3GPPUserProfile{} } func (m *Non3GPPUserProfile) String() string { return proto.CompactTextString(m) } func (*Non3GPPUserProfile) ProtoMessage() {} func (*Non3GPPUserProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{7} + return fileDescriptor_d870e4203d378ec0, []int{7} } + func (m *Non3GPPUserProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Non3GPPUserProfile.Unmarshal(m, b) } func (m *Non3GPPUserProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Non3GPPUserProfile.Marshal(b, m, deterministic) } -func (dst *Non3GPPUserProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_Non3GPPUserProfile.Merge(dst, src) +func (m *Non3GPPUserProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_Non3GPPUserProfile.Merge(m, src) } func (m *Non3GPPUserProfile) XXX_Size() int { return xxx_messageInfo_Non3GPPUserProfile.Size(m) @@ -819,16 +847,17 @@ func (m *SubscriberData) Reset() { *m = SubscriberData{} } func (m *SubscriberData) String() string { return proto.CompactTextString(m) } func (*SubscriberData) ProtoMessage() {} func (*SubscriberData) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{8} + return fileDescriptor_d870e4203d378ec0, []int{8} } + func (m *SubscriberData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberData.Unmarshal(m, b) } func (m *SubscriberData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberData.Marshal(b, m, deterministic) } -func (dst *SubscriberData) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberData.Merge(dst, src) +func (m *SubscriberData) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberData.Merge(m, src) } func (m *SubscriberData) XXX_Size() int { return xxx_messageInfo_SubscriberData.Size(m) @@ -904,16 +933,17 @@ func (m *SubscriberUpdate) Reset() { *m = SubscriberUpdate{} } func (m *SubscriberUpdate) String() string { return proto.CompactTextString(m) } func (*SubscriberUpdate) ProtoMessage() {} func (*SubscriberUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{9} + return fileDescriptor_d870e4203d378ec0, []int{9} } + func (m *SubscriberUpdate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberUpdate.Unmarshal(m, b) } func (m *SubscriberUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberUpdate.Marshal(b, m, deterministic) } -func (dst *SubscriberUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberUpdate.Merge(dst, src) +func (m *SubscriberUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberUpdate.Merge(m, src) } func (m *SubscriberUpdate) XXX_Size() int { return xxx_messageInfo_SubscriberUpdate.Size(m) @@ -953,16 +983,17 @@ func (m *SubscriberLookup) Reset() { *m = SubscriberLookup{} } func (m *SubscriberLookup) String() string { return proto.CompactTextString(m) } func (*SubscriberLookup) ProtoMessage() {} func (*SubscriberLookup) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{10} + return fileDescriptor_d870e4203d378ec0, []int{10} } + func (m *SubscriberLookup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubscriberLookup.Unmarshal(m, b) } func (m *SubscriberLookup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SubscriberLookup.Marshal(b, m, deterministic) } -func (dst *SubscriberLookup) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriberLookup.Merge(dst, src) +func (m *SubscriberLookup) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriberLookup.Merge(m, src) } func (m *SubscriberLookup) XXX_Size() int { return xxx_messageInfo_SubscriberLookup.Size(m) @@ -998,16 +1029,17 @@ func (m *GetAllSubscriberDataResponse) Reset() { *m = GetAllSubscriberDa func (m *GetAllSubscriberDataResponse) String() string { return proto.CompactTextString(m) } func (*GetAllSubscriberDataResponse) ProtoMessage() {} func (*GetAllSubscriberDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_subscriberdb_bc4c739da7923b2c, []int{11} + return fileDescriptor_d870e4203d378ec0, []int{11} } + func (m *GetAllSubscriberDataResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAllSubscriberDataResponse.Unmarshal(m, b) } func (m *GetAllSubscriberDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetAllSubscriberDataResponse.Marshal(b, m, deterministic) } -func (dst *GetAllSubscriberDataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAllSubscriberDataResponse.Merge(dst, src) +func (m *GetAllSubscriberDataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAllSubscriberDataResponse.Merge(m, src) } func (m *GetAllSubscriberDataResponse) XXX_Size() int { return xxx_messageInfo_GetAllSubscriberDataResponse.Size(m) @@ -1026,6 +1058,15 @@ func (m *GetAllSubscriberDataResponse) GetSubscribers() []*SubscriberData { } func init() { + proto.RegisterEnum("magma.lte.AccessNetworkIdentifier", AccessNetworkIdentifier_name, AccessNetworkIdentifier_value) + proto.RegisterEnum("magma.lte.SubscriberID_IDType", SubscriberID_IDType_name, SubscriberID_IDType_value) + proto.RegisterEnum("magma.lte.GSMSubscription_GSMSubscriptionState", GSMSubscription_GSMSubscriptionState_name, GSMSubscription_GSMSubscriptionState_value) + proto.RegisterEnum("magma.lte.GSMSubscription_GSMAuthAlgo", GSMSubscription_GSMAuthAlgo_name, GSMSubscription_GSMAuthAlgo_value) + proto.RegisterEnum("magma.lte.LTESubscription_LTESubscriptionState", LTESubscription_LTESubscriptionState_name, LTESubscription_LTESubscriptionState_value) + proto.RegisterEnum("magma.lte.LTESubscription_LTEAuthAlgo", LTESubscription_LTEAuthAlgo_name, LTESubscription_LTEAuthAlgo_value) + proto.RegisterEnum("magma.lte.APNConfiguration_PDNType", APNConfiguration_PDNType_name, APNConfiguration_PDNType_value) + proto.RegisterEnum("magma.lte.Non3GPPUserProfile_Non3GPPIPAccess", Non3GPPUserProfile_Non3GPPIPAccess_name, Non3GPPUserProfile_Non3GPPIPAccess_value) + proto.RegisterEnum("magma.lte.Non3GPPUserProfile_Non3GPPIPAccessAPN", Non3GPPUserProfile_Non3GPPIPAccessAPN_name, Non3GPPUserProfile_Non3GPPIPAccessAPN_value) proto.RegisterType((*SubscriberID)(nil), "magma.lte.SubscriberID") proto.RegisterType((*SubscriberIDSet)(nil), "magma.lte.SubscriberIDSet") proto.RegisterType((*GSMSubscription)(nil), "magma.lte.GSMSubscription") @@ -1039,15 +1080,109 @@ func init() { proto.RegisterType((*SubscriberUpdate)(nil), "magma.lte.SubscriberUpdate") proto.RegisterType((*SubscriberLookup)(nil), "magma.lte.SubscriberLookup") proto.RegisterType((*GetAllSubscriberDataResponse)(nil), "magma.lte.GetAllSubscriberDataResponse") - proto.RegisterEnum("magma.lte.AccessNetworkIdentifier", AccessNetworkIdentifier_name, AccessNetworkIdentifier_value) - proto.RegisterEnum("magma.lte.SubscriberID_IDType", SubscriberID_IDType_name, SubscriberID_IDType_value) - proto.RegisterEnum("magma.lte.GSMSubscription_GSMSubscriptionState", GSMSubscription_GSMSubscriptionState_name, GSMSubscription_GSMSubscriptionState_value) - proto.RegisterEnum("magma.lte.GSMSubscription_GSMAuthAlgo", GSMSubscription_GSMAuthAlgo_name, GSMSubscription_GSMAuthAlgo_value) - proto.RegisterEnum("magma.lte.LTESubscription_LTESubscriptionState", LTESubscription_LTESubscriptionState_name, LTESubscription_LTESubscriptionState_value) - proto.RegisterEnum("magma.lte.LTESubscription_LTEAuthAlgo", LTESubscription_LTEAuthAlgo_name, LTESubscription_LTEAuthAlgo_value) - proto.RegisterEnum("magma.lte.APNConfiguration_PDNType", APNConfiguration_PDNType_name, APNConfiguration_PDNType_value) - proto.RegisterEnum("magma.lte.Non3GPPUserProfile_Non3GPPIPAccess", Non3GPPUserProfile_Non3GPPIPAccess_name, Non3GPPUserProfile_Non3GPPIPAccess_value) - proto.RegisterEnum("magma.lte.Non3GPPUserProfile_Non3GPPIPAccessAPN", Non3GPPUserProfile_Non3GPPIPAccessAPN_name, Non3GPPUserProfile_Non3GPPIPAccessAPN_value) +} + +func init() { proto.RegisterFile("lte/protos/subscriberdb.proto", fileDescriptor_d870e4203d378ec0) } + +var fileDescriptor_d870e4203d378ec0 = []byte{ + // 1538 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x5d, 0x77, 0xda, 0xc8, + 0x19, 0xe6, 0xcb, 0x1f, 0xbc, 0xd8, 0x58, 0x9e, 0x3a, 0x36, 0xc6, 0x71, 0x43, 0x95, 0xd3, 0xd6, + 0x49, 0x1a, 0x9c, 0x83, 0x9b, 0x34, 0x6d, 0xce, 0x69, 0x2b, 0x0c, 0x71, 0x74, 0x0a, 0x32, 0x1d, + 0xb0, 0xd3, 0xa6, 0x17, 0x3a, 0x03, 0x1a, 0x13, 0x1d, 0x0b, 0x49, 0xd6, 0x0c, 0x89, 0xfd, 0x43, + 0xfa, 0x27, 0xf6, 0x0f, 0xec, 0xdd, 0xfe, 0x84, 0xbd, 0xdc, 0x9b, 0xbd, 0xdf, 0xbf, 0xb1, 0x7b, + 0x66, 0x90, 0x40, 0xc6, 0xc0, 0xc6, 0xbb, 0x57, 0x68, 0xde, 0x8f, 0x67, 0xde, 0xf7, 0x99, 0x67, + 0x3e, 0x80, 0x7d, 0x87, 0xd3, 0x43, 0x3f, 0xf0, 0xb8, 0xc7, 0x0e, 0xd9, 0xb0, 0xcb, 0x7a, 0x81, + 0xdd, 0xa5, 0x81, 0xd5, 0x2d, 0x4b, 0x1b, 0xca, 0x0e, 0x48, 0x7f, 0x40, 0xca, 0x0e, 0xa7, 0xc5, + 0x5d, 0x2f, 0xe8, 0xbd, 0x0e, 0xa2, 0xd8, 0x9e, 0x37, 0x18, 0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x26, 0x50, 0x15, 0x36, 0x1a, 0x36, 0x8b, 0x61, 0x31, + 0x74, 0x77, 0xca, 0x62, 0x71, 0x0e, 0x76, 0x9b, 0x72, 0x35, 0x51, 0xf9, 0x2e, 0x0d, 0xdb, 0x71, + 0xa2, 0x8f, 0x3d, 0x97, 0x07, 0x9e, 0xe3, 0xd0, 0xe0, 0xd7, 0x53, 0x5e, 0x9b, 0x41, 0xf9, 0x6c, + 0xc2, 0x46, 0xe2, 0x9f, 0x8d, 0x52, 0x9d, 0x41, 0xfb, 0x7d, 0x2b, 0x69, 0xce, 0x22, 0x7d, 0x61, + 0x29, 0x0b, 0x89, 0x3f, 0xb9, 0x4b, 0xfc, 0x9c, 0x3d, 0xba, 0x98, 0x7d, 0xf4, 0x5f, 0xd8, 0x9a, + 0xb5, 0x17, 0xe7, 0xa2, 0xfd, 0x31, 0x7e, 0x6e, 0x2f, 0xd8, 0xc4, 0x6a, 0xa2, 0xba, 0xf7, 0x61, + 0x57, 0xc6, 0x1e, 0x8a, 0xbf, 0xe1, 0x3d, 0xc7, 0x1b, 0x5a, 0x87, 0x7d, 0x2f, 0xfc, 0x8f, 0xdd, + 0x5d, 0x96, 0xbf, 0x47, 0x3f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x93, 0x03, 0x77, 0x50, 0xa4, 0x0f, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1159,6 +1294,26 @@ type SubscriberDBServer interface { ListSubscribers(context.Context, *protos.Void) (*SubscriberIDSet, error) } +// UnimplementedSubscriberDBServer can be embedded to have forward compatible implementations. +type UnimplementedSubscriberDBServer struct { +} + +func (*UnimplementedSubscriberDBServer) AddSubscriber(ctx context.Context, req *SubscriberData) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddSubscriber not implemented") +} +func (*UnimplementedSubscriberDBServer) DeleteSubscriber(ctx context.Context, req *SubscriberID) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscriber not implemented") +} +func (*UnimplementedSubscriberDBServer) UpdateSubscriber(ctx context.Context, req *SubscriberUpdate) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateSubscriber not implemented") +} +func (*UnimplementedSubscriberDBServer) GetSubscriberData(ctx context.Context, req *SubscriberID) (*SubscriberData, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSubscriberData not implemented") +} +func (*UnimplementedSubscriberDBServer) ListSubscribers(ctx context.Context, req *protos.Void) (*SubscriberIDSet, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListSubscribers not implemented") +} + func RegisterSubscriberDBServer(s *grpc.Server, srv SubscriberDBServer) { s.RegisterService(&_SubscriberDB_serviceDesc, srv) } @@ -1396,6 +1551,29 @@ type SubscriberDBControllerServer interface { GetAllSubscriberData(context.Context, *protos.NetworkID) (*GetAllSubscriberDataResponse, error) } +// UnimplementedSubscriberDBControllerServer can be embedded to have forward compatible implementations. +type UnimplementedSubscriberDBControllerServer struct { +} + +func (*UnimplementedSubscriberDBControllerServer) AddSubscriber(ctx context.Context, req *SubscriberData) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddSubscriber not implemented") +} +func (*UnimplementedSubscriberDBControllerServer) DeleteSubscriber(ctx context.Context, req *SubscriberLookup) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscriber not implemented") +} +func (*UnimplementedSubscriberDBControllerServer) UpdateSubscriber(ctx context.Context, req *SubscriberData) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateSubscriber not implemented") +} +func (*UnimplementedSubscriberDBControllerServer) GetSubscriberData(ctx context.Context, req *SubscriberLookup) (*SubscriberData, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSubscriberData not implemented") +} +func (*UnimplementedSubscriberDBControllerServer) ListSubscribers(ctx context.Context, req *protos.NetworkID) (*SubscriberIDSet, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListSubscribers not implemented") +} +func (*UnimplementedSubscriberDBControllerServer) GetAllSubscriberData(ctx context.Context, req *protos.NetworkID) (*GetAllSubscriberDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAllSubscriberData not implemented") +} + func RegisterSubscriberDBControllerServer(s *grpc.Server, srv SubscriberDBControllerServer) { s.RegisterService(&_SubscriberDBController_serviceDesc, srv) } @@ -1540,108 +1718,3 @@ var _SubscriberDBController_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "lte/protos/subscriberdb.proto", } - -func init() { - proto.RegisterFile("lte/protos/subscriberdb.proto", fileDescriptor_subscriberdb_bc4c739da7923b2c) -} - -var fileDescriptor_subscriberdb_bc4c739da7923b2c = []byte{ - // 1538 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x5d, 0x77, 0xda, 0xc8, - 0x19, 0xe6, 0xcb, 0x1f, 0xbc, 0xd8, 0x58, 0x9e, 0x3a, 0x36, 0xc6, 0x71, 0x43, 0x95, 0xd3, 0xd6, - 0x49, 0x1a, 0x9c, 0x83, 0x9b, 0x34, 0x6d, 0xce, 0x69, 0x2b, 0x0c, 0x71, 0x74, 0x0a, 0x32, 0x1d, - 0xb0, 0xd3, 0xa6, 0x17, 0x3a, 0x03, 0x1a, 0x13, 0x1d, 0x0b, 0x49, 0xd6, 0x0c, 0x89, 0xfd, 0x43, - 0xfa, 0x27, 0xf6, 0x0f, 0xec, 0xdd, 0xfe, 0x84, 0xbd, 0xdc, 0x9b, 0xbd, 0xdf, 0xbf, 0xb1, 0x7b, - 0x66, 0x90, 0x40, 0xc6, 0xc0, 0xc6, 0xbb, 0x57, 0x68, 0xde, 0x8f, 0x67, 0xde, 0xf7, 0x99, 0x67, - 0x3e, 0x80, 0x7d, 0x87, 0xd3, 0x43, 0x3f, 0xf0, 0xb8, 0xc7, 0x0e, 0xd9, 0xb0, 0xcb, 0x7a, 0x81, - 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, 0x23, 0xd4, 0x40, 0x19, - 0xe9, 0x22, 0x86, 0xb0, 0x37, 0x13, 0x61, 0x14, 0x36, 0x1b, 0x45, 0x87, 0xcd, 0x13, 0xca, 0xa7, - 0xf6, 0xf1, 0xdc, 0x42, 0xe6, 0x77, 0xa9, 0x26, 0x50, 0x15, 0x36, 0x1a, 0x36, 0x8b, 0x61, 0x31, - 0x74, 0x77, 0xca, 0x62, 0x71, 0x0e, 0x76, 0x9b, 0x72, 0x35, 0x51, 0xf9, 0x2e, 0x0d, 0xdb, 0x71, - 0xa2, 0x8f, 0x3d, 0x97, 0x07, 0x9e, 0xe3, 0xd0, 0xe0, 0xd7, 0x53, 0x5e, 0x9b, 0x41, 0xf9, 0x6c, - 0xc2, 0x46, 0xe2, 0x9f, 0x8d, 0x52, 0x9d, 0x41, 0xfb, 0x7d, 0x2b, 0x69, 0xce, 0x22, 0x7d, 0x61, - 0x29, 0x0b, 0x89, 0x3f, 0xb9, 0x4b, 0xfc, 0x9c, 0x3d, 0xba, 0x98, 0x7d, 0xf4, 0x5f, 0xd8, 0x9a, - 0xb5, 0x17, 0xe7, 0xa2, 0xfd, 0x31, 0x7e, 0x6e, 0x2f, 0xd8, 0xc4, 0x6a, 0xa2, 0xba, 0xf7, 0x61, - 0x57, 0xc6, 0x1e, 0x8a, 0xbf, 0xe1, 0x3d, 0xc7, 0x1b, 0x5a, 0x87, 0x7d, 0x2f, 0xfc, 0x8f, 0xdd, - 0x5d, 0x96, 0xbf, 0x47, 0x3f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x93, 0x03, 0x77, 0x50, 0xa4, 0x0f, - 0x00, 0x00, -} diff --git a/lte/cloud/go/services/cellular/protos/cellular_service.pb.go b/lte/cloud/go/services/cellular/protos/cellular_service.pb.go index f92081c5b204..0999853e00df 100644 --- a/lte/cloud/go/services/cellular/protos/cellular_service.pb.go +++ b/lte/cloud/go/services/cellular/protos/cellular_service.pb.go @@ -3,9 +3,11 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // (0)Turning off NonEPS service, (1)Both CSFB and SMS, (2)only SMS type GatewayNonEPSConfig_NonEPSServiceControl int32 @@ -32,6 +34,7 @@ var GatewayNonEPSConfig_NonEPSServiceControl_name = map[int32]string{ 1: "NON_EPS_SERVICE_CONTROL_CSFB_SMS", 2: "NON_EPS_SERVICE_CONTROL_SMS", } + var GatewayNonEPSConfig_NonEPSServiceControl_value = map[string]int32{ "NON_EPS_SERVICE_CONTROL_OFF": 0, "NON_EPS_SERVICE_CONTROL_CSFB_SMS": 1, @@ -41,8 +44,9 @@ var GatewayNonEPSConfig_NonEPSServiceControl_value = map[string]int32{ func (x GatewayNonEPSConfig_NonEPSServiceControl) String() string { return proto.EnumName(GatewayNonEPSConfig_NonEPSServiceControl_name, int32(x)) } + func (GatewayNonEPSConfig_NonEPSServiceControl) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{3, 0} + return fileDescriptor_7419489971880e58, []int{3, 0} } type GatewayNonEPSConfig_CSFBRat int32 @@ -56,6 +60,7 @@ var GatewayNonEPSConfig_CSFBRat_name = map[int32]string{ 0: "CSFBRAT_2G", 1: "CSFBRAT_3G", } + var GatewayNonEPSConfig_CSFBRat_value = map[string]int32{ "CSFBRAT_2G": 0, "CSFBRAT_3G": 1, @@ -64,8 +69,9 @@ var GatewayNonEPSConfig_CSFBRat_value = map[string]int32{ func (x GatewayNonEPSConfig_CSFBRat) String() string { return proto.EnumName(GatewayNonEPSConfig_CSFBRat_name, int32(x)) } + func (GatewayNonEPSConfig_CSFBRat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{3, 1} + return fileDescriptor_7419489971880e58, []int{3, 1} } type NetworkEPCConfig_NetworkServices int32 @@ -81,6 +87,7 @@ var NetworkEPCConfig_NetworkServices_name = map[int32]string{ 1: "DPI", 2: "ENFORCEMENT", } + var NetworkEPCConfig_NetworkServices_value = map[string]int32{ "METERING": 0, "DPI": 1, @@ -90,8 +97,9 @@ var NetworkEPCConfig_NetworkServices_value = map[string]int32{ func (x NetworkEPCConfig_NetworkServices) String() string { return proto.EnumName(NetworkEPCConfig_NetworkServices_name, int32(x)) } + func (NetworkEPCConfig_NetworkServices) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{6, 0} + return fileDescriptor_7419489971880e58, []int{6, 0} } type CellularGatewayConfig struct { @@ -108,16 +116,17 @@ func (m *CellularGatewayConfig) Reset() { *m = CellularGatewayConfig{} } func (m *CellularGatewayConfig) String() string { return proto.CompactTextString(m) } func (*CellularGatewayConfig) ProtoMessage() {} func (*CellularGatewayConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{0} + return fileDescriptor_7419489971880e58, []int{0} } + func (m *CellularGatewayConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CellularGatewayConfig.Unmarshal(m, b) } func (m *CellularGatewayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CellularGatewayConfig.Marshal(b, m, deterministic) } -func (dst *CellularGatewayConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CellularGatewayConfig.Merge(dst, src) +func (m *CellularGatewayConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CellularGatewayConfig.Merge(m, src) } func (m *CellularGatewayConfig) XXX_Size() int { return xxx_messageInfo_CellularGatewayConfig.Size(m) @@ -170,16 +179,17 @@ func (m *GatewayRANConfig) Reset() { *m = GatewayRANConfig{} } func (m *GatewayRANConfig) String() string { return proto.CompactTextString(m) } func (*GatewayRANConfig) ProtoMessage() {} func (*GatewayRANConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{1} + return fileDescriptor_7419489971880e58, []int{1} } + func (m *GatewayRANConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GatewayRANConfig.Unmarshal(m, b) } func (m *GatewayRANConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GatewayRANConfig.Marshal(b, m, deterministic) } -func (dst *GatewayRANConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayRANConfig.Merge(dst, src) +func (m *GatewayRANConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayRANConfig.Merge(m, src) } func (m *GatewayRANConfig) XXX_Size() int { return xxx_messageInfo_GatewayRANConfig.Size(m) @@ -221,16 +231,17 @@ func (m *GatewayEPCConfig) Reset() { *m = GatewayEPCConfig{} } func (m *GatewayEPCConfig) String() string { return proto.CompactTextString(m) } func (*GatewayEPCConfig) ProtoMessage() {} func (*GatewayEPCConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{2} + return fileDescriptor_7419489971880e58, []int{2} } + func (m *GatewayEPCConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GatewayEPCConfig.Unmarshal(m, b) } func (m *GatewayEPCConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GatewayEPCConfig.Marshal(b, m, deterministic) } -func (dst *GatewayEPCConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayEPCConfig.Merge(dst, src) +func (m *GatewayEPCConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayEPCConfig.Merge(m, src) } func (m *GatewayEPCConfig) XXX_Size() int { return xxx_messageInfo_GatewayEPCConfig.Size(m) @@ -277,16 +288,17 @@ func (m *GatewayNonEPSConfig) Reset() { *m = GatewayNonEPSConfig{} } func (m *GatewayNonEPSConfig) String() string { return proto.CompactTextString(m) } func (*GatewayNonEPSConfig) ProtoMessage() {} func (*GatewayNonEPSConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{3} + return fileDescriptor_7419489971880e58, []int{3} } + func (m *GatewayNonEPSConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GatewayNonEPSConfig.Unmarshal(m, b) } func (m *GatewayNonEPSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GatewayNonEPSConfig.Marshal(b, m, deterministic) } -func (dst *GatewayNonEPSConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayNonEPSConfig.Merge(dst, src) +func (m *GatewayNonEPSConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayNonEPSConfig.Merge(m, src) } func (m *GatewayNonEPSConfig) XXX_Size() int { return xxx_messageInfo_GatewayNonEPSConfig.Size(m) @@ -352,16 +364,17 @@ func (m *CellularNetworkConfig) Reset() { *m = CellularNetworkConfig{} } func (m *CellularNetworkConfig) String() string { return proto.CompactTextString(m) } func (*CellularNetworkConfig) ProtoMessage() {} func (*CellularNetworkConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{4} + return fileDescriptor_7419489971880e58, []int{4} } + func (m *CellularNetworkConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CellularNetworkConfig.Unmarshal(m, b) } func (m *CellularNetworkConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CellularNetworkConfig.Marshal(b, m, deterministic) } -func (dst *CellularNetworkConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CellularNetworkConfig.Merge(dst, src) +func (m *CellularNetworkConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CellularNetworkConfig.Merge(m, src) } func (m *CellularNetworkConfig) XXX_Size() int { return xxx_messageInfo_CellularNetworkConfig.Size(m) @@ -410,16 +423,17 @@ func (m *NetworkRANConfig) Reset() { *m = NetworkRANConfig{} } func (m *NetworkRANConfig) String() string { return proto.CompactTextString(m) } func (*NetworkRANConfig) ProtoMessage() {} func (*NetworkRANConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{5} + return fileDescriptor_7419489971880e58, []int{5} } + func (m *NetworkRANConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkRANConfig.Unmarshal(m, b) } func (m *NetworkRANConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkRANConfig.Marshal(b, m, deterministic) } -func (dst *NetworkRANConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkRANConfig.Merge(dst, src) +func (m *NetworkRANConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkRANConfig.Merge(m, src) } func (m *NetworkRANConfig) XXX_Size() int { return xxx_messageInfo_NetworkRANConfig.Size(m) @@ -484,16 +498,17 @@ func (m *NetworkRANConfig_FDDConfig) Reset() { *m = NetworkRANConfig_FDD func (m *NetworkRANConfig_FDDConfig) String() string { return proto.CompactTextString(m) } func (*NetworkRANConfig_FDDConfig) ProtoMessage() {} func (*NetworkRANConfig_FDDConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{5, 0} + return fileDescriptor_7419489971880e58, []int{5, 0} } + func (m *NetworkRANConfig_FDDConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkRANConfig_FDDConfig.Unmarshal(m, b) } func (m *NetworkRANConfig_FDDConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkRANConfig_FDDConfig.Marshal(b, m, deterministic) } -func (dst *NetworkRANConfig_FDDConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkRANConfig_FDDConfig.Merge(dst, src) +func (m *NetworkRANConfig_FDDConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkRANConfig_FDDConfig.Merge(m, src) } func (m *NetworkRANConfig_FDDConfig) XXX_Size() int { return xxx_messageInfo_NetworkRANConfig_FDDConfig.Size(m) @@ -533,16 +548,17 @@ func (m *NetworkRANConfig_TDDConfig) Reset() { *m = NetworkRANConfig_TDD func (m *NetworkRANConfig_TDDConfig) String() string { return proto.CompactTextString(m) } func (*NetworkRANConfig_TDDConfig) ProtoMessage() {} func (*NetworkRANConfig_TDDConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{5, 1} + return fileDescriptor_7419489971880e58, []int{5, 1} } + func (m *NetworkRANConfig_TDDConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkRANConfig_TDDConfig.Unmarshal(m, b) } func (m *NetworkRANConfig_TDDConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkRANConfig_TDDConfig.Marshal(b, m, deterministic) } -func (dst *NetworkRANConfig_TDDConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkRANConfig_TDDConfig.Merge(dst, src) +func (m *NetworkRANConfig_TDDConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkRANConfig_TDDConfig.Merge(m, src) } func (m *NetworkRANConfig_TDDConfig) XXX_Size() int { return xxx_messageInfo_NetworkRANConfig_TDDConfig.Size(m) @@ -605,16 +621,17 @@ func (m *NetworkEPCConfig) Reset() { *m = NetworkEPCConfig{} } func (m *NetworkEPCConfig) String() string { return proto.CompactTextString(m) } func (*NetworkEPCConfig) ProtoMessage() {} func (*NetworkEPCConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{6} + return fileDescriptor_7419489971880e58, []int{6} } + func (m *NetworkEPCConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkEPCConfig.Unmarshal(m, b) } func (m *NetworkEPCConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkEPCConfig.Marshal(b, m, deterministic) } -func (dst *NetworkEPCConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkEPCConfig.Merge(dst, src) +func (m *NetworkEPCConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkEPCConfig.Merge(m, src) } func (m *NetworkEPCConfig) XXX_Size() int { return xxx_messageInfo_NetworkEPCConfig.Size(m) @@ -709,16 +726,17 @@ func (m *NetworkEPCConfig_SubscriptionProfile) Reset() { *m = NetworkEPC func (m *NetworkEPCConfig_SubscriptionProfile) String() string { return proto.CompactTextString(m) } func (*NetworkEPCConfig_SubscriptionProfile) ProtoMessage() {} func (*NetworkEPCConfig_SubscriptionProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{6, 0} + return fileDescriptor_7419489971880e58, []int{6, 0} } + func (m *NetworkEPCConfig_SubscriptionProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkEPCConfig_SubscriptionProfile.Unmarshal(m, b) } func (m *NetworkEPCConfig_SubscriptionProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkEPCConfig_SubscriptionProfile.Marshal(b, m, deterministic) } -func (dst *NetworkEPCConfig_SubscriptionProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkEPCConfig_SubscriptionProfile.Merge(dst, src) +func (m *NetworkEPCConfig_SubscriptionProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkEPCConfig_SubscriptionProfile.Merge(m, src) } func (m *NetworkEPCConfig_SubscriptionProfile) XXX_Size() int { return xxx_messageInfo_NetworkEPCConfig_SubscriptionProfile.Size(m) @@ -771,16 +789,17 @@ func (m *CellularEnodebConfig) Reset() { *m = CellularEnodebConfig{} } func (m *CellularEnodebConfig) String() string { return proto.CompactTextString(m) } func (*CellularEnodebConfig) ProtoMessage() {} func (*CellularEnodebConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cellular_service_02a87d98bffe9c9e, []int{7} + return fileDescriptor_7419489971880e58, []int{7} } + func (m *CellularEnodebConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CellularEnodebConfig.Unmarshal(m, b) } func (m *CellularEnodebConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CellularEnodebConfig.Marshal(b, m, deterministic) } -func (dst *CellularEnodebConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CellularEnodebConfig.Merge(dst, src) +func (m *CellularEnodebConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CellularEnodebConfig.Merge(m, src) } func (m *CellularEnodebConfig) XXX_Size() int { return xxx_messageInfo_CellularEnodebConfig.Size(m) @@ -855,6 +874,9 @@ func (m *CellularEnodebConfig) GetTac() int32 { } func init() { + proto.RegisterEnum("magma.cellular.GatewayNonEPSConfig_NonEPSServiceControl", GatewayNonEPSConfig_NonEPSServiceControl_name, GatewayNonEPSConfig_NonEPSServiceControl_value) + proto.RegisterEnum("magma.cellular.GatewayNonEPSConfig_CSFBRat", GatewayNonEPSConfig_CSFBRat_name, GatewayNonEPSConfig_CSFBRat_value) + proto.RegisterEnum("magma.cellular.NetworkEPCConfig_NetworkServices", NetworkEPCConfig_NetworkServices_name, NetworkEPCConfig_NetworkServices_value) proto.RegisterType((*CellularGatewayConfig)(nil), "magma.cellular.CellularGatewayConfig") proto.RegisterType((*GatewayRANConfig)(nil), "magma.cellular.GatewayRANConfig") proto.RegisterType((*GatewayEPCConfig)(nil), "magma.cellular.GatewayEPCConfig") @@ -867,16 +889,11 @@ func init() { proto.RegisterMapType((map[string]*NetworkEPCConfig_SubscriptionProfile)(nil), "magma.cellular.NetworkEPCConfig.SubProfilesEntry") proto.RegisterType((*NetworkEPCConfig_SubscriptionProfile)(nil), "magma.cellular.NetworkEPCConfig.SubscriptionProfile") proto.RegisterType((*CellularEnodebConfig)(nil), "magma.cellular.CellularEnodebConfig") - proto.RegisterEnum("magma.cellular.GatewayNonEPSConfig_NonEPSServiceControl", GatewayNonEPSConfig_NonEPSServiceControl_name, GatewayNonEPSConfig_NonEPSServiceControl_value) - proto.RegisterEnum("magma.cellular.GatewayNonEPSConfig_CSFBRat", GatewayNonEPSConfig_CSFBRat_name, GatewayNonEPSConfig_CSFBRat_value) - proto.RegisterEnum("magma.cellular.NetworkEPCConfig_NetworkServices", NetworkEPCConfig_NetworkServices_name, NetworkEPCConfig_NetworkServices_value) } -func init() { - proto.RegisterFile("cellular_service.proto", fileDescriptor_cellular_service_02a87d98bffe9c9e) -} +func init() { proto.RegisterFile("cellular_service.proto", fileDescriptor_7419489971880e58) } -var fileDescriptor_cellular_service_02a87d98bffe9c9e = []byte{ +var fileDescriptor_7419489971880e58 = []byte{ // 1107 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcd, 0x8e, 0xe3, 0xc4, 0x13, 0xdf, 0x24, 0x93, 0x49, 0x52, 0xc9, 0x4e, 0xac, 0xde, 0x2f, 0xff, 0xf3, 0x97, 0xd8, 0x90, diff --git a/orc8r/cloud/go/go.mod b/orc8r/cloud/go/go.mod index 915864f4826a..a9682e12d2c1 100644 --- a/orc8r/cloud/go/go.mod +++ b/orc8r/cloud/go/go.mod @@ -26,7 +26,7 @@ require ( github.com/go-swagger/scan-repo-boundary v0.0.0-20180623220736-973b3573c013 // indirect github.com/godbus/dbus v0.0.0-20181101234600-2ff6f7ffd60f // indirect github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.2.0 + github.com/golang/protobuf v1.3.2 github.com/google/uuid v1.1.0 github.com/gorilla/handlers v1.4.0 // indirect github.com/hpcloud/tail v1.0.0 @@ -41,7 +41,7 @@ require ( github.com/pkg/errors v0.8.1 github.com/prometheus/alertmanager v0.17.0 github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829 - github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f + github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 github.com/prometheus/common v0.2.0 github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1 github.com/prometheus/prometheus v0.0.0-20190115164134-b639fe140c1f @@ -51,12 +51,13 @@ require ( github.com/thoas/go-funk v0.4.0 github.com/toqueteos/webbrowser v1.1.0 // indirect github.com/vektra/mockery v0.0.0-20181123154057-e78b021dcbb5 - golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f + golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 golang.org/x/net v0.0.0-20190311183353-d8887717615a - golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 - google.golang.org/grpc v1.19.0 + golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 + google.golang.org/grpc v1.25.0 gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 gopkg.in/yaml.v2 v2.2.2 + honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc // indirect ) go 1.13 diff --git a/orc8r/cloud/go/go.sum b/orc8r/cloud/go/go.sum index 2ae7cc9fb34e..eb2b55374301 100644 --- a/orc8r/cloud/go/go.sum +++ b/orc8r/cloud/go/go.sum @@ -35,6 +35,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/biogo/store v0.0.0-20160505134755-913427a1d5e8/go.mod h1:Iev9Q3MErcn+w3UOJD/DkEzllvugfdx7bGcMOFhvr/4= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -64,6 +65,8 @@ github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1 github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= @@ -144,6 +147,8 @@ github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -300,6 +305,8 @@ github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f h1:BVwpUVJDADN2ufcGik7W992pyps0wZ888b/y9GXcLTU= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -380,6 +387,8 @@ golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f h1:hX65Cu3JDlGH3uEdK7I99Ii+9kjD6mvnnpfLdEAH0x4= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -402,6 +411,8 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FY golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -429,8 +440,11 @@ golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190118193359-16909d206f00 h1:6OmoTtlNJlHuWNIjTEyUtMBHrryp8NRuf/XtnC7MmXM= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 h1:H3uGjxCR/6Ds0Mjgyp7LMK81+LvmbvWWEnJhzk1Pi9E= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 h1:5Beo0mZN8dRzgrMMkDp0jc8YXQKx9DiJ2k1dkvGsn5A= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/api v0.0.0-20180506000402-20530fd5d65a/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -443,11 +457,16 @@ google.golang.org/genproto v0.0.0-20170531203552-aa2eb687b4d3/go.mod h1:JiN7NxoA google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqnGaSjo+CCdIieEnwVazbOXILwQemk= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0 h1:ItERT+UbGdX+s4u+nQNlVM/Q7cbmf7icKfvzbWqVtq0= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= @@ -468,6 +487,7 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= diff --git a/orc8r/cloud/go/protos/bootstrapper.pb.go b/orc8r/cloud/go/protos/bootstrapper.pb.go index c0c893fdb2ff..e5cd0e24d9fd 100644 --- a/orc8r/cloud/go/protos/bootstrapper.pb.go +++ b/orc8r/cloud/go/protos/bootstrapper.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/bootstrapper.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ChallengeKey_KeyType int32 @@ -36,6 +37,7 @@ var ChallengeKey_KeyType_name = map[int32]string{ 1: "SOFTWARE_RSA_SHA256", 2: "SOFTWARE_ECDSA_SHA256", } + var ChallengeKey_KeyType_value = map[string]int32{ "ECHO": 0, "SOFTWARE_RSA_SHA256": 1, @@ -45,8 +47,9 @@ var ChallengeKey_KeyType_value = map[string]int32{ func (x ChallengeKey_KeyType) String() string { return proto.EnumName(ChallengeKey_KeyType_name, int32(x)) } + func (ChallengeKey_KeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bootstrapper_6370f262c5f2dbf0, []int{1, 0} + return fileDescriptor_b592b3c4e9ae6813, []int{1, 0} } type Challenge struct { @@ -61,16 +64,17 @@ func (m *Challenge) Reset() { *m = Challenge{} } func (m *Challenge) String() string { return proto.CompactTextString(m) } func (*Challenge) ProtoMessage() {} func (*Challenge) Descriptor() ([]byte, []int) { - return fileDescriptor_bootstrapper_6370f262c5f2dbf0, []int{0} + return fileDescriptor_b592b3c4e9ae6813, []int{0} } + func (m *Challenge) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Challenge.Unmarshal(m, b) } func (m *Challenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Challenge.Marshal(b, m, deterministic) } -func (dst *Challenge) XXX_Merge(src proto.Message) { - xxx_messageInfo_Challenge.Merge(dst, src) +func (m *Challenge) XXX_Merge(src proto.Message) { + xxx_messageInfo_Challenge.Merge(m, src) } func (m *Challenge) XXX_Size() int { return xxx_messageInfo_Challenge.Size(m) @@ -111,16 +115,17 @@ func (m *ChallengeKey) Reset() { *m = ChallengeKey{} } func (m *ChallengeKey) String() string { return proto.CompactTextString(m) } func (*ChallengeKey) ProtoMessage() {} func (*ChallengeKey) Descriptor() ([]byte, []int) { - return fileDescriptor_bootstrapper_6370f262c5f2dbf0, []int{1} + return fileDescriptor_b592b3c4e9ae6813, []int{1} } + func (m *ChallengeKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChallengeKey.Unmarshal(m, b) } func (m *ChallengeKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChallengeKey.Marshal(b, m, deterministic) } -func (dst *ChallengeKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChallengeKey.Merge(dst, src) +func (m *ChallengeKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChallengeKey.Merge(m, src) } func (m *ChallengeKey) XXX_Size() int { return xxx_messageInfo_ChallengeKey.Size(m) @@ -163,16 +168,17 @@ func (m *Response) Reset() { *m = Response{} } func (m *Response) String() string { return proto.CompactTextString(m) } func (*Response) ProtoMessage() {} func (*Response) Descriptor() ([]byte, []int) { - return fileDescriptor_bootstrapper_6370f262c5f2dbf0, []int{2} + return fileDescriptor_b592b3c4e9ae6813, []int{2} } + func (m *Response) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Response.Unmarshal(m, b) } func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Response.Marshal(b, m, deterministic) } -func (dst *Response) XXX_Merge(src proto.Message) { - xxx_messageInfo_Response.Merge(dst, src) +func (m *Response) XXX_Merge(src proto.Message) { + xxx_messageInfo_Response.Merge(m, src) } func (m *Response) XXX_Size() int { return xxx_messageInfo_Response.Size(m) @@ -254,99 +260,15 @@ func (m *Response) GetCsr() *CSR { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Response_OneofMarshaler, _Response_OneofUnmarshaler, _Response_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Response) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*Response_EchoResponse)(nil), (*Response_RsaResponse)(nil), (*Response_EcdsaResponse)(nil), } } -func _Response_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Response) - // response - switch x := m.Response.(type) { - case *Response_EchoResponse: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.EchoResponse); err != nil { - return err - } - case *Response_RsaResponse: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RsaResponse); err != nil { - return err - } - case *Response_EcdsaResponse: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.EcdsaResponse); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Response.Response has unexpected type %T", x) - } - return nil -} - -func _Response_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Response) - switch tag { - case 3: // response.echo_response - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Response_Echo) - err := b.DecodeMessage(msg) - m.Response = &Response_EchoResponse{msg} - return true, err - case 4: // response.rsa_response - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Response_RSA) - err := b.DecodeMessage(msg) - m.Response = &Response_RsaResponse{msg} - return true, err - case 5: // response.ecdsa_response - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Response_ECDSA) - err := b.DecodeMessage(msg) - m.Response = &Response_EcdsaResponse{msg} - return true, err - default: - return false, nil - } -} - -func _Response_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Response) - // response - switch x := m.Response.(type) { - case *Response_EchoResponse: - s := proto.Size(x.EchoResponse) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Response_RsaResponse: - s := proto.Size(x.RsaResponse) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Response_EcdsaResponse: - s := proto.Size(x.EcdsaResponse) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type Response_Echo struct { Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -358,16 +280,17 @@ func (m *Response_Echo) Reset() { *m = Response_Echo{} } func (m *Response_Echo) String() string { return proto.CompactTextString(m) } func (*Response_Echo) ProtoMessage() {} func (*Response_Echo) Descriptor() ([]byte, []int) { - return fileDescriptor_bootstrapper_6370f262c5f2dbf0, []int{2, 0} + return fileDescriptor_b592b3c4e9ae6813, []int{2, 0} } + func (m *Response_Echo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Response_Echo.Unmarshal(m, b) } func (m *Response_Echo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Response_Echo.Marshal(b, m, deterministic) } -func (dst *Response_Echo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Response_Echo.Merge(dst, src) +func (m *Response_Echo) XXX_Merge(src proto.Message) { + xxx_messageInfo_Response_Echo.Merge(m, src) } func (m *Response_Echo) XXX_Size() int { return xxx_messageInfo_Response_Echo.Size(m) @@ -396,16 +319,17 @@ func (m *Response_RSA) Reset() { *m = Response_RSA{} } func (m *Response_RSA) String() string { return proto.CompactTextString(m) } func (*Response_RSA) ProtoMessage() {} func (*Response_RSA) Descriptor() ([]byte, []int) { - return fileDescriptor_bootstrapper_6370f262c5f2dbf0, []int{2, 1} + return fileDescriptor_b592b3c4e9ae6813, []int{2, 1} } + func (m *Response_RSA) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Response_RSA.Unmarshal(m, b) } func (m *Response_RSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Response_RSA.Marshal(b, m, deterministic) } -func (dst *Response_RSA) XXX_Merge(src proto.Message) { - xxx_messageInfo_Response_RSA.Merge(dst, src) +func (m *Response_RSA) XXX_Merge(src proto.Message) { + xxx_messageInfo_Response_RSA.Merge(m, src) } func (m *Response_RSA) XXX_Size() int { return xxx_messageInfo_Response_RSA.Size(m) @@ -435,16 +359,17 @@ func (m *Response_ECDSA) Reset() { *m = Response_ECDSA{} } func (m *Response_ECDSA) String() string { return proto.CompactTextString(m) } func (*Response_ECDSA) ProtoMessage() {} func (*Response_ECDSA) Descriptor() ([]byte, []int) { - return fileDescriptor_bootstrapper_6370f262c5f2dbf0, []int{2, 2} + return fileDescriptor_b592b3c4e9ae6813, []int{2, 2} } + func (m *Response_ECDSA) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Response_ECDSA.Unmarshal(m, b) } func (m *Response_ECDSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Response_ECDSA.Marshal(b, m, deterministic) } -func (dst *Response_ECDSA) XXX_Merge(src proto.Message) { - xxx_messageInfo_Response_ECDSA.Merge(dst, src) +func (m *Response_ECDSA) XXX_Merge(src proto.Message) { + xxx_messageInfo_Response_ECDSA.Merge(m, src) } func (m *Response_ECDSA) XXX_Size() int { return xxx_messageInfo_Response_ECDSA.Size(m) @@ -470,13 +395,51 @@ func (m *Response_ECDSA) GetS() []byte { } func init() { + proto.RegisterEnum("magma.orc8r.ChallengeKey_KeyType", ChallengeKey_KeyType_name, ChallengeKey_KeyType_value) proto.RegisterType((*Challenge)(nil), "magma.orc8r.Challenge") proto.RegisterType((*ChallengeKey)(nil), "magma.orc8r.ChallengeKey") proto.RegisterType((*Response)(nil), "magma.orc8r.Response") proto.RegisterType((*Response_Echo)(nil), "magma.orc8r.Response.Echo") proto.RegisterType((*Response_RSA)(nil), "magma.orc8r.Response.RSA") proto.RegisterType((*Response_ECDSA)(nil), "magma.orc8r.Response.ECDSA") - proto.RegisterEnum("magma.orc8r.ChallengeKey_KeyType", ChallengeKey_KeyType_name, ChallengeKey_KeyType_value) +} + +func init() { proto.RegisterFile("orc8r/protos/bootstrapper.proto", fileDescriptor_b592b3c4e9ae6813) } + +var fileDescriptor_b592b3c4e9ae6813 = []byte{ + // 509 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0x5d, 0x6f, 0xda, 0x30, + 0x14, 0x4d, 0x0a, 0x6d, 0xe9, 0x25, 0xad, 0x90, 0xa7, 0x6e, 0x34, 0x30, 0xad, 0x4b, 0x5f, 0xfa, + 0x14, 0x34, 0xa6, 0x4d, 0x7b, 0x98, 0xa6, 0x85, 0x8f, 0x42, 0xd5, 0x87, 0x4a, 0x4e, 0xa5, 0x49, + 0x7b, 0x41, 0xa9, 0xb9, 0x0b, 0x11, 0x14,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xc4, 0xa6, 0xec, 0x41, 0xe1, 0xd2, 0xfd, 0x65, 0x82, 0xd5, 0xdb, 0x19, 0x1b, + 0x72, 0x03, 0xd6, 0x08, 0x55, 0xf1, 0xd6, 0x9f, 0xbd, 0x49, 0xfb, 0xe5, 0xfe, 0xa7, 0xe8, 0x18, + 0xe4, 0x2b, 0xd4, 0x29, 0xfe, 0x5c, 0xa1, 0x54, 0x7e, 0x14, 0x2e, 0xc9, 0xf9, 0xde, 0xcc, 0xec, + 0x66, 0xb9, 0x7e, 0x33, 0x91, 0x2c, 0x50, 0xe8, 0x18, 0xbd, 0xd7, 0xdf, 0x5b, 0x1a, 0xec, 0x6c, + 0xe6, 0x92, 0x2d, 0xf8, 0x6a, 0xda, 0x09, 0x79, 0x36, 0xa0, 0x8f, 0x47, 0xfa, 0xfb, 0xfe, 0x6f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0xaa, 0x0d, 0x91, 0x03, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -533,6 +496,17 @@ type BootstrapperServer interface { RequestSign(context.Context, *Response) (*Certificate, error) } +// UnimplementedBootstrapperServer can be embedded to have forward compatible implementations. +type UnimplementedBootstrapperServer struct { +} + +func (*UnimplementedBootstrapperServer) GetChallenge(ctx context.Context, req *AccessGatewayID) (*Challenge, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetChallenge not implemented") +} +func (*UnimplementedBootstrapperServer) RequestSign(ctx context.Context, req *Response) (*Certificate, error) { + return nil, status.Errorf(codes.Unimplemented, "method RequestSign not implemented") +} + func RegisterBootstrapperServer(s *grpc.Server, srv BootstrapperServer) { s.RegisterService(&_Bootstrapper_serviceDesc, srv) } @@ -589,43 +563,3 @@ var _Bootstrapper_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "orc8r/protos/bootstrapper.proto", } - -func init() { - proto.RegisterFile("orc8r/protos/bootstrapper.proto", fileDescriptor_bootstrapper_6370f262c5f2dbf0) -} - -var fileDescriptor_bootstrapper_6370f262c5f2dbf0 = []byte{ - // 509 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0x5d, 0x6f, 0xda, 0x30, - 0x14, 0x4d, 0x0a, 0x6d, 0xe9, 0x25, 0xad, 0x90, 0xa7, 0x6e, 0x34, 0x30, 0xad, 0x4b, 0x5f, 0xfa, - 0x14, 0x34, 0xa6, 0x4d, 0x7b, 0x98, 0xa6, 0x85, 0x8f, 0x42, 0xd5, 0x87, 0x4a, 0x4e, 0xa5, 0x49, - 0x7b, 0x41, 0xa9, 0xb9, 0x0b, 0x11, 0x14, 0x67, 0xb6, 0x11, 0xca, 0x3f, 0xd9, 0x3f, 0xd8, 0xff, - 0xd8, 0x2f, 0x9b, 0x62, 0x42, 0x42, 0x24, 0xd6, 0x97, 0x3d, 0xc5, 0xf6, 0x39, 0xf7, 0x9c, 0x9b, - 0x63, 0x5f, 0x78, 0xc3, 0x05, 0xfb, 0x24, 0x3a, 0xb1, 0xe0, 0x8a, 0xcb, 0xce, 0x23, 0xe7, 0x4a, - 0x2a, 0x11, 0xc4, 0x31, 0x0a, 0x57, 0x9f, 0x91, 0xfa, 0x53, 0x10, 0x3e, 0x05, 0xae, 0xa6, 0xd9, - 0xed, 0x12, 0x9b, 0xa1, 0x50, 0xd1, 0x8f, 0x68, 0x4b, 0xb5, 0x5b, 0x25, 0x34, 0x9a, 0xe2, 0x52, - 0x45, 0x2a, 0xd9, 0x80, 0x4e, 0x08, 0x27, 0xfd, 0x59, 0xb0, 0x58, 0xe0, 0x32, 0x44, 0xf2, 0x19, - 0x6a, 0x73, 0x4c, 0x26, 0x2a, 0x89, 0xb1, 0x69, 0x5e, 0x9a, 0xd7, 0x67, 0xdd, 0xb7, 0xee, 0x8e, - 0x8f, 0x9b, 0x33, 0xef, 0x30, 0x71, 0xef, 0x30, 0x79, 0x48, 0x62, 0xa4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0xc6, 0x06, 0x3d, 0xd5, 0x45, 0xb9, 0x8a, 0x03, 0x15, 0x26, 0x45, 0xf3, 0x48, 0x97, 0x36, - 0xca, 0x57, 0xe7, 0x53, 0x9a, 0x82, 0xb6, 0x03, 0xd5, 0xf4, 0x0f, 0x88, 0x0d, 0xb5, 0xdc, 0xcb, - 0xd4, 0x89, 0xe4, 0x7b, 0xfb, 0x0a, 0x2a, 0xd4, 0xf7, 0xd2, 0xd4, 0x64, 0x14, 0x2e, 0x03, 0xb5, - 0x12, 0x5b, 0x4e, 0x71, 0x60, 0x5f, 0xc1, 0xa1, 0x6e, 0x83, 0x58, 0x60, 0x8a, 0x0c, 0x36, 0x45, - 0xba, 0x93, 0x59, 0xc4, 0xa6, 0xec, 0x41, 0xe1, 0xd2, 0xfd, 0x65, 0x82, 0xd5, 0xdb, 0x19, 0x1b, - 0x72, 0x03, 0xd6, 0x08, 0x55, 0xf1, 0xd6, 0x9f, 0xbd, 0x49, 0xfb, 0xe5, 0xfe, 0xa7, 0xe8, 0x18, - 0xe4, 0x2b, 0xd4, 0x29, 0xfe, 0x5c, 0xa1, 0x54, 0x7e, 0x14, 0x2e, 0xc9, 0xf9, 0xde, 0xcc, 0xec, - 0x66, 0xb9, 0x7e, 0x33, 0x91, 0x2c, 0x50, 0xe8, 0x18, 0xbd, 0xd7, 0xdf, 0x5b, 0x1a, 0xec, 0x6c, - 0xe6, 0x92, 0x2d, 0xf8, 0x6a, 0xda, 0x09, 0x79, 0x36, 0xa0, 0x8f, 0x47, 0xfa, 0xfb, 0xfe, 0x6f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0xaa, 0x0d, 0x91, 0x03, 0x04, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/protos/certifier.pb.go b/orc8r/cloud/go/protos/certifier.pb.go index 40cd8057c933..0e814c5b0649 100644 --- a/orc8r/cloud/go/protos/certifier.pb.go +++ b/orc8r/cloud/go/protos/certifier.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/certifier.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +package protos + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CertType int32 @@ -31,6 +33,7 @@ var CertType_name = map[int32]string{ 0: "DEFAULT", 1: "VPN", } + var CertType_value = map[string]int32{ "DEFAULT": 0, "VPN": 1, @@ -39,8 +42,9 @@ var CertType_value = map[string]int32{ func (x CertType) String() string { return proto.EnumName(CertType_name, int32(x)) } + func (CertType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_certifier_843fba4d086aefbc, []int{0} + return fileDescriptor_309897dc79f61bc0, []int{0} } type CSR struct { @@ -57,16 +61,17 @@ func (m *CSR) Reset() { *m = CSR{} } func (m *CSR) String() string { return proto.CompactTextString(m) } func (*CSR) ProtoMessage() {} func (*CSR) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_843fba4d086aefbc, []int{0} + return fileDescriptor_309897dc79f61bc0, []int{0} } + func (m *CSR) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CSR.Unmarshal(m, b) } func (m *CSR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CSR.Marshal(b, m, deterministic) } -func (dst *CSR) XXX_Merge(src proto.Message) { - xxx_messageInfo_CSR.Merge(dst, src) +func (m *CSR) XXX_Merge(src proto.Message) { + xxx_messageInfo_CSR.Merge(m, src) } func (m *CSR) XXX_Size() int { return xxx_messageInfo_CSR.Size(m) @@ -119,16 +124,17 @@ func (m *Certificate) Reset() { *m = Certificate{} } func (m *Certificate) String() string { return proto.CompactTextString(m) } func (*Certificate) ProtoMessage() {} func (*Certificate) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_843fba4d086aefbc, []int{1} + return fileDescriptor_309897dc79f61bc0, []int{1} } + func (m *Certificate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Certificate.Unmarshal(m, b) } func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) } -func (dst *Certificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certificate.Merge(dst, src) +func (m *Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_Certificate.Merge(m, src) } func (m *Certificate) XXX_Size() int { return xxx_messageInfo_Certificate.Size(m) @@ -178,16 +184,17 @@ func (m *Certificate_SN) Reset() { *m = Certificate_SN{} } func (m *Certificate_SN) String() string { return proto.CompactTextString(m) } func (*Certificate_SN) ProtoMessage() {} func (*Certificate_SN) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_843fba4d086aefbc, []int{1, 0} + return fileDescriptor_309897dc79f61bc0, []int{1, 0} } + func (m *Certificate_SN) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Certificate_SN.Unmarshal(m, b) } func (m *Certificate_SN) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Certificate_SN.Marshal(b, m, deterministic) } -func (dst *Certificate_SN) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certificate_SN.Merge(dst, src) +func (m *Certificate_SN) XXX_Merge(src proto.Message) { + xxx_messageInfo_Certificate_SN.Merge(m, src) } func (m *Certificate_SN) XXX_Size() int { return xxx_messageInfo_Certificate_SN.Size(m) @@ -216,16 +223,17 @@ func (m *CACert) Reset() { *m = CACert{} } func (m *CACert) String() string { return proto.CompactTextString(m) } func (*CACert) ProtoMessage() {} func (*CACert) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_843fba4d086aefbc, []int{2} + return fileDescriptor_309897dc79f61bc0, []int{2} } + func (m *CACert) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CACert.Unmarshal(m, b) } func (m *CACert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CACert.Marshal(b, m, deterministic) } -func (dst *CACert) XXX_Merge(src proto.Message) { - xxx_messageInfo_CACert.Merge(dst, src) +func (m *CACert) XXX_Merge(src proto.Message) { + xxx_messageInfo_CACert.Merge(m, src) } func (m *CACert) XXX_Size() int { return xxx_messageInfo_CACert.Size(m) @@ -244,18 +252,16 @@ func (m *CACert) GetCert() []byte { } func init() { + proto.RegisterEnum("magma.orc8r.CertType", CertType_name, CertType_value) proto.RegisterType((*CSR)(nil), "magma.orc8r.CSR") proto.RegisterType((*Certificate)(nil), "magma.orc8r.Certificate") proto.RegisterType((*Certificate_SN)(nil), "magma.orc8r.Certificate.SN") proto.RegisterType((*CACert)(nil), "magma.orc8r.CACert") - proto.RegisterEnum("magma.orc8r.CertType", CertType_name, CertType_value) } -func init() { - proto.RegisterFile("orc8r/protos/certifier.proto", fileDescriptor_certifier_843fba4d086aefbc) -} +func init() { proto.RegisterFile("orc8r/protos/certifier.proto", fileDescriptor_309897dc79f61bc0) } -var fileDescriptor_certifier_843fba4d086aefbc = []byte{ +var fileDescriptor_309897dc79f61bc0 = []byte{ // 399 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x5d, 0xab, 0xd3, 0x30, 0x18, 0xc7, 0x6d, 0x37, 0xd6, 0xf5, 0xe9, 0xe1, 0x70, 0x08, 0x8a, 0x3d, 0xdd, 0x51, 0xcb, 0x40, diff --git a/orc8r/cloud/go/protos/common.pb.go b/orc8r/cloud/go/protos/common.pb.go index 35ea95af1055..921db91424ae 100644 --- a/orc8r/cloud/go/protos/common.pb.go +++ b/orc8r/cloud/go/protos/common.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/common.proto -package protos // import "magma/orc8r/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // -------------------------------------------------------------------------- // Logging levels @@ -38,6 +40,7 @@ var LogLevel_name = map[int32]string{ 3: "ERROR", 4: "FATAL", } + var LogLevel_value = map[string]int32{ "DEBUG": 0, "INFO": 1, @@ -49,8 +52,9 @@ var LogLevel_value = map[string]int32{ func (x LogLevel) String() string { return proto.EnumName(LogLevel_name, int32(x)) } + func (LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_5f26b288acb93051, []int{0} + return fileDescriptor_1f19606b164b0edc, []int{0} } type Void struct { @@ -63,16 +67,17 @@ func (m *Void) Reset() { *m = Void{} } func (m *Void) String() string { return proto.CompactTextString(m) } func (*Void) ProtoMessage() {} func (*Void) Descriptor() ([]byte, []int) { - return fileDescriptor_common_5f26b288acb93051, []int{0} + return fileDescriptor_1f19606b164b0edc, []int{0} } + func (m *Void) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Void.Unmarshal(m, b) } func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Void.Marshal(b, m, deterministic) } -func (dst *Void) XXX_Merge(src proto.Message) { - xxx_messageInfo_Void.Merge(dst, src) +func (m *Void) XXX_Merge(src proto.Message) { + xxx_messageInfo_Void.Merge(m, src) } func (m *Void) XXX_Size() int { return xxx_messageInfo_Void.Size(m) @@ -97,16 +102,17 @@ func (m *NetworkID) Reset() { *m = NetworkID{} } func (m *NetworkID) String() string { return proto.CompactTextString(m) } func (*NetworkID) ProtoMessage() {} func (*NetworkID) Descriptor() ([]byte, []int) { - return fileDescriptor_common_5f26b288acb93051, []int{1} + return fileDescriptor_1f19606b164b0edc, []int{1} } + func (m *NetworkID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkID.Unmarshal(m, b) } func (m *NetworkID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkID.Marshal(b, m, deterministic) } -func (dst *NetworkID) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkID.Merge(dst, src) +func (m *NetworkID) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkID.Merge(m, src) } func (m *NetworkID) XXX_Size() int { return xxx_messageInfo_NetworkID.Size(m) @@ -138,16 +144,17 @@ func (m *IDList) Reset() { *m = IDList{} } func (m *IDList) String() string { return proto.CompactTextString(m) } func (*IDList) ProtoMessage() {} func (*IDList) Descriptor() ([]byte, []int) { - return fileDescriptor_common_5f26b288acb93051, []int{2} + return fileDescriptor_1f19606b164b0edc, []int{2} } + func (m *IDList) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IDList.Unmarshal(m, b) } func (m *IDList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IDList.Marshal(b, m, deterministic) } -func (dst *IDList) XXX_Merge(src proto.Message) { - xxx_messageInfo_IDList.Merge(dst, src) +func (m *IDList) XXX_Merge(src proto.Message) { + xxx_messageInfo_IDList.Merge(m, src) } func (m *IDList) XXX_Size() int { return xxx_messageInfo_IDList.Size(m) @@ -166,15 +173,15 @@ func (m *IDList) GetIds() []string { } func init() { + proto.RegisterEnum("magma.orc8r.LogLevel", LogLevel_name, LogLevel_value) proto.RegisterType((*Void)(nil), "magma.orc8r.Void") proto.RegisterType((*NetworkID)(nil), "magma.orc8r.NetworkID") proto.RegisterType((*IDList)(nil), "magma.orc8r.IDList") - proto.RegisterEnum("magma.orc8r.LogLevel", LogLevel_name, LogLevel_value) } -func init() { proto.RegisterFile("orc8r/protos/common.proto", fileDescriptor_common_5f26b288acb93051) } +func init() { proto.RegisterFile("orc8r/protos/common.proto", fileDescriptor_1f19606b164b0edc) } -var fileDescriptor_common_5f26b288acb93051 = []byte{ +var fileDescriptor_1f19606b164b0edc = []byte{ // 209 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0x2f, 0x4a, 0xb6, 0x28, 0xd2, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0xd6, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, diff --git a/orc8r/cloud/go/protos/directoryd.pb.go b/orc8r/cloud/go/protos/directoryd.pb.go index 3f5a581647f4..36b84f85268e 100644 --- a/orc8r/cloud/go/protos/directoryd.pb.go +++ b/orc8r/cloud/go/protos/directoryd.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/directoryd.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type TableID int32 @@ -34,6 +35,7 @@ var TableID_name = map[int32]string{ 0: "IMSI_TO_HWID", 1: "HWID_TO_HOSTNAME", } + var TableID_value = map[string]int32{ "IMSI_TO_HWID": 0, "HWID_TO_HOSTNAME": 1, @@ -42,8 +44,9 @@ var TableID_value = map[string]int32{ func (x TableID) String() string { return proto.EnumName(TableID_name, int32(x)) } + func (TableID) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{0} + return fileDescriptor_f02336ef077163fd, []int{0} } type GetLocationRequest struct { @@ -59,16 +62,17 @@ func (m *GetLocationRequest) Reset() { *m = GetLocationRequest{} } func (m *GetLocationRequest) String() string { return proto.CompactTextString(m) } func (*GetLocationRequest) ProtoMessage() {} func (*GetLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{0} + return fileDescriptor_f02336ef077163fd, []int{0} } + func (m *GetLocationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLocationRequest.Unmarshal(m, b) } func (m *GetLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetLocationRequest.Marshal(b, m, deterministic) } -func (dst *GetLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLocationRequest.Merge(dst, src) +func (m *GetLocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLocationRequest.Merge(m, src) } func (m *GetLocationRequest) XXX_Size() int { return xxx_messageInfo_GetLocationRequest.Size(m) @@ -113,16 +117,17 @@ func (m *DeleteLocationRequest) Reset() { *m = DeleteLocationRequest{} } func (m *DeleteLocationRequest) String() string { return proto.CompactTextString(m) } func (*DeleteLocationRequest) ProtoMessage() {} func (*DeleteLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{1} + return fileDescriptor_f02336ef077163fd, []int{1} } + func (m *DeleteLocationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteLocationRequest.Unmarshal(m, b) } func (m *DeleteLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteLocationRequest.Marshal(b, m, deterministic) } -func (dst *DeleteLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteLocationRequest.Merge(dst, src) +func (m *DeleteLocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteLocationRequest.Merge(m, src) } func (m *DeleteLocationRequest) XXX_Size() int { return xxx_messageInfo_DeleteLocationRequest.Size(m) @@ -166,16 +171,17 @@ func (m *LocationRecord) Reset() { *m = LocationRecord{} } func (m *LocationRecord) String() string { return proto.CompactTextString(m) } func (*LocationRecord) ProtoMessage() {} func (*LocationRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{2} + return fileDescriptor_f02336ef077163fd, []int{2} } + func (m *LocationRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocationRecord.Unmarshal(m, b) } func (m *LocationRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LocationRecord.Marshal(b, m, deterministic) } -func (dst *LocationRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationRecord.Merge(dst, src) +func (m *LocationRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocationRecord.Merge(m, src) } func (m *LocationRecord) XXX_Size() int { return xxx_messageInfo_LocationRecord.Size(m) @@ -206,16 +212,17 @@ func (m *UpdateDirectoryLocationRequest) Reset() { *m = UpdateDirectoryL func (m *UpdateDirectoryLocationRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDirectoryLocationRequest) ProtoMessage() {} func (*UpdateDirectoryLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{3} + return fileDescriptor_f02336ef077163fd, []int{3} } + func (m *UpdateDirectoryLocationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDirectoryLocationRequest.Unmarshal(m, b) } func (m *UpdateDirectoryLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateDirectoryLocationRequest.Marshal(b, m, deterministic) } -func (dst *UpdateDirectoryLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDirectoryLocationRequest.Merge(dst, src) +func (m *UpdateDirectoryLocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDirectoryLocationRequest.Merge(m, src) } func (m *UpdateDirectoryLocationRequest) XXX_Size() int { return xxx_messageInfo_UpdateDirectoryLocationRequest.Size(m) @@ -260,16 +267,17 @@ func (m *UpdateRecordRequest) Reset() { *m = UpdateRecordRequest{} } func (m *UpdateRecordRequest) String() string { return proto.CompactTextString(m) } func (*UpdateRecordRequest) ProtoMessage() {} func (*UpdateRecordRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{4} + return fileDescriptor_f02336ef077163fd, []int{4} } + func (m *UpdateRecordRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRecordRequest.Unmarshal(m, b) } func (m *UpdateRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateRecordRequest.Marshal(b, m, deterministic) } -func (dst *UpdateRecordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRecordRequest.Merge(dst, src) +func (m *UpdateRecordRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRecordRequest.Merge(m, src) } func (m *UpdateRecordRequest) XXX_Size() int { return xxx_messageInfo_UpdateRecordRequest.Size(m) @@ -313,16 +321,17 @@ func (m *DirectoryField) Reset() { *m = DirectoryField{} } func (m *DirectoryField) String() string { return proto.CompactTextString(m) } func (*DirectoryField) ProtoMessage() {} func (*DirectoryField) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{5} + return fileDescriptor_f02336ef077163fd, []int{5} } + func (m *DirectoryField) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DirectoryField.Unmarshal(m, b) } func (m *DirectoryField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DirectoryField.Marshal(b, m, deterministic) } -func (dst *DirectoryField) XXX_Merge(src proto.Message) { - xxx_messageInfo_DirectoryField.Merge(dst, src) +func (m *DirectoryField) XXX_Merge(src proto.Message) { + xxx_messageInfo_DirectoryField.Merge(m, src) } func (m *DirectoryField) XXX_Size() int { return xxx_messageInfo_DirectoryField.Size(m) @@ -358,16 +367,17 @@ func (m *DeleteRecordRequest) Reset() { *m = DeleteRecordRequest{} } func (m *DeleteRecordRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRecordRequest) ProtoMessage() {} func (*DeleteRecordRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{6} + return fileDescriptor_f02336ef077163fd, []int{6} } + func (m *DeleteRecordRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRecordRequest.Unmarshal(m, b) } func (m *DeleteRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteRecordRequest.Marshal(b, m, deterministic) } -func (dst *DeleteRecordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRecordRequest.Merge(dst, src) +func (m *DeleteRecordRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRecordRequest.Merge(m, src) } func (m *DeleteRecordRequest) XXX_Size() int { return xxx_messageInfo_DeleteRecordRequest.Size(m) @@ -397,16 +407,17 @@ func (m *GetDirectoryFieldRequest) Reset() { *m = GetDirectoryFieldReque func (m *GetDirectoryFieldRequest) String() string { return proto.CompactTextString(m) } func (*GetDirectoryFieldRequest) ProtoMessage() {} func (*GetDirectoryFieldRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_directoryd_2719806c5e721710, []int{7} + return fileDescriptor_f02336ef077163fd, []int{7} } + func (m *GetDirectoryFieldRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDirectoryFieldRequest.Unmarshal(m, b) } func (m *GetDirectoryFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDirectoryFieldRequest.Marshal(b, m, deterministic) } -func (dst *GetDirectoryFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDirectoryFieldRequest.Merge(dst, src) +func (m *GetDirectoryFieldRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDirectoryFieldRequest.Merge(m, src) } func (m *GetDirectoryFieldRequest) XXX_Size() int { return xxx_messageInfo_GetDirectoryFieldRequest.Size(m) @@ -432,6 +443,7 @@ func (m *GetDirectoryFieldRequest) GetFieldKey() string { } func init() { + proto.RegisterEnum("magma.orc8r.TableID", TableID_name, TableID_value) proto.RegisterType((*GetLocationRequest)(nil), "magma.orc8r.GetLocationRequest") proto.RegisterType((*DeleteLocationRequest)(nil), "magma.orc8r.DeleteLocationRequest") proto.RegisterType((*LocationRecord)(nil), "magma.orc8r.LocationRecord") @@ -440,7 +452,44 @@ func init() { proto.RegisterType((*DirectoryField)(nil), "magma.orc8r.DirectoryField") proto.RegisterType((*DeleteRecordRequest)(nil), "magma.orc8r.DeleteRecordRequest") proto.RegisterType((*GetDirectoryFieldRequest)(nil), "magma.orc8r.GetDirectoryFieldRequest") - proto.RegisterEnum("magma.orc8r.TableID", TableID_name, TableID_value) +} + +func init() { proto.RegisterFile("orc8r/protos/directoryd.proto", fileDescriptor_f02336ef077163fd) } + +var fileDescriptor_f02336ef077163fd = []byte{ + // 512 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xef, 0x6f, 0xd2, 0x40, + 0x18, 0xa6, 0x6d, 0x36, 0xe5, 0x85, 0x34, 0xdd, 0x0d, 0x63, 0x2d, 0x4e, 0xc9, 0x25, 0x4b, 0x96, + 0x69, 0x20, 0xb2, 0x2f, 0xfb, 0xaa, 0x29, 0x62, 0xa3, 0xb8, 0xa4, 0xa0, 0x46, 0xbf, 0x90, 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 0x71, 0x7a, 0x60, 0xaa, 0x1b, 0x44, + 0xa8, 0xda, 0xcb, 0xb2, 0xf5, 0x2a, 0xa5, 0xea, 0xfe, 0xd6, 0xe1, 0x69, 0x3f, 0xe0, 0x78, 0x17, + 0x2c, 0xb7, 0x2a, 0xd1, 0x83, 0x7a, 0x71, 0xe6, 0x48, 0xab, 0xc4, 0xb8, 0xd2, 0xdc, 0x72, 0xb7, + 0x3d, 0xa8, 0x17, 0x07, 0x61, 0x83, 0xa6, 0x64, 0x46, 0xca, 0x69, 0xbe, 0xc3, 0xc1, 0xd6, 0xa0, + 0x90, 0xe3, 0xcd, 0xee, 0x94, 0x0e, 0x92, 0xb3, 0x6b, 0xd4, 0x69, 0xe5, 0xdd, 0xd1, 0x8f, 0xa6, + 0xb8, 0xef, 0xe4, 0x8f, 0x64, 0x98, 0xb0, 0x79, 0xd4, 0xb9, 0x62, 0xf2, 0xb5, 0xbc, 0xdc, 0x17, + 0xbf, 0x67, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x39, 0x58, 0x5c, 0x70, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -512,6 +561,20 @@ type DirectoryServiceServer interface { DeleteLocation(context.Context, *DeleteLocationRequest) (*Void, error) } +// UnimplementedDirectoryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDirectoryServiceServer struct { +} + +func (*UnimplementedDirectoryServiceServer) GetLocation(ctx context.Context, req *GetLocationRequest) (*LocationRecord, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLocation not implemented") +} +func (*UnimplementedDirectoryServiceServer) UpdateLocation(ctx context.Context, req *UpdateDirectoryLocationRequest) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateLocation not implemented") +} +func (*UnimplementedDirectoryServiceServer) DeleteLocation(ctx context.Context, req *DeleteLocationRequest) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteLocation not implemented") +} + func RegisterDirectoryServiceServer(s *grpc.Server, srv DirectoryServiceServer) { s.RegisterService(&_DirectoryService_serviceDesc, srv) } @@ -650,6 +713,20 @@ type GatewayDirectoryServiceServer interface { GetDirectoryField(context.Context, *GetDirectoryFieldRequest) (*DirectoryField, error) } +// UnimplementedGatewayDirectoryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedGatewayDirectoryServiceServer struct { +} + +func (*UnimplementedGatewayDirectoryServiceServer) UpdateRecord(ctx context.Context, req *UpdateRecordRequest) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateRecord not implemented") +} +func (*UnimplementedGatewayDirectoryServiceServer) DeleteRecord(ctx context.Context, req *DeleteRecordRequest) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteRecord not implemented") +} +func (*UnimplementedGatewayDirectoryServiceServer) GetDirectoryField(ctx context.Context, req *GetDirectoryFieldRequest) (*DirectoryField, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDirectoryField not implemented") +} + func RegisterGatewayDirectoryServiceServer(s *grpc.Server, srv GatewayDirectoryServiceServer) { s.RegisterService(&_GatewayDirectoryService_serviceDesc, srv) } @@ -728,43 +805,3 @@ var _GatewayDirectoryService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "orc8r/protos/directoryd.proto", } - -func init() { - proto.RegisterFile("orc8r/protos/directoryd.proto", fileDescriptor_directoryd_2719806c5e721710) -} - -var fileDescriptor_directoryd_2719806c5e721710 = []byte{ - // 512 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xef, 0x6f, 0xd2, 0x40, - 0x18, 0xa6, 0x6d, 0x36, 0xe5, 0x85, 0x34, 0xdd, 0x0d, 0x63, 0x2d, 0x4e, 0xc9, 0x25, 0x4b, 0x96, - 0x69, 0x20, 0xb2, 0x2f, 0xfb, 0xaa, 0x29, 0x62, 0xa3, 0xb8, 0xa4, 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0xc0, 0x5f, 0x59, 0x9c, 0x71, 0x7a, 0x60, 0xaa, 0x1b, 0x44, - 0xa8, 0xda, 0xcb, 0xb2, 0xf5, 0x2a, 0xa5, 0xea, 0xfe, 0xd6, 0xe1, 0x69, 0x3f, 0xe0, 0x78, 0x17, - 0x2c, 0xb7, 0x2a, 0xd1, 0x83, 0x7a, 0x71, 0xe6, 0x48, 0xab, 0xc4, 0xb8, 0xd2, 0xdc, 0x72, 0xb7, - 0x3d, 0xa8, 0x17, 0x07, 0x61, 0x83, 0xa6, 0x64, 0x46, 0xca, 0x69, 0xbe, 0xc3, 0xc1, 0xd6, 0xa0, - 0x90, 0xe3, 0xcd, 0xee, 0x94, 0x0e, 0x92, 0xb3, 0x6b, 0xd4, 0x69, 0xe5, 0xdd, 0xd1, 0x8f, 0xa6, - 0xb8, 0xef, 0xe4, 0x8f, 0x64, 0x98, 0xb0, 0x79, 0xd4, 0xb9, 0x62, 0xf2, 0xb5, 0xbc, 0xdc, 0x17, - 0xbf, 0x67, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x39, 0x58, 0x5c, 0x70, 0x05, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/protos/identity.pb.go b/orc8r/cloud/go/protos/identity.pb.go index f77ebac58f46..473e38c270ff 100644 --- a/orc8r/cloud/go/protos/identity.pb.go +++ b/orc8r/cloud/go/protos/identity.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/identity.proto -package protos // import "magma/orc8r/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Identity_Wildcard_Type int32 @@ -31,6 +33,7 @@ var Identity_Wildcard_Type_name = map[int32]string{ 1: "Operator", 2: "Network", } + var Identity_Wildcard_Type_value = map[string]int32{ "Gateway": 0, "Operator": 1, @@ -40,8 +43,9 @@ var Identity_Wildcard_Type_value = map[string]int32{ func (x Identity_Wildcard_Type) String() string { return proto.EnumName(Identity_Wildcard_Type_name, int32(x)) } + func (Identity_Wildcard_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_identity_34334eb05f9241db, []int{0, 0, 0} + return fileDescriptor_6bb2c09a19321261, []int{0, 0, 0} } type Identity struct { @@ -63,16 +67,17 @@ func (m *Identity) Reset() { *m = Identity{} } func (m *Identity) String() string { return proto.CompactTextString(m) } func (*Identity) ProtoMessage() {} func (*Identity) Descriptor() ([]byte, []int) { - return fileDescriptor_identity_34334eb05f9241db, []int{0} + return fileDescriptor_6bb2c09a19321261, []int{0} } + func (m *Identity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Identity.Unmarshal(m, b) } func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Identity.Marshal(b, m, deterministic) } -func (dst *Identity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identity.Merge(dst, src) +func (m *Identity) XXX_Merge(src proto.Message) { + xxx_messageInfo_Identity.Merge(m, src) } func (m *Identity) XXX_Size() int { return xxx_messageInfo_Identity.Size(m) @@ -146,9 +151,9 @@ func (m *Identity) GetWildcard() *Identity_Wildcard { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Identity) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Identity_OneofMarshaler, _Identity_OneofUnmarshaler, _Identity_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Identity) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*Identity_Gateway_)(nil), (*Identity_Operator)(nil), (*Identity_Network)(nil), @@ -156,100 +161,6 @@ func (*Identity) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) erro } } -func _Identity_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Identity) - // Value - switch x := m.Value.(type) { - case *Identity_Gateway_: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Gateway); err != nil { - return err - } - case *Identity_Operator: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Operator) - case *Identity_Network: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Network) - case *Identity_Wildcard_: - b.EncodeVarint(11<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Wildcard); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Identity.Value has unexpected type %T", x) - } - return nil -} - -func _Identity_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Identity) - switch tag { - case 1: // Value.gateway - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Identity_Gateway) - err := b.DecodeMessage(msg) - m.Value = &Identity_Gateway_{msg} - return true, err - case 2: // Value.operator - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Value = &Identity_Operator{x} - return true, err - case 3: // Value.network - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Value = &Identity_Network{x} - return true, err - case 11: // Value.wildcard - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Identity_Wildcard) - err := b.DecodeMessage(msg) - m.Value = &Identity_Wildcard_{msg} - return true, err - default: - return false, nil - } -} - -func _Identity_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Identity) - // Value - switch x := m.Value.(type) { - case *Identity_Gateway_: - s := proto.Size(x.Gateway) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Identity_Operator: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Operator))) - n += len(x.Operator) - case *Identity_Network: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Network))) - n += len(x.Network) - case *Identity_Wildcard_: - s := proto.Size(x.Wildcard) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type Identity_Wildcard struct { Type Identity_Wildcard_Type `protobuf:"varint,1,opt,name=type,proto3,enum=magma.orc8r.Identity_Wildcard_Type" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -261,16 +172,17 @@ func (m *Identity_Wildcard) Reset() { *m = Identity_Wildcard{} } func (m *Identity_Wildcard) String() string { return proto.CompactTextString(m) } func (*Identity_Wildcard) ProtoMessage() {} func (*Identity_Wildcard) Descriptor() ([]byte, []int) { - return fileDescriptor_identity_34334eb05f9241db, []int{0, 0} + return fileDescriptor_6bb2c09a19321261, []int{0, 0} } + func (m *Identity_Wildcard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Identity_Wildcard.Unmarshal(m, b) } func (m *Identity_Wildcard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Identity_Wildcard.Marshal(b, m, deterministic) } -func (dst *Identity_Wildcard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identity_Wildcard.Merge(dst, src) +func (m *Identity_Wildcard) XXX_Merge(src proto.Message) { + xxx_messageInfo_Identity_Wildcard.Merge(m, src) } func (m *Identity_Wildcard) XXX_Size() int { return xxx_messageInfo_Identity_Wildcard.Size(m) @@ -301,16 +213,17 @@ func (m *Identity_Gateway) Reset() { *m = Identity_Gateway{} } func (m *Identity_Gateway) String() string { return proto.CompactTextString(m) } func (*Identity_Gateway) ProtoMessage() {} func (*Identity_Gateway) Descriptor() ([]byte, []int) { - return fileDescriptor_identity_34334eb05f9241db, []int{0, 1} + return fileDescriptor_6bb2c09a19321261, []int{0, 1} } + func (m *Identity_Gateway) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Identity_Gateway.Unmarshal(m, b) } func (m *Identity_Gateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Identity_Gateway.Marshal(b, m, deterministic) } -func (dst *Identity_Gateway) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identity_Gateway.Merge(dst, src) +func (m *Identity_Gateway) XXX_Merge(src proto.Message) { + xxx_messageInfo_Identity_Gateway.Merge(m, src) } func (m *Identity_Gateway) XXX_Size() int { return xxx_messageInfo_Identity_Gateway.Size(m) @@ -354,16 +267,17 @@ func (m *Identity_List) Reset() { *m = Identity_List{} } func (m *Identity_List) String() string { return proto.CompactTextString(m) } func (*Identity_List) ProtoMessage() {} func (*Identity_List) Descriptor() ([]byte, []int) { - return fileDescriptor_identity_34334eb05f9241db, []int{0, 2} + return fileDescriptor_6bb2c09a19321261, []int{0, 2} } + func (m *Identity_List) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Identity_List.Unmarshal(m, b) } func (m *Identity_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Identity_List.Marshal(b, m, deterministic) } -func (dst *Identity_List) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identity_List.Merge(dst, src) +func (m *Identity_List) XXX_Merge(src proto.Message) { + xxx_messageInfo_Identity_List.Merge(m, src) } func (m *Identity_List) XXX_Size() int { return xxx_messageInfo_Identity_List.Size(m) @@ -397,16 +311,17 @@ func (m *AccessGatewayID) Reset() { *m = AccessGatewayID{} } func (m *AccessGatewayID) String() string { return proto.CompactTextString(m) } func (*AccessGatewayID) ProtoMessage() {} func (*AccessGatewayID) Descriptor() ([]byte, []int) { - return fileDescriptor_identity_34334eb05f9241db, []int{1} + return fileDescriptor_6bb2c09a19321261, []int{1} } + func (m *AccessGatewayID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessGatewayID.Unmarshal(m, b) } func (m *AccessGatewayID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessGatewayID.Marshal(b, m, deterministic) } -func (dst *AccessGatewayID) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessGatewayID.Merge(dst, src) +func (m *AccessGatewayID) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessGatewayID.Merge(m, src) } func (m *AccessGatewayID) XXX_Size() int { return xxx_messageInfo_AccessGatewayID.Size(m) @@ -425,19 +340,17 @@ func (m *AccessGatewayID) GetId() string { } func init() { + proto.RegisterEnum("magma.orc8r.Identity_Wildcard_Type", Identity_Wildcard_Type_name, Identity_Wildcard_Type_value) proto.RegisterType((*Identity)(nil), "magma.orc8r.Identity") proto.RegisterType((*Identity_Wildcard)(nil), "magma.orc8r.Identity.Wildcard") proto.RegisterType((*Identity_Gateway)(nil), "magma.orc8r.Identity.Gateway") proto.RegisterType((*Identity_List)(nil), "magma.orc8r.Identity.List") proto.RegisterType((*AccessGatewayID)(nil), "magma.orc8r.AccessGatewayID") - proto.RegisterEnum("magma.orc8r.Identity_Wildcard_Type", Identity_Wildcard_Type_name, Identity_Wildcard_Type_value) } -func init() { - proto.RegisterFile("orc8r/protos/identity.proto", fileDescriptor_identity_34334eb05f9241db) -} +func init() { proto.RegisterFile("orc8r/protos/identity.proto", fileDescriptor_6bb2c09a19321261) } -var fileDescriptor_identity_34334eb05f9241db = []byte{ +var fileDescriptor_6bb2c09a19321261 = []byte{ // 356 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x4b, 0xeb, 0x40, 0x14, 0xc5, 0x9b, 0x3f, 0xef, 0x25, 0xbd, 0x79, 0xf4, 0x95, 0x01, 0x21, 0xa4, 0x56, 0x6b, 0xdd, diff --git a/orc8r/cloud/go/protos/logging_service.pb.go b/orc8r/cloud/go/protos/logging_service.pb.go index f9a2d958901f..98d3d3533124 100644 --- a/orc8r/cloud/go/protos/logging_service.pb.go +++ b/orc8r/cloud/go/protos/logging_service.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/logging_service.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Where to log to. Currently only supports scribe. type LoggerDestination int32 @@ -33,6 +34,7 @@ const ( var LoggerDestination_name = map[int32]string{ 0: "SCRIBE", } + var LoggerDestination_value = map[string]int32{ "SCRIBE": 0, } @@ -40,8 +42,9 @@ var LoggerDestination_value = map[string]int32{ func (x LoggerDestination) String() string { return proto.EnumName(LoggerDestination_name, int32(x)) } + func (LoggerDestination) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_logging_service_003ad728b7935a55, []int{0} + return fileDescriptor_e52e10d1e5f65add, []int{0} } type LogEntry struct { @@ -68,16 +71,17 @@ func (m *LogEntry) Reset() { *m = LogEntry{} } func (m *LogEntry) String() string { return proto.CompactTextString(m) } func (*LogEntry) ProtoMessage() {} func (*LogEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_service_003ad728b7935a55, []int{0} + return fileDescriptor_e52e10d1e5f65add, []int{0} } + func (m *LogEntry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogEntry.Unmarshal(m, b) } func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic) } -func (dst *LogEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogEntry.Merge(dst, src) +func (m *LogEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogEntry.Merge(m, src) } func (m *LogEntry) XXX_Size() int { return xxx_messageInfo_LogEntry.Size(m) @@ -149,16 +153,17 @@ func (m *LogRequest) Reset() { *m = LogRequest{} } func (m *LogRequest) String() string { return proto.CompactTextString(m) } func (*LogRequest) ProtoMessage() {} func (*LogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_service_003ad728b7935a55, []int{1} + return fileDescriptor_e52e10d1e5f65add, []int{1} } + func (m *LogRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogRequest.Unmarshal(m, b) } func (m *LogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogRequest.Marshal(b, m, deterministic) } -func (dst *LogRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogRequest.Merge(dst, src) +func (m *LogRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogRequest.Merge(m, src) } func (m *LogRequest) XXX_Size() int { return xxx_messageInfo_LogRequest.Size(m) @@ -184,11 +189,43 @@ func (m *LogRequest) GetDestination() LoggerDestination { } func init() { + proto.RegisterEnum("magma.orc8r.LoggerDestination", LoggerDestination_name, LoggerDestination_value) proto.RegisterType((*LogEntry)(nil), "magma.orc8r.LogEntry") proto.RegisterMapType((map[string]int64)(nil), "magma.orc8r.LogEntry.IntMapEntry") proto.RegisterMapType((map[string]string)(nil), "magma.orc8r.LogEntry.NormalMapEntry") proto.RegisterType((*LogRequest)(nil), "magma.orc8r.LogRequest") - proto.RegisterEnum("magma.orc8r.LoggerDestination", LoggerDestination_name, LoggerDestination_value) +} + +func init() { proto.RegisterFile("orc8r/protos/logging_service.proto", fileDescriptor_e52e10d1e5f65add) } + +var fileDescriptor_e52e10d1e5f65add = []byte{ + // 415 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x6e, 0x13, 0x31, + 0x10, 0xed, 0xd6, 0xc9, 0x26, 0x99, 0x48, 0x51, 0x3b, 0x80, 0x6a, 0x16, 0x51, 0x42, 0xc4, 0x21, + 0xe2, 0xb0, 0x2b, 0xa5, 0x97, 0x52, 0x71, 0x40, 0x2d, 0x39, 0x44, 0x0a, 0x1c, 0x1c, 0x89, 0x03, + 0x97, 0xc8, 0x6c, 0x2c, 0xd7, 0x22, 0xeb, 0x09, 0x5e, 0x27, 0x55, 0x4f, 0x48, 0x7c, 0x39, 0x8a, + 0xb7, 0xa9, 0x36, 0x25, 0x12, 0x27, 0xfb, 0x8d, 0xdf, 0x7b, 0x9e, 0x19, 0x3d, 0x18, 0x90, 0xcb, + 0x2f, 0x5d, 0xb6, 0x72, 0xe4, 0xa9, 0xcc, 0x96, 0xa4, 0xb5, 0xb1, 0x7a, 0x5e, 0x2a, 0xb7, 0x31, + 0xb9, 0x4a, 0x43, 0x19, 0xbb, 0x85, 0xd4, 0x85, 0x4c, 0x03, 0x33, 0x79, 0xb9, 0x27, 0xc8, 0xa9, + 0x28, 0xc8, 0x56, 0xbc, 0xc1, 0x1f, 0x06, 0xed, 0x29, 0xe9, 0xb1, 0xf5, 0xee, 0x1e, 0x13, 0x68, + 0xe7, 0xd2, 0x2b, 0x4d, 0xee, 0x9e, 0x47, 0xfd, 0x68, 0xd8, 0x11, 0x8f, 0x18, 0x11, 0x1a, 0xde, + 0x14, 0x8a, 0xb3, 0x7e, 0x34, 0x64, 0x22, 0xdc, 0xf1, 0x19, 0x34, 0x6f, 0xef, 0xe6, 0x66, 0xc1, + 0x1b, 0x81, 0xdc, 0xb8, 0xbd, 0x9b, 0x2c, 0xf0, 0x06, 0xc0, 0x92, 0x2b, 0xe4, 0x72, 0x5e, 0xc8, + 0x15, 0x6f, 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, 0x31, 0xc3, 0x0b, 0x60, 0x53, 0xd2, 0x78, 0xf6, 0xf4, + 0x9b, 0x87, 0x29, 0x92, 0xd3, 0xbd, 0x87, 0x6f, 0x64, 0x16, 0x83, 0xa3, 0xeb, 0xd7, 0xdf, 0x5f, + 0x85, 0x6a, 0x56, 0x05, 0x32, 0x5f, 0xd2, 0x7a, 0x91, 0x69, 0x7a, 0x48, 0xe6, 0x8f, 0x38, 0x9c, + 0x17, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x92, 0xa0, 0x62, 0xe2, 0xe1, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -230,6 +267,14 @@ type LoggingServiceServer interface { Log(context.Context, *LogRequest) (*Void, error) } +// UnimplementedLoggingServiceServer can be embedded to have forward compatible implementations. +type UnimplementedLoggingServiceServer struct { +} + +func (*UnimplementedLoggingServiceServer) Log(ctx context.Context, req *LogRequest) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method Log not implemented") +} + func RegisterLoggingServiceServer(s *grpc.Server, srv LoggingServiceServer) { s.RegisterService(&_LoggingService_serviceDesc, srv) } @@ -264,37 +309,3 @@ var _LoggingService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "orc8r/protos/logging_service.proto", } - -func init() { - proto.RegisterFile("orc8r/protos/logging_service.proto", fileDescriptor_logging_service_003ad728b7935a55) -} - -var fileDescriptor_logging_service_003ad728b7935a55 = []byte{ - // 415 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x6e, 0x13, 0x31, - 0x10, 0xed, 0xd6, 0xc9, 0x26, 0x99, 0x48, 0x51, 0x3b, 0x80, 0x6a, 0x16, 0x51, 0x42, 0xc4, 0x21, - 0xe2, 0xb0, 0x2b, 0xa5, 0x97, 0x52, 0x71, 0x40, 0x2d, 0x39, 0x44, 0x0a, 0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 0x92, 0xa0, 0x62, 0xe2, 0xe1, 0x02, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/protos/magmad.pb.go b/orc8r/cloud/go/protos/magmad.pb.go index 5916c8ac156c..b439ce0afa9f 100644 --- a/orc8r/cloud/go/protos/magmad.pb.go +++ b/orc8r/cloud/go/protos/magmad.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/magmad.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _struct "github.com/golang/protobuf/ptypes/struct" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _struct "github.com/golang/protobuf/ptypes/struct" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PingParams struct { HostOrIp string `protobuf:"bytes,1,opt,name=host_or_ip,json=hostOrIp,proto3" json:"host_or_ip,omitempty"` @@ -36,16 +37,17 @@ func (m *PingParams) Reset() { *m = PingParams{} } func (m *PingParams) String() string { return proto.CompactTextString(m) } func (*PingParams) ProtoMessage() {} func (*PingParams) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{0} + return fileDescriptor_9e01809f6f4dd6f6, []int{0} } + func (m *PingParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PingParams.Unmarshal(m, b) } func (m *PingParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PingParams.Marshal(b, m, deterministic) } -func (dst *PingParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingParams.Merge(dst, src) +func (m *PingParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_PingParams.Merge(m, src) } func (m *PingParams) XXX_Size() int { return xxx_messageInfo_PingParams.Size(m) @@ -83,16 +85,17 @@ func (m *TracerouteParams) Reset() { *m = TracerouteParams{} } func (m *TracerouteParams) String() string { return proto.CompactTextString(m) } func (*TracerouteParams) ProtoMessage() {} func (*TracerouteParams) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{1} + return fileDescriptor_9e01809f6f4dd6f6, []int{1} } + func (m *TracerouteParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TracerouteParams.Unmarshal(m, b) } func (m *TracerouteParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TracerouteParams.Marshal(b, m, deterministic) } -func (dst *TracerouteParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_TracerouteParams.Merge(dst, src) +func (m *TracerouteParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_TracerouteParams.Merge(m, src) } func (m *TracerouteParams) XXX_Size() int { return xxx_messageInfo_TracerouteParams.Size(m) @@ -136,16 +139,17 @@ func (m *NetworkTestRequest) Reset() { *m = NetworkTestRequest{} } func (m *NetworkTestRequest) String() string { return proto.CompactTextString(m) } func (*NetworkTestRequest) ProtoMessage() {} func (*NetworkTestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{2} + return fileDescriptor_9e01809f6f4dd6f6, []int{2} } + func (m *NetworkTestRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkTestRequest.Unmarshal(m, b) } func (m *NetworkTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkTestRequest.Marshal(b, m, deterministic) } -func (dst *NetworkTestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkTestRequest.Merge(dst, src) +func (m *NetworkTestRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkTestRequest.Merge(m, src) } func (m *NetworkTestRequest) XXX_Size() int { return xxx_messageInfo_NetworkTestRequest.Size(m) @@ -186,16 +190,17 @@ func (m *PingResult) Reset() { *m = PingResult{} } func (m *PingResult) String() string { return proto.CompactTextString(m) } func (*PingResult) ProtoMessage() {} func (*PingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{3} + return fileDescriptor_9e01809f6f4dd6f6, []int{3} } + func (m *PingResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PingResult.Unmarshal(m, b) } func (m *PingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PingResult.Marshal(b, m, deterministic) } -func (dst *PingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingResult.Merge(dst, src) +func (m *PingResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_PingResult.Merge(m, src) } func (m *PingResult) XXX_Size() int { return xxx_messageInfo_PingResult.Size(m) @@ -261,16 +266,17 @@ func (m *TracerouteProbe) Reset() { *m = TracerouteProbe{} } func (m *TracerouteProbe) String() string { return proto.CompactTextString(m) } func (*TracerouteProbe) ProtoMessage() {} func (*TracerouteProbe) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{4} + return fileDescriptor_9e01809f6f4dd6f6, []int{4} } + func (m *TracerouteProbe) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TracerouteProbe.Unmarshal(m, b) } func (m *TracerouteProbe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TracerouteProbe.Marshal(b, m, deterministic) } -func (dst *TracerouteProbe) XXX_Merge(src proto.Message) { - xxx_messageInfo_TracerouteProbe.Merge(dst, src) +func (m *TracerouteProbe) XXX_Merge(src proto.Message) { + xxx_messageInfo_TracerouteProbe.Merge(m, src) } func (m *TracerouteProbe) XXX_Size() int { return xxx_messageInfo_TracerouteProbe.Size(m) @@ -314,16 +320,17 @@ func (m *TracerouteHop) Reset() { *m = TracerouteHop{} } func (m *TracerouteHop) String() string { return proto.CompactTextString(m) } func (*TracerouteHop) ProtoMessage() {} func (*TracerouteHop) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{5} + return fileDescriptor_9e01809f6f4dd6f6, []int{5} } + func (m *TracerouteHop) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TracerouteHop.Unmarshal(m, b) } func (m *TracerouteHop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TracerouteHop.Marshal(b, m, deterministic) } -func (dst *TracerouteHop) XXX_Merge(src proto.Message) { - xxx_messageInfo_TracerouteHop.Merge(dst, src) +func (m *TracerouteHop) XXX_Merge(src proto.Message) { + xxx_messageInfo_TracerouteHop.Merge(m, src) } func (m *TracerouteHop) XXX_Size() int { return xxx_messageInfo_TracerouteHop.Size(m) @@ -361,16 +368,17 @@ func (m *TracerouteResult) Reset() { *m = TracerouteResult{} } func (m *TracerouteResult) String() string { return proto.CompactTextString(m) } func (*TracerouteResult) ProtoMessage() {} func (*TracerouteResult) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{6} + return fileDescriptor_9e01809f6f4dd6f6, []int{6} } + func (m *TracerouteResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TracerouteResult.Unmarshal(m, b) } func (m *TracerouteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TracerouteResult.Marshal(b, m, deterministic) } -func (dst *TracerouteResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_TracerouteResult.Merge(dst, src) +func (m *TracerouteResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_TracerouteResult.Merge(m, src) } func (m *TracerouteResult) XXX_Size() int { return xxx_messageInfo_TracerouteResult.Size(m) @@ -414,16 +422,17 @@ func (m *NetworkTestResponse) Reset() { *m = NetworkTestResponse{} } func (m *NetworkTestResponse) String() string { return proto.CompactTextString(m) } func (*NetworkTestResponse) ProtoMessage() {} func (*NetworkTestResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{7} + return fileDescriptor_9e01809f6f4dd6f6, []int{7} } + func (m *NetworkTestResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkTestResponse.Unmarshal(m, b) } func (m *NetworkTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkTestResponse.Marshal(b, m, deterministic) } -func (dst *NetworkTestResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkTestResponse.Merge(dst, src) +func (m *NetworkTestResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkTestResponse.Merge(m, src) } func (m *NetworkTestResponse) XXX_Size() int { return xxx_messageInfo_NetworkTestResponse.Size(m) @@ -459,16 +468,17 @@ func (m *GetGatewayIdResponse) Reset() { *m = GetGatewayIdResponse{} } func (m *GetGatewayIdResponse) String() string { return proto.CompactTextString(m) } func (*GetGatewayIdResponse) ProtoMessage() {} func (*GetGatewayIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{8} + return fileDescriptor_9e01809f6f4dd6f6, []int{8} } + func (m *GetGatewayIdResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGatewayIdResponse.Unmarshal(m, b) } func (m *GetGatewayIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetGatewayIdResponse.Marshal(b, m, deterministic) } -func (dst *GetGatewayIdResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGatewayIdResponse.Merge(dst, src) +func (m *GetGatewayIdResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGatewayIdResponse.Merge(m, src) } func (m *GetGatewayIdResponse) XXX_Size() int { return xxx_messageInfo_GetGatewayIdResponse.Size(m) @@ -497,16 +507,17 @@ func (m *RestartServicesRequest) Reset() { *m = RestartServicesRequest{} func (m *RestartServicesRequest) String() string { return proto.CompactTextString(m) } func (*RestartServicesRequest) ProtoMessage() {} func (*RestartServicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{9} + return fileDescriptor_9e01809f6f4dd6f6, []int{9} } + func (m *RestartServicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestartServicesRequest.Unmarshal(m, b) } func (m *RestartServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestartServicesRequest.Marshal(b, m, deterministic) } -func (dst *RestartServicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestartServicesRequest.Merge(dst, src) +func (m *RestartServicesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestartServicesRequest.Merge(m, src) } func (m *RestartServicesRequest) XXX_Size() int { return xxx_messageInfo_RestartServicesRequest.Size(m) @@ -536,16 +547,17 @@ func (m *GenericCommandParams) Reset() { *m = GenericCommandParams{} } func (m *GenericCommandParams) String() string { return proto.CompactTextString(m) } func (*GenericCommandParams) ProtoMessage() {} func (*GenericCommandParams) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{10} + return fileDescriptor_9e01809f6f4dd6f6, []int{10} } + func (m *GenericCommandParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GenericCommandParams.Unmarshal(m, b) } func (m *GenericCommandParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GenericCommandParams.Marshal(b, m, deterministic) } -func (dst *GenericCommandParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenericCommandParams.Merge(dst, src) +func (m *GenericCommandParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenericCommandParams.Merge(m, src) } func (m *GenericCommandParams) XXX_Size() int { return xxx_messageInfo_GenericCommandParams.Size(m) @@ -581,16 +593,17 @@ func (m *GenericCommandResponse) Reset() { *m = GenericCommandResponse{} func (m *GenericCommandResponse) String() string { return proto.CompactTextString(m) } func (*GenericCommandResponse) ProtoMessage() {} func (*GenericCommandResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{11} + return fileDescriptor_9e01809f6f4dd6f6, []int{11} } + func (m *GenericCommandResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GenericCommandResponse.Unmarshal(m, b) } func (m *GenericCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GenericCommandResponse.Marshal(b, m, deterministic) } -func (dst *GenericCommandResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenericCommandResponse.Merge(dst, src) +func (m *GenericCommandResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenericCommandResponse.Merge(m, src) } func (m *GenericCommandResponse) XXX_Size() int { return xxx_messageInfo_GenericCommandResponse.Size(m) @@ -619,16 +632,17 @@ func (m *TailLogsRequest) Reset() { *m = TailLogsRequest{} } func (m *TailLogsRequest) String() string { return proto.CompactTextString(m) } func (*TailLogsRequest) ProtoMessage() {} func (*TailLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{12} + return fileDescriptor_9e01809f6f4dd6f6, []int{12} } + func (m *TailLogsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TailLogsRequest.Unmarshal(m, b) } func (m *TailLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TailLogsRequest.Marshal(b, m, deterministic) } -func (dst *TailLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TailLogsRequest.Merge(dst, src) +func (m *TailLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TailLogsRequest.Merge(m, src) } func (m *TailLogsRequest) XXX_Size() int { return xxx_messageInfo_TailLogsRequest.Size(m) @@ -657,16 +671,17 @@ func (m *LogLine) Reset() { *m = LogLine{} } func (m *LogLine) String() string { return proto.CompactTextString(m) } func (*LogLine) ProtoMessage() {} func (*LogLine) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_43040f8e59f24b09, []int{13} + return fileDescriptor_9e01809f6f4dd6f6, []int{13} } + func (m *LogLine) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogLine.Unmarshal(m, b) } func (m *LogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogLine.Marshal(b, m, deterministic) } -func (dst *LogLine) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogLine.Merge(dst, src) +func (m *LogLine) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogLine.Merge(m, src) } func (m *LogLine) XXX_Size() int { return xxx_messageInfo_LogLine.Size(m) @@ -701,6 +716,67 @@ func init() { proto.RegisterType((*LogLine)(nil), "magma.orc8r.LogLine") } +func init() { proto.RegisterFile("orc8r/protos/magmad.proto", fileDescriptor_9e01809f6f4dd6f6) } + +var fileDescriptor_9e01809f6f4dd6f6 = []byte{ + // 872 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0xb6, 0xec, 0xd8, 0xb1, 0x4f, 0x9a, 0x38, 0x63, 0xb3, 0x4e, 0x55, 0x63, 0xd4, 0x63, 0x81, + 0xc1, 0xc3, 0x30, 0x3b, 0x68, 0xba, 0x9f, 0xab, 0x0d, 0x68, 0x81, 0x25, 0x45, 0x93, 0x2d, 0xa0, + 0x8d, 0x0e, 0xe8, 0x8d, 0x40, 0x4b, 0xac, 0x2a, 0xd4, 0x12, 0x35, 0x92, 0x72, 0xd3, 0xfb, 0xed, + 0x9d, 0xf6, 0x42, 0x7b, 0x8f, 0x41, 0x14, 0xe5, 0x88, 0x8e, 0x93, 0x65, 0xdb, 0x95, 0x7d, 0xce, + 0xf9, 0xce, 0xff, 0xc7, 0x63, 0xc3, 0x43, 0x2e, 0x82, 0xef, 0xc5, 0x24, 0x13, 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x76, 0x13, 0x6d, 0x66, 0x7b, 0x07, 0x96, 0xd5, 0x50, 0x19, + 0x37, 0x8e, 0x9c, 0xe7, 0x83, 0x37, 0x8f, 0xb4, 0x69, 0x52, 0xfe, 0x99, 0x08, 0x16, 0x3c, 0x0f, + 0x27, 0x11, 0x37, 0xff, 0x2a, 0xe6, 0x1d, 0xfd, 0x79, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x9c, 0x3f, 0x18, 0xc5, 0xcb, 0x08, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -880,6 +956,41 @@ type MagmadServer interface { TailLogs(*TailLogsRequest, Magmad_TailLogsServer) error } +// UnimplementedMagmadServer can be embedded to have forward compatible implementations. +type UnimplementedMagmadServer struct { +} + +func (*UnimplementedMagmadServer) StartServices(ctx context.Context, req *Void) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method StartServices not implemented") +} +func (*UnimplementedMagmadServer) StopServices(ctx context.Context, req *Void) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method StopServices not implemented") +} +func (*UnimplementedMagmadServer) Reboot(ctx context.Context, req *Void) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method Reboot not implemented") +} +func (*UnimplementedMagmadServer) RestartServices(ctx context.Context, req *RestartServicesRequest) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestartServices not implemented") +} +func (*UnimplementedMagmadServer) SetConfigs(ctx context.Context, req *GatewayConfigs) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetConfigs not implemented") +} +func (*UnimplementedMagmadServer) GetConfigs(ctx context.Context, req *Void) (*GatewayConfigs, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetConfigs not implemented") +} +func (*UnimplementedMagmadServer) RunNetworkTests(ctx context.Context, req *NetworkTestRequest) (*NetworkTestResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RunNetworkTests not implemented") +} +func (*UnimplementedMagmadServer) GetGatewayId(ctx context.Context, req *Void) (*GetGatewayIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetGatewayId not implemented") +} +func (*UnimplementedMagmadServer) GenericCommand(ctx context.Context, req *GenericCommandParams) (*GenericCommandResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenericCommand not implemented") +} +func (*UnimplementedMagmadServer) TailLogs(req *TailLogsRequest, srv Magmad_TailLogsServer) error { + return status.Errorf(codes.Unimplemented, "method TailLogs not implemented") +} + func RegisterMagmadServer(s *grpc.Server, srv MagmadServer) { s.RegisterService(&_Magmad_serviceDesc, srv) } @@ -1117,64 +1228,3 @@ var _Magmad_serviceDesc = grpc.ServiceDesc{ }, Metadata: "orc8r/protos/magmad.proto", } - -func init() { proto.RegisterFile("orc8r/protos/magmad.proto", fileDescriptor_magmad_43040f8e59f24b09) } - -var fileDescriptor_magmad_43040f8e59f24b09 = []byte{ - // 872 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0xb6, 0xec, 0xd8, 0xb1, 0x4f, 0x9a, 0x38, 0x63, 0xb3, 0x4e, 0x55, 0x63, 0xd4, 0x63, 0x81, - 0xc1, 0xc3, 0x30, 0x3b, 0x68, 0xba, 0x9f, 0xab, 0x0d, 0x68, 0x81, 0x25, 0x45, 0x93, 0x2d, 0xa0, - 0x8d, 0x0e, 0xe8, 0x8d, 0x40, 0x4b, 0xac, 0x2a, 0xd4, 0x12, 0x35, 0x92, 0x72, 0xd3, 0xfb, 0xed, - 0x9d, 0xf6, 0x42, 0x7b, 0x8f, 0x41, 0x14, 0xe5, 0x88, 0x8e, 0x93, 0x65, 0xdb, 0x95, 0x7d, 0xce, - 0xf9, 0xce, 0xff, 0xc7, 0x63, 0xc3, 0x43, 0x2e, 0x82, 0xef, 0xc5, 0x24, 0x13, 0x5c,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x13, 0x6d, 0x66, 0x7b, 0x07, 0x96, 0xd5, 0x50, 0x19, - 0x37, 0x8e, 0x9c, 0xe7, 0x83, 0x37, 0x8f, 0xb4, 0x69, 0x52, 0xfe, 0x99, 0x08, 0x16, 0x3c, 0x0f, - 0x27, 0x11, 0x37, 0xff, 0x2a, 0xe6, 0x1d, 0xfd, 0x79, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x9c, 0x3f, 0x18, 0xc5, 0xcb, 0x08, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/protos/mconfig.pb.go b/orc8r/cloud/go/protos/mconfig.pb.go index ae18e744a7c2..ad1b29e48226 100644 --- a/orc8r/cloud/go/protos/mconfig.pb.go +++ b/orc8r/cloud/go/protos/mconfig.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/mconfig.proto -package protos // import "magma/orc8r/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // -------------------------------------------------------------------------- // GatewayConfigs structure is a container for all Access Gateway's (AG) Cloud @@ -38,16 +40,17 @@ func (m *GatewayConfigs) Reset() { *m = GatewayConfigs{} } func (m *GatewayConfigs) String() string { return proto.CompactTextString(m) } func (*GatewayConfigs) ProtoMessage() {} func (*GatewayConfigs) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfig_400e6a2df47d4ae6, []int{0} + return fileDescriptor_8d300a2840d2449e, []int{0} } + func (m *GatewayConfigs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GatewayConfigs.Unmarshal(m, b) } func (m *GatewayConfigs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GatewayConfigs.Marshal(b, m, deterministic) } -func (dst *GatewayConfigs) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayConfigs.Merge(dst, src) +func (m *GatewayConfigs) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayConfigs.Merge(m, src) } func (m *GatewayConfigs) XXX_Size() int { return xxx_messageInfo_GatewayConfigs.Size(m) @@ -85,16 +88,17 @@ func (m *GatewayConfigsMetadata) Reset() { *m = GatewayConfigsMetadata{} func (m *GatewayConfigsMetadata) String() string { return proto.CompactTextString(m) } func (*GatewayConfigsMetadata) ProtoMessage() {} func (*GatewayConfigsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfig_400e6a2df47d4ae6, []int{1} + return fileDescriptor_8d300a2840d2449e, []int{1} } + func (m *GatewayConfigsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GatewayConfigsMetadata.Unmarshal(m, b) } func (m *GatewayConfigsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GatewayConfigsMetadata.Marshal(b, m, deterministic) } -func (dst *GatewayConfigsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayConfigsMetadata.Merge(dst, src) +func (m *GatewayConfigsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayConfigsMetadata.Merge(m, src) } func (m *GatewayConfigsMetadata) XXX_Size() int { return xxx_messageInfo_GatewayConfigsMetadata.Size(m) @@ -126,16 +130,17 @@ func (m *OffsetGatewayConfigs) Reset() { *m = OffsetGatewayConfigs{} } func (m *OffsetGatewayConfigs) String() string { return proto.CompactTextString(m) } func (*OffsetGatewayConfigs) ProtoMessage() {} func (*OffsetGatewayConfigs) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfig_400e6a2df47d4ae6, []int{2} + return fileDescriptor_8d300a2840d2449e, []int{2} } + func (m *OffsetGatewayConfigs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OffsetGatewayConfigs.Unmarshal(m, b) } func (m *OffsetGatewayConfigs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OffsetGatewayConfigs.Marshal(b, m, deterministic) } -func (dst *OffsetGatewayConfigs) XXX_Merge(src proto.Message) { - xxx_messageInfo_OffsetGatewayConfigs.Merge(dst, src) +func (m *OffsetGatewayConfigs) XXX_Merge(src proto.Message) { + xxx_messageInfo_OffsetGatewayConfigs.Merge(m, src) } func (m *OffsetGatewayConfigs) XXX_Size() int { return xxx_messageInfo_OffsetGatewayConfigs.Size(m) @@ -174,16 +179,17 @@ func (m *MconfigStreamRequest) Reset() { *m = MconfigStreamRequest{} } func (m *MconfigStreamRequest) String() string { return proto.CompactTextString(m) } func (*MconfigStreamRequest) ProtoMessage() {} func (*MconfigStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfig_400e6a2df47d4ae6, []int{3} + return fileDescriptor_8d300a2840d2449e, []int{3} } + func (m *MconfigStreamRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MconfigStreamRequest.Unmarshal(m, b) } func (m *MconfigStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MconfigStreamRequest.Marshal(b, m, deterministic) } -func (dst *MconfigStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MconfigStreamRequest.Merge(dst, src) +func (m *MconfigStreamRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MconfigStreamRequest.Merge(m, src) } func (m *MconfigStreamRequest) XXX_Size() int { return xxx_messageInfo_MconfigStreamRequest.Size(m) @@ -209,9 +215,9 @@ func init() { proto.RegisterType((*MconfigStreamRequest)(nil), "magma.orc8r.MconfigStreamRequest") } -func init() { proto.RegisterFile("orc8r/protos/mconfig.proto", fileDescriptor_mconfig_400e6a2df47d4ae6) } +func init() { proto.RegisterFile("orc8r/protos/mconfig.proto", fileDescriptor_8d300a2840d2449e) } -var fileDescriptor_mconfig_400e6a2df47d4ae6 = []byte{ +var fileDescriptor_8d300a2840d2449e = []byte{ // 327 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x4b, 0xc3, 0x30, 0x14, 0xc7, 0xe9, 0xa6, 0xd3, 0xbd, 0xca, 0xd0, 0x30, 0xc6, 0xdc, 0x18, 0x8c, 0x7a, 0x19, 0x82, diff --git a/orc8r/cloud/go/protos/mconfig/mconfigs.pb.go b/orc8r/cloud/go/protos/mconfig/mconfigs.pb.go index 430fb5b13691..2ec7203e4f96 100644 --- a/orc8r/cloud/go/protos/mconfig/mconfigs.pb.go +++ b/orc8r/cloud/go/protos/mconfig/mconfigs.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/mconfig/mconfigs.proto -package mconfig // import "magma/orc8r/cloud/go/protos/mconfig" +package mconfig -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + protos "magma/orc8r/cloud/go/protos" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,11 +19,11 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // Control Proxy configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type ControlProxy struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -33,16 +35,17 @@ func (m *ControlProxy) Reset() { *m = ControlProxy{} } func (m *ControlProxy) String() string { return proto.CompactTextString(m) } func (*ControlProxy) ProtoMessage() {} func (*ControlProxy) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{0} + return fileDescriptor_9618f358f05ec5b9, []int{0} } + func (m *ControlProxy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControlProxy.Unmarshal(m, b) } func (m *ControlProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ControlProxy.Marshal(b, m, deterministic) } -func (dst *ControlProxy) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControlProxy.Merge(dst, src) +func (m *ControlProxy) XXX_Merge(src proto.Message) { + xxx_messageInfo_ControlProxy.Merge(m, src) } func (m *ControlProxy) XXX_Size() int { return xxx_messageInfo_ControlProxy.Size(m) @@ -60,9 +63,9 @@ func (m *ControlProxy) GetLogLevel() protos.LogLevel { return protos.LogLevel_DEBUG } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // DnsD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type DnsD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` EnableCaching bool `protobuf:"varint,2,opt,name=enable_caching,json=enableCaching,proto3" json:"enable_caching,omitempty"` @@ -77,16 +80,17 @@ func (m *DnsD) Reset() { *m = DnsD{} } func (m *DnsD) String() string { return proto.CompactTextString(m) } func (*DnsD) ProtoMessage() {} func (*DnsD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{1} + return fileDescriptor_9618f358f05ec5b9, []int{1} } + func (m *DnsD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DnsD.Unmarshal(m, b) } func (m *DnsD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DnsD.Marshal(b, m, deterministic) } -func (dst *DnsD) XXX_Merge(src proto.Message) { - xxx_messageInfo_DnsD.Merge(dst, src) +func (m *DnsD) XXX_Merge(src proto.Message) { + xxx_messageInfo_DnsD.Merge(m, src) } func (m *DnsD) XXX_Size() int { return xxx_messageInfo_DnsD.Size(m) @@ -139,16 +143,17 @@ func (m *NetworkDNSConfigRecordsItems) Reset() { *m = NetworkDNSConfigRe func (m *NetworkDNSConfigRecordsItems) String() string { return proto.CompactTextString(m) } func (*NetworkDNSConfigRecordsItems) ProtoMessage() {} func (*NetworkDNSConfigRecordsItems) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{2} + return fileDescriptor_9618f358f05ec5b9, []int{2} } + func (m *NetworkDNSConfigRecordsItems) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkDNSConfigRecordsItems.Unmarshal(m, b) } func (m *NetworkDNSConfigRecordsItems) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkDNSConfigRecordsItems.Marshal(b, m, deterministic) } -func (dst *NetworkDNSConfigRecordsItems) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkDNSConfigRecordsItems.Merge(dst, src) +func (m *NetworkDNSConfigRecordsItems) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkDNSConfigRecordsItems.Merge(m, src) } func (m *NetworkDNSConfigRecordsItems) XXX_Size() int { return xxx_messageInfo_NetworkDNSConfigRecordsItems.Size(m) @@ -199,16 +204,17 @@ func (m *ImageSpec) Reset() { *m = ImageSpec{} } func (m *ImageSpec) String() string { return proto.CompactTextString(m) } func (*ImageSpec) ProtoMessage() {} func (*ImageSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{3} + return fileDescriptor_9618f358f05ec5b9, []int{3} } + func (m *ImageSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageSpec.Unmarshal(m, b) } func (m *ImageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ImageSpec.Marshal(b, m, deterministic) } -func (dst *ImageSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageSpec.Merge(dst, src) +func (m *ImageSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImageSpec.Merge(m, src) } func (m *ImageSpec) XXX_Size() int { return xxx_messageInfo_ImageSpec.Size(m) @@ -261,16 +267,17 @@ func (m *MagmaD) Reset() { *m = MagmaD{} } func (m *MagmaD) String() string { return proto.CompactTextString(m) } func (*MagmaD) ProtoMessage() {} func (*MagmaD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{4} + return fileDescriptor_9618f358f05ec5b9, []int{4} } + func (m *MagmaD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MagmaD.Unmarshal(m, b) } func (m *MagmaD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MagmaD.Marshal(b, m, deterministic) } -func (dst *MagmaD) XXX_Merge(src proto.Message) { - xxx_messageInfo_MagmaD.Merge(dst, src) +func (m *MagmaD) XXX_Merge(src proto.Message) { + xxx_messageInfo_MagmaD.Merge(m, src) } func (m *MagmaD) XXX_Size() int { return xxx_messageInfo_MagmaD.Size(m) @@ -362,16 +369,17 @@ func (m *DirectoryD) Reset() { *m = DirectoryD{} } func (m *DirectoryD) String() string { return proto.CompactTextString(m) } func (*DirectoryD) ProtoMessage() {} func (*DirectoryD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{5} + return fileDescriptor_9618f358f05ec5b9, []int{5} } + func (m *DirectoryD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DirectoryD.Unmarshal(m, b) } func (m *DirectoryD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DirectoryD.Marshal(b, m, deterministic) } -func (dst *DirectoryD) XXX_Merge(src proto.Message) { - xxx_messageInfo_DirectoryD.Merge(dst, src) +func (m *DirectoryD) XXX_Merge(src proto.Message) { + xxx_messageInfo_DirectoryD.Merge(m, src) } func (m *DirectoryD) XXX_Size() int { return xxx_messageInfo_DirectoryD.Size(m) @@ -389,9 +397,9 @@ func (m *DirectoryD) GetLogLevel() protos.LogLevel { return protos.LogLevel_DEBUG } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // MetricsD configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type MetricsD struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -403,16 +411,17 @@ func (m *MetricsD) Reset() { *m = MetricsD{} } func (m *MetricsD) String() string { return proto.CompactTextString(m) } func (*MetricsD) ProtoMessage() {} func (*MetricsD) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{6} + return fileDescriptor_9618f358f05ec5b9, []int{6} } + func (m *MetricsD) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetricsD.Unmarshal(m, b) } func (m *MetricsD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MetricsD.Marshal(b, m, deterministic) } -func (dst *MetricsD) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricsD.Merge(dst, src) +func (m *MetricsD) XXX_Merge(src proto.Message) { + xxx_messageInfo_MetricsD.Merge(m, src) } func (m *MetricsD) XXX_Size() int { return xxx_messageInfo_MetricsD.Size(m) @@ -430,9 +439,9 @@ func (m *MetricsD) GetLogLevel() protos.LogLevel { return protos.LogLevel_DEBUG } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // State configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type State struct { LogLevel protos.LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,proto3,enum=magma.orc8r.LogLevel" json:"log_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -444,16 +453,17 @@ func (m *State) Reset() { *m = State{} } func (m *State) String() string { return proto.CompactTextString(m) } func (*State) ProtoMessage() {} func (*State) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{7} + return fileDescriptor_9618f358f05ec5b9, []int{7} } + func (m *State) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_State.Unmarshal(m, b) } func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_State.Marshal(b, m, deterministic) } -func (dst *State) XXX_Merge(src proto.Message) { - xxx_messageInfo_State.Merge(dst, src) +func (m *State) XXX_Merge(src proto.Message) { + xxx_messageInfo_State.Merge(m, src) } func (m *State) XXX_Size() int { return xxx_messageInfo_State.Size(m) @@ -471,9 +481,9 @@ func (m *State) GetLogLevel() protos.LogLevel { return protos.LogLevel_DEBUG } -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // Fluent Bit configs -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ type FluentBit struct { ExtraTags map[string]string `protobuf:"bytes,1,rep,name=extra_tags,json=extraTags,proto3" json:"extra_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` ThrottleRate uint32 `protobuf:"varint,10,opt,name=throttle_rate,json=throttleRate,proto3" json:"throttle_rate,omitempty"` @@ -488,16 +498,17 @@ func (m *FluentBit) Reset() { *m = FluentBit{} } func (m *FluentBit) String() string { return proto.CompactTextString(m) } func (*FluentBit) ProtoMessage() {} func (*FluentBit) Descriptor() ([]byte, []int) { - return fileDescriptor_mconfigs_0d490db20afc1c18, []int{8} + return fileDescriptor_9618f358f05ec5b9, []int{8} } + func (m *FluentBit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FluentBit.Unmarshal(m, b) } func (m *FluentBit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FluentBit.Marshal(b, m, deterministic) } -func (dst *FluentBit) XXX_Merge(src proto.Message) { - xxx_messageInfo_FluentBit.Merge(dst, src) +func (m *FluentBit) XXX_Merge(src proto.Message) { + xxx_messageInfo_FluentBit.Merge(m, src) } func (m *FluentBit) XXX_Size() int { return xxx_messageInfo_FluentBit.Size(m) @@ -551,10 +562,10 @@ func init() { } func init() { - proto.RegisterFile("orc8r/protos/mconfig/mconfigs.proto", fileDescriptor_mconfigs_0d490db20afc1c18) + proto.RegisterFile("orc8r/protos/mconfig/mconfigs.proto", fileDescriptor_9618f358f05ec5b9) } -var fileDescriptor_mconfigs_0d490db20afc1c18 = []byte{ +var fileDescriptor_9618f358f05ec5b9 = []byte{ // 743 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x6d, 0x6b, 0xe3, 0x46, 0x10, 0xc7, 0x51, 0xfc, 0x10, 0x6b, 0x62, 0x3b, 0xb9, 0xed, 0xc3, 0x29, 0xa1, 0x50, 0x57, 0xe1, diff --git a/orc8r/cloud/go/protos/metricsd.pb.go b/orc8r/cloud/go/protos/metricsd.pb.go index 7359943a3d96..6818e422204f 100644 --- a/orc8r/cloud/go/protos/metricsd.pb.go +++ b/orc8r/cloud/go/protos/metricsd.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/metricsd.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _go "github.com/prometheus/client_model/go" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _go "github.com/prometheus/client_model/go" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // For each metric name tracked, we use an enum type MetricName int32 @@ -118,9 +119,9 @@ const ( MetricName_network_iface_status MetricName = 354 MetricName_enforcement_rule_install_fail MetricName = 355 MetricName_enforcement_stats_rule_install_fail MetricName = 356 - // ///////////////////////////// + /////////////////////////////// // GATEWAY FAILURES & ALERTS // - // ///////////////////////////// + /////////////////////////////// MetricName_mme_restarted MetricName = 400 MetricName_s1_reset_from_enb MetricName = 401 // SCTP @@ -155,9 +156,9 @@ const ( MetricName_nas_non_delivery_indication_received MetricName = 482 MetricName_emm_status_received MetricName = 483 MetricName_emm_status_sent MetricName = 484 - // ////////////////////// + //////////////////////// // GATEWAY PROCEDURES // - // ////////////////////// + //////////////////////// MetricName_mme_new_association MetricName = 500 MetricName_ue_attach MetricName = 501 MetricName_service_request MetricName = 502 @@ -294,6 +295,7 @@ var MetricName_name = map[int32]string{ 508: "s1_setup", 550: "service_errors", } + var MetricName_value = map[string]int32{ "process_start_time_seconds": 0, "process_virtual_memory_bytes": 1, @@ -419,8 +421,9 @@ var MetricName_value = map[string]int32{ func (x MetricName) String() string { return proto.EnumName(MetricName_name, int32(x)) } + func (MetricName) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_metricsd_995ef027790e020a, []int{0} + return fileDescriptor_65dcd99ac93a06b7, []int{0} } // Possible labels, used as metric_name{label_name=label_value} @@ -469,6 +472,7 @@ var MetricLabelName_name = map[int32]string{ 17: "rule_id", 18: "imsi", } + var MetricLabelName_value = map[string]int32{ "result": 0, "cause": 1, @@ -494,8 +498,9 @@ var MetricLabelName_value = map[string]int32{ func (x MetricLabelName) String() string { return proto.EnumName(MetricLabelName_name, int32(x)) } + func (MetricLabelName) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_metricsd_995ef027790e020a, []int{1} + return fileDescriptor_65dcd99ac93a06b7, []int{1} } type MetricsContainer struct { @@ -512,16 +517,17 @@ func (m *MetricsContainer) Reset() { *m = MetricsContainer{} } func (m *MetricsContainer) String() string { return proto.CompactTextString(m) } func (*MetricsContainer) ProtoMessage() {} func (*MetricsContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_metricsd_995ef027790e020a, []int{0} + return fileDescriptor_65dcd99ac93a06b7, []int{0} } + func (m *MetricsContainer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetricsContainer.Unmarshal(m, b) } func (m *MetricsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MetricsContainer.Marshal(b, m, deterministic) } -func (dst *MetricsContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricsContainer.Merge(dst, src) +func (m *MetricsContainer) XXX_Merge(src proto.Message) { + xxx_messageInfo_MetricsContainer.Merge(m, src) } func (m *MetricsContainer) XXX_Size() int { return xxx_messageInfo_MetricsContainer.Size(m) @@ -560,16 +566,17 @@ func (m *PushedMetric) Reset() { *m = PushedMetric{} } func (m *PushedMetric) String() string { return proto.CompactTextString(m) } func (*PushedMetric) ProtoMessage() {} func (*PushedMetric) Descriptor() ([]byte, []int) { - return fileDescriptor_metricsd_995ef027790e020a, []int{1} + return fileDescriptor_65dcd99ac93a06b7, []int{1} } + func (m *PushedMetric) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PushedMetric.Unmarshal(m, b) } func (m *PushedMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PushedMetric.Marshal(b, m, deterministic) } -func (dst *PushedMetric) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushedMetric.Merge(dst, src) +func (m *PushedMetric) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushedMetric.Merge(m, src) } func (m *PushedMetric) XXX_Size() int { return xxx_messageInfo_PushedMetric.Size(m) @@ -620,16 +627,17 @@ func (m *LabelPair) Reset() { *m = LabelPair{} } func (m *LabelPair) String() string { return proto.CompactTextString(m) } func (*LabelPair) ProtoMessage() {} func (*LabelPair) Descriptor() ([]byte, []int) { - return fileDescriptor_metricsd_995ef027790e020a, []int{2} + return fileDescriptor_65dcd99ac93a06b7, []int{2} } + func (m *LabelPair) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelPair.Unmarshal(m, b) } func (m *LabelPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LabelPair.Marshal(b, m, deterministic) } -func (dst *LabelPair) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelPair.Merge(dst, src) +func (m *LabelPair) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelPair.Merge(m, src) } func (m *LabelPair) XXX_Size() int { return xxx_messageInfo_LabelPair.Size(m) @@ -666,16 +674,17 @@ func (m *PushedMetricsContainer) Reset() { *m = PushedMetricsContainer{} func (m *PushedMetricsContainer) String() string { return proto.CompactTextString(m) } func (*PushedMetricsContainer) ProtoMessage() {} func (*PushedMetricsContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_metricsd_995ef027790e020a, []int{3} + return fileDescriptor_65dcd99ac93a06b7, []int{3} } + func (m *PushedMetricsContainer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PushedMetricsContainer.Unmarshal(m, b) } func (m *PushedMetricsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PushedMetricsContainer.Marshal(b, m, deterministic) } -func (dst *PushedMetricsContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushedMetricsContainer.Merge(dst, src) +func (m *PushedMetricsContainer) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushedMetricsContainer.Merge(m, src) } func (m *PushedMetricsContainer) XXX_Size() int { return xxx_messageInfo_PushedMetricsContainer.Size(m) @@ -701,128 +710,17 @@ func (m *PushedMetricsContainer) GetMetrics() []*PushedMetric { } func init() { + proto.RegisterEnum("magma.orc8r.MetricName", MetricName_name, MetricName_value) + proto.RegisterEnum("magma.orc8r.MetricLabelName", MetricLabelName_name, MetricLabelName_value) proto.RegisterType((*MetricsContainer)(nil), "magma.orc8r.MetricsContainer") proto.RegisterType((*PushedMetric)(nil), "magma.orc8r.PushedMetric") proto.RegisterType((*LabelPair)(nil), "magma.orc8r.LabelPair") proto.RegisterType((*PushedMetricsContainer)(nil), "magma.orc8r.PushedMetricsContainer") - proto.RegisterEnum("magma.orc8r.MetricName", MetricName_name, MetricName_value) - proto.RegisterEnum("magma.orc8r.MetricLabelName", MetricLabelName_name, MetricLabelName_value) -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// MetricsControllerClient is the client API for MetricsController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MetricsControllerClient interface { - // Report a collection of metrics from a service - Collect(ctx context.Context, in *MetricsContainer, opts ...grpc.CallOption) (*Void, error) - // Push a collection of metrics to metricsd - Push(ctx context.Context, in *PushedMetricsContainer, opts ...grpc.CallOption) (*Void, error) -} - -type metricsControllerClient struct { - cc *grpc.ClientConn -} - -func NewMetricsControllerClient(cc *grpc.ClientConn) MetricsControllerClient { - return &metricsControllerClient{cc} -} - -func (c *metricsControllerClient) Collect(ctx context.Context, in *MetricsContainer, opts ...grpc.CallOption) (*Void, error) { - out := new(Void) - err := c.cc.Invoke(ctx, "/magma.orc8r.MetricsController/Collect", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsControllerClient) Push(ctx context.Context, in *PushedMetricsContainer, opts ...grpc.CallOption) (*Void, error) { - out := new(Void) - err := c.cc.Invoke(ctx, "/magma.orc8r.MetricsController/Push", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MetricsControllerServer is the server API for MetricsController service. -type MetricsControllerServer interface { - // Report a collection of metrics from a service - Collect(context.Context, *MetricsContainer) (*Void, error) - // Push a collection of metrics to metricsd - Push(context.Context, *PushedMetricsContainer) (*Void, error) -} - -func RegisterMetricsControllerServer(s *grpc.Server, srv MetricsControllerServer) { - s.RegisterService(&_MetricsController_serviceDesc, srv) -} - -func _MetricsController_Collect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MetricsContainer) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsControllerServer).Collect(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.orc8r.MetricsController/Collect", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsControllerServer).Collect(ctx, req.(*MetricsContainer)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsController_Push_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PushedMetricsContainer) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsControllerServer).Push(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/magma.orc8r.MetricsController/Push", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsControllerServer).Push(ctx, req.(*PushedMetricsContainer)) - } - return interceptor(ctx, in, info, handler) -} - -var _MetricsController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "magma.orc8r.MetricsController", - HandlerType: (*MetricsControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Collect", - Handler: _MetricsController_Collect_Handler, - }, - { - MethodName: "Push", - Handler: _MetricsController_Push_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "orc8r/protos/metricsd.proto", } -func init() { - proto.RegisterFile("orc8r/protos/metricsd.proto", fileDescriptor_metricsd_995ef027790e020a) -} +func init() { proto.RegisterFile("orc8r/protos/metricsd.proto", fileDescriptor_65dcd99ac93a06b7) } -var fileDescriptor_metricsd_995ef027790e020a = []byte{ +var fileDescriptor_65dcd99ac93a06b7 = []byte{ // 2067 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x58, 0x59, 0x6f, 0x1d, 0x49, 0x15, 0x9e, 0xee, 0x76, 0x9c, 0xb8, 0x9c, 0xc4, 0xe5, 0xca, 0x66, 0x3b, 0x71, 0xc6, 0xe3, 0x59, @@ -955,3 +853,123 @@ var fileDescriptor_metricsd_995ef027790e020a = []byte{ 0xe9, 0xcc, 0xc7, 0xff, 0xaf, 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x74, 0x03, 0x94, 0x62, 0x11, 0x00, 0x00, } + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MetricsControllerClient is the client API for MetricsController service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MetricsControllerClient interface { + // Report a collection of metrics from a service + Collect(ctx context.Context, in *MetricsContainer, opts ...grpc.CallOption) (*Void, error) + // Push a collection of metrics to metricsd + Push(ctx context.Context, in *PushedMetricsContainer, opts ...grpc.CallOption) (*Void, error) +} + +type metricsControllerClient struct { + cc *grpc.ClientConn +} + +func NewMetricsControllerClient(cc *grpc.ClientConn) MetricsControllerClient { + return &metricsControllerClient{cc} +} + +func (c *metricsControllerClient) Collect(ctx context.Context, in *MetricsContainer, opts ...grpc.CallOption) (*Void, error) { + out := new(Void) + err := c.cc.Invoke(ctx, "/magma.orc8r.MetricsController/Collect", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metricsControllerClient) Push(ctx context.Context, in *PushedMetricsContainer, opts ...grpc.CallOption) (*Void, error) { + out := new(Void) + err := c.cc.Invoke(ctx, "/magma.orc8r.MetricsController/Push", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MetricsControllerServer is the server API for MetricsController service. +type MetricsControllerServer interface { + // Report a collection of metrics from a service + Collect(context.Context, *MetricsContainer) (*Void, error) + // Push a collection of metrics to metricsd + Push(context.Context, *PushedMetricsContainer) (*Void, error) +} + +// UnimplementedMetricsControllerServer can be embedded to have forward compatible implementations. +type UnimplementedMetricsControllerServer struct { +} + +func (*UnimplementedMetricsControllerServer) Collect(ctx context.Context, req *MetricsContainer) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method Collect not implemented") +} +func (*UnimplementedMetricsControllerServer) Push(ctx context.Context, req *PushedMetricsContainer) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method Push not implemented") +} + +func RegisterMetricsControllerServer(s *grpc.Server, srv MetricsControllerServer) { + s.RegisterService(&_MetricsController_serviceDesc, srv) +} + +func _MetricsController_Collect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MetricsContainer) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsControllerServer).Collect(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.orc8r.MetricsController/Collect", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsControllerServer).Collect(ctx, req.(*MetricsContainer)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetricsController_Push_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PushedMetricsContainer) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsControllerServer).Push(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/magma.orc8r.MetricsController/Push", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsControllerServer).Push(ctx, req.(*PushedMetricsContainer)) + } + return interceptor(ctx, in, info, handler) +} + +var _MetricsController_serviceDesc = grpc.ServiceDesc{ + ServiceName: "magma.orc8r.MetricsController", + HandlerType: (*MetricsControllerServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Collect", + Handler: _MetricsController_Collect_Handler, + }, + { + MethodName: "Push", + Handler: _MetricsController_Push_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "orc8r/protos/metricsd.proto", +} diff --git a/orc8r/cloud/go/protos/redis.pb.go b/orc8r/cloud/go/protos/redis.pb.go index 1ac7d71e7565..65928bad6c4a 100644 --- a/orc8r/cloud/go/protos/redis.pb.go +++ b/orc8r/cloud/go/protos/redis.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/redis.proto -package protos // import "magma/orc8r/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type RedisState struct { SerializedMsg []byte `protobuf:"bytes,1,opt,name=serialized_msg,json=serializedMsg,proto3" json:"serialized_msg,omitempty"` @@ -30,16 +32,17 @@ func (m *RedisState) Reset() { *m = RedisState{} } func (m *RedisState) String() string { return proto.CompactTextString(m) } func (*RedisState) ProtoMessage() {} func (*RedisState) Descriptor() ([]byte, []int) { - return fileDescriptor_redis_d454e9a7c8681dcf, []int{0} + return fileDescriptor_e6de3b144d47785a, []int{0} } + func (m *RedisState) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RedisState.Unmarshal(m, b) } func (m *RedisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RedisState.Marshal(b, m, deterministic) } -func (dst *RedisState) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedisState.Merge(dst, src) +func (m *RedisState) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedisState.Merge(m, src) } func (m *RedisState) XXX_Size() int { return xxx_messageInfo_RedisState.Size(m) @@ -68,9 +71,9 @@ func init() { proto.RegisterType((*RedisState)(nil), "magma.orc8r.RedisState") } -func init() { proto.RegisterFile("orc8r/protos/redis.proto", fileDescriptor_redis_d454e9a7c8681dcf) } +func init() { proto.RegisterFile("orc8r/protos/redis.proto", fileDescriptor_e6de3b144d47785a) } -var fileDescriptor_redis_d454e9a7c8681dcf = []byte{ +var fileDescriptor_e6de3b144d47785a = []byte{ // 143 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xc8, 0x2f, 0x4a, 0xb6, 0x28, 0xd2, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0xd6, 0x2f, 0x4a, 0x4d, 0xc9, 0x2c, 0xd6, 0x03, diff --git a/orc8r/cloud/go/protos/service303.pb.go b/orc8r/cloud/go/protos/service303.pb.go index 29a8195f9f32..0f8c16852228 100644 --- a/orc8r/cloud/go/protos/service303.pb.go +++ b/orc8r/cloud/go/protos/service303.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/service303.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ServiceInfo_ServiceState int32 @@ -41,6 +42,7 @@ var ServiceInfo_ServiceState_name = map[int32]string{ 3: "STOPPING", 4: "STOPPED", } + var ServiceInfo_ServiceState_value = map[string]int32{ "UNKNOWN": 0, "STARTING": 1, @@ -52,8 +54,9 @@ var ServiceInfo_ServiceState_value = map[string]int32{ func (x ServiceInfo_ServiceState) String() string { return proto.EnumName(ServiceInfo_ServiceState_name, int32(x)) } + func (ServiceInfo_ServiceState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{2, 0} + return fileDescriptor_fea98f0cd8267efb, []int{2, 0} } // Gives information about whether the application is usable. Though the @@ -72,6 +75,7 @@ var ServiceInfo_ApplicationHealth_name = map[int32]string{ 1: "APP_UNHEALTHY", 2: "APP_HEALTHY", } + var ServiceInfo_ApplicationHealth_value = map[string]int32{ "APP_UNKNOWN": 0, "APP_UNHEALTHY": 1, @@ -81,8 +85,9 @@ var ServiceInfo_ApplicationHealth_value = map[string]int32{ func (x ServiceInfo_ApplicationHealth) String() string { return proto.EnumName(ServiceInfo_ApplicationHealth_name, int32(x)) } + func (ServiceInfo_ApplicationHealth) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{2, 1} + return fileDescriptor_fea98f0cd8267efb, []int{2, 1} } type ReloadConfigResponse_ReloadConfigResult int32 @@ -100,6 +105,7 @@ var ReloadConfigResponse_ReloadConfigResult_name = map[int32]string{ 2: "RELOAD_FAILURE", 3: "RELOAD_UNSUPPORTED", } + var ReloadConfigResponse_ReloadConfigResult_value = map[string]int32{ "RELOAD_UNKNOWN": 0, "RELOAD_SUCCESS": 1, @@ -110,8 +116,9 @@ var ReloadConfigResponse_ReloadConfigResult_value = map[string]int32{ func (x ReloadConfigResponse_ReloadConfigResult) String() string { return proto.EnumName(ReloadConfigResponse_ReloadConfigResult_name, int32(x)) } + func (ReloadConfigResponse_ReloadConfigResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{5, 0} + return fileDescriptor_fea98f0cd8267efb, []int{5, 0} } type EnodebdStatus struct { @@ -135,16 +142,17 @@ func (m *EnodebdStatus) Reset() { *m = EnodebdStatus{} } func (m *EnodebdStatus) String() string { return proto.CompactTextString(m) } func (*EnodebdStatus) ProtoMessage() {} func (*EnodebdStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{0} + return fileDescriptor_fea98f0cd8267efb, []int{0} } + func (m *EnodebdStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnodebdStatus.Unmarshal(m, b) } func (m *EnodebdStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnodebdStatus.Marshal(b, m, deterministic) } -func (dst *EnodebdStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnodebdStatus.Merge(dst, src) +func (m *EnodebdStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnodebdStatus.Merge(m, src) } func (m *EnodebdStatus) XXX_Size() int { return xxx_messageInfo_EnodebdStatus.Size(m) @@ -237,16 +245,17 @@ func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } func (m *ServiceStatus) String() string { return proto.CompactTextString(m) } func (*ServiceStatus) ProtoMessage() {} func (*ServiceStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{1} + return fileDescriptor_fea98f0cd8267efb, []int{1} } + func (m *ServiceStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceStatus.Unmarshal(m, b) } func (m *ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceStatus.Marshal(b, m, deterministic) } -func (dst *ServiceStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStatus.Merge(dst, src) +func (m *ServiceStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceStatus.Merge(m, src) } func (m *ServiceStatus) XXX_Size() int { return xxx_messageInfo_ServiceStatus.Size(m) @@ -281,16 +290,17 @@ func (m *ServiceInfo) Reset() { *m = ServiceInfo{} } func (m *ServiceInfo) String() string { return proto.CompactTextString(m) } func (*ServiceInfo) ProtoMessage() {} func (*ServiceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{2} + return fileDescriptor_fea98f0cd8267efb, []int{2} } + func (m *ServiceInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceInfo.Unmarshal(m, b) } func (m *ServiceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceInfo.Marshal(b, m, deterministic) } -func (dst *ServiceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceInfo.Merge(dst, src) +func (m *ServiceInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceInfo.Merge(m, src) } func (m *ServiceInfo) XXX_Size() int { return xxx_messageInfo_ServiceInfo.Size(m) @@ -354,16 +364,17 @@ func (m *LogLevelMessage) Reset() { *m = LogLevelMessage{} } func (m *LogLevelMessage) String() string { return proto.CompactTextString(m) } func (*LogLevelMessage) ProtoMessage() {} func (*LogLevelMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{3} + return fileDescriptor_fea98f0cd8267efb, []int{3} } + func (m *LogLevelMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogLevelMessage.Unmarshal(m, b) } func (m *LogLevelMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogLevelMessage.Marshal(b, m, deterministic) } -func (dst *LogLevelMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogLevelMessage.Merge(dst, src) +func (m *LogLevelMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogLevelMessage.Merge(m, src) } func (m *LogLevelMessage) XXX_Size() int { return xxx_messageInfo_LogLevelMessage.Size(m) @@ -392,16 +403,17 @@ func (m *LogVerbosity) Reset() { *m = LogVerbosity{} } func (m *LogVerbosity) String() string { return proto.CompactTextString(m) } func (*LogVerbosity) ProtoMessage() {} func (*LogVerbosity) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{4} + return fileDescriptor_fea98f0cd8267efb, []int{4} } + func (m *LogVerbosity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogVerbosity.Unmarshal(m, b) } func (m *LogVerbosity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogVerbosity.Marshal(b, m, deterministic) } -func (dst *LogVerbosity) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogVerbosity.Merge(dst, src) +func (m *LogVerbosity) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogVerbosity.Merge(m, src) } func (m *LogVerbosity) XXX_Size() int { return xxx_messageInfo_LogVerbosity.Size(m) @@ -430,16 +442,17 @@ func (m *ReloadConfigResponse) Reset() { *m = ReloadConfigResponse{} } func (m *ReloadConfigResponse) String() string { return proto.CompactTextString(m) } func (*ReloadConfigResponse) ProtoMessage() {} func (*ReloadConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{5} + return fileDescriptor_fea98f0cd8267efb, []int{5} } + func (m *ReloadConfigResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReloadConfigResponse.Unmarshal(m, b) } func (m *ReloadConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ReloadConfigResponse.Marshal(b, m, deterministic) } -func (dst *ReloadConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReloadConfigResponse.Merge(dst, src) +func (m *ReloadConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReloadConfigResponse.Merge(m, src) } func (m *ReloadConfigResponse) XXX_Size() int { return xxx_messageInfo_ReloadConfigResponse.Size(m) @@ -473,16 +486,17 @@ func (m *State) Reset() { *m = State{} } func (m *State) String() string { return proto.CompactTextString(m) } func (*State) ProtoMessage() {} func (*State) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{6} + return fileDescriptor_fea98f0cd8267efb, []int{6} } + func (m *State) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_State.Unmarshal(m, b) } func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_State.Marshal(b, m, deterministic) } -func (dst *State) XXX_Merge(src proto.Message) { - xxx_messageInfo_State.Merge(dst, src) +func (m *State) XXX_Merge(src proto.Message) { + xxx_messageInfo_State.Merge(m, src) } func (m *State) XXX_Size() int { return xxx_messageInfo_State.Size(m) @@ -532,16 +546,17 @@ func (m *GetOperationalStatesResponse) Reset() { *m = GetOperationalStat func (m *GetOperationalStatesResponse) String() string { return proto.CompactTextString(m) } func (*GetOperationalStatesResponse) ProtoMessage() {} func (*GetOperationalStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service303_d7e63dfb1ad6cb47, []int{7} + return fileDescriptor_fea98f0cd8267efb, []int{7} } + func (m *GetOperationalStatesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetOperationalStatesResponse.Unmarshal(m, b) } func (m *GetOperationalStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetOperationalStatesResponse.Marshal(b, m, deterministic) } -func (dst *GetOperationalStatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperationalStatesResponse.Merge(dst, src) +func (m *GetOperationalStatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOperationalStatesResponse.Merge(m, src) } func (m *GetOperationalStatesResponse) XXX_Size() int { return xxx_messageInfo_GetOperationalStatesResponse.Size(m) @@ -560,6 +575,9 @@ func (m *GetOperationalStatesResponse) GetStates() []*State { } func init() { + proto.RegisterEnum("magma.orc8r.ServiceInfo_ServiceState", ServiceInfo_ServiceState_name, ServiceInfo_ServiceState_value) + proto.RegisterEnum("magma.orc8r.ServiceInfo_ApplicationHealth", ServiceInfo_ApplicationHealth_name, ServiceInfo_ApplicationHealth_value) + proto.RegisterEnum("magma.orc8r.ReloadConfigResponse_ReloadConfigResult", ReloadConfigResponse_ReloadConfigResult_name, ReloadConfigResponse_ReloadConfigResult_value) proto.RegisterType((*EnodebdStatus)(nil), "magma.orc8r.EnodebdStatus") proto.RegisterType((*ServiceStatus)(nil), "magma.orc8r.ServiceStatus") proto.RegisterMapType((map[string]string)(nil), "magma.orc8r.ServiceStatus.MetaEntry") @@ -569,9 +587,75 @@ func init() { proto.RegisterType((*ReloadConfigResponse)(nil), "magma.orc8r.ReloadConfigResponse") proto.RegisterType((*State)(nil), "magma.orc8r.State") proto.RegisterType((*GetOperationalStatesResponse)(nil), "magma.orc8r.GetOperationalStatesResponse") - proto.RegisterEnum("magma.orc8r.ServiceInfo_ServiceState", ServiceInfo_ServiceState_name, ServiceInfo_ServiceState_value) - proto.RegisterEnum("magma.orc8r.ServiceInfo_ApplicationHealth", ServiceInfo_ApplicationHealth_name, ServiceInfo_ApplicationHealth_value) - proto.RegisterEnum("magma.orc8r.ReloadConfigResponse_ReloadConfigResult", ReloadConfigResponse_ReloadConfigResult_name, ReloadConfigResponse_ReloadConfigResult_value) +} + +func init() { proto.RegisterFile("orc8r/protos/service303.proto", fileDescriptor_fea98f0cd8267efb) } + +var fileDescriptor_fea98f0cd8267efb = []byte{ + // 1003 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0xed, 0x4e, 0xe3, 0x46, + 0x14, 0x25, 0xe4, 0x03, 0x72, 0x43, 0x3e, 0x98, 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, 0x8f, 0xa4, 0xd9, 0x54, 0xff, 0xd2, 0x73, 0x79, + 0xfd, 0x7c, 0xb6, 0xd4, 0xd4, 0xda, 0x0a, 0xb9, 0x81, 0xad, 0xbc, 0x41, 0xe7, 0xe9, 0x7d, 0x95, + 0x81, 0xfe, 0xcf, 0x1e, 0xda, 0xca, 0xf1, 0xee, 0x6f, 0xdb, 0x22, 0x7b, 0x4f, 0x7e, 0x0a, 0x59, + 0x1e, 0x9d, 0xd9, 0x7b, 0x0e, 0x55, 0xdf, 0x44, 0xb7, 0x15, 0xf1, 0xbb, 0xff, 0x5f, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x25, 0x82, 0xb9, 0x27, 0x71, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -695,6 +779,32 @@ type Service303Server interface { GetOperationalStates(context.Context, *Void) (*GetOperationalStatesResponse, error) } +// UnimplementedService303Server can be embedded to have forward compatible implementations. +type UnimplementedService303Server struct { +} + +func (*UnimplementedService303Server) GetServiceInfo(ctx context.Context, req *Void) (*ServiceInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetServiceInfo not implemented") +} +func (*UnimplementedService303Server) StopService(ctx context.Context, req *Void) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method StopService not implemented") +} +func (*UnimplementedService303Server) GetMetrics(ctx context.Context, req *Void) (*MetricsContainer, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented") +} +func (*UnimplementedService303Server) SetLogLevel(ctx context.Context, req *LogLevelMessage) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented") +} +func (*UnimplementedService303Server) SetLogVerbosity(ctx context.Context, req *LogVerbosity) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetLogVerbosity not implemented") +} +func (*UnimplementedService303Server) ReloadServiceConfig(ctx context.Context, req *Void) (*ReloadConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReloadServiceConfig not implemented") +} +func (*UnimplementedService303Server) GetOperationalStates(ctx context.Context, req *Void) (*GetOperationalStatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOperationalStates not implemented") +} + func RegisterService303Server(s *grpc.Server, srv Service303Server) { s.RegisterService(&_Service303_serviceDesc, srv) } @@ -861,74 +971,3 @@ var _Service303_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "orc8r/protos/service303.proto", } - -func init() { - proto.RegisterFile("orc8r/protos/service303.proto", fileDescriptor_service303_d7e63dfb1ad6cb47) -} - -var fileDescriptor_service303_d7e63dfb1ad6cb47 = []byte{ - // 1003 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0xed, 0x4e, 0xe3, 0x46, - 0x14, 0x25, 0xe4, 0x03, 0x72, 0x43, 0x3e, 0x98, 0xd2, 0x2a, 0x1b, 0xa0, 0xda, 0x5a, 0x6d, 0xb5, - 0xdd, 0x56, 0xa1, 0x0a, 0x5b, 0x15, 0xb5, 0x12, 0x6c, 0x80, 0x2c, 0xd0, 0x06, 0x12, 0xd9, 0x81, - 0xaa, 0xfd, 0x13, 0x19, 0xfb, 0x62, 0xac, 0xda, 0x1e, 0xcb, 0x33, 0xa1, 0xcb, 0xdf, 0xbe, 0x48, - 0x1f, 0xa2, 0xef, 0xd1, 0x87, 0xe9, 0x13, 0x54, 0x9e, 0x19, 0x27, 0xf6, 0x62, 0x9a, 0x5f, 0xf1, - 0x9c, 0x7b, 0xcf, 0x99, 0x7b, 0x7d, 0xcf, 0x55, 0x0c, 0xbb, 0x34, 0xb2, 0x0e, 0xa2, 0xbd, 0x30, - 0xa2, 0x9c, 0xb2, 0x3d, 0x86, 0xd1, 0x83, 0x6b, 0xe1, 0xfe, 0xb7, 0xfb, 0x5d, 0x81, 0x90, 0x9a, - 0x6f, 0x3a, 0xbe, 0xd9, 0x15, 0x49, 0x9d,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c, 0xf9, 0x5f, 0x29, 0x39, 0x82, 0xc6, 0x19, 0xf2, 0xf4, 0xea, 0x6e, 0x66, 0xc8, 0x37, - 0xd4, 0xb5, 0x3b, 0xed, 0xe7, 0xd6, 0x43, 0x5b, 0x21, 0xdf, 0x41, 0xcd, 0xe0, 0x34, 0x54, 0x60, - 0x1e, 0xfb, 0x29, 0xa4, 0xad, 0x90, 0xb7, 0x00, 0x67, 0xc8, 0x2f, 0xe5, 0x9f, 0x71, 0x1e, 0x6b, - 0x37, 0x03, 0xa9, 0xc4, 0x13, 0x1a, 0x70, 0xd3, 0x0d, 0x30, 0x12, 0x0a, 0x35, 0x03, 0x79, 0x62, - 0x49, 0xb2, 0x93, 0xeb, 0x54, 0x65, 0xeb, 0xfc, 0x1a, 0xfa, 0xd0, 0x94, 0x0a, 0x0b, 0x07, 0xbf, - 0xf8, 0x50, 0x65, 0x1e, 0xca, 0x97, 0xb8, 0x84, 0x8f, 0xa4, 0xd9, 0x54, 0xff, 0xd2, 0x73, 0x79, - 0xfd, 0x7c, 0xb6, 0xd4, 0xd4, 0xda, 0x0a, 0xb9, 0x81, 0xad, 0xbc, 0x41, 0xe7, 0xe9, 0x7d, 0x95, - 0x81, 0xfe, 0xcf, 0x1e, 0xda, 0xca, 0xf1, 0xee, 0x6f, 0xdb, 0x22, 0x7b, 0x4f, 0x7e, 0x0a, 0x59, - 0x1e, 0x9d, 0xd9, 0x7b, 0x0e, 0x55, 0xdf, 0x44, 0xb7, 0x15, 0xf1, 0xbb, 0xff, 0x5f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x25, 0x82, 0xb9, 0x27, 0x71, 0x09, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/protos/service_status.pb.go b/orc8r/cloud/go/protos/service_status.pb.go index 2890a8550188..c2b2ffe549c9 100644 --- a/orc8r/cloud/go/protos/service_status.pb.go +++ b/orc8r/cloud/go/protos/service_status.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/service_status.proto -package protos // import "magma/orc8r/cloud/go/protos" +package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // ServiceResult enumeration as defined in service "result" by systemd type ServiceExitStatus_ServiceResult int32 @@ -46,6 +48,7 @@ var ServiceExitStatus_ServiceResult_name = map[int32]string{ 8: "START_LIMIT_HIT", 9: "RESOURCES", } + var ServiceExitStatus_ServiceResult_value = map[string]int32{ "UNUSED": 0, "SUCCESS": 1, @@ -62,8 +65,9 @@ var ServiceExitStatus_ServiceResult_value = map[string]int32{ func (x ServiceExitStatus_ServiceResult) String() string { return proto.EnumName(ServiceExitStatus_ServiceResult_name, int32(x)) } + func (ServiceExitStatus_ServiceResult) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_service_status_3cfdc78a39c16ecf, []int{0, 0} + return fileDescriptor_5e31fb6a24e18c33, []int{0, 0} } // ExitCode enumeration as defined in service "result" by systemd @@ -82,6 +86,7 @@ var ServiceExitStatus_ExitCode_name = map[int32]string{ 2: "KILLED", 3: "DUMPED", } + var ServiceExitStatus_ExitCode_value = map[string]int32{ "UNUSED_EXIT_CODE": 0, "EXITED": 1, @@ -92,8 +97,9 @@ var ServiceExitStatus_ExitCode_value = map[string]int32{ func (x ServiceExitStatus_ExitCode) String() string { return proto.EnumName(ServiceExitStatus_ExitCode_name, int32(x)) } + func (ServiceExitStatus_ExitCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_service_status_3cfdc78a39c16ecf, []int{0, 1} + return fileDescriptor_5e31fb6a24e18c33, []int{0, 1} } type ServiceExitStatus struct { @@ -114,16 +120,17 @@ func (m *ServiceExitStatus) Reset() { *m = ServiceExitStatus{} } func (m *ServiceExitStatus) String() string { return proto.CompactTextString(m) } func (*ServiceExitStatus) ProtoMessage() {} func (*ServiceExitStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_service_status_3cfdc78a39c16ecf, []int{0} + return fileDescriptor_5e31fb6a24e18c33, []int{0} } + func (m *ServiceExitStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceExitStatus.Unmarshal(m, b) } func (m *ServiceExitStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceExitStatus.Marshal(b, m, deterministic) } -func (dst *ServiceExitStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceExitStatus.Merge(dst, src) +func (m *ServiceExitStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceExitStatus.Merge(m, src) } func (m *ServiceExitStatus) XXX_Size() int { return xxx_messageInfo_ServiceExitStatus.Size(m) @@ -170,16 +177,14 @@ func (m *ServiceExitStatus) GetNumFailExits() uint32 { } func init() { - proto.RegisterType((*ServiceExitStatus)(nil), "magma.orc8r.ServiceExitStatus") proto.RegisterEnum("magma.orc8r.ServiceExitStatus_ServiceResult", ServiceExitStatus_ServiceResult_name, ServiceExitStatus_ServiceResult_value) proto.RegisterEnum("magma.orc8r.ServiceExitStatus_ExitCode", ServiceExitStatus_ExitCode_name, ServiceExitStatus_ExitCode_value) + proto.RegisterType((*ServiceExitStatus)(nil), "magma.orc8r.ServiceExitStatus") } -func init() { - proto.RegisterFile("orc8r/protos/service_status.proto", fileDescriptor_service_status_3cfdc78a39c16ecf) -} +func init() { proto.RegisterFile("orc8r/protos/service_status.proto", fileDescriptor_5e31fb6a24e18c33) } -var fileDescriptor_service_status_3cfdc78a39c16ecf = []byte{ +var fileDescriptor_5e31fb6a24e18c33 = []byte{ // 417 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x6f, 0xd3, 0x30, 0x14, 0xc6, 0x97, 0xb6, 0xeb, 0xda, 0xb7, 0xb5, 0x33, 0x1e, 0x48, 0x95, 0x26, 0xa4, 0x51, 0x21, diff --git a/orc8r/cloud/go/protos/state.pb.go b/orc8r/cloud/go/protos/state.pb.go index 50da6690b088..2cf078cf4f03 100644 --- a/orc8r/cloud/go/protos/state.pb.go +++ b/orc8r/cloud/go/protos/state.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/state.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type StateID struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` @@ -35,16 +36,17 @@ func (m *StateID) Reset() { *m = StateID{} } func (m *StateID) String() string { return proto.CompactTextString(m) } func (*StateID) ProtoMessage() {} func (*StateID) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{0} + return fileDescriptor_645e93724c8b4dfe, []int{0} } + func (m *StateID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StateID.Unmarshal(m, b) } func (m *StateID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StateID.Marshal(b, m, deterministic) } -func (dst *StateID) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateID.Merge(dst, src) +func (m *StateID) XXX_Merge(src proto.Message) { + xxx_messageInfo_StateID.Merge(m, src) } func (m *StateID) XXX_Size() int { return xxx_messageInfo_StateID.Size(m) @@ -81,16 +83,17 @@ func (m *GetStatesRequest) Reset() { *m = GetStatesRequest{} } func (m *GetStatesRequest) String() string { return proto.CompactTextString(m) } func (*GetStatesRequest) ProtoMessage() {} func (*GetStatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{1} + return fileDescriptor_645e93724c8b4dfe, []int{1} } + func (m *GetStatesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetStatesRequest.Unmarshal(m, b) } func (m *GetStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetStatesRequest.Marshal(b, m, deterministic) } -func (dst *GetStatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStatesRequest.Merge(dst, src) +func (m *GetStatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetStatesRequest.Merge(m, src) } func (m *GetStatesRequest) XXX_Size() int { return xxx_messageInfo_GetStatesRequest.Size(m) @@ -126,16 +129,17 @@ func (m *GetStatesResponse) Reset() { *m = GetStatesResponse{} } func (m *GetStatesResponse) String() string { return proto.CompactTextString(m) } func (*GetStatesResponse) ProtoMessage() {} func (*GetStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{2} + return fileDescriptor_645e93724c8b4dfe, []int{2} } + func (m *GetStatesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetStatesResponse.Unmarshal(m, b) } func (m *GetStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetStatesResponse.Marshal(b, m, deterministic) } -func (dst *GetStatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStatesResponse.Merge(dst, src) +func (m *GetStatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetStatesResponse.Merge(m, src) } func (m *GetStatesResponse) XXX_Size() int { return xxx_messageInfo_GetStatesResponse.Size(m) @@ -164,16 +168,17 @@ func (m *ReportStatesRequest) Reset() { *m = ReportStatesRequest{} } func (m *ReportStatesRequest) String() string { return proto.CompactTextString(m) } func (*ReportStatesRequest) ProtoMessage() {} func (*ReportStatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{3} + return fileDescriptor_645e93724c8b4dfe, []int{3} } + func (m *ReportStatesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportStatesRequest.Unmarshal(m, b) } func (m *ReportStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ReportStatesRequest.Marshal(b, m, deterministic) } -func (dst *ReportStatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportStatesRequest.Merge(dst, src) +func (m *ReportStatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReportStatesRequest.Merge(m, src) } func (m *ReportStatesRequest) XXX_Size() int { return xxx_messageInfo_ReportStatesRequest.Size(m) @@ -202,16 +207,17 @@ func (m *ReportStatesResponse) Reset() { *m = ReportStatesResponse{} } func (m *ReportStatesResponse) String() string { return proto.CompactTextString(m) } func (*ReportStatesResponse) ProtoMessage() {} func (*ReportStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{4} + return fileDescriptor_645e93724c8b4dfe, []int{4} } + func (m *ReportStatesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportStatesResponse.Unmarshal(m, b) } func (m *ReportStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ReportStatesResponse.Marshal(b, m, deterministic) } -func (dst *ReportStatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportStatesResponse.Merge(dst, src) +func (m *ReportStatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReportStatesResponse.Merge(m, src) } func (m *ReportStatesResponse) XXX_Size() int { return xxx_messageInfo_ReportStatesResponse.Size(m) @@ -242,16 +248,17 @@ func (m *IDAndError) Reset() { *m = IDAndError{} } func (m *IDAndError) String() string { return proto.CompactTextString(m) } func (*IDAndError) ProtoMessage() {} func (*IDAndError) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{5} + return fileDescriptor_645e93724c8b4dfe, []int{5} } + func (m *IDAndError) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IDAndError.Unmarshal(m, b) } func (m *IDAndError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IDAndError.Marshal(b, m, deterministic) } -func (dst *IDAndError) XXX_Merge(src proto.Message) { - xxx_messageInfo_IDAndError.Merge(dst, src) +func (m *IDAndError) XXX_Merge(src proto.Message) { + xxx_messageInfo_IDAndError.Merge(m, src) } func (m *IDAndError) XXX_Size() int { return xxx_messageInfo_IDAndError.Size(m) @@ -295,16 +302,17 @@ func (m *DeleteStatesRequest) Reset() { *m = DeleteStatesRequest{} } func (m *DeleteStatesRequest) String() string { return proto.CompactTextString(m) } func (*DeleteStatesRequest) ProtoMessage() {} func (*DeleteStatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{6} + return fileDescriptor_645e93724c8b4dfe, []int{6} } + func (m *DeleteStatesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteStatesRequest.Unmarshal(m, b) } func (m *DeleteStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteStatesRequest.Marshal(b, m, deterministic) } -func (dst *DeleteStatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteStatesRequest.Merge(dst, src) +func (m *DeleteStatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteStatesRequest.Merge(m, src) } func (m *DeleteStatesRequest) XXX_Size() int { return xxx_messageInfo_DeleteStatesRequest.Size(m) @@ -340,16 +348,17 @@ func (m *SyncStatesRequest) Reset() { *m = SyncStatesRequest{} } func (m *SyncStatesRequest) String() string { return proto.CompactTextString(m) } func (*SyncStatesRequest) ProtoMessage() {} func (*SyncStatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{7} + return fileDescriptor_645e93724c8b4dfe, []int{7} } + func (m *SyncStatesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SyncStatesRequest.Unmarshal(m, b) } func (m *SyncStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SyncStatesRequest.Marshal(b, m, deterministic) } -func (dst *SyncStatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncStatesRequest.Merge(dst, src) +func (m *SyncStatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncStatesRequest.Merge(m, src) } func (m *SyncStatesRequest) XXX_Size() int { return xxx_messageInfo_SyncStatesRequest.Size(m) @@ -379,16 +388,17 @@ func (m *IDAndVersion) Reset() { *m = IDAndVersion{} } func (m *IDAndVersion) String() string { return proto.CompactTextString(m) } func (*IDAndVersion) ProtoMessage() {} func (*IDAndVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{8} + return fileDescriptor_645e93724c8b4dfe, []int{8} } + func (m *IDAndVersion) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IDAndVersion.Unmarshal(m, b) } func (m *IDAndVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IDAndVersion.Marshal(b, m, deterministic) } -func (dst *IDAndVersion) XXX_Merge(src proto.Message) { - xxx_messageInfo_IDAndVersion.Merge(dst, src) +func (m *IDAndVersion) XXX_Merge(src proto.Message) { + xxx_messageInfo_IDAndVersion.Merge(m, src) } func (m *IDAndVersion) XXX_Size() int { return xxx_messageInfo_IDAndVersion.Size(m) @@ -424,16 +434,17 @@ func (m *SyncStatesResponse) Reset() { *m = SyncStatesResponse{} } func (m *SyncStatesResponse) String() string { return proto.CompactTextString(m) } func (*SyncStatesResponse) ProtoMessage() {} func (*SyncStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_state_9acaa31cfe23a72c, []int{9} + return fileDescriptor_645e93724c8b4dfe, []int{9} } + func (m *SyncStatesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SyncStatesResponse.Unmarshal(m, b) } func (m *SyncStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SyncStatesResponse.Marshal(b, m, deterministic) } -func (dst *SyncStatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncStatesResponse.Merge(dst, src) +func (m *SyncStatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncStatesResponse.Merge(m, src) } func (m *SyncStatesResponse) XXX_Size() int { return xxx_messageInfo_SyncStatesResponse.Size(m) @@ -464,6 +475,42 @@ func init() { proto.RegisterType((*SyncStatesResponse)(nil), "magma.orc8r.SyncStatesResponse") } +func init() { proto.RegisterFile("orc8r/protos/state.proto", fileDescriptor_645e93724c8b4dfe) } + +var fileDescriptor_645e93724c8b4dfe = []byte{ + // 471 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4f, 0x6f, 0xd3, 0x30, + 0x14, 0x5f, 0xd3, 0xb1, 0xd1, 0xb7, 0x0a, 0xad, 0x6f, 0x95, 0xc8, 0x02, 0x85, 0x62, 0x21, 0x34, + 0x71, 0x68, 0x61, 0xbd, 0xc0, 0x09, 0x15, 0x32, 0x50, 0x25, 0x04, 0x92, 0x2b, 0x06, 0x62, 0xa7, + 0x12, 0x3f, 0x4d, 0x11, 0xab, 0x5d, 0x6c, 0x77, 0xa8, 0x9f, 0x91, 0x2f, 0x85, 0xea, 0x64, 0x6d, + 0x9c, 0xac, 0x93, 0x76, 0xd8, 0xa9,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0xca, 0xf5, 0xbe, 0xf3, 0xf3, 0x91, 0xe3, 0xf4, 0xb3, 0xc7, 0x28, 0xb9, 0x50, 0x73, 0xd1, + 0x3f, 0x57, 0xf9, 0xab, 0xf4, 0x6b, 0xc7, 0xfd, 0x0e, 0xfe, 0x07, 0x00, 0x00, 0xff, 0xff, 0x25, + 0x92, 0x8a, 0xcd, 0xee, 0x04, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -534,6 +581,23 @@ type StateServiceServer interface { SyncStates(context.Context, *SyncStatesRequest) (*SyncStatesResponse, error) } +// UnimplementedStateServiceServer can be embedded to have forward compatible implementations. +type UnimplementedStateServiceServer struct { +} + +func (*UnimplementedStateServiceServer) GetStates(ctx context.Context, req *GetStatesRequest) (*GetStatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStates not implemented") +} +func (*UnimplementedStateServiceServer) ReportStates(ctx context.Context, req *ReportStatesRequest) (*ReportStatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReportStates not implemented") +} +func (*UnimplementedStateServiceServer) DeleteStates(ctx context.Context, req *DeleteStatesRequest) (*Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteStates not implemented") +} +func (*UnimplementedStateServiceServer) SyncStates(ctx context.Context, req *SyncStatesRequest) (*SyncStatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SyncStates not implemented") +} + func RegisterStateServiceServer(s *grpc.Server, srv StateServiceServer) { s.RegisterService(&_StateService_serviceDesc, srv) } @@ -634,39 +698,3 @@ var _StateService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "orc8r/protos/state.proto", } - -func init() { proto.RegisterFile("orc8r/protos/state.proto", fileDescriptor_state_9acaa31cfe23a72c) } - -var fileDescriptor_state_9acaa31cfe23a72c = []byte{ - // 471 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0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, 0x12, 0x3b, 0x9e, 0x51, 0xf9, 0x16, 0x44, 0x4f, 0x36, 0xc1, 0x59, 0x3e, 0xb6, - 0x85, 0xdf, 0xa0, 0x59, 0x9c, 0x2e, 0xec, 0x7a, 0x8a, 0x6b, 0x66, 0x37, 0x7a, 0x76, 0x03, 0x63, - 0x65, 0x7b, 0x02, 0xcd, 0xe2, 0x0c, 0x94, 0x6c, 0xaf, 0x19, 0x8f, 0xa8, 0xe5, 0x31, 0x4e, 0x55, - 0x2a, 0xd8, 0x16, 0x7e, 0x05, 0x58, 0x77, 0x15, 0xfd, 0xdd, 0x54, 0xc6, 0x20, 0x7a, 0xba, 0x11, - 0xbf, 0xca, 0xf5, 0xbe, 0xf3, 0xf3, 0x91, 0xe3, 0xf4, 0xb3, 0xc7, 0x28, 0xb9, 0x50, 0x73, 0xd1, - 0x3f, 0x57, 0xf9, 0xab, 0xf4, 0x6b, 0xc7, 0xfd, 0x0e, 0xfe, 0x07, 0x00, 0x00, 0xff, 0xff, 0x25, - 0x92, 0x8a, 0xcd, 0xee, 0x04, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/protos/streamer.pb.go b/orc8r/cloud/go/protos/streamer.pb.go index 4db2177f018e..07293ea4bc80 100644 --- a/orc8r/cloud/go/protos/streamer.pb.go +++ b/orc8r/cloud/go/protos/streamer.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/streamer.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // -------------------------------------------------------------------------- // Streamer provides a pipeline for the cloud to push the updates to the @@ -57,16 +58,17 @@ func (m *StreamRequest) Reset() { *m = StreamRequest{} } func (m *StreamRequest) String() string { return proto.CompactTextString(m) } func (*StreamRequest) ProtoMessage() {} func (*StreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_streamer_875df42a7991f84c, []int{0} + return fileDescriptor_acdce76608ae0d01, []int{0} } + func (m *StreamRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamRequest.Unmarshal(m, b) } func (m *StreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StreamRequest.Marshal(b, m, deterministic) } -func (dst *StreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamRequest.Merge(dst, src) +func (m *StreamRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StreamRequest.Merge(m, src) } func (m *StreamRequest) XXX_Size() int { return xxx_messageInfo_StreamRequest.Size(m) @@ -113,16 +115,17 @@ func (m *DataUpdate) Reset() { *m = DataUpdate{} } func (m *DataUpdate) String() string { return proto.CompactTextString(m) } func (*DataUpdate) ProtoMessage() {} func (*DataUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_streamer_875df42a7991f84c, []int{1} + return fileDescriptor_acdce76608ae0d01, []int{1} } + func (m *DataUpdate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DataUpdate.Unmarshal(m, b) } func (m *DataUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DataUpdate.Marshal(b, m, deterministic) } -func (dst *DataUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataUpdate.Merge(dst, src) +func (m *DataUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataUpdate.Merge(m, src) } func (m *DataUpdate) XXX_Size() int { return xxx_messageInfo_DataUpdate.Size(m) @@ -161,16 +164,17 @@ func (m *DataUpdateBatch) Reset() { *m = DataUpdateBatch{} } func (m *DataUpdateBatch) String() string { return proto.CompactTextString(m) } func (*DataUpdateBatch) ProtoMessage() {} func (*DataUpdateBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_streamer_875df42a7991f84c, []int{2} + return fileDescriptor_acdce76608ae0d01, []int{2} } + func (m *DataUpdateBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DataUpdateBatch.Unmarshal(m, b) } func (m *DataUpdateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DataUpdateBatch.Marshal(b, m, deterministic) } -func (dst *DataUpdateBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataUpdateBatch.Merge(dst, src) +func (m *DataUpdateBatch) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataUpdateBatch.Merge(m, src) } func (m *DataUpdateBatch) XXX_Size() int { return xxx_messageInfo_DataUpdateBatch.Size(m) @@ -201,6 +205,32 @@ func init() { proto.RegisterType((*DataUpdateBatch)(nil), "magma.orc8r.DataUpdateBatch") } +func init() { proto.RegisterFile("orc8r/protos/streamer.proto", fileDescriptor_acdce76608ae0d01) } + +var fileDescriptor_acdce76608ae0d01 = []byte{ + // 312 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xc1, 0x4f, 0xf2, 0x40, + 0x10, 0xc5, 0xbf, 0x7e, 0x44, 0x84, 0xa9, 0x46, 0xb3, 0x21, 0x5a, 0x01, 0x23, 0xe9, 0x89, 0xd3, + 0x56, 0xc1, 0x83, 0x57, 0x88, 0x89, 0xd1, 0x83, 0x87, 0x25, 0x78, 0x30, 0x26, 0x64, 0x28, 0xe3, + 0x9a, 0x48, 0xbb, 0xb8, 0xbb, 0x55, 0x7b, 0xf6, 0x1f, 0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, 0x3b, + 0x82, 0xba, 0x26, 0x53, 0xe6, 0xa9, 0x1b, 0xde, 0x10, 0x95, 0x1a, 0x3c, 0x40, 0x63, 0x52, 0x65, + 0xca, 0xee, 0x00, 0x6e, 0xc8, 0x4e, 0xab, 0x8e, 0xf6, 0xd6, 0xcc, 0xad, 0xf4, 0xda, 0xdd, 0x3f, + 0xfc, 0xdc, 0x7a, 0xf1, 0xbf, 0xf3, 0x60, 0x7c, 0xfa, 0xd8, 0x71, 0x48, 0xe2, 0xcf, 0x97, 0x2e, + 0x55, 0xb1, 0x48, 0xa4, 0xaa, 0xee, 0x38, 0xaf, 0xbb, 0xef, 0xf0, 0x3b, 0x00, 0x00, 0xff, 0xff, + 0x75, 0x62, 0xfb, 0xc6, 0xde, 0x01, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -265,6 +295,14 @@ type StreamerServer interface { GetUpdates(*StreamRequest, Streamer_GetUpdatesServer) error } +// UnimplementedStreamerServer can be embedded to have forward compatible implementations. +type UnimplementedStreamerServer struct { +} + +func (*UnimplementedStreamerServer) GetUpdates(req *StreamRequest, srv Streamer_GetUpdatesServer) error { + return status.Errorf(codes.Unimplemented, "method GetUpdates not implemented") +} + func RegisterStreamerServer(s *grpc.Server, srv StreamerServer) { s.RegisterService(&_Streamer_serviceDesc, srv) } @@ -303,31 +341,3 @@ var _Streamer_serviceDesc = grpc.ServiceDesc{ }, Metadata: "orc8r/protos/streamer.proto", } - -func init() { - proto.RegisterFile("orc8r/protos/streamer.proto", fileDescriptor_streamer_875df42a7991f84c) -} - -var fileDescriptor_streamer_875df42a7991f84c = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xc1, 0x4f, 0xf2, 0x40, - 0x10, 0xc5, 0xbf, 0x7e, 0x44, 0x84, 0xa9, 0x46, 0xb3, 0x21, 0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x8b, 0xf8, 0x09, 0x0e, 0x36, 0x5d, 0x63, 0xb4, 0xe9, 0x0b, 0xbb, 0x80, 0xdd, 0xc2, 0x49, - 0x13, 0x05, 0xbd, 0x5a, 0x3f, 0x1c, 0x1c, 0xf3, 0x5f, 0x41, 0xf0, 0x0d, 0x2e, 0xd6, 0x1c, 0x3b, - 0x82, 0xba, 0x26, 0x53, 0xe6, 0xa9, 0x1b, 0xde, 0x10, 0x95, 0x1a, 0x3c, 0x40, 0x63, 0x52, 0x65, - 0xca, 0xee, 0x00, 0x6e, 0xc8, 0x4e, 0xab, 0x8e, 0xf6, 0xd6, 0xcc, 0xad, 0xf4, 0xda, 0xdd, 0x3f, - 0xfc, 0xdc, 0x7a, 0xf1, 0xbf, 0xf3, 0x60, 0x7c, 0xfa, 0xd8, 0x71, 0x48, 0xe2, 0xcf, 0x97, 0x2e, - 0x55, 0xb1, 0x48, 0xa4, 0xaa, 0xee, 0x38, 0xaf, 0xbb, 0xef, 0xf0, 0x3b, 0x00, 0x00, 0xff, 0xff, - 0x75, 0x62, 0xfb, 0xc6, 0xde, 0x01, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/protos/sync_rpc_service.pb.go b/orc8r/cloud/go/protos/sync_rpc_service.pb.go index bd6eb7672cfa..bd97707de5e0 100644 --- a/orc8r/cloud/go/protos/sync_rpc_service.pb.go +++ b/orc8r/cloud/go/protos/sync_rpc_service.pb.go @@ -1,15 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/sync_rpc_service.proto -package protos // import "magma/orc8r/cloud/go/protos" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +package protos import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -21,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GatewayRequest struct { GwId string `protobuf:"bytes,1,opt,name=gwId,proto3" json:"gwId,omitempty"` @@ -43,16 +44,17 @@ func (m *GatewayRequest) Reset() { *m = GatewayRequest{} } func (m *GatewayRequest) String() string { return proto.CompactTextString(m) } func (*GatewayRequest) ProtoMessage() {} func (*GatewayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_sync_rpc_service_2f3453598dcde6bc, []int{0} + return fileDescriptor_22887391e8a5ac6c, []int{0} } + func (m *GatewayRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GatewayRequest.Unmarshal(m, b) } func (m *GatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GatewayRequest.Marshal(b, m, deterministic) } -func (dst *GatewayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayRequest.Merge(dst, src) +func (m *GatewayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayRequest.Merge(m, src) } func (m *GatewayRequest) XXX_Size() int { return xxx_messageInfo_GatewayRequest.Size(m) @@ -119,16 +121,17 @@ func (m *GatewayResponse) Reset() { *m = GatewayResponse{} } func (m *GatewayResponse) String() string { return proto.CompactTextString(m) } func (*GatewayResponse) ProtoMessage() {} func (*GatewayResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_sync_rpc_service_2f3453598dcde6bc, []int{1} + return fileDescriptor_22887391e8a5ac6c, []int{1} } + func (m *GatewayResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GatewayResponse.Unmarshal(m, b) } func (m *GatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GatewayResponse.Marshal(b, m, deterministic) } -func (dst *GatewayResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayResponse.Merge(dst, src) +func (m *GatewayResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayResponse.Merge(m, src) } func (m *GatewayResponse) XXX_Size() int { return xxx_messageInfo_GatewayResponse.Size(m) @@ -193,16 +196,17 @@ func (m *SyncRPCRequest) Reset() { *m = SyncRPCRequest{} } func (m *SyncRPCRequest) String() string { return proto.CompactTextString(m) } func (*SyncRPCRequest) ProtoMessage() {} func (*SyncRPCRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_sync_rpc_service_2f3453598dcde6bc, []int{2} + return fileDescriptor_22887391e8a5ac6c, []int{2} } + func (m *SyncRPCRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SyncRPCRequest.Unmarshal(m, b) } func (m *SyncRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SyncRPCRequest.Marshal(b, m, deterministic) } -func (dst *SyncRPCRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncRPCRequest.Merge(dst, src) +func (m *SyncRPCRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncRPCRequest.Merge(m, src) } func (m *SyncRPCRequest) XXX_Size() int { return xxx_messageInfo_SyncRPCRequest.Size(m) @@ -257,16 +261,17 @@ func (m *SyncRPCResponse) Reset() { *m = SyncRPCResponse{} } func (m *SyncRPCResponse) String() string { return proto.CompactTextString(m) } func (*SyncRPCResponse) ProtoMessage() {} func (*SyncRPCResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_sync_rpc_service_2f3453598dcde6bc, []int{3} + return fileDescriptor_22887391e8a5ac6c, []int{3} } + func (m *SyncRPCResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SyncRPCResponse.Unmarshal(m, b) } func (m *SyncRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SyncRPCResponse.Marshal(b, m, deterministic) } -func (dst *SyncRPCResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncRPCResponse.Merge(dst, src) +func (m *SyncRPCResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncRPCResponse.Merge(m, src) } func (m *SyncRPCResponse) XXX_Size() int { return xxx_messageInfo_SyncRPCResponse.Size(m) @@ -307,6 +312,44 @@ func init() { proto.RegisterType((*SyncRPCResponse)(nil), "magma.orc8r.SyncRPCResponse") } +func init() { + proto.RegisterFile("orc8r/protos/sync_rpc_service.proto", fileDescriptor_22887391e8a5ac6c) +} + +var fileDescriptor_22887391e8a5ac6c = []byte{ + // 476 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6a, 0xdb, 0x40, + 0x14, 0xed, 0xd8, 0xf1, 0x23, 0xd7, 0xa9, 0x53, 0x86, 0x10, 0x44, 0x9c, 0x16, 0xe3, 0x42, 0x51, + 0x37, 0x72, 0x71, 0x29, 0x98, 0xec, 0x6a, 0x13, 0xfa, 0x58, 0x95, 0xc9, 0xaa, 0xdd, 0x84, 0x89, + 0x74, 0xb1, 0x4c, 0x64, 0x8d, 0x7c, 0x67, 0xe4, 0xa0, 0x55, 0x3f, 0xa4, 0x1f, 0xd2, 0xdf, 0xea, + 0x17, 0x94, 0xa2, 0x91, 0xe4, 0x47, 0x30, 0xee, 0x22, 0x2b, 0xcf, 0x3d, 0x73, 0x1f, 0xe7, 0xdc, + 0x63, 0x0d, 0xbc, 0x56, 0xe4, 0x8f, 0x69, 0x98, 0x90, 0x32, 0x4a, 0x0f, 0x75, 0x16, 0xfb, 0xb7, + 0x94, 0xf8, 0xb7, 0x1a, 0x69, 0x35, 0xf7, 0xd1, 0xb3, 0x38, 0xef, 0x2c, 0xe4, 0x6c, 0x21, 0x3d, + 0x9b, 0x3a, 0xf8, 0xc3, 0xa0, 0xfb, 0x49, 0x1a, 0x7c, 0x90, 0x99, 0xc0, 0x65, 0x8a, 0xda, 0x70, + 0x0e, 0x47, 0xb3, 0x87, 0x2f, 0x81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, 0xf9, 0x19, 0x34, 0x08, 0x97, + 0xa5, 0xe9, 0xcf, 0x45, 0x11, 0xf0, 0x0f, 0xd0, 0x22, 0x5c, 0x4e, 0x54, 0x50, 0x78, 0xde, 0x19, + 0xf5, 0x0e, 0x78, 0x28, 0xaa, 0xdc, 0xfc, 0xcf, 0x12, 0xa2, 0x24, 0x33, 0x41, 0x69, 0xac, 0xe2, + 0xb6, 0xd8, 0x00, 0xfc, 0x15, 0x80, 0xaf, 0xe2, 0x78, 0x1a, 0x29, 0x8d, 0x81, 0x95, 0xde, 0x16, + 0x5b, 0xc8, 0xe0, 0x27, 0x9c, 0xae, 0xc9, 0x95, 0xee, 0xec, 0x67, 0x37, 0x86, 0x36, 0xa1, 0x4e, + 0xb6, 0xe8, 0x5d, 0x1e, 0x32, 0x47, 0xac, 0xb3, 0x0f, 0x13, 0x1c, 0xfd, 0xde, 0xac, 0xe7, 0xa6, + 0xf8, 0x70, 0xf8, 0x77, 0x38, 0xbf, 0xd6, 0x46, 0xde, 0x45, 0x73, 0x1d, 0x56, 0x57, 0x86, 0x50, + 0x2e, 0xf8, 0xee, 0xc8, 0x47, 0xc4, 0x2f, 0x7a, 0xfb, 0x6f, 0xed, 0xbe, 0x06, 0xcf, 0x5c, 0xf6, + 0x8e, 0xf1, 0xaf, 0xd0, 0x2a, 0xf1, 0x27, 0xf7, 0x9a, 0xbc, 0xfc, 0xd1, 0xb3, 0x39, 0xc3, 0xe2, + 0x19, 0xf0, 0x23, 0x95, 0x06, 0xc3, 0x99, 0x2a, 0xdf, 0x83, 0xbb, 0xa6, 0xfd, 0x7d, 0xff, 0x2f, + 0x00, 0x00, 0xff, 0xff, 0xc3, 0x69, 0x82, 0xd4, 0x26, 0x04, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -407,6 +450,17 @@ type SyncRPCServiceServer interface { SyncRPC(SyncRPCService_SyncRPCServer) error } +// UnimplementedSyncRPCServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSyncRPCServiceServer struct { +} + +func (*UnimplementedSyncRPCServiceServer) EstablishSyncRPCStream(srv SyncRPCService_EstablishSyncRPCStreamServer) error { + return status.Errorf(codes.Unimplemented, "method EstablishSyncRPCStream not implemented") +} +func (*UnimplementedSyncRPCServiceServer) SyncRPC(srv SyncRPCService_SyncRPCServer) error { + return status.Errorf(codes.Unimplemented, "method SyncRPC not implemented") +} + func RegisterSyncRPCServiceServer(s *grpc.Server, srv SyncRPCServiceServer) { s.RegisterService(&_SyncRPCService_serviceDesc, srv) } @@ -483,41 +537,3 @@ var _SyncRPCService_serviceDesc = grpc.ServiceDesc{ }, Metadata: "orc8r/protos/sync_rpc_service.proto", } - -func init() { - proto.RegisterFile("orc8r/protos/sync_rpc_service.proto", fileDescriptor_sync_rpc_service_2f3453598dcde6bc) -} - -var fileDescriptor_sync_rpc_service_2f3453598dcde6bc = []byte{ - // 476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6a, 0xdb, 0x40, - 0x14, 0xed, 0xd8, 0xf1, 0x23, 0xd7, 0xa9, 0x53, 0x86, 0x10, 0x44, 0x9c, 0x16, 0xe3, 0x42, 0x51, - 0x37, 0x72, 0x71, 0x29, 0x98, 0xec, 0x6a, 0x13, 0xfa, 0x58, 0x95, 0xc9, 0xaa, 0xdd, 0x84, 0x89, - 0x74, 0xb1, 0x4c, 0x64, 0x8d, 0x7c, 0x67, 0xe4, 0xa0, 0x55, 0x3f, 0xa4, 0x1f, 0xd2, 0xdf, 0xea, - 0x17, 0x94, 0xa2, 0x91, 0xe4, 0x47, 0x30, 0xee, 0x22, 0x2b, 0xcf, 0x3d, 0x73, 0x1f, 0xe7, 0xdc, - 0x63, 0x0d, 0xbc, 0x56, 0xe4, 0x8f, 0x69, 0x98, 0x90, 0x32, 0x4a, 0x0f, 0x75, 0x16, 0xfb, 0x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, 0xa6, 0xfd, 0x7d, 0xff, 0x2f, - 0x00, 0x00, 0xff, 0xff, 0xc3, 0x69, 0x82, 0xd4, 0x26, 0x04, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/services/accessd/protos/access.pb.go b/orc8r/cloud/go/services/accessd/protos/access.pb.go index 3c920cd1a8f6..640e3213085f 100644 --- a/orc8r/cloud/go/services/accessd/protos/access.pb.go +++ b/orc8r/cloud/go/services/accessd/protos/access.pb.go @@ -3,14 +3,15 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" - import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // All permission definitions are used as bitmasks & should be 2**N type AccessControl_Permission int32 @@ -38,6 +39,7 @@ var AccessControl_Permission_name = map[int32]string{ 1: "READ", 2: "WRITE", } + var AccessControl_Permission_value = map[string]int32{ "NONE": 0, "READ": 1, @@ -47,8 +49,9 @@ var AccessControl_Permission_value = map[string]int32{ func (x AccessControl_Permission) String() string { return proto.EnumName(AccessControl_Permission_name, int32(x)) } + func (AccessControl_Permission) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_access_599443aad1afe218, []int{0, 0} + return fileDescriptor_a098e900d2c3a6f2, []int{0, 0} } // Access Control Data Structures & Definitions @@ -62,16 +65,17 @@ func (m *AccessControl) Reset() { *m = AccessControl{} } func (m *AccessControl) String() string { return proto.CompactTextString(m) } func (*AccessControl) ProtoMessage() {} func (*AccessControl) Descriptor() ([]byte, []int) { - return fileDescriptor_access_599443aad1afe218, []int{0} + return fileDescriptor_a098e900d2c3a6f2, []int{0} } + func (m *AccessControl) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessControl.Unmarshal(m, b) } func (m *AccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessControl.Marshal(b, m, deterministic) } -func (dst *AccessControl) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessControl.Merge(dst, src) +func (m *AccessControl) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControl.Merge(m, src) } func (m *AccessControl) XXX_Size() int { return xxx_messageInfo_AccessControl.Size(m) @@ -95,16 +99,17 @@ func (m *AccessControl_Entity) Reset() { *m = AccessControl_Entity{} } func (m *AccessControl_Entity) String() string { return proto.CompactTextString(m) } func (*AccessControl_Entity) ProtoMessage() {} func (*AccessControl_Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_access_599443aad1afe218, []int{0, 0} + return fileDescriptor_a098e900d2c3a6f2, []int{0, 0} } + func (m *AccessControl_Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessControl_Entity.Unmarshal(m, b) } func (m *AccessControl_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessControl_Entity.Marshal(b, m, deterministic) } -func (dst *AccessControl_Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessControl_Entity.Merge(dst, src) +func (m *AccessControl_Entity) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControl_Entity.Merge(m, src) } func (m *AccessControl_Entity) XXX_Size() int { return xxx_messageInfo_AccessControl_Entity.Size(m) @@ -142,16 +147,17 @@ func (m *AccessControl_List) Reset() { *m = AccessControl_List{} } func (m *AccessControl_List) String() string { return proto.CompactTextString(m) } func (*AccessControl_List) ProtoMessage() {} func (*AccessControl_List) Descriptor() ([]byte, []int) { - return fileDescriptor_access_599443aad1afe218, []int{0, 1} + return fileDescriptor_a098e900d2c3a6f2, []int{0, 1} } + func (m *AccessControl_List) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessControl_List.Unmarshal(m, b) } func (m *AccessControl_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessControl_List.Marshal(b, m, deterministic) } -func (dst *AccessControl_List) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessControl_List.Merge(dst, src) +func (m *AccessControl_List) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControl_List.Merge(m, src) } func (m *AccessControl_List) XXX_Size() int { return xxx_messageInfo_AccessControl_List.Size(m) @@ -193,16 +199,17 @@ func (m *AccessControl_ListRequest) Reset() { *m = AccessControl_ListReq func (m *AccessControl_ListRequest) String() string { return proto.CompactTextString(m) } func (*AccessControl_ListRequest) ProtoMessage() {} func (*AccessControl_ListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_599443aad1afe218, []int{0, 2} + return fileDescriptor_a098e900d2c3a6f2, []int{0, 2} } + func (m *AccessControl_ListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessControl_ListRequest.Unmarshal(m, b) } func (m *AccessControl_ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessControl_ListRequest.Marshal(b, m, deterministic) } -func (dst *AccessControl_ListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessControl_ListRequest.Merge(dst, src) +func (m *AccessControl_ListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControl_ListRequest.Merge(m, src) } func (m *AccessControl_ListRequest) XXX_Size() int { return xxx_messageInfo_AccessControl_ListRequest.Size(m) @@ -240,16 +247,17 @@ func (m *AccessControl_PermissionsRequest) Reset() { *m = AccessControl_ func (m *AccessControl_PermissionsRequest) String() string { return proto.CompactTextString(m) } func (*AccessControl_PermissionsRequest) ProtoMessage() {} func (*AccessControl_PermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_599443aad1afe218, []int{0, 3} + return fileDescriptor_a098e900d2c3a6f2, []int{0, 3} } + func (m *AccessControl_PermissionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessControl_PermissionsRequest.Unmarshal(m, b) } func (m *AccessControl_PermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessControl_PermissionsRequest.Marshal(b, m, deterministic) } -func (dst *AccessControl_PermissionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessControl_PermissionsRequest.Merge(dst, src) +func (m *AccessControl_PermissionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControl_PermissionsRequest.Merge(m, src) } func (m *AccessControl_PermissionsRequest) XXX_Size() int { return xxx_messageInfo_AccessControl_PermissionsRequest.Size(m) @@ -285,16 +293,17 @@ func (m *AccessControl_Lists) Reset() { *m = AccessControl_Lists{} } func (m *AccessControl_Lists) String() string { return proto.CompactTextString(m) } func (*AccessControl_Lists) ProtoMessage() {} func (*AccessControl_Lists) Descriptor() ([]byte, []int) { - return fileDescriptor_access_599443aad1afe218, []int{0, 4} + return fileDescriptor_a098e900d2c3a6f2, []int{0, 4} } + func (m *AccessControl_Lists) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessControl_Lists.Unmarshal(m, b) } func (m *AccessControl_Lists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessControl_Lists.Marshal(b, m, deterministic) } -func (dst *AccessControl_Lists) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessControl_Lists.Merge(dst, src) +func (m *AccessControl_Lists) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControl_Lists.Merge(m, src) } func (m *AccessControl_Lists) XXX_Size() int { return xxx_messageInfo_AccessControl_Lists.Size(m) @@ -313,6 +322,7 @@ func (m *AccessControl_Lists) GetAcls() []*AccessControl_List { } func init() { + proto.RegisterEnum("magma.orc8r.accessd.AccessControl_Permission", AccessControl_Permission_name, AccessControl_Permission_value) proto.RegisterType((*AccessControl)(nil), "magma.orc8r.accessd.AccessControl") proto.RegisterType((*AccessControl_Entity)(nil), "magma.orc8r.accessd.AccessControl.Entity") proto.RegisterType((*AccessControl_List)(nil), "magma.orc8r.accessd.AccessControl.List") @@ -320,7 +330,46 @@ func init() { proto.RegisterType((*AccessControl_ListRequest)(nil), "magma.orc8r.accessd.AccessControl.ListRequest") proto.RegisterType((*AccessControl_PermissionsRequest)(nil), "magma.orc8r.accessd.AccessControl.PermissionsRequest") proto.RegisterType((*AccessControl_Lists)(nil), "magma.orc8r.accessd.AccessControl.Lists") - proto.RegisterEnum("magma.orc8r.accessd.AccessControl_Permission", AccessControl_Permission_name, AccessControl_Permission_value) +} + +func init() { proto.RegisterFile("access.proto", fileDescriptor_a098e900d2c3a6f2) } + +var fileDescriptor_a098e900d2c3a6f2 = []byte{ + // 531 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xe1, 0x6b, 0xd3, 0x40, + 0x14, 0x4f, 0xba, 0xb5, 0x74, 0x2f, 0x6b, 0x89, 0x4f, 0x85, 0x7a, 0x7e, 0x19, 0x01, 0xb1, 0x22, + 0xcb, 0xb0, 0x32, 0x18, 0x53, 0xd0, 0xda, 0x06, 0x19, 0xd4, 0x55, 0x4f, 0xe7, 0x60, 0xdf, 0x62, + 0x72, 0xce, 0xb0, 0x26, 0x57, 0x73, 0xb7, 0x41, 0xbf, 0xf9, 0xcd, 0x7f, 0xd8, 0x8f, 0x22, 0x92, + 0xbb, 0xac, 0x4d, 0x58, 0x37, 0x52, 0xdd, 0xa7, 0x5c, 0xee, 0xfd, 0x7e, 0xbf, 0xf7, 0x7b, 0xef, + 0x5d, 0x2e, 0xb0, 0xe9, 0x07, 0x01, 0x13, 0xc2, 0x9d, 0xa6, 0x5c, 0x72, 0xbc, 0x1b, 0xfb, 0xa7, + 0xb1, 0xef, 0xf2, 0x34, 0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ae, 0xb9, + 0x3c, 0xcf, 0xa4, 0xfa, 0xa7, 0xe1, 0x18, 0x78, 0x0c, 0xf6, 0xe0, 0x1b, 0x0b, 0xce, 0x8a, 0x79, + 0x6f, 0x65, 0x78, 0xaf, 0xa1, 0x95, 0x61, 0xe6, 0xbd, 0xc2, 0xab, 0x28, 0x72, 0x43, 0xeb, 0x1c, + 0x03, 0xf7, 0x61, 0x53, 0x8f, 0x3f, 0xbf, 0xb6, 0x57, 0x18, 0xfe, 0x9b, 0xe6, 0x49, 0x43, 0xff, + 0x18, 0xbe, 0xe8, 0xe7, 0xf3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x04, 0xce, 0x33, 0x6d, + 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -486,6 +535,38 @@ type AccessControlManagerServer interface { DeleteEntity(context.Context, *protos.Identity) (*protos.Void, error) } +// UnimplementedAccessControlManagerServer can be embedded to have forward compatible implementations. +type UnimplementedAccessControlManagerServer struct { +} + +func (*UnimplementedAccessControlManagerServer) SetOperator(ctx context.Context, req *AccessControl_ListRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetOperator not implemented") +} +func (*UnimplementedAccessControlManagerServer) UpdateOperator(ctx context.Context, req *AccessControl_ListRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateOperator not implemented") +} +func (*UnimplementedAccessControlManagerServer) DeleteOperator(ctx context.Context, req *protos.Identity) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteOperator not implemented") +} +func (*UnimplementedAccessControlManagerServer) GetOperatorACL(ctx context.Context, req *protos.Identity) (*AccessControl_List, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOperatorACL not implemented") +} +func (*UnimplementedAccessControlManagerServer) GetOperatorsACLs(ctx context.Context, req *protos.Identity_List) (*AccessControl_Lists, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOperatorsACLs not implemented") +} +func (*UnimplementedAccessControlManagerServer) GetPermissions(ctx context.Context, req *AccessControl_PermissionsRequest) (*AccessControl_Entity, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPermissions not implemented") +} +func (*UnimplementedAccessControlManagerServer) CheckPermissions(ctx context.Context, req *AccessControl_ListRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckPermissions not implemented") +} +func (*UnimplementedAccessControlManagerServer) ListOperators(ctx context.Context, req *protos.Void) (*protos.Identity_List, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperators not implemented") +} +func (*UnimplementedAccessControlManagerServer) DeleteEntity(ctx context.Context, req *protos.Identity) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteEntity not implemented") +} + func RegisterAccessControlManagerServer(s *grpc.Server, srv AccessControlManagerServer) { s.RegisterService(&_AccessControlManager_serviceDesc, srv) } @@ -696,43 +777,3 @@ var _AccessControlManager_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "access.proto", } - -func init() { proto.RegisterFile("access.proto", fileDescriptor_access_599443aad1afe218) } - -var fileDescriptor_access_599443aad1afe218 = []byte{ - // 531 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xe1, 0x6b, 0xd3, 0x40, - 0x14, 0x4f, 0xba, 0xb5, 0x74, 0x2f, 0x6b, 0x89, 0x4f, 0x85, 0x7a, 0x7e, 0x19, 0x01, 0xb1, 0x22, - 0xcb, 0xb0, 0x32, 0x18, 0x53, 0xd0, 0xda, 0x06, 0x19, 0xd4, 0x55, 0x4f, 0xe7, 0x60, 0xdf, 0x62, - 0x72, 0xce, 0xb0, 0x26, 0x57, 0x73, 0xb7, 0x41, 0xbf, 0xf9, 0xcd, 0x7f, 0xd8, 0x8f, 0x22, 0x92, - 0xbb, 0xac, 0x4d, 0x58, 0x37, 0x52, 0xdd, 0xa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x0c, 0x8e, 0x81, 0x27, 0x60, 0x17, 0x34, 0x45, 0x7f, 0x30, 0x12, 0x48, 0x96, 0xaa, 0x2a, 0x06, - 0xe9, 0x56, 0x94, 0x16, 0x8e, 0x81, 0x52, 0xf9, 0x2d, 0x9c, 0x4f, 0xdc, 0x5d, 0xe9, 0xae, 0xb9, - 0x3c, 0xcf, 0xa4, 0xfa, 0xa7, 0xe1, 0x18, 0x78, 0x0c, 0xf6, 0xe0, 0x1b, 0x0b, 0xce, 0x8a, 0x79, - 0x6f, 0x65, 0x78, 0xaf, 0xa1, 0x95, 0x61, 0xe6, 0xbd, 0xc2, 0xab, 0x28, 0x72, 0x43, 0xeb, 0x1c, - 0x03, 0xf7, 0x61, 0x53, 0x8f, 0x3f, 0xbf, 0xb6, 0x57, 0x18, 0xfe, 0x9b, 0xe6, 0x49, 0x43, 0xff, - 0x18, 0xbe, 0xe8, 0xe7, 0xf3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x04, 0xce, 0x33, 0x6d, - 0x06, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/services/certifier/protos/certifier.pb.go b/orc8r/cloud/go/services/certifier/protos/certifier.pb.go index 639144d88975..467b545df7a1 100644 --- a/orc8r/cloud/go/services/certifier/protos/certifier.pb.go +++ b/orc8r/cloud/go/services/certifier/protos/certifier.pb.go @@ -3,15 +3,16 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import protos "magma/orc8r/cloud/go/protos" - import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CertificateInfo struct { Id *protos.Identity `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -39,16 +40,17 @@ func (m *CertificateInfo) Reset() { *m = CertificateInfo{} } func (m *CertificateInfo) String() string { return proto.CompactTextString(m) } func (*CertificateInfo) ProtoMessage() {} func (*CertificateInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_ebcdf080e50839d6, []int{0} + return fileDescriptor_515f9a7ba5ef1ab9, []int{0} } + func (m *CertificateInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CertificateInfo.Unmarshal(m, b) } func (m *CertificateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CertificateInfo.Marshal(b, m, deterministic) } -func (dst *CertificateInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateInfo.Merge(dst, src) +func (m *CertificateInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CertificateInfo.Merge(m, src) } func (m *CertificateInfo) XXX_Size() int { return xxx_messageInfo_CertificateInfo.Size(m) @@ -98,16 +100,17 @@ func (m *CertificateInfoMap) Reset() { *m = CertificateInfoMap{} } func (m *CertificateInfoMap) String() string { return proto.CompactTextString(m) } func (*CertificateInfoMap) ProtoMessage() {} func (*CertificateInfoMap) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_ebcdf080e50839d6, []int{1} + return fileDescriptor_515f9a7ba5ef1ab9, []int{1} } + func (m *CertificateInfoMap) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CertificateInfoMap.Unmarshal(m, b) } func (m *CertificateInfoMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CertificateInfoMap.Marshal(b, m, deterministic) } -func (dst *CertificateInfoMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateInfoMap.Merge(dst, src) +func (m *CertificateInfoMap) XXX_Merge(src proto.Message) { + xxx_messageInfo_CertificateInfoMap.Merge(m, src) } func (m *CertificateInfoMap) XXX_Size() int { return xxx_messageInfo_CertificateInfoMap.Size(m) @@ -138,16 +141,17 @@ func (m *AddCertRequest) Reset() { *m = AddCertRequest{} } func (m *AddCertRequest) String() string { return proto.CompactTextString(m) } func (*AddCertRequest) ProtoMessage() {} func (*AddCertRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_ebcdf080e50839d6, []int{2} + return fileDescriptor_515f9a7ba5ef1ab9, []int{2} } + func (m *AddCertRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddCertRequest.Unmarshal(m, b) } func (m *AddCertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddCertRequest.Marshal(b, m, deterministic) } -func (dst *AddCertRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddCertRequest.Merge(dst, src) +func (m *AddCertRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddCertRequest.Merge(m, src) } func (m *AddCertRequest) XXX_Size() int { return xxx_messageInfo_AddCertRequest.Size(m) @@ -190,16 +194,17 @@ func (m *SerialNumbers) Reset() { *m = SerialNumbers{} } func (m *SerialNumbers) String() string { return proto.CompactTextString(m) } func (*SerialNumbers) ProtoMessage() {} func (*SerialNumbers) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_ebcdf080e50839d6, []int{3} + return fileDescriptor_515f9a7ba5ef1ab9, []int{3} } + func (m *SerialNumbers) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SerialNumbers.Unmarshal(m, b) } func (m *SerialNumbers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SerialNumbers.Marshal(b, m, deterministic) } -func (dst *SerialNumbers) XXX_Merge(src proto.Message) { - xxx_messageInfo_SerialNumbers.Merge(dst, src) +func (m *SerialNumbers) XXX_Merge(src proto.Message) { + xxx_messageInfo_SerialNumbers.Merge(m, src) } func (m *SerialNumbers) XXX_Size() int { return xxx_messageInfo_SerialNumbers.Size(m) @@ -228,16 +233,17 @@ func (m *GetCARequest) Reset() { *m = GetCARequest{} } func (m *GetCARequest) String() string { return proto.CompactTextString(m) } func (*GetCARequest) ProtoMessage() {} func (*GetCARequest) Descriptor() ([]byte, []int) { - return fileDescriptor_certifier_ebcdf080e50839d6, []int{4} + return fileDescriptor_515f9a7ba5ef1ab9, []int{4} } + func (m *GetCARequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCARequest.Unmarshal(m, b) } func (m *GetCARequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetCARequest.Marshal(b, m, deterministic) } -func (dst *GetCARequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCARequest.Merge(dst, src) +func (m *GetCARequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCARequest.Merge(m, src) } func (m *GetCARequest) XXX_Size() int { return xxx_messageInfo_GetCARequest.Size(m) @@ -264,6 +270,49 @@ func init() { proto.RegisterType((*GetCARequest)(nil), "magma.orc8r.certifier.GetCARequest") } +func init() { proto.RegisterFile("certifier.proto", fileDescriptor_515f9a7ba5ef1ab9) } + +var fileDescriptor_515f9a7ba5ef1ab9 = []byte{ + // 579 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x8e, 0xd2, 0x40, + 0x14, 0xc6, 0x5b, 0x90, 0x15, 0x0e, 0xc8, 0xc2, 0x98, 0x4d, 0xba, 0x5d, 0x13, 0xb1, 0xba, 0x06, + 0x6f, 0x4a, 0x82, 0x17, 0xe2, 0x9f, 0x1b, 0xc0, 0x15, 0x37, 0xd9, 0xdd, 0xc4, 0x42, 0xbc, 0xf0, + 0x86, 0x94, 0xf6, 0xd0, 0x4c, 0xb6, 0xed, 0xe0, 0x74, 0xd8,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xa6, 0xd4, 0xf1, 0x93, 0x14, 0x93, 0x9c, 0x49, 0x2b, + 0x2b, 0x9e, 0x1a, 0xaa, 0xb2, 0xd7, 0x5b, 0xa2, 0xd5, 0x24, 0x32, 0x83, 0xfa, 0x04, 0x45, 0x9a, + 0x2f, 0x39, 0x3b, 0x24, 0xd5, 0xa7, 0x37, 0x6a, 0xc1, 0x5b, 0xd6, 0x24, 0x72, 0x01, 0x6d, 0x03, + 0xef, 0xd8, 0x2d, 0x6e, 0x37, 0xf6, 0x4f, 0x76, 0x3b, 0x53, 0xfc, 0xca, 0xa8, 0xad, 0x49, 0xe4, + 0xea, 0xfe, 0x89, 0xa4, 0x8c, 0xf3, 0x03, 0x2d, 0x64, 0x5f, 0x52, 0x3e, 0xed, 0x0b, 0xb4, 0x3e, + 0x51, 0x7f, 0x1b, 0x17, 0x90, 0xfc, 0x67, 0xa6, 0xbe, 0x38, 0x60, 0x93, 0x79, 0x28, 0x9a, 0x44, + 0xae, 0xa1, 0x75, 0x45, 0x03, 0x91, 0x41, 0xee, 0x7b, 0x17, 0xc6, 0x7d, 0x86, 0xa3, 0x09, 0x8a, + 0xa1, 0xeb, 0xe6, 0x41, 0x5e, 0x15, 0xfe, 0x93, 0x6b, 0x12, 0x19, 0x40, 0x73, 0xcc, 0x5c, 0x17, + 0x2d, 0x31, 0x31, 0xf9, 0xc2, 0x74, 0x30, 0x8f, 0x98, 0x97, 0xd2, 0xa8, 0xfa, 0xed, 0x28, 0xfe, + 0x2a, 0x2f, 0xe2, 0xdf, 0xd7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xa9, 0xfc, 0xb5, 0x0d, + 0x06, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -425,6 +474,38 @@ type CertifierServer interface { CollectGarbage(context.Context, *protos.Void) (*protos.Void, error) } +// UnimplementedCertifierServer can be embedded to have forward compatible implementations. +type UnimplementedCertifierServer struct { +} + +func (*UnimplementedCertifierServer) GetCA(ctx context.Context, req *GetCARequest) (*protos.CACert, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCA not implemented") +} +func (*UnimplementedCertifierServer) SignAddCertificate(ctx context.Context, req *protos.CSR) (*protos.Certificate, error) { + return nil, status.Errorf(codes.Unimplemented, "method SignAddCertificate not implemented") +} +func (*UnimplementedCertifierServer) GetIdentity(ctx context.Context, req *protos.Certificate_SN) (*CertificateInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIdentity not implemented") +} +func (*UnimplementedCertifierServer) RevokeCertificate(ctx context.Context, req *protos.Certificate_SN) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method RevokeCertificate not implemented") +} +func (*UnimplementedCertifierServer) AddCertificate(ctx context.Context, req *AddCertRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddCertificate not implemented") +} +func (*UnimplementedCertifierServer) FindCertificates(ctx context.Context, req *protos.Identity) (*SerialNumbers, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindCertificates not implemented") +} +func (*UnimplementedCertifierServer) ListCertificates(ctx context.Context, req *protos.Void) (*SerialNumbers, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListCertificates not implemented") +} +func (*UnimplementedCertifierServer) GetAll(ctx context.Context, req *protos.Void) (*CertificateInfoMap, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedCertifierServer) CollectGarbage(ctx context.Context, req *protos.Void) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method CollectGarbage not implemented") +} + func RegisterCertifierServer(s *grpc.Server, srv CertifierServer) { s.RegisterService(&_Certifier_serviceDesc, srv) } @@ -635,46 +716,3 @@ var _Certifier_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "certifier.proto", } - -func init() { proto.RegisterFile("certifier.proto", fileDescriptor_certifier_ebcdf080e50839d6) } - -var fileDescriptor_certifier_ebcdf080e50839d6 = []byte{ - // 579 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x8e, 0xd2, 0x40, - 0x14, 0xc6, 0x5b, 0x90, 0x15, 0x0e, 0xc8, 0xc2, 0x98, 0x4d, 0xba, 0x5d, 0x13, 0xb1, 0xba, 0x06, - 0x6f, 0x4a, 0x82, 0x17, 0xe2, 0x9f, 0x1b, 0xc0, 0x15, 0x37, 0xd9, 0xdd, 0xc4, 0x42, 0xbc, 0xf0, - 0x86, 0x94, 0xf6, 0xd0, 0x4c, 0xb6, 0xed, 0xe0, 0x74, 0xd8, 0x84, 0x17, 0xf0, 0x4d, 0x7c, 0x2d, - 0xe3, 0xa3, 0x98, 0xfe, 0x5b, 0x29, 0x14, 0xed, 0x15, 0x33, 0x73, 0xbe, 0xf9, 0x7d, 0x67, 0xbe, - 0x19, 0x0a, 0xc7, 0x16, 0x72, 0x41, 0x97, 0x14, 0xb9, 0xbe, 0xe2, 0x4c, 0x30, 0x72, 0xe2, 0x99, - 0x8e, 0x67, 0xea, 0x8c, 0x5b, 0x03, 0xae, 0xdf, 0x17, 0xd5, 0x27, 0xd1, 0x42, 0x2f, 0xd2, 0x04, - 0xbd, 0x9d, 0x4d, 0xea, 0x69, 0xb6, 0xca, 0x3c, 0x8f, 0xf9, 0x49, 0xe9, 0x2c, 0x53, 0xa2, 0x36, - 0xfa, 0x82, 0x8a, 0x4d, 0x52, 0x7c, 0xea, 0x30, 0xe6, 0xb8, 0x18, 0x57, 0x17, 0xeb, 0x65, 0x4f, - 0x50, 0x0f, 0x03, 0x61, 0x7a, 0xab, 0x58, 0xa0, 0xfd, 0x96, 0xe1, 0x78, 0x1c, 0x9b, 0x59, 0xa6, - 0xc0, 0x4b, 0x7f, 0xc9, 0xc8, 0x39, 0x94, 0xa8, 0xad, 0xc8, 0x1d, 0xb9, 0x5b, 0xef, 0x9f, 0xe8, - 0x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5c, 0x17, - 0x2d, 0x31, 0x31, 0xf9, 0xc2, 0x74, 0x30, 0x8f, 0x98, 0x97, 0xd2, 0xa8, 0xfa, 0xed, 0x28, 0xfe, - 0x2a, 0x2f, 0xe2, 0xdf, 0xd7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xa9, 0xfc, 0xb5, 0x0d, - 0x06, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/services/configurator/protos/northbound.pb.go b/orc8r/cloud/go/services/configurator/protos/northbound.pb.go index 04aef6fd2613..6de9f93167de 100644 --- a/orc8r/cloud/go/services/configurator/protos/northbound.pb.go +++ b/orc8r/cloud/go/services/configurator/protos/northbound.pb.go @@ -3,15 +3,16 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" -import storage "magma/orc8r/cloud/go/services/configurator/storage" - import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + storage "magma/orc8r/cloud/go/services/configurator/storage" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListNetworkIDsResponse struct { NetworkIDs []string `protobuf:"bytes,1,rep,name=networkIDs,proto3" json:"networkIDs,omitempty"` @@ -36,16 +37,17 @@ func (m *ListNetworkIDsResponse) Reset() { *m = ListNetworkIDsResponse{} func (m *ListNetworkIDsResponse) String() string { return proto.CompactTextString(m) } func (*ListNetworkIDsResponse) ProtoMessage() {} func (*ListNetworkIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{0} + return fileDescriptor_90b042c70967f647, []int{0} } + func (m *ListNetworkIDsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkIDsResponse.Unmarshal(m, b) } func (m *ListNetworkIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkIDsResponse.Marshal(b, m, deterministic) } -func (dst *ListNetworkIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkIDsResponse.Merge(dst, src) +func (m *ListNetworkIDsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkIDsResponse.Merge(m, src) } func (m *ListNetworkIDsResponse) XXX_Size() int { return xxx_messageInfo_ListNetworkIDsResponse.Size(m) @@ -75,16 +77,17 @@ func (m *LoadNetworksRequest) Reset() { *m = LoadNetworksRequest{} } func (m *LoadNetworksRequest) String() string { return proto.CompactTextString(m) } func (*LoadNetworksRequest) ProtoMessage() {} func (*LoadNetworksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{1} + return fileDescriptor_90b042c70967f647, []int{1} } + func (m *LoadNetworksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoadNetworksRequest.Unmarshal(m, b) } func (m *LoadNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoadNetworksRequest.Marshal(b, m, deterministic) } -func (dst *LoadNetworksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadNetworksRequest.Merge(dst, src) +func (m *LoadNetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadNetworksRequest.Merge(m, src) } func (m *LoadNetworksRequest) XXX_Size() int { return xxx_messageInfo_LoadNetworksRequest.Size(m) @@ -120,16 +123,17 @@ func (m *CreateNetworksRequest) Reset() { *m = CreateNetworksRequest{} } func (m *CreateNetworksRequest) String() string { return proto.CompactTextString(m) } func (*CreateNetworksRequest) ProtoMessage() {} func (*CreateNetworksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{2} + return fileDescriptor_90b042c70967f647, []int{2} } + func (m *CreateNetworksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNetworksRequest.Unmarshal(m, b) } func (m *CreateNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateNetworksRequest.Marshal(b, m, deterministic) } -func (dst *CreateNetworksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNetworksRequest.Merge(dst, src) +func (m *CreateNetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworksRequest.Merge(m, src) } func (m *CreateNetworksRequest) XXX_Size() int { return xxx_messageInfo_CreateNetworksRequest.Size(m) @@ -158,16 +162,17 @@ func (m *CreateNetworksResponse) Reset() { *m = CreateNetworksResponse{} func (m *CreateNetworksResponse) String() string { return proto.CompactTextString(m) } func (*CreateNetworksResponse) ProtoMessage() {} func (*CreateNetworksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{3} + return fileDescriptor_90b042c70967f647, []int{3} } + func (m *CreateNetworksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNetworksResponse.Unmarshal(m, b) } func (m *CreateNetworksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateNetworksResponse.Marshal(b, m, deterministic) } -func (dst *CreateNetworksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNetworksResponse.Merge(dst, src) +func (m *CreateNetworksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworksResponse.Merge(m, src) } func (m *CreateNetworksResponse) XXX_Size() int { return xxx_messageInfo_CreateNetworksResponse.Size(m) @@ -196,16 +201,17 @@ func (m *UpdateNetworksRequest) Reset() { *m = UpdateNetworksRequest{} } func (m *UpdateNetworksRequest) String() string { return proto.CompactTextString(m) } func (*UpdateNetworksRequest) ProtoMessage() {} func (*UpdateNetworksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{4} + return fileDescriptor_90b042c70967f647, []int{4} } + func (m *UpdateNetworksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNetworksRequest.Unmarshal(m, b) } func (m *UpdateNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateNetworksRequest.Marshal(b, m, deterministic) } -func (dst *UpdateNetworksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNetworksRequest.Merge(dst, src) +func (m *UpdateNetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNetworksRequest.Merge(m, src) } func (m *UpdateNetworksRequest) XXX_Size() int { return xxx_messageInfo_UpdateNetworksRequest.Size(m) @@ -234,16 +240,17 @@ func (m *DeleteNetworksRequest) Reset() { *m = DeleteNetworksRequest{} } func (m *DeleteNetworksRequest) String() string { return proto.CompactTextString(m) } func (*DeleteNetworksRequest) ProtoMessage() {} func (*DeleteNetworksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{5} + return fileDescriptor_90b042c70967f647, []int{5} } + func (m *DeleteNetworksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNetworksRequest.Unmarshal(m, b) } func (m *DeleteNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteNetworksRequest.Marshal(b, m, deterministic) } -func (dst *DeleteNetworksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNetworksRequest.Merge(dst, src) +func (m *DeleteNetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNetworksRequest.Merge(m, src) } func (m *DeleteNetworksRequest) XXX_Size() int { return xxx_messageInfo_DeleteNetworksRequest.Size(m) @@ -274,16 +281,17 @@ func (m *LoadEntitiesRequest) Reset() { *m = LoadEntitiesRequest{} } func (m *LoadEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*LoadEntitiesRequest) ProtoMessage() {} func (*LoadEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{6} + return fileDescriptor_90b042c70967f647, []int{6} } + func (m *LoadEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoadEntitiesRequest.Unmarshal(m, b) } func (m *LoadEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoadEntitiesRequest.Marshal(b, m, deterministic) } -func (dst *LoadEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadEntitiesRequest.Merge(dst, src) +func (m *LoadEntitiesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadEntitiesRequest.Merge(m, src) } func (m *LoadEntitiesRequest) XXX_Size() int { return xxx_messageInfo_LoadEntitiesRequest.Size(m) @@ -327,16 +335,17 @@ func (m *WriteEntitiesRequest) Reset() { *m = WriteEntitiesRequest{} } func (m *WriteEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*WriteEntitiesRequest) ProtoMessage() {} func (*WriteEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{7} + return fileDescriptor_90b042c70967f647, []int{7} } + func (m *WriteEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteEntitiesRequest.Unmarshal(m, b) } func (m *WriteEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_WriteEntitiesRequest.Marshal(b, m, deterministic) } -func (dst *WriteEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteEntitiesRequest.Merge(dst, src) +func (m *WriteEntitiesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteEntitiesRequest.Merge(m, src) } func (m *WriteEntitiesRequest) XXX_Size() int { return xxx_messageInfo_WriteEntitiesRequest.Size(m) @@ -375,16 +384,17 @@ func (m *WriteEntityRequest) Reset() { *m = WriteEntityRequest{} } func (m *WriteEntityRequest) String() string { return proto.CompactTextString(m) } func (*WriteEntityRequest) ProtoMessage() {} func (*WriteEntityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{8} + return fileDescriptor_90b042c70967f647, []int{8} } + func (m *WriteEntityRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteEntityRequest.Unmarshal(m, b) } func (m *WriteEntityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_WriteEntityRequest.Marshal(b, m, deterministic) } -func (dst *WriteEntityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteEntityRequest.Merge(dst, src) +func (m *WriteEntityRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteEntityRequest.Merge(m, src) } func (m *WriteEntityRequest) XXX_Size() int { return xxx_messageInfo_WriteEntityRequest.Size(m) @@ -432,80 +442,14 @@ func (m *WriteEntityRequest) GetUpdate() *storage.EntityUpdateCriteria { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*WriteEntityRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _WriteEntityRequest_OneofMarshaler, _WriteEntityRequest_OneofUnmarshaler, _WriteEntityRequest_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*WriteEntityRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*WriteEntityRequest_Create)(nil), (*WriteEntityRequest_Update)(nil), } } -func _WriteEntityRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*WriteEntityRequest) - // request - switch x := m.Request.(type) { - case *WriteEntityRequest_Create: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Create); err != nil { - return err - } - case *WriteEntityRequest_Update: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Update); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("WriteEntityRequest.Request has unexpected type %T", x) - } - return nil -} - -func _WriteEntityRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*WriteEntityRequest) - switch tag { - case 1: // request.create - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(storage.NetworkEntity) - err := b.DecodeMessage(msg) - m.Request = &WriteEntityRequest_Create{msg} - return true, err - case 2: // request.update - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(storage.EntityUpdateCriteria) - err := b.DecodeMessage(msg) - m.Request = &WriteEntityRequest_Update{msg} - return true, err - default: - return false, nil - } -} - -func _WriteEntityRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*WriteEntityRequest) - // request - switch x := m.Request.(type) { - case *WriteEntityRequest_Create: - s := proto.Size(x.Create) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *WriteEntityRequest_Update: - s := proto.Size(x.Update) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type WriteEntitiesResponse struct { CreatedEntities []*storage.NetworkEntity `protobuf:"bytes,1,rep,name=created_entities,json=createdEntities,proto3" json:"created_entities,omitempty"` UpdatedEntities map[string]*storage.NetworkEntity `protobuf:"bytes,2,rep,name=updated_entities,json=updatedEntities,proto3" json:"updated_entities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -518,16 +462,17 @@ func (m *WriteEntitiesResponse) Reset() { *m = WriteEntitiesResponse{} } func (m *WriteEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*WriteEntitiesResponse) ProtoMessage() {} func (*WriteEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{9} + return fileDescriptor_90b042c70967f647, []int{9} } + func (m *WriteEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteEntitiesResponse.Unmarshal(m, b) } func (m *WriteEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_WriteEntitiesResponse.Marshal(b, m, deterministic) } -func (dst *WriteEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteEntitiesResponse.Merge(dst, src) +func (m *WriteEntitiesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteEntitiesResponse.Merge(m, src) } func (m *WriteEntitiesResponse) XXX_Size() int { return xxx_messageInfo_WriteEntitiesResponse.Size(m) @@ -564,16 +509,17 @@ func (m *CreateEntitiesRequest) Reset() { *m = CreateEntitiesRequest{} } func (m *CreateEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*CreateEntitiesRequest) ProtoMessage() {} func (*CreateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{10} + return fileDescriptor_90b042c70967f647, []int{10} } + func (m *CreateEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateEntitiesRequest.Unmarshal(m, b) } func (m *CreateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateEntitiesRequest.Marshal(b, m, deterministic) } -func (dst *CreateEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateEntitiesRequest.Merge(dst, src) +func (m *CreateEntitiesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateEntitiesRequest.Merge(m, src) } func (m *CreateEntitiesRequest) XXX_Size() int { return xxx_messageInfo_CreateEntitiesRequest.Size(m) @@ -609,16 +555,17 @@ func (m *CreateEntitiesResponse) Reset() { *m = CreateEntitiesResponse{} func (m *CreateEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*CreateEntitiesResponse) ProtoMessage() {} func (*CreateEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{11} + return fileDescriptor_90b042c70967f647, []int{11} } + func (m *CreateEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateEntitiesResponse.Unmarshal(m, b) } func (m *CreateEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateEntitiesResponse.Marshal(b, m, deterministic) } -func (dst *CreateEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateEntitiesResponse.Merge(dst, src) +func (m *CreateEntitiesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateEntitiesResponse.Merge(m, src) } func (m *CreateEntitiesResponse) XXX_Size() int { return xxx_messageInfo_CreateEntitiesResponse.Size(m) @@ -648,16 +595,17 @@ func (m *UpdateEntitiesRequest) Reset() { *m = UpdateEntitiesRequest{} } func (m *UpdateEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*UpdateEntitiesRequest) ProtoMessage() {} func (*UpdateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{12} + return fileDescriptor_90b042c70967f647, []int{12} } + func (m *UpdateEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateEntitiesRequest.Unmarshal(m, b) } func (m *UpdateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateEntitiesRequest.Marshal(b, m, deterministic) } -func (dst *UpdateEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateEntitiesRequest.Merge(dst, src) +func (m *UpdateEntitiesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateEntitiesRequest.Merge(m, src) } func (m *UpdateEntitiesRequest) XXX_Size() int { return xxx_messageInfo_UpdateEntitiesRequest.Size(m) @@ -693,16 +641,17 @@ func (m *UpdateEntitiesResponse) Reset() { *m = UpdateEntitiesResponse{} func (m *UpdateEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*UpdateEntitiesResponse) ProtoMessage() {} func (*UpdateEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{13} + return fileDescriptor_90b042c70967f647, []int{13} } + func (m *UpdateEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateEntitiesResponse.Unmarshal(m, b) } func (m *UpdateEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateEntitiesResponse.Marshal(b, m, deterministic) } -func (dst *UpdateEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateEntitiesResponse.Merge(dst, src) +func (m *UpdateEntitiesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateEntitiesResponse.Merge(m, src) } func (m *UpdateEntitiesResponse) XXX_Size() int { return xxx_messageInfo_UpdateEntitiesResponse.Size(m) @@ -732,16 +681,17 @@ func (m *DeleteEntitiesRequest) Reset() { *m = DeleteEntitiesRequest{} } func (m *DeleteEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*DeleteEntitiesRequest) ProtoMessage() {} func (*DeleteEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_northbound_7ff82ff007bee6b3, []int{14} + return fileDescriptor_90b042c70967f647, []int{14} } + func (m *DeleteEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteEntitiesRequest.Unmarshal(m, b) } func (m *DeleteEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteEntitiesRequest.Marshal(b, m, deterministic) } -func (dst *DeleteEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEntitiesRequest.Merge(dst, src) +func (m *DeleteEntitiesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteEntitiesRequest.Merge(m, src) } func (m *DeleteEntitiesRequest) XXX_Size() int { return xxx_messageInfo_DeleteEntitiesRequest.Size(m) @@ -786,6 +736,63 @@ func init() { proto.RegisterType((*DeleteEntitiesRequest)(nil), "magma.orc8r.configurator.DeleteEntitiesRequest") } +func init() { proto.RegisterFile("northbound.proto", fileDescriptor_90b042c70967f647) } + +var fileDescriptor_90b042c70967f647 = []byte{ + // 809 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x8d, 0x53, 0x7d, 0x69, 0x72, 0xfb, 0xd1, 0x86, 0xa1, 0x89, 0xa2, 0x08, 0x41, 0x35, 0xab, + 0x82, 0x20, 0xae, 0x52, 0xa0, 0x55, 0x57, 0xa8, 0x75, 0x10, 0xa1, 0x55, 0xd5, 0x5a, 0xd0, 0x4a, + 0x5d, 0x80, 0x5c, 0x67, 0x1a, 0x4c, 0x13, 0x4f, 0x3a, 0x1e, 0xb7, 0x0a, 0x4b, 0x36, 0x3c, 0x11, + 0x3b, 0x78, 0x08, 0x96, 0x3c, 0x0d, 0x28, 0x9e, 0xb1, 0x63, 0x3b, 0x4e, 0x62, 0x77, 0x81, 0x58, + 0xc5, 0x9a, 0x99, 0x7b, 0xce, 0xfd, 0x39, 0x73, 0xe7, 0x06, 0xca, 0x36, 0x65, 0xfc, 0xe3, 0x39, + 0x75, 0xed, 0x4e, 0x63, 0xc0, 0x28, 0xa7, 0xa8, 0xd6, 0x37, 0xba, 0x7d, 0xa3, 0x41, 0x99, 0xb9, + 0xcd, 0x1a, 0x26, 0xb5, 0x2f, 0xac, 0xae, 0xcb, 0x0c, 0x4e, 0x59, 0xfd, 0xa1, 0xb7, 0xa3, 0x7a, + 0x3b, 0xaa, 0x77, 0xd8, 0x51, 0x4d, 0xda, 0xef, 0x53, 0x5b, 0x98, 0xd6, 0x5f, 0x86, 0x0f, 0x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4, 0x2c, 0x02, 0x30, 0xa8, 0x84, 0x8f, 0x83, 0xb7, 0xa0, + 0xa2, 0x91, 0x1e, 0x99, 0xe4, 0x9a, 0x27, 0x96, 0x9f, 0x52, 0x2c, 0x2d, 0x9b, 0x5b, 0xdc, 0x22, + 0x81, 0xdd, 0x7d, 0x28, 0x05, 0xa7, 0x6a, 0xca, 0x9a, 0xb2, 0x5e, 0xd2, 0xc7, 0x0b, 0xe8, 0x4d, + 0x50, 0x77, 0x21, 0xa4, 0xe6, 0xfc, 0x00, 0x3c, 0x82, 0xe1, 0x64, 0xd9, 0xd1, 0x51, 0x48, 0x96, + 0x42, 0x45, 0xcf, 0xb2, 0xa0, 0x4d, 0xaa, 0x12, 0x7f, 0x86, 0xd5, 0xd3, 0xd1, 0x77, 0xb6, 0x98, + 0x34, 0x28, 0xdc, 0x8c, 0xac, 0x9c, 0x5a, 0xde, 0x2b, 0xca, 0x93, 0xe9, 0x5e, 0x8c, 0xd1, 0x87, + 0x12, 0x5b, 0x97, 0xb6, 0xf8, 0xbb, 0x02, 0x68, 0x72, 0x1b, 0xb5, 0xa1, 0x20, 0xe4, 0xe1, 0xf1, + 0x2e, 0x35, 0xd5, 0xd4, 0x15, 0x17, 0x38, 0xaf, 0x73, 0xba, 0x04, 0x40, 0x47, 0x50, 0x10, 0x55, + 0x97, 0xb9, 0x7f, 0x91, 0x36, 0x5b, 0x51, 0xed, 0x8c, 0x10, 0x05, 0xce, 0x6e, 0x09, 0x16, 0x99, + 0xf0, 0x13, 0xff, 0xca, 0x43, 0x25, 0x96, 0x3b, 0x79, 0x47, 0xce, 0xc6, 0x77, 0x84, 0xc8, 0x3d, + 0xa9, 0xde, 0xac, 0xb1, 0x04, 0x37, 0xc5, 0xe7, 0x40, 0x14, 0xca, 0xc2, 0x95, 0x10, 0xb6, 0x28, + 0x82, 0x96, 0xa6, 0x08, 0x21, 0x37, 0x1b, 0x22, 0xc8, 0x00, 0xba, 0x65, 0x73, 0x36, 0xd4, 0x57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1b, 0x7d, 0xe0, 0x67, 0xe1, 0x26, 0x8e, 0x02, 0xc9, 0xb8, 0x1c, 0xfe, + 0x0f, 0xcf, 0x8a, 0xe8, 0xe9, 0x8c, 0x54, 0x4f, 0xce, 0x94, 0xf5, 0x6c, 0x03, 0x9f, 0x4e, 0x1c, + 0xb7, 0xc7, 0x71, 0x0e, 0x31, 0xb8, 0x13, 0x69, 0xdf, 0xa8, 0x91, 0xba, 0xcf, 0x0b, 0x5e, 0x35, + 0xe3, 0xbb, 0x10, 0x16, 0x44, 0x40, 0x3a, 0x57, 0x10, 0x71, 0xd6, 0x8d, 0xf4, 0x06, 0x61, 0xda, + 0x68, 0x8f, 0x98, 0x2f, 0x88, 0x0c, 0xb4, 0xc9, 0xed, 0x27, 0xac, 0x97, 0x34, 0xb4, 0x89, 0xfd, + 0x20, 0x59, 0x2f, 0x8e, 0xd0, 0x4b, 0x80, 0x3a, 0x47, 0x2f, 0x71, 0xcc, 0x4c, 0x83, 0xa2, 0x2f, + 0x97, 0xdd, 0xe2, 0x59, 0x41, 0xfc, 0xc9, 0x3a, 0x17, 0xbf, 0x9b, 0x7f, 0x02, 0x00, 0x00, 0xff, + 0xff, 0xda, 0x6f, 0xc2, 0x9d, 0xad, 0x0d, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -944,6 +951,41 @@ type NorthboundConfiguratorServer interface { LoadEntities(context.Context, *LoadEntitiesRequest) (*storage.EntityLoadResult, error) } +// UnimplementedNorthboundConfiguratorServer can be embedded to have forward compatible implementations. +type UnimplementedNorthboundConfiguratorServer struct { +} + +func (*UnimplementedNorthboundConfiguratorServer) ListNetworkIDs(ctx context.Context, req *protos.Void) (*ListNetworkIDsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNetworkIDs not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) CreateNetworks(ctx context.Context, req *CreateNetworksRequest) (*CreateNetworksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNetworks not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) UpdateNetworks(ctx context.Context, req *UpdateNetworksRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNetworks not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) DeleteNetworks(ctx context.Context, req *DeleteNetworksRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNetworks not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) LoadNetworks(ctx context.Context, req *LoadNetworksRequest) (*storage.NetworkLoadResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method LoadNetworks not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) WriteEntities(ctx context.Context, req *WriteEntitiesRequest) (*WriteEntitiesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WriteEntities not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) CreateEntities(ctx context.Context, req *CreateEntitiesRequest) (*CreateEntitiesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateEntities not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) UpdateEntities(ctx context.Context, req *UpdateEntitiesRequest) (*UpdateEntitiesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateEntities not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) DeleteEntities(ctx context.Context, req *DeleteEntitiesRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteEntities not implemented") +} +func (*UnimplementedNorthboundConfiguratorServer) LoadEntities(ctx context.Context, req *LoadEntitiesRequest) (*storage.EntityLoadResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method LoadEntities not implemented") +} + func RegisterNorthboundConfiguratorServer(s *grpc.Server, srv NorthboundConfiguratorServer) { s.RegisterService(&_NorthboundConfigurator_serviceDesc, srv) } @@ -1176,60 +1218,3 @@ var _NorthboundConfigurator_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "northbound.proto", } - -func init() { proto.RegisterFile("northbound.proto", fileDescriptor_northbound_7ff82ff007bee6b3) } - -var fileDescriptor_northbound_7ff82ff007bee6b3 = []byte{ - // 809 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0x8d, 0x53, 0x7d, 0x69, 0x72, 0xfb, 0xd1, 0x86, 0xa1, 0x89, 0xa2, 0x08, 0x41, 0x35, 0xab, - 0x82, 0x20, 0xae, 0x52, 0xa0, 0x55, 0x57, 0xa8, 0x75, 0x10, 0xa1, 0x55, 0xd5, 0x5a, 0xd0, 0x4a, - 0x5d, 0x80, 0x5c, 0x67, 0x1a, 0x4c, 0x13, 0x4f, 0x3a, 0x1e, 0xb7, 0x0a, 0x4b, 0x36, 0x3c, 0x11, - 0x3b, 0x78, 0x08, 0x96, 0x3c, 0x0d, 0x28, 0x9e, 0xb1, 0x63, 0x3b, 0x4e, 0x62, 0x77, 0x81, 0x58, - 0xc5, 0x9a, 0x99, 0x7b, 0xce, 0xfd, 0x39, 0x73, 0xe7, 0x06, 0xca, 0x36, 0x65, 0xfc, 0xe3, 0x39, - 0x75, 0xed, 0x4e, 0x63, 0xc0, 0x28, 0xa7, 0xa8, 0xd6, 0x37, 0xba, 0x7d, 0xa3, 0x41, 0x99, 0xb9, - 0xcd, 0x1a, 0x26, 0xb5, 0x2f, 0xac, 0xae, 0xcb, 0x0c, 0x4e, 0x59, 0xfd, 0xa1, 0xb7, 0xa3, 0x7a, - 0x3b, 0xaa, 0x77, 0xd8, 0x51, 0x4d, 0xda, 0xef, 0x53, 0x5b, 0x98, 0xd6, 0x5f, 0x86, 0x0f, 0x98, - 0x3d, 0xea, 0x76, 0xd4, 0x2e, 0x55, 0x1d, 0xc2, 0xae, 0x2d, 0x93, 0x8c, 0xce, 0x8e, 0xc1, 0x54, - 0x87,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0x9f, 0x52, 0x2c, 0x2d, 0x9b, 0x5b, 0xdc, 0x22, - 0x81, 0xdd, 0x7d, 0x28, 0x05, 0xa7, 0x6a, 0xca, 0x9a, 0xb2, 0x5e, 0xd2, 0xc7, 0x0b, 0xe8, 0x4d, - 0x50, 0x77, 0x21, 0xa4, 0xe6, 0xfc, 0x00, 0x3c, 0x82, 0xe1, 0x64, 0xd9, 0xd1, 0x51, 0x48, 0x96, - 0x42, 0x45, 0xcf, 0xb2, 0xa0, 0x4d, 0xaa, 0x12, 0x7f, 0x86, 0xd5, 0xd3, 0xd1, 0x77, 0xb6, 0x98, - 0x34, 0x28, 0xdc, 0x8c, 0xac, 0x9c, 0x5a, 0xde, 0x2b, 0xca, 0x93, 0xe9, 0x5e, 0x8c, 0xd1, 0x87, - 0x12, 0x5b, 0x97, 0xb6, 0xf8, 0xbb, 0x02, 0x68, 0x72, 0x1b, 0xb5, 0xa1, 0x20, 0xe4, 0xe1, 0xf1, - 0x2e, 0x35, 0xd5, 0xd4, 0x15, 0x17, 0x38, 0xaf, 0x73, 0xba, 0x04, 0x40, 0x47, 0x50, 0x10, 0x55, - 0x97, 0xb9, 0x7f, 0x91, 0x36, 0x5b, 0x51, 0xed, 0x8c, 0x10, 0x05, 0xce, 0x6e, 0x09, 0x16, 0x99, - 0xf0, 0x13, 0xff, 0xca, 0x43, 0x25, 0x96, 0x3b, 0x79, 0x47, 0xce, 0xc6, 0x77, 0x84, 0xc8, 0x3d, - 0xa9, 0xde, 0xac, 0xb1, 0x04, 0x37, 0xc5, 0xe7, 0x40, 0x14, 0xca, 0xc2, 0x95, 0x10, 0xb6, 0x28, - 0x82, 0x96, 0xa6, 0x08, 0x21, 0x37, 0x1b, 0x22, 0xc8, 0x00, 0xba, 0x65, 0x73, 0x36, 0xd4, 0x57, - 0xdc, 0xe8, 0x6a, 0xdd, 0x81, 0xd5, 0xa4, 0x83, 0xa8, 0x0c, 0x0b, 0x97, 0x64, 0x28, 0xb5, 0x31, - 0xfa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0x8c, 0x54, 0x4f, 0xce, 0x94, 0xf5, 0x6c, 0x03, 0x9f, 0x4e, 0x1c, - 0xb7, 0xc7, 0x71, 0x0e, 0x31, 0xb8, 0x13, 0x69, 0xdf, 0xa8, 0x91, 0xba, 0xcf, 0x0b, 0x5e, 0x35, - 0xe3, 0xbb, 0x10, 0x16, 0x44, 0x40, 0x3a, 0x57, 0x10, 0x71, 0xd6, 0x8d, 0xf4, 0x06, 0x61, 0xda, - 0x68, 0x8f, 0x98, 0x2f, 0x88, 0x0c, 0xb4, 0xc9, 0xed, 0x27, 0xac, 0x97, 0x34, 0xb4, 0x89, 0xfd, - 0x20, 0x59, 0x2f, 0x8e, 0xd0, 0x4b, 0x80, 0x3a, 0x47, 0x2f, 0x71, 0xcc, 0x4c, 0x83, 0xa2, 0x2f, - 0x97, 0xdd, 0xe2, 0x59, 0x41, 0xfc, 0xc9, 0x3a, 0x17, 0xbf, 0x9b, 0x7f, 0x02, 0x00, 0x00, 0xff, - 0xff, 0xda, 0x6f, 0xc2, 0x9d, 0xad, 0x0d, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/services/configurator/protos/southbound.pb.go b/orc8r/cloud/go/services/configurator/protos/southbound.pb.go index eebc3789b75b..7234f5a95104 100644 --- a/orc8r/cloud/go/services/configurator/protos/southbound.pb.go +++ b/orc8r/cloud/go/services/configurator/protos/southbound.pb.go @@ -3,14 +3,15 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" - import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetMconfigRequest struct { HardwareID string `protobuf:"bytes,1,opt,name=hardwareID,proto3" json:"hardwareID,omitempty"` @@ -35,16 +36,17 @@ func (m *GetMconfigRequest) Reset() { *m = GetMconfigRequest{} } func (m *GetMconfigRequest) String() string { return proto.CompactTextString(m) } func (*GetMconfigRequest) ProtoMessage() {} func (*GetMconfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_southbound_b2772570049da9e2, []int{0} + return fileDescriptor_480661e00faacec1, []int{0} } + func (m *GetMconfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMconfigRequest.Unmarshal(m, b) } func (m *GetMconfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetMconfigRequest.Marshal(b, m, deterministic) } -func (dst *GetMconfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMconfigRequest.Merge(dst, src) +func (m *GetMconfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMconfigRequest.Merge(m, src) } func (m *GetMconfigRequest) XXX_Size() int { return xxx_messageInfo_GetMconfigRequest.Size(m) @@ -74,16 +76,17 @@ func (m *GetMconfigResponse) Reset() { *m = GetMconfigResponse{} } func (m *GetMconfigResponse) String() string { return proto.CompactTextString(m) } func (*GetMconfigResponse) ProtoMessage() {} func (*GetMconfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_southbound_b2772570049da9e2, []int{1} + return fileDescriptor_480661e00faacec1, []int{1} } + func (m *GetMconfigResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMconfigResponse.Unmarshal(m, b) } func (m *GetMconfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetMconfigResponse.Marshal(b, m, deterministic) } -func (dst *GetMconfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMconfigResponse.Merge(dst, src) +func (m *GetMconfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMconfigResponse.Merge(m, src) } func (m *GetMconfigResponse) XXX_Size() int { return xxx_messageInfo_GetMconfigResponse.Size(m) @@ -113,6 +116,29 @@ func init() { proto.RegisterType((*GetMconfigResponse)(nil), "magma.orc8r.configurator.GetMconfigResponse") } +func init() { proto.RegisterFile("southbound.proto", fileDescriptor_480661e00faacec1) } + +var fileDescriptor_480661e00faacec1 = []byte{ + // 267 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xc3, 0x40, + 0x10, 0xc5, 0x1b, 0x0f, 0x6a, 0xc7, 0x8b, 0xdd, 0x83, 0x84, 0x28, 0x5a, 0x72, 0x12, 0x94, 0x0d, + 0xb4, 0x08, 0x9e, 0x3c, 0xd8, 0x42, 0xc9, 0xc1, 0x4b, 0x04, 0x0f, 0xde, 0xa6, 0xc9, 0x9a, 0x06, + 0x92, 0x9d, 0x76, 0x77, 0x43, 0xf1, 0x33, 0xfa, 0xa5, 0x84, 0x1d, 0xb4, 0x2b, 0xfe, 0xc1, 0xd3, + 0xc2, 0x9b, 0xdf, 0xe3, 0xcd, 0xbc, 0x85, 0x63, 0x4b, 0xbd, 0x5b, 0x2d, 0xa9, 0xd7, 0x95, 0x5c, + 0x1b, 0x72, 0x24, 0xe2, 0x0e, 0xeb, 0x0e, 0x25, 0x99, 0xf2, 0xd6, 0xc8, 0x92, 0xf4, 0x4b, 0x53, + 0xf7, 0x06, 0x1d, 0x99, 0x64, 0xec, 0x27, 0x99, 0x9f, 0x64, 0x1e, 0xb6, 0x59, 0xc7, 0x04, 0x7b, + 0x93, 0x8b, 0x1f, 0x88, 0x92, 0xba, 0x8e, 0x34, 0x03, 0xe9, 0x14, 0x46, 0x0b, 0xe5, 0x1e, 0xd8, + 0x54, 0xa8, 0x4d, 0xaf, 0xac, 0x13, 0xe7, 0x00, 0x2b, 0x34, 0xd5, 0x16, 0x8d, 0xca, 0xe7, 0x71, + 0x34, 0x8e, 0x2e, 0x87, 0x45, 0xa0, 0xa4, 0x0d, 0x88, 0xd0, 0x64, 0xd7, 0xa4, 0xad, 0x12, 0x37, + 0x70, 0xc0, 0x8a, 0xf5, 0x96, 0xa3, 0xc9, 0xa9, 0x0c, 0x37, 0x5f, 0xa0, 0x53, 0x5b, 0x7c, 0x9d, + 0x31, 0x52, 0x7c, 0xb0, 0xe2, 0x0c, 0x86, 0x2d, 0xd5, 0x4d, 0x89, 0x6d, 0x3e, 0x8f, 0xf7, 0x7c, + 0xd6, 0x4e, 0x98, 0xbc, 0x45, 0x70, 0xf2, 0xf8, 0xd9, 0xc8, 0x2c, 0xb8, 0x5e, 0xdc, 0x01, 0xec, + 0xb6, 0x10, 0xa3, 0x2f, 0x61, 0x4f, 0xd4, 0x54, 0xc9, 0x5f, 0xf9, 0xe9, 0x40, 0x6c, 0xc2, 0x2b, + 0x72, 0xed, 0x94, 0xd1, 0xd8, 0x8a, 0x2b, 0xf9, 0x5b, 0xdd, 0xf2, 0x5b, 0x51, 0xc9, 0xf5, 0xff, + 0x60, 0x2e, 0x28, 0x1d, 0xdc, 0x1f, 0x3e, 0xef, 0xf3, 0x27, 0x2c, 0xf9, 0x9d, 0xbe, 0x07, 0x00, + 0x00, 0xff, 0xff, 0xb6, 0xde, 0x9a, 0xfe, 0xef, 0x01, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -167,6 +193,17 @@ type SouthboundConfiguratorServer interface { GetMconfigInternal(context.Context, *GetMconfigRequest) (*GetMconfigResponse, error) } +// UnimplementedSouthboundConfiguratorServer can be embedded to have forward compatible implementations. +type UnimplementedSouthboundConfiguratorServer struct { +} + +func (*UnimplementedSouthboundConfiguratorServer) GetMconfig(ctx context.Context, req *protos.Void) (*protos.GatewayConfigs, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMconfig not implemented") +} +func (*UnimplementedSouthboundConfiguratorServer) GetMconfigInternal(ctx context.Context, req *GetMconfigRequest) (*GetMconfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMconfigInternal not implemented") +} + func RegisterSouthboundConfiguratorServer(s *grpc.Server, srv SouthboundConfiguratorServer) { s.RegisterService(&_SouthboundConfigurator_serviceDesc, srv) } @@ -223,26 +260,3 @@ var _SouthboundConfigurator_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "southbound.proto", } - -func init() { proto.RegisterFile("southbound.proto", fileDescriptor_southbound_b2772570049da9e2) } - -var fileDescriptor_southbound_b2772570049da9e2 = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xc3, 0x40, - 0x10, 0xc5, 0x1b, 0x0f, 0x6a, 0xc7, 0x8b, 0xdd, 0x83, 0x84, 0x28, 0x5a, 0x72, 0x12, 0x94, 0x0d, - 0xb4, 0x08, 0x9e, 0x3c, 0xd8, 0x42, 0xc9, 0xc1, 0x4b, 0x04, 0x0f, 0xde, 0xa6, 0xc9, 0x9a, 0x06, - 0x92, 0x9d, 0x76, 0x77, 0x43, 0xf1, 0x33, 0xfa, 0xa5, 0x84, 0x1d, 0xb4, 0x2b, 0xfe, 0xc1, 0xd3, - 0xc2, 0x9b, 0xdf, 0xe3, 0xcd, 0xbc, 0x85, 0x63, 0x4b, 0xbd, 0x5b, 0x2d, 0xa9, 0xd7, 0x95, 0x5c, - 0x1b, 0x72, 0x24, 0xe2, 0x0e, 0xeb, 0x0e, 0x25, 0x99, 0xf2, 0xd6, 0xc8, 0x92, 0xf4, 0x4b, 0x53, - 0xf7, 0x06, 0x1d, 0x99, 0x64, 0xec, 0x27, 0x99, 0x9f, 0x64, 0x1e, 0xb6, 0x59, 0xc7, 0x04, 0x7b, - 0x93, 0x8b, 0x1f, 0x88, 0x92, 0xba, 0x8e, 0x34, 0x03, 0xe9, 0x14, 0x46, 0x0b, 0xe5, 0x1e, 0xd8, - 0x54, 0xa8, 0x4d, 0xaf, 0xac, 0x13, 0xe7, 0x00, 0x2b, 0x34, 0xd5, 0x16, 0x8d, 0xca, 0xe7, 0x71, - 0x34, 0x8e, 0x2e, 0x87, 0x45, 0xa0, 0xa4, 0x0d, 0x88, 0xd0, 0x64, 0xd7, 0xa4, 0xad, 0x12, 0x37, - 0x70, 0xc0, 0x8a, 0xf5, 0x96, 0xa3, 0xc9, 0xa9, 0x0c, 0x37, 0x5f, 0xa0, 0x53, 0x5b, 0x7c, 0x9d, - 0x31, 0x52, 0x7c, 0xb0, 0xe2, 0x0c, 0x86, 0x2d, 0xd5, 0x4d, 0x89, 0x6d, 0x3e, 0x8f, 0xf7, 0x7c, - 0xd6, 0x4e, 0x98, 0xbc, 0x45, 0x70, 0xf2, 0xf8, 0xd9, 0xc8, 0x2c, 0xb8, 0x5e, 0xdc, 0x01, 0xec, - 0xb6, 0x10, 0xa3, 0x2f, 0x61, 0x4f, 0xd4, 0x54, 0xc9, 0x5f, 0xf9, 0xe9, 0x40, 0x6c, 0xc2, 0x2b, - 0x72, 0xed, 0x94, 0xd1, 0xd8, 0x8a, 0x2b, 0xf9, 0x5b, 0xdd, 0xf2, 0x5b, 0x51, 0xc9, 0xf5, 0xff, - 0x60, 0x2e, 0x28, 0x1d, 0xdc, 0x1f, 0x3e, 0xef, 0xf3, 0x27, 0x2c, 0xf9, 0x9d, 0xbe, 0x07, 0x00, - 0x00, 0xff, 0xff, 0xb6, 0xde, 0x9a, 0xfe, 0xef, 0x01, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/services/configurator/storage/storage.pb.go b/orc8r/cloud/go/services/configurator/storage/storage.pb.go index 4ae0286c73c8..faa1609a3241 100644 --- a/orc8r/cloud/go/services/configurator/storage/storage.pb.go +++ b/orc8r/cloud/go/services/configurator/storage/storage.pb.go @@ -3,10 +3,12 @@ package storage -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // OWN grants READ and WRITE type ACL_Permission int32 @@ -35,6 +37,7 @@ var ACL_Permission_name = map[int32]string{ 2: "WRITE", 3: "OWN", } + var ACL_Permission_value = map[string]int32{ "NO_PERM": 0, "READ": 1, @@ -45,8 +48,9 @@ var ACL_Permission_value = map[string]int32{ func (x ACL_Permission) String() string { return proto.EnumName(ACL_Permission_name, int32(x)) } + func (ACL_Permission) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{7, 0} + return fileDescriptor_0d2c4ccf1453ffdb, []int{7, 0} } type ACL_Wildcard int32 @@ -60,6 +64,7 @@ var ACL_Wildcard_name = map[int32]string{ 0: "NO_WILDCARD", 1: "WILDCARD_ALL", } + var ACL_Wildcard_value = map[string]int32{ "NO_WILDCARD": 0, "WILDCARD_ALL": 1, @@ -68,8 +73,9 @@ var ACL_Wildcard_value = map[string]int32{ func (x ACL_Wildcard) String() string { return proto.EnumName(ACL_Wildcard_name, int32(x)) } + func (ACL_Wildcard) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{7, 1} + return fileDescriptor_0d2c4ccf1453ffdb, []int{7, 1} } // A network represents a tenant. Networks can be configured in a hierarchical @@ -94,16 +100,17 @@ func (m *Network) Reset() { *m = Network{} } func (m *Network) String() string { return proto.CompactTextString(m) } func (*Network) ProtoMessage() {} func (*Network) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{0} + return fileDescriptor_0d2c4ccf1453ffdb, []int{0} } + func (m *Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Network.Unmarshal(m, b) } func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Network.Marshal(b, m, deterministic) } -func (dst *Network) XXX_Merge(src proto.Message) { - xxx_messageInfo_Network.Merge(dst, src) +func (m *Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_Network.Merge(m, src) } func (m *Network) XXX_Size() int { return xxx_messageInfo_Network.Size(m) @@ -173,16 +180,17 @@ func (m *NetworkLoadFilter) Reset() { *m = NetworkLoadFilter{} } func (m *NetworkLoadFilter) String() string { return proto.CompactTextString(m) } func (*NetworkLoadFilter) ProtoMessage() {} func (*NetworkLoadFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{1} + return fileDescriptor_0d2c4ccf1453ffdb, []int{1} } + func (m *NetworkLoadFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkLoadFilter.Unmarshal(m, b) } func (m *NetworkLoadFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkLoadFilter.Marshal(b, m, deterministic) } -func (dst *NetworkLoadFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkLoadFilter.Merge(dst, src) +func (m *NetworkLoadFilter) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkLoadFilter.Merge(m, src) } func (m *NetworkLoadFilter) XXX_Size() int { return xxx_messageInfo_NetworkLoadFilter.Size(m) @@ -221,16 +229,17 @@ func (m *NetworkLoadCriteria) Reset() { *m = NetworkLoadCriteria{} } func (m *NetworkLoadCriteria) String() string { return proto.CompactTextString(m) } func (*NetworkLoadCriteria) ProtoMessage() {} func (*NetworkLoadCriteria) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{2} + return fileDescriptor_0d2c4ccf1453ffdb, []int{2} } + func (m *NetworkLoadCriteria) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkLoadCriteria.Unmarshal(m, b) } func (m *NetworkLoadCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkLoadCriteria.Marshal(b, m, deterministic) } -func (dst *NetworkLoadCriteria) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkLoadCriteria.Merge(dst, src) +func (m *NetworkLoadCriteria) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkLoadCriteria.Merge(m, src) } func (m *NetworkLoadCriteria) XXX_Size() int { return xxx_messageInfo_NetworkLoadCriteria.Size(m) @@ -267,16 +276,17 @@ func (m *NetworkLoadResult) Reset() { *m = NetworkLoadResult{} } func (m *NetworkLoadResult) String() string { return proto.CompactTextString(m) } func (*NetworkLoadResult) ProtoMessage() {} func (*NetworkLoadResult) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{3} + return fileDescriptor_0d2c4ccf1453ffdb, []int{3} } + func (m *NetworkLoadResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkLoadResult.Unmarshal(m, b) } func (m *NetworkLoadResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkLoadResult.Marshal(b, m, deterministic) } -func (dst *NetworkLoadResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkLoadResult.Merge(dst, src) +func (m *NetworkLoadResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkLoadResult.Merge(m, src) } func (m *NetworkLoadResult) XXX_Size() int { return xxx_messageInfo_NetworkLoadResult.Size(m) @@ -326,16 +336,17 @@ func (m *NetworkUpdateCriteria) Reset() { *m = NetworkUpdateCriteria{} } func (m *NetworkUpdateCriteria) String() string { return proto.CompactTextString(m) } func (*NetworkUpdateCriteria) ProtoMessage() {} func (*NetworkUpdateCriteria) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{4} + return fileDescriptor_0d2c4ccf1453ffdb, []int{4} } + func (m *NetworkUpdateCriteria) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkUpdateCriteria.Unmarshal(m, b) } func (m *NetworkUpdateCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkUpdateCriteria.Marshal(b, m, deterministic) } -func (dst *NetworkUpdateCriteria) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkUpdateCriteria.Merge(dst, src) +func (m *NetworkUpdateCriteria) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkUpdateCriteria.Merge(m, src) } func (m *NetworkUpdateCriteria) XXX_Size() int { return xxx_messageInfo_NetworkUpdateCriteria.Size(m) @@ -407,16 +418,17 @@ func (m *EntityID) Reset() { *m = EntityID{} } func (m *EntityID) String() string { return proto.CompactTextString(m) } func (*EntityID) ProtoMessage() {} func (*EntityID) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{5} + return fileDescriptor_0d2c4ccf1453ffdb, []int{5} } + func (m *EntityID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityID.Unmarshal(m, b) } func (m *EntityID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EntityID.Marshal(b, m, deterministic) } -func (dst *EntityID) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityID.Merge(dst, src) +func (m *EntityID) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityID.Merge(m, src) } func (m *EntityID) XXX_Size() int { return xxx_messageInfo_EntityID.Size(m) @@ -479,16 +491,17 @@ func (m *NetworkEntity) Reset() { *m = NetworkEntity{} } func (m *NetworkEntity) String() string { return proto.CompactTextString(m) } func (*NetworkEntity) ProtoMessage() {} func (*NetworkEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{6} + return fileDescriptor_0d2c4ccf1453ffdb, []int{6} } + func (m *NetworkEntity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkEntity.Unmarshal(m, b) } func (m *NetworkEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkEntity.Marshal(b, m, deterministic) } -func (dst *NetworkEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkEntity.Merge(dst, src) +func (m *NetworkEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkEntity.Merge(m, src) } func (m *NetworkEntity) XXX_Size() int { return xxx_messageInfo_NetworkEntity.Size(m) @@ -615,16 +628,17 @@ func (m *ACL) Reset() { *m = ACL{} } func (m *ACL) String() string { return proto.CompactTextString(m) } func (*ACL) ProtoMessage() {} func (*ACL) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{7} + return fileDescriptor_0d2c4ccf1453ffdb, []int{7} } + func (m *ACL) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ACL.Unmarshal(m, b) } func (m *ACL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ACL.Marshal(b, m, deterministic) } -func (dst *ACL) XXX_Merge(src proto.Message) { - xxx_messageInfo_ACL.Merge(dst, src) +func (m *ACL) XXX_Merge(src proto.Message) { + xxx_messageInfo_ACL.Merge(m, src) } func (m *ACL) XXX_Size() int { return xxx_messageInfo_ACL.Size(m) @@ -737,9 +751,9 @@ func (m *ACL) GetVersion() uint64 { return 0 } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ACL) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ACL_OneofMarshaler, _ACL_OneofUnmarshaler, _ACL_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ACL) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*ACL_ScopeNetworkIDs)(nil), (*ACL_ScopeWildcard)(nil), (*ACL_EntityType)(nil), @@ -747,106 +761,6 @@ func (*ACL) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, fu } } -func _ACL_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ACL) - // scope - switch x := m.Scope.(type) { - case *ACL_ScopeNetworkIDs: - b.EncodeVarint(10<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ScopeNetworkIDs); err != nil { - return err - } - case *ACL_ScopeWildcard: - b.EncodeVarint(11<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.ScopeWildcard)) - case nil: - default: - return fmt.Errorf("ACL.Scope has unexpected type %T", x) - } - // type - switch x := m.Type.(type) { - case *ACL_EntityType: - b.EncodeVarint(30<<3 | proto.WireBytes) - b.EncodeStringBytes(x.EntityType) - case *ACL_TypeWildcard: - b.EncodeVarint(31<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.TypeWildcard)) - case nil: - default: - return fmt.Errorf("ACL.Type has unexpected type %T", x) - } - return nil -} - -func _ACL_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ACL) - switch tag { - case 10: // scope.scope_networkIDs - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ACL_NetworkIDs) - err := b.DecodeMessage(msg) - m.Scope = &ACL_ScopeNetworkIDs{msg} - return true, err - case 11: // scope.scope_wildcard - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Scope = &ACL_ScopeWildcard{ACL_Wildcard(x)} - return true, err - case 30: // type.entity_type - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Type = &ACL_EntityType{x} - return true, err - case 31: // type.type_wildcard - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Type = &ACL_TypeWildcard{ACL_Wildcard(x)} - return true, err - default: - return false, nil - } -} - -func _ACL_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ACL) - // scope - switch x := m.Scope.(type) { - case *ACL_ScopeNetworkIDs: - s := proto.Size(x.ScopeNetworkIDs) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ACL_ScopeWildcard: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.ScopeWildcard)) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - // type - switch x := m.Type.(type) { - case *ACL_EntityType: - n += 2 // tag and wire - n += proto.SizeVarint(uint64(len(x.EntityType))) - n += len(x.EntityType) - case *ACL_TypeWildcard: - n += 2 // tag and wire - n += proto.SizeVarint(uint64(x.TypeWildcard)) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type ACL_NetworkIDs struct { IDs []string `protobuf:"bytes,1,rep,name=IDs,proto3" json:"IDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -858,16 +772,17 @@ func (m *ACL_NetworkIDs) Reset() { *m = ACL_NetworkIDs{} } func (m *ACL_NetworkIDs) String() string { return proto.CompactTextString(m) } func (*ACL_NetworkIDs) ProtoMessage() {} func (*ACL_NetworkIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{7, 0} + return fileDescriptor_0d2c4ccf1453ffdb, []int{7, 0} } + func (m *ACL_NetworkIDs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ACL_NetworkIDs.Unmarshal(m, b) } func (m *ACL_NetworkIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ACL_NetworkIDs.Marshal(b, m, deterministic) } -func (dst *ACL_NetworkIDs) XXX_Merge(src proto.Message) { - xxx_messageInfo_ACL_NetworkIDs.Merge(dst, src) +func (m *ACL_NetworkIDs) XXX_Merge(src proto.Message) { + xxx_messageInfo_ACL_NetworkIDs.Merge(m, src) } func (m *ACL_NetworkIDs) XXX_Size() int { return xxx_messageInfo_ACL_NetworkIDs.Size(m) @@ -911,16 +826,17 @@ func (m *EntityLoadFilter) Reset() { *m = EntityLoadFilter{} } func (m *EntityLoadFilter) String() string { return proto.CompactTextString(m) } func (*EntityLoadFilter) ProtoMessage() {} func (*EntityLoadFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{8} + return fileDescriptor_0d2c4ccf1453ffdb, []int{8} } + func (m *EntityLoadFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityLoadFilter.Unmarshal(m, b) } func (m *EntityLoadFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EntityLoadFilter.Marshal(b, m, deterministic) } -func (dst *EntityLoadFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityLoadFilter.Merge(dst, src) +func (m *EntityLoadFilter) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityLoadFilter.Merge(m, src) } func (m *EntityLoadFilter) XXX_Size() int { return xxx_messageInfo_EntityLoadFilter.Size(m) @@ -983,16 +899,17 @@ func (m *EntityLoadCriteria) Reset() { *m = EntityLoadCriteria{} } func (m *EntityLoadCriteria) String() string { return proto.CompactTextString(m) } func (*EntityLoadCriteria) ProtoMessage() {} func (*EntityLoadCriteria) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{9} + return fileDescriptor_0d2c4ccf1453ffdb, []int{9} } + func (m *EntityLoadCriteria) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityLoadCriteria.Unmarshal(m, b) } func (m *EntityLoadCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EntityLoadCriteria.Marshal(b, m, deterministic) } -func (dst *EntityLoadCriteria) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityLoadCriteria.Merge(dst, src) +func (m *EntityLoadCriteria) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityLoadCriteria.Merge(m, src) } func (m *EntityLoadCriteria) XXX_Size() int { return xxx_messageInfo_EntityLoadCriteria.Size(m) @@ -1050,16 +967,17 @@ func (m *EntityLoadResult) Reset() { *m = EntityLoadResult{} } func (m *EntityLoadResult) String() string { return proto.CompactTextString(m) } func (*EntityLoadResult) ProtoMessage() {} func (*EntityLoadResult) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{10} + return fileDescriptor_0d2c4ccf1453ffdb, []int{10} } + func (m *EntityLoadResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityLoadResult.Unmarshal(m, b) } func (m *EntityLoadResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EntityLoadResult.Marshal(b, m, deterministic) } -func (dst *EntityLoadResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityLoadResult.Merge(dst, src) +func (m *EntityLoadResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityLoadResult.Merge(m, src) } func (m *EntityLoadResult) XXX_Size() int { return xxx_messageInfo_EntityLoadResult.Size(m) @@ -1114,16 +1032,17 @@ func (m *EntityUpdateCriteria) Reset() { *m = EntityUpdateCriteria{} } func (m *EntityUpdateCriteria) String() string { return proto.CompactTextString(m) } func (*EntityUpdateCriteria) ProtoMessage() {} func (*EntityUpdateCriteria) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{11} + return fileDescriptor_0d2c4ccf1453ffdb, []int{11} } + func (m *EntityUpdateCriteria) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityUpdateCriteria.Unmarshal(m, b) } func (m *EntityUpdateCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EntityUpdateCriteria.Marshal(b, m, deterministic) } -func (dst *EntityUpdateCriteria) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityUpdateCriteria.Merge(dst, src) +func (m *EntityUpdateCriteria) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityUpdateCriteria.Merge(m, src) } func (m *EntityUpdateCriteria) XXX_Size() int { return xxx_messageInfo_EntityUpdateCriteria.Size(m) @@ -1236,16 +1155,17 @@ func (m *EntityAssociationsToSet) Reset() { *m = EntityAssociationsToSet func (m *EntityAssociationsToSet) String() string { return proto.CompactTextString(m) } func (*EntityAssociationsToSet) ProtoMessage() {} func (*EntityAssociationsToSet) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{12} + return fileDescriptor_0d2c4ccf1453ffdb, []int{12} } + func (m *EntityAssociationsToSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityAssociationsToSet.Unmarshal(m, b) } func (m *EntityAssociationsToSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EntityAssociationsToSet.Marshal(b, m, deterministic) } -func (dst *EntityAssociationsToSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityAssociationsToSet.Merge(dst, src) +func (m *EntityAssociationsToSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityAssociationsToSet.Merge(m, src) } func (m *EntityAssociationsToSet) XXX_Size() int { return xxx_messageInfo_EntityAssociationsToSet.Size(m) @@ -1280,16 +1200,17 @@ func (m *EntityGraph) Reset() { *m = EntityGraph{} } func (m *EntityGraph) String() string { return proto.CompactTextString(m) } func (*EntityGraph) ProtoMessage() {} func (*EntityGraph) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{13} + return fileDescriptor_0d2c4ccf1453ffdb, []int{13} } + func (m *EntityGraph) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityGraph.Unmarshal(m, b) } func (m *EntityGraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EntityGraph.Marshal(b, m, deterministic) } -func (dst *EntityGraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityGraph.Merge(dst, src) +func (m *EntityGraph) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityGraph.Merge(m, src) } func (m *EntityGraph) XXX_Size() int { return xxx_messageInfo_EntityGraph.Size(m) @@ -1334,16 +1255,17 @@ func (m *GraphEdge) Reset() { *m = GraphEdge{} } func (m *GraphEdge) String() string { return proto.CompactTextString(m) } func (*GraphEdge) ProtoMessage() {} func (*GraphEdge) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_7c5301dd9abb7266, []int{14} + return fileDescriptor_0d2c4ccf1453ffdb, []int{14} } + func (m *GraphEdge) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GraphEdge.Unmarshal(m, b) } func (m *GraphEdge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GraphEdge.Marshal(b, m, deterministic) } -func (dst *GraphEdge) XXX_Merge(src proto.Message) { - xxx_messageInfo_GraphEdge.Merge(dst, src) +func (m *GraphEdge) XXX_Merge(src proto.Message) { + xxx_messageInfo_GraphEdge.Merge(m, src) } func (m *GraphEdge) XXX_Size() int { return xxx_messageInfo_GraphEdge.Size(m) @@ -1369,6 +1291,8 @@ func (m *GraphEdge) GetFrom() *EntityID { } func init() { + proto.RegisterEnum("magma.orc8r.configurator.storage.ACL_Permission", ACL_Permission_name, ACL_Permission_value) + proto.RegisterEnum("magma.orc8r.configurator.storage.ACL_Wildcard", ACL_Wildcard_name, ACL_Wildcard_value) proto.RegisterType((*Network)(nil), "magma.orc8r.configurator.storage.Network") proto.RegisterMapType((map[string][]byte)(nil), "magma.orc8r.configurator.storage.Network.ConfigsEntry") proto.RegisterType((*NetworkLoadFilter)(nil), "magma.orc8r.configurator.storage.NetworkLoadFilter") @@ -1387,13 +1311,11 @@ func init() { proto.RegisterType((*EntityAssociationsToSet)(nil), "magma.orc8r.configurator.storage.EntityAssociationsToSet") proto.RegisterType((*EntityGraph)(nil), "magma.orc8r.configurator.storage.EntityGraph") proto.RegisterType((*GraphEdge)(nil), "magma.orc8r.configurator.storage.GraphEdge") - proto.RegisterEnum("magma.orc8r.configurator.storage.ACL_Permission", ACL_Permission_name, ACL_Permission_value) - proto.RegisterEnum("magma.orc8r.configurator.storage.ACL_Wildcard", ACL_Wildcard_name, ACL_Wildcard_value) } -func init() { proto.RegisterFile("storage.proto", fileDescriptor_storage_7c5301dd9abb7266) } +func init() { proto.RegisterFile("storage.proto", fileDescriptor_0d2c4ccf1453ffdb) } -var fileDescriptor_storage_7c5301dd9abb7266 = []byte{ +var fileDescriptor_0d2c4ccf1453ffdb = []byte{ // 1421 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xdd, 0x6e, 0xdb, 0xc6, 0x12, 0x36, 0x25, 0xd9, 0x92, 0x86, 0x92, 0xad, 0xac, 0xe5, 0x84, 0xc7, 0x27, 0x70, 0x14, 0x1e, diff --git a/orc8r/cloud/go/services/device/protos/device.pb.go b/orc8r/cloud/go/services/device/protos/device.pb.go index fcc384247e8d..b56d2fdb354d 100644 --- a/orc8r/cloud/go/services/device/protos/device.pb.go +++ b/orc8r/cloud/go/services/device/protos/device.pb.go @@ -3,14 +3,15 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import protos "magma/orc8r/cloud/go/protos" - import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protos "magma/orc8r/cloud/go/protos" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PhysicalEntity struct { // Globally unique identifier per type (MAC/SN) @@ -40,16 +41,17 @@ func (m *PhysicalEntity) Reset() { *m = PhysicalEntity{} } func (m *PhysicalEntity) String() string { return proto.CompactTextString(m) } func (*PhysicalEntity) ProtoMessage() {} func (*PhysicalEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_device_017c08e7ecae3d3e, []int{0} + return fileDescriptor_870276a56ac00da5, []int{0} } + func (m *PhysicalEntity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PhysicalEntity.Unmarshal(m, b) } func (m *PhysicalEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PhysicalEntity.Marshal(b, m, deterministic) } -func (dst *PhysicalEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_PhysicalEntity.Merge(dst, src) +func (m *PhysicalEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_PhysicalEntity.Merge(m, src) } func (m *PhysicalEntity) XXX_Size() int { return xxx_messageInfo_PhysicalEntity.Size(m) @@ -93,16 +95,17 @@ func (m *RegisterOrUpdateDevicesRequest) Reset() { *m = RegisterOrUpdate func (m *RegisterOrUpdateDevicesRequest) String() string { return proto.CompactTextString(m) } func (*RegisterOrUpdateDevicesRequest) ProtoMessage() {} func (*RegisterOrUpdateDevicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_017c08e7ecae3d3e, []int{1} + return fileDescriptor_870276a56ac00da5, []int{1} } + func (m *RegisterOrUpdateDevicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RegisterOrUpdateDevicesRequest.Unmarshal(m, b) } func (m *RegisterOrUpdateDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RegisterOrUpdateDevicesRequest.Marshal(b, m, deterministic) } -func (dst *RegisterOrUpdateDevicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegisterOrUpdateDevicesRequest.Merge(dst, src) +func (m *RegisterOrUpdateDevicesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterOrUpdateDevicesRequest.Merge(m, src) } func (m *RegisterOrUpdateDevicesRequest) XXX_Size() int { return xxx_messageInfo_RegisterOrUpdateDevicesRequest.Size(m) @@ -139,16 +142,17 @@ func (m *DeviceID) Reset() { *m = DeviceID{} } func (m *DeviceID) String() string { return proto.CompactTextString(m) } func (*DeviceID) ProtoMessage() {} func (*DeviceID) Descriptor() ([]byte, []int) { - return fileDescriptor_device_017c08e7ecae3d3e, []int{2} + return fileDescriptor_870276a56ac00da5, []int{2} } + func (m *DeviceID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceID.Unmarshal(m, b) } func (m *DeviceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeviceID.Marshal(b, m, deterministic) } -func (dst *DeviceID) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceID.Merge(dst, src) +func (m *DeviceID) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeviceID.Merge(m, src) } func (m *DeviceID) XXX_Size() int { return xxx_messageInfo_DeviceID.Size(m) @@ -185,16 +189,17 @@ func (m *GetDeviceInfoRequest) Reset() { *m = GetDeviceInfoRequest{} } func (m *GetDeviceInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetDeviceInfoRequest) ProtoMessage() {} func (*GetDeviceInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_017c08e7ecae3d3e, []int{3} + return fileDescriptor_870276a56ac00da5, []int{3} } + func (m *GetDeviceInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDeviceInfoRequest.Unmarshal(m, b) } func (m *GetDeviceInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDeviceInfoRequest.Marshal(b, m, deterministic) } -func (dst *GetDeviceInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDeviceInfoRequest.Merge(dst, src) +func (m *GetDeviceInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDeviceInfoRequest.Merge(m, src) } func (m *GetDeviceInfoRequest) XXX_Size() int { return xxx_messageInfo_GetDeviceInfoRequest.Size(m) @@ -231,16 +236,17 @@ func (m *GetDeviceInfoResponse) Reset() { *m = GetDeviceInfoResponse{} } func (m *GetDeviceInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetDeviceInfoResponse) ProtoMessage() {} func (*GetDeviceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_device_017c08e7ecae3d3e, []int{4} + return fileDescriptor_870276a56ac00da5, []int{4} } + func (m *GetDeviceInfoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDeviceInfoResponse.Unmarshal(m, b) } func (m *GetDeviceInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDeviceInfoResponse.Marshal(b, m, deterministic) } -func (dst *GetDeviceInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDeviceInfoResponse.Merge(dst, src) +func (m *GetDeviceInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDeviceInfoResponse.Merge(m, src) } func (m *GetDeviceInfoResponse) XXX_Size() int { return xxx_messageInfo_GetDeviceInfoResponse.Size(m) @@ -270,16 +276,17 @@ func (m *DeleteDevicesRequest) Reset() { *m = DeleteDevicesRequest{} } func (m *DeleteDevicesRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDevicesRequest) ProtoMessage() {} func (*DeleteDevicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_017c08e7ecae3d3e, []int{5} + return fileDescriptor_870276a56ac00da5, []int{5} } + func (m *DeleteDevicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDevicesRequest.Unmarshal(m, b) } func (m *DeleteDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDevicesRequest.Marshal(b, m, deterministic) } -func (dst *DeleteDevicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDevicesRequest.Merge(dst, src) +func (m *DeleteDevicesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDevicesRequest.Merge(m, src) } func (m *DeleteDevicesRequest) XXX_Size() int { return xxx_messageInfo_DeleteDevicesRequest.Size(m) @@ -314,6 +321,38 @@ func init() { proto.RegisterType((*DeleteDevicesRequest)(nil), "magma.orc8r.device.DeleteDevicesRequest") } +func init() { proto.RegisterFile("device.proto", fileDescriptor_870276a56ac00da5) } + +var fileDescriptor_870276a56ac00da5 = []byte{ + // 413 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x41, 0x8f, 0x9a, 0x40, + 0x14, 0x16, 0x6c, 0x0d, 0xbe, 0xaa, 0x6d, 0x27, 0x6d, 0x42, 0x89, 0x69, 0xcc, 0x9c, 0xe8, 0x05, + 0x13, 0x7b, 0x21, 0x1e, 0x7a, 0x68, 0x30, 0x4d, 0x0f, 0xb6, 0x0d, 0x69, 0x4d, 0xe3, 0xa9, 0x14, + 0x9f, 0x2e, 0x51, 0x18, 0x96, 0x19, 0xdd, 0x70, 0xd9, 0xff, 0xb8, 0x7f, 0x66, 0xcf, 0x1b, 0x18, + 0xd0, 0xb0, 0x4b, 0x36, 0x98, 0xdd, 0x13, 0x33, 0x6f, 0xde, 0xf7, 0xbd, 0xef, 0xbd, 0xef, 0x05, + 0xe8, 0xad, 0xf0, 0x10, 0xf8, 0x68, 0xc5, 0x09, 0x13, 0x8c, 0x90, 0xd0, 0xdb, 0x84, 0x9e, 0xc5, + 0x12, 0xdf, 0x4e, 0x2c, 0xf9, 0x62, 0x7c, 0xc8, 0x6f, 0xe3, 0x3c, 0x81, 0x8f, 0x7d, 0x16, 0x86, + 0x2c, 0x92, 0xe9, 0xf4, 0x37, 0x0c, 0x7e, 0x5d, 0xa4, 0x3c, 0xf0, 0xbd, 0xdd, 0x2c, 0x12, 0x81, + 0x48, 0x89, 0x01, 0x9a, 0x84, 0x7d, 0x77, 0x74, 0x65, 0xa4, 0x98, 0x5d, 0xf7, 0x78, 0x27,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 0x9f, 0x30, 0xc5, 0xc9, 0xad, 0x0a, 0x1d, 0x19, 0x27, 0x4b, 0x78, + 0x5d, 0xae, 0x5f, 0x51, 0x9e, 0x4c, 0xea, 0x68, 0x1e, 0xdf, 0x51, 0xe3, 0x6d, 0x05, 0xb3, 0x60, + 0xc1, 0x8a, 0xb6, 0xc8, 0x5f, 0xe8, 0x57, 0x92, 0x9f, 0x8f, 0x79, 0x0d, 0xfd, 0x8a, 0x8f, 0xc4, + 0x6c, 0x60, 0xb5, 0xe4, 0xfb, 0xd4, 0x78, 0x29, 0x68, 0x8b, 0xfc, 0x80, 0x7e, 0xc5, 0x9a, 0xfa, + 0x3a, 0x75, 0xee, 0xd5, 0xea, 0xfe, 0xaa, 0x2d, 0x3b, 0xf2, 0xcf, 0xf2, 0x5f, 0x7e, 0x3f, 0xdf, + 0x05, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x49, 0xca, 0xd2, 0x92, 0x04, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -384,6 +423,23 @@ type DeviceServer interface { DeleteDevices(context.Context, *DeleteDevicesRequest) (*protos.Void, error) } +// UnimplementedDeviceServer can be embedded to have forward compatible implementations. +type UnimplementedDeviceServer struct { +} + +func (*UnimplementedDeviceServer) RegisterDevices(ctx context.Context, req *RegisterOrUpdateDevicesRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterDevices not implemented") +} +func (*UnimplementedDeviceServer) UpdateDevices(ctx context.Context, req *RegisterOrUpdateDevicesRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateDevices not implemented") +} +func (*UnimplementedDeviceServer) GetDeviceInfo(ctx context.Context, req *GetDeviceInfoRequest) (*GetDeviceInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDeviceInfo not implemented") +} +func (*UnimplementedDeviceServer) DeleteDevices(ctx context.Context, req *DeleteDevicesRequest) (*protos.Void, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteDevices not implemented") +} + func RegisterDeviceServer(s *grpc.Server, srv DeviceServer) { s.RegisterService(&_Device_serviceDesc, srv) } @@ -484,35 +540,3 @@ var _Device_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "device.proto", } - -func init() { proto.RegisterFile("device.proto", fileDescriptor_device_017c08e7ecae3d3e) } - -var fileDescriptor_device_017c08e7ecae3d3e = []byte{ - // 413 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x41, 0x8f, 0x9a, 0x40, - 0x14, 0x16, 0x6c, 0x0d, 0xbe, 0xaa, 0x6d, 0x27, 0x6d, 0x42, 0x89, 0x69, 0xcc, 0x9c, 0xe8, 0x05, - 0x13, 0x7b, 0x21, 0x1e, 0x7a, 0x68, 0x30, 0x4d, 0x0f, 0xb6, 0x0d, 0x69, 0x4d, 0xe3, 0xa9, 0x14, - 0x9f, 0x2e, 0x51, 0x18, 0x96, 0x19, 0xdd, 0x70, 0xd9, 0xff, 0xb8, 0x7f, 0x66, 0xcf, 0x1b, 0x18, - 0xd0, 0xb0, 0x4b, 0x36, 0x98, 0xdd, 0x13, 0x33, 0x6f, 0xde, 0xf7, 0xbd, 0xef, 0xbd, 0xef, 0x05, - 0xe8, 0xad, 0xf0, 0x10, 0xf8, 0x68, 0xc5, 0x09, 0x13, 0x8c, 0x90, 0xd0, 0xdb, 0x84, 0x9e, 0xc5, - 0x12, 0xdf, 0x4e, 0x2c, 0xf9, 0x62, 0x7c, 0xc8, 0x6f, 0xe3, 0x3c, 0x81, 0x8f, 0x7d, 0x16, 0x86, - 0x2c, 0x92, 0xe9, 0xf4, 0x37, 0x0c, 0x7e, 0x5d, 0xa4, 0x3c, 0xf0, 0xbd, 0xdd, 0x2c, 0x12, 0x81, - 0x48, 0x89, 0x01, 0x9a, 0x84, 0x7d, 0x77, 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 0x6c, 0x8a, - 0x0e, 0xee, 0xf0, 0x4c, 0xdf, 0x9f, 0x30, 0xc5, 0xc9, 0xad, 0x0a, 0x1d, 0x19, 0x27, 0x4b, 0x78, - 0x5d, 0xae, 0x5f, 0x51, 0x9e, 0x4c, 0xea, 0x68, 0x1e, 0xdf, 0x51, 0xe3, 0x6d, 0x05, 0xb3, 0x60, - 0xc1, 0x8a, 0xb6, 0xc8, 0x5f, 0xe8, 0x57, 0x92, 0x9f, 0x8f, 0x79, 0x0d, 0xfd, 0x8a, 0x8f, 0xc4, - 0x6c, 0x60, 0xb5, 0xe4, 0xfb, 0xd4, 0x78, 0x29, 0x68, 0x8b, 0xfc, 0x80, 0x7e, 0xc5, 0x9a, 0xfa, - 0x3a, 0x75, 0xee, 0xd5, 0xea, 0xfe, 0xaa, 0x2d, 0x3b, 0xf2, 0xcf, 0xf2, 0x5f, 0x7e, 0x3f, 0xdf, - 0x05, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x49, 0xca, 0xd2, 0x92, 0x04, 0x00, 0x00, -} diff --git a/orc8r/cloud/go/services/dnsd/protos/dns_service.pb.go b/orc8r/cloud/go/services/dnsd/protos/dns_service.pb.go index 72c35d0ac880..fc01091c572e 100644 --- a/orc8r/cloud/go/services/dnsd/protos/dns_service.pb.go +++ b/orc8r/cloud/go/services/dnsd/protos/dns_service.pb.go @@ -3,9 +3,11 @@ package protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type NetworkDNSConfig struct { EnableCaching bool `protobuf:"varint,1,opt,name=EnableCaching,proto3" json:"EnableCaching,omitempty"` @@ -31,16 +33,17 @@ func (m *NetworkDNSConfig) Reset() { *m = NetworkDNSConfig{} } func (m *NetworkDNSConfig) String() string { return proto.CompactTextString(m) } func (*NetworkDNSConfig) ProtoMessage() {} func (*NetworkDNSConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dns_service_5cc92fc6c809cff9, []int{0} + return fileDescriptor_fe05a31f8db72ebb, []int{0} } + func (m *NetworkDNSConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkDNSConfig.Unmarshal(m, b) } func (m *NetworkDNSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkDNSConfig.Marshal(b, m, deterministic) } -func (dst *NetworkDNSConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkDNSConfig.Merge(dst, src) +func (m *NetworkDNSConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkDNSConfig.Merge(m, src) } func (m *NetworkDNSConfig) XXX_Size() int { return xxx_messageInfo_NetworkDNSConfig.Size(m) @@ -86,16 +89,17 @@ func (m *NetworkDNSConfigRecordsItems) Reset() { *m = NetworkDNSConfigRe func (m *NetworkDNSConfigRecordsItems) String() string { return proto.CompactTextString(m) } func (*NetworkDNSConfigRecordsItems) ProtoMessage() {} func (*NetworkDNSConfigRecordsItems) Descriptor() ([]byte, []int) { - return fileDescriptor_dns_service_5cc92fc6c809cff9, []int{1} + return fileDescriptor_fe05a31f8db72ebb, []int{1} } + func (m *NetworkDNSConfigRecordsItems) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkDNSConfigRecordsItems.Unmarshal(m, b) } func (m *NetworkDNSConfigRecordsItems) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkDNSConfigRecordsItems.Marshal(b, m, deterministic) } -func (dst *NetworkDNSConfigRecordsItems) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkDNSConfigRecordsItems.Merge(dst, src) +func (m *NetworkDNSConfigRecordsItems) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkDNSConfigRecordsItems.Merge(m, src) } func (m *NetworkDNSConfigRecordsItems) XXX_Size() int { return xxx_messageInfo_NetworkDNSConfigRecordsItems.Size(m) @@ -139,9 +143,9 @@ func init() { proto.RegisterType((*NetworkDNSConfigRecordsItems)(nil), "magma.orc8r.dnsd.NetworkDNSConfigRecordsItems") } -func init() { proto.RegisterFile("dns_service.proto", fileDescriptor_dns_service_5cc92fc6c809cff9) } +func init() { proto.RegisterFile("dns_service.proto", fileDescriptor_fe05a31f8db72ebb) } -var fileDescriptor_dns_service_5cc92fc6c809cff9 = []byte{ +var fileDescriptor_fe05a31f8db72ebb = []byte{ // 248 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0x03, 0x31, 0x10, 0x85, 0x49, 0x57, 0xdb, 0xed, 0x14, 0xa1, 0xe6, 0x20, 0x41, 0x44, 0x42, 0xf1, 0x90, 0x53, diff --git a/orc8r/cloud/go/services/streamer/mconfig/test_protos/test_protos.pb.go b/orc8r/cloud/go/services/streamer/mconfig/test_protos/test_protos.pb.go index 8b17c9535782..050a09f12943 100644 --- a/orc8r/cloud/go/services/streamer/mconfig/test_protos/test_protos.pb.go +++ b/orc8r/cloud/go/services/streamer/mconfig/test_protos/test_protos.pb.go @@ -3,9 +3,11 @@ package test_protos -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Message1 struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` @@ -29,16 +31,17 @@ func (m *Message1) Reset() { *m = Message1{} } func (m *Message1) String() string { return proto.CompactTextString(m) } func (*Message1) ProtoMessage() {} func (*Message1) Descriptor() ([]byte, []int) { - return fileDescriptor_test_protos_fc3a9d490046236a, []int{0} + return fileDescriptor_f0f0a5aa39d6d8f7, []int{0} } + func (m *Message1) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Message1.Unmarshal(m, b) } func (m *Message1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Message1.Marshal(b, m, deterministic) } -func (dst *Message1) XXX_Merge(src proto.Message) { - xxx_messageInfo_Message1.Merge(dst, src) +func (m *Message1) XXX_Merge(src proto.Message) { + xxx_messageInfo_Message1.Merge(m, src) } func (m *Message1) XXX_Size() int { return xxx_messageInfo_Message1.Size(m) @@ -68,16 +71,17 @@ func (m *Message2) Reset() { *m = Message2{} } func (m *Message2) String() string { return proto.CompactTextString(m) } func (*Message2) ProtoMessage() {} func (*Message2) Descriptor() ([]byte, []int) { - return fileDescriptor_test_protos_fc3a9d490046236a, []int{1} + return fileDescriptor_f0f0a5aa39d6d8f7, []int{1} } + func (m *Message2) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Message2.Unmarshal(m, b) } func (m *Message2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Message2.Marshal(b, m, deterministic) } -func (dst *Message2) XXX_Merge(src proto.Message) { - xxx_messageInfo_Message2.Merge(dst, src) +func (m *Message2) XXX_Merge(src proto.Message) { + xxx_messageInfo_Message2.Merge(m, src) } func (m *Message2) XXX_Size() int { return xxx_messageInfo_Message2.Size(m) @@ -107,9 +111,9 @@ func init() { proto.RegisterType((*Message2)(nil), "magma.Message2") } -func init() { proto.RegisterFile("test_protos.proto", fileDescriptor_test_protos_fc3a9d490046236a) } +func init() { proto.RegisterFile("test_protos.proto", fileDescriptor_f0f0a5aa39d6d8f7) } -var fileDescriptor_test_protos_fc3a9d490046236a = []byte{ +var fileDescriptor_f0f0a5aa39d6d8f7 = []byte{ // 111 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2c, 0x49, 0x2d, 0x2e, 0x89, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0xd6, 0x03, 0x53, 0x42, 0xac, 0xb9, 0x89, 0xe9, 0xb9, diff --git a/orc8r/cloud/go/tools/migrations/m001_config_service/migration/magmad_configs.pb.go b/orc8r/cloud/go/tools/migrations/m001_config_service/migration/magmad_configs.pb.go index 09dd5681db56..2a548d7ba2df 100644 --- a/orc8r/cloud/go/tools/migrations/m001_config_service/migration/magmad_configs.pb.go +++ b/orc8r/cloud/go/tools/migrations/m001_config_service/migration/magmad_configs.pb.go @@ -3,9 +3,11 @@ package migration -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Container message type for namespaced network and gateway configs. type Config struct { @@ -31,16 +33,17 @@ func (m *Config) Reset() { *m = Config{} } func (m *Config) String() string { return proto.CompactTextString(m) } func (*Config) ProtoMessage() {} func (*Config) Descriptor() ([]byte, []int) { - return fileDescriptor_magmad_configs_d73ec4a948fbbbc9, []int{0} + return fileDescriptor_a7757604202c20bf, []int{0} } + func (m *Config) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Config.Unmarshal(m, b) } func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Config.Marshal(b, m, deterministic) } -func (dst *Config) XXX_Merge(src proto.Message) { - xxx_messageInfo_Config.Merge(dst, src) +func (m *Config) XXX_Merge(src proto.Message) { + xxx_messageInfo_Config.Merge(m, src) } func (m *Config) XXX_Size() int { return xxx_messageInfo_Config.Size(m) @@ -63,11 +66,9 @@ func init() { proto.RegisterMapType((map[string][]byte)(nil), "magma.migrations.Config.ConfigsByKeyEntry") } -func init() { - proto.RegisterFile("magmad_configs.proto", fileDescriptor_magmad_configs_d73ec4a948fbbbc9) -} +func init() { proto.RegisterFile("magmad_configs.proto", fileDescriptor_a7757604202c20bf) } -var fileDescriptor_magmad_configs_d73ec4a948fbbbc9 = []byte{ +var fileDescriptor_a7757604202c20bf = []byte{ // 165 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xc9, 0x4d, 0x4c, 0xcf, 0x4d, 0x4c, 0x89, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0x2f, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, diff --git a/orc8r/cloud/go/tools/migrations/m002_cleanup_legacy_configs/migration/network_config.pb.go b/orc8r/cloud/go/tools/migrations/m002_cleanup_legacy_configs/migration/network_config.pb.go index 0d62d703c4fb..f378c3e64c79 100644 --- a/orc8r/cloud/go/tools/migrations/m002_cleanup_legacy_configs/migration/network_config.pb.go +++ b/orc8r/cloud/go/tools/migrations/m002_cleanup_legacy_configs/migration/network_config.pb.go @@ -3,9 +3,11 @@ package migration -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Container message type for namespaced network configs. type Config struct { @@ -31,16 +33,17 @@ func (m *Config) Reset() { *m = Config{} } func (m *Config) String() string { return proto.CompactTextString(m) } func (*Config) ProtoMessage() {} func (*Config) Descriptor() ([]byte, []int) { - return fileDescriptor_network_config_5b496b8ac543c86c, []int{0} + return fileDescriptor_747edf59c27da44f, []int{0} } + func (m *Config) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Config.Unmarshal(m, b) } func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Config.Marshal(b, m, deterministic) } -func (dst *Config) XXX_Merge(src proto.Message) { - xxx_messageInfo_Config.Merge(dst, src) +func (m *Config) XXX_Merge(src proto.Message) { + xxx_messageInfo_Config.Merge(m, src) } func (m *Config) XXX_Size() int { return xxx_messageInfo_Config.Size(m) @@ -69,16 +72,17 @@ func (m *Record) Reset() { *m = Record{} } func (m *Record) String() string { return proto.CompactTextString(m) } func (*Record) ProtoMessage() {} func (*Record) Descriptor() ([]byte, []int) { - return fileDescriptor_network_config_5b496b8ac543c86c, []int{1} + return fileDescriptor_747edf59c27da44f, []int{1} } + func (m *Record) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Record.Unmarshal(m, b) } func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Record.Marshal(b, m, deterministic) } -func (dst *Record) XXX_Merge(src proto.Message) { - xxx_messageInfo_Record.Merge(dst, src) +func (m *Record) XXX_Merge(src proto.Message) { + xxx_messageInfo_Record.Merge(m, src) } func (m *Record) XXX_Size() int { return xxx_messageInfo_Record.Size(m) @@ -102,11 +106,9 @@ func init() { proto.RegisterType((*Record)(nil), "magma.migrations.Record") } -func init() { - proto.RegisterFile("network_config.proto", fileDescriptor_network_config_5b496b8ac543c86c) -} +func init() { proto.RegisterFile("network_config.proto", fileDescriptor_747edf59c27da44f) } -var fileDescriptor_network_config_5b496b8ac543c86c = []byte{ +var fileDescriptor_747edf59c27da44f = []byte{ // 191 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xc9, 0x4b, 0x2d, 0x29, 0xcf, 0x2f, 0xca, 0x8e, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, diff --git a/orc8r/gateway/go/go.mod b/orc8r/gateway/go/go.mod index a43dcc30f9c4..4a7af1e40a0f 100644 --- a/orc8r/gateway/go/go.mod +++ b/orc8r/gateway/go/go.mod @@ -4,9 +4,9 @@ replace magma/orc8r/cloud/go => ../../../orc8r/cloud/go require ( github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.2.0 + github.com/golang/protobuf v1.3.2 golang.org/x/net v0.0.0-20190311183353-d8887717615a - google.golang.org/grpc v1.19.0 + google.golang.org/grpc v1.25.0 magma/orc8r/cloud/go v0.0.0 ) diff --git a/orc8r/gateway/go/go.sum b/orc8r/gateway/go/go.sum index fcb2e88edc05..17b48ed8c2d0 100644 --- a/orc8r/gateway/go/go.sum +++ b/orc8r/gateway/go/go.sum @@ -27,6 +27,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/biogo/store v0.0.0-20160505134755-913427a1d5e8/go.mod h1:Iev9Q3MErcn+w3UOJD/DkEzllvugfdx7bGcMOFhvr/4= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= @@ -54,6 +55,8 @@ github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFP github.com/elastic/go-elasticsearch/v8 v8.0.0-20190910075000-5963931cb201/go.mod h1:xe9a/L2aeOgFKKgrO3ibQTnMdpAeL0GC+5/HpGScSa4= github.com/elastic/gosigar v0.9.0/go.mod h1:cdorVVzy1fhmEqmtgqkoE3bYtCfSCkVyjTyCIo22xvs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= @@ -115,6 +118,7 @@ github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -244,6 +248,7 @@ github.com/prometheus/client_model v0.0.0-20190109181635-f287a105a20e h1:/F8S20P github.com/prometheus/client_model v0.0.0-20190109181635-f287a105a20e/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f h1:BVwpUVJDADN2ufcGik7W992pyps0wZ888b/y9GXcLTU= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181119215939-b36ad289a3ea/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -307,6 +312,7 @@ golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -331,6 +337,7 @@ golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -356,7 +363,9 @@ golang.org/x/tools v0.0.0-20181112210238-4b1f3b6b1646/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/api v0.0.0-20180506000402-20530fd5d65a/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -370,12 +379,15 @@ google.golang.org/genproto v0.0.0-20190111180523-db91494dd46c h1:LZllHYjdJnynBfm google.golang.org/genproto v0.0.0-20190111180523-db91494dd46c/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19 h1:Lj2SnHtxkRGJDqnGaSjo+CCdIieEnwVazbOXILwQemk= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.0/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= @@ -392,6 +404,7 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.0.0-20180628040859-072894a440bd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= k8s.io/apimachinery v0.0.0-20180621070125-103fd098999d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/client-go v8.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s=