From 9afc1439ca433dc1194e2ed954518bfb322ade16 Mon Sep 17 00:00:00 2001 From: Daniel Grau Date: Wed, 9 Aug 2023 17:41:20 -0700 Subject: [PATCH] Add new fake port type (#223) * Add new fake port type * build * feedback --- dataplane/forwarding/fwdport/ports/BUILD | 6 + dataplane/forwarding/fwdport/ports/fake.go | 201 +++++ .../forwarding/fwdport/ports/fake_test.go | 151 ++++ proto/forwarding/forwarding_port.pb.go | 723 ++++++++++-------- proto/forwarding/forwarding_port.proto | 7 + 5 files changed, 774 insertions(+), 314 deletions(-) create mode 100644 dataplane/forwarding/fwdport/ports/fake.go create mode 100644 dataplane/forwarding/fwdport/ports/fake_test.go diff --git a/dataplane/forwarding/fwdport/ports/BUILD b/dataplane/forwarding/fwdport/ports/BUILD index b090fca2..5a6a6cd2 100644 --- a/dataplane/forwarding/fwdport/ports/BUILD +++ b/dataplane/forwarding/fwdport/ports/BUILD @@ -5,6 +5,7 @@ go_library( srcs = [ "cpu.go", "doc.go", + "fake.go", "group.go", "kernel.go", "tap.go", @@ -27,6 +28,7 @@ go_library( "@com_github_google_gopacket//:gopacket", "@com_github_google_gopacket//afpacket", "@com_github_google_gopacket//layers", + "@com_github_google_gopacket//pcapgo", "@com_github_vishvananda_netlink//:netlink", "@org_golang_x_sys//unix", ], @@ -36,6 +38,7 @@ go_test( name = "ports_test", srcs = [ "cpu_test.go", + "fake_test.go", "group_test.go", "kernel_test.go", ], @@ -54,8 +57,11 @@ go_test( "//dataplane/forwarding/protocol/opaque", "//proto/forwarding", "@com_github_go_logr_logr//testr", + "@com_github_google_go_cmp//cmp", "@com_github_google_gopacket//:gopacket", "@com_github_google_gopacket//layers", + "@com_github_google_gopacket//pcapgo", + "@com_github_openconfig_gnmi//errdiff", "@org_golang_google_protobuf//proto", "@org_uber_go_mock//gomock", ], diff --git a/dataplane/forwarding/fwdport/ports/fake.go b/dataplane/forwarding/fwdport/ports/fake.go new file mode 100644 index 00000000..befcba48 --- /dev/null +++ b/dataplane/forwarding/fwdport/ports/fake.go @@ -0,0 +1,201 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package ports + +import ( + "fmt" + "io" + "os" + "time" + + log "github.com/golang/glog" + "github.com/google/gopacket" + "github.com/google/gopacket/layers" + "github.com/google/gopacket/pcapgo" + + "github.com/openconfig/lemming/dataplane/forwarding/fwdaction" + "github.com/openconfig/lemming/dataplane/forwarding/fwdport" + "github.com/openconfig/lemming/dataplane/forwarding/infra/fwdcontext" + "github.com/openconfig/lemming/dataplane/forwarding/infra/fwdobject" + "github.com/openconfig/lemming/dataplane/forwarding/infra/fwdpacket" + "github.com/openconfig/lemming/internal/debug" + fwdpb "github.com/openconfig/lemming/proto/forwarding" +) + +func init() { + fwdport.Register(fwdpb.PortType_PORT_TYPE_FAKE, fakeBuilder{}) +} + +// fakePort is a ports that receives from and writes a linux network device. +type fakePort struct { + fwdobject.Base + packetSrc *pcapgo.NgReader + packetDst *pcapgo.NgWriter + input fwdaction.Actions + output fwdaction.Actions + ctx *fwdcontext.Context // Forwarding context containing the port +} + +func (p *fakePort) String() string { + desc := fmt.Sprintf("Type=%v;;", fwdpb.PortType_PORT_TYPE_KERNEL, p.input, p.output) + if state, err := p.State(nil); err == nil { + desc += fmt.Sprintf(";", state) + } + return desc +} + +func (p *fakePort) Cleanup() { + p.input.Cleanup() + p.output.Cleanup() + p.input = nil + p.output = nil +} + +// Update updates the actions of the port. +func (p *fakePort) Update(upd *fwdpb.PortUpdateDesc) error { + var err error + defer func() { + if err != nil { + p.Cleanup() + } + }() + fakeUpd, ok := upd.Port.(*fwdpb.PortUpdateDesc_Kernel) + if !ok { + return fmt.Errorf("invalid type for port update") + } + + // Acquire new actions before releasing the old ones. + if p.input, err = fwdaction.NewActions(fakeUpd.Kernel.GetInputs(), p.ctx); err != nil { + return fmt.Errorf("ports: input actions for port %v failed, err %v", p, err) + } + if p.output, err = fwdaction.NewActions(fakeUpd.Kernel.GetOutputs(), p.ctx); err != nil { + return fmt.Errorf("ports: output actions for port %v failed, err %v", p, err) + } + return nil +} + +func (p *fakePort) process() { + src := gopacket.NewPacketSource(p.packetSrc, layers.LinkTypeEthernet) + go func() { + for { + select { + case pkt, ok := <-src.Packets(): + if !ok { + log.Warning("src chan closed") + return + } + fwdPkt, err := fwdpacket.New(fwdpb.PacketHeaderId_PACKET_HEADER_ID_ETHERNET, pkt.Data()) + if err != nil { + log.Warningf("failed to create new packet: %v", err) + log.V(1).Info(pkt.Dump()) + fwdport.Increment(p, len(pkt.Data()), fwdpb.CounterId_COUNTER_ID_RX_BAD_PACKETS, fwdpb.CounterId_COUNTER_ID_RX_BAD_OCTETS) + continue + } + fwdPkt.Debug(debug.ExternalPortPacketTrace) + fwdPkt.Log().V(2).Info("input packet", "port", p.ID(), "frame", fwdpacket.IncludeFrameInLog) + fwdport.Process(p, fwdPkt, fwdpb.PortAction_PORT_ACTION_INPUT, p.ctx, "Kernel") + } + } + }() +} + +var ( + // Stubs for tests + createFile = func(filename string) (io.Writer, error) { + return os.Create(filename) + } + + openFile = func(filename string) (io.Reader, error) { + return os.Open(filename) + } + timeNow = time.Now +) + +// Write writes a packet out. If successful, the port returns +// fwdaction.CONSUME. +func (p *fakePort) Write(packet fwdpacket.Packet) (fwdaction.State, error) { + if err := p.packetDst.WritePacket(gopacket.CaptureInfo{ + Timestamp: timeNow(), + CaptureLength: packet.Length(), + Length: packet.Length(), + }, packet.Frame()); err != nil { + return fwdaction.DROP, fmt.Errorf("failed to write eth packet: %v", err) + } + return fwdaction.CONSUME, nil +} + +// Actions returns the port actions of the specified type +func (p *fakePort) Actions(dir fwdpb.PortAction) fwdaction.Actions { + switch dir { + case fwdpb.PortAction_PORT_ACTION_INPUT: + return p.input + case fwdpb.PortAction_PORT_ACTION_OUTPUT: + return p.output + } + return nil +} + +// State returns the state of the port. +func (p *fakePort) State(*fwdpb.PortInfo) (*fwdpb.PortStateReply, error) { + return &fwdpb.PortStateReply{ + Status: &fwdpb.PortInfo{ + OperStatus: fwdpb.PortState_PORT_STATE_ENABLED_UP, + AdminStatus: fwdpb.PortState_PORT_STATE_ENABLED_UP, + }, + }, nil +} + +type fakeBuilder struct{} + +// Build creates a new port. +func (fakeBuilder) Build(portDesc *fwdpb.PortDesc, ctx *fwdcontext.Context) (fwdport.Port, error) { + fp, ok := portDesc.Port.(*fwdpb.PortDesc_Fake) + if !ok { + return nil, fmt.Errorf("invalid port type in proto, got %T, expected *fwdpb.PortDesc_Fake", portDesc.Port) + } + + inFile, err := openFile(fp.Fake.InFile) + if err != nil { + return nil, err + } + + r, err := pcapgo.NewNgReader(inFile, pcapgo.DefaultNgReaderOptions) + if err != nil { + return nil, err + } + + outFile, err := createFile(fp.Fake.OutFile) + if err != nil { + return nil, err + } + + w, err := pcapgo.NewNgWriter(outFile, layers.LinkTypeEthernet) + if err != nil { + return nil, err + } + + p := &fakePort{ + ctx: ctx, + packetSrc: r, + packetDst: w, + } + list := append(fwdport.CounterList, fwdaction.CounterList...) + if err := p.InitCounters("", list...); err != nil { + return nil, err + } + + p.process() + return p, nil +} diff --git a/dataplane/forwarding/fwdport/ports/fake_test.go b/dataplane/forwarding/fwdport/ports/fake_test.go new file mode 100644 index 00000000..ee4e04ea --- /dev/null +++ b/dataplane/forwarding/fwdport/ports/fake_test.go @@ -0,0 +1,151 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package ports + +import ( + "bytes" + "encoding/hex" + "fmt" + "io" + "testing" + "time" + + "github.com/google/go-cmp/cmp" + "github.com/google/gopacket/layers" + "github.com/google/gopacket/pcapgo" + "github.com/openconfig/gnmi/errdiff" + + fwdpb "github.com/openconfig/lemming/proto/forwarding" +) + +const ( + fileHeader = "0a0d0d0a440000004d3c2b1a01000000ffffffffffffffff04000800676f7061636b657402000500616d643634000000030005006c696e757800000000000000440000000100000038000000010000000000000002000500696e7466300000000c0005006c696e757800000009000100090000000000000038000000" +) + +func writeHex(t testing.TB, w io.Writer, hexStr string) []byte { + h, err := hex.DecodeString(hexStr) + if err != nil { + t.Fatal(err) + } + if _, err := w.Write(h); err != nil { + t.Fatal(err) + } + return h +} + +func TestFakeBuild(t *testing.T) { + tests := []struct { + desc string + openErr error + createErr error + inDesc *fwdpb.PortDesc + inContents string + wantErr string + }{{ + desc: "wrong desc type", + inDesc: &fwdpb.PortDesc{Port: &fwdpb.PortDesc_Cpu{}}, + wantErr: "invalid port type in proto", + }, { + desc: "open error", + inDesc: &fwdpb.PortDesc{Port: &fwdpb.PortDesc_Fake{Fake: &fwdpb.FakePortDesc{}}}, + openErr: fmt.Errorf("open error"), + wantErr: "open error", + }, { + desc: "new reader err", + inDesc: &fwdpb.PortDesc{Port: &fwdpb.PortDesc_Fake{Fake: &fwdpb.FakePortDesc{}}}, + wantErr: "EOF", + }, { + desc: "create err", + inDesc: &fwdpb.PortDesc{Port: &fwdpb.PortDesc_Fake{Fake: &fwdpb.FakePortDesc{}}}, + inContents: fileHeader, + createErr: fmt.Errorf("create error"), + }, { + desc: "sucess", + inDesc: &fwdpb.PortDesc{Port: &fwdpb.PortDesc_Fake{Fake: &fwdpb.FakePortDesc{}}}, + inContents: fileHeader, + }} + for _, tt := range tests { + t.Run(tt.desc, func(t *testing.T) { + in := &bytes.Buffer{} + writeHex(t, in, tt.inContents) + out := &bytes.Buffer{} + openFile = func(filename string) (io.Reader, error) { + return in, tt.openErr + } + createFile = func(filename string) (io.Writer, error) { + return out, tt.openErr + } + _, err := (fakeBuilder{}).Build(tt.inDesc, nil) + if d := errdiff.Check(err, tt.wantErr); d != "" { + t.Fatalf("Build() unexpected error diff: %s", d) + } + }) + } +} + +type fakeWriter struct { + bytes.Buffer + writeErr error +} + +func (fw *fakeWriter) Write(data []byte) (int, error) { + if fw.writeErr == nil { + return fw.Buffer.Write(data) + } + return 0, fw.writeErr +} + +func TestFakeWrite(t *testing.T) { + tests := []struct { + desc string + writeErr error + wantErr string + want string + }{{ + desc: "write error", + writeErr: fmt.Errorf("write err"), + wantErr: "write err", + }, { + desc: "success", // packet metadata // packet content + want: fileHeader + "060000005c000000000000000000000000ca9a3b3c0000003c000000" + "1111111111111111111111110000686900000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c000000", + }} + for _, tt := range tests { + t.Run(tt.desc, func(t *testing.T) { + fw := &fakeWriter{ + writeErr: tt.writeErr, + } + w, err := pcapgo.NewNgWriter(fw, layers.LinkTypeEthernet) + if err != nil { + t.Fatal(err) + } + fp := &fakePort{ + packetDst: w, + } + timeNow = func() time.Time { return time.Unix(1, 0) } + _, err = fp.Write(createEthPacket(t)) + // The write error is only visible on flush, but check it here to be safe. + if d := errdiff.Check(err, tt.wantErr); err != nil && d != "" { + t.Fatalf("Write() unexpected error diff: %s", d) + } + err = w.Flush() + if d := errdiff.Check(err, tt.wantErr); d != "" { + t.Fatalf("Write() unexpected error diff: %s", d) + } + if d := cmp.Diff(fmt.Sprintf("%x", fw.Bytes()), tt.want); d != "" { + t.Fatalf("Write() unexpected diff(-got,+want)\n:%s", d) + } + }) + } +} diff --git a/proto/forwarding/forwarding_port.pb.go b/proto/forwarding/forwarding_port.pb.go index 15fbb03e..8a94b5da 100644 --- a/proto/forwarding/forwarding_port.pb.go +++ b/proto/forwarding/forwarding_port.pb.go @@ -28,6 +28,7 @@ const ( PortType_PORT_TYPE_AGGREGATE_PORT PortType = 2 PortType_PORT_TYPE_KERNEL PortType = 3 PortType_PORT_TYPE_TAP PortType = 4 + PortType_PORT_TYPE_FAKE PortType = 5 ) // Enum value maps for PortType. @@ -38,6 +39,7 @@ var ( 2: "PORT_TYPE_AGGREGATE_PORT", 3: "PORT_TYPE_KERNEL", 4: "PORT_TYPE_TAP", + 5: "PORT_TYPE_FAKE", } PortType_value = map[string]int32{ "PORT_TYPE_UNSPECIFIED": 0, @@ -45,6 +47,7 @@ var ( "PORT_TYPE_AGGREGATE_PORT": 2, "PORT_TYPE_KERNEL": 3, "PORT_TYPE_TAP": 4, + "PORT_TYPE_FAKE": 5, } ) @@ -237,6 +240,7 @@ type PortDesc struct { // *PortDesc_Cpu // *PortDesc_Kernel // *PortDesc_Tap + // *PortDesc_Fake Port isPortDesc_Port `protobuf_oneof:"port"` } @@ -314,6 +318,13 @@ func (x *PortDesc) GetTap() *TAPPortDesc { return nil } +func (x *PortDesc) GetFake() *FakePortDesc { + if x, ok := x.GetPort().(*PortDesc_Fake); ok { + return x.Fake + } + return nil +} + type isPortDesc_Port interface { isPortDesc_Port() } @@ -330,12 +341,18 @@ type PortDesc_Tap struct { Tap *TAPPortDesc `protobuf:"bytes,5,opt,name=tap,proto3,oneof"` } +type PortDesc_Fake struct { + Fake *FakePortDesc `protobuf:"bytes,6,opt,name=fake,proto3,oneof"` +} + func (*PortDesc_Cpu) isPortDesc_Port() {} func (*PortDesc_Kernel) isPortDesc_Port() {} func (*PortDesc_Tap) isPortDesc_Port() {} +func (*PortDesc_Fake) isPortDesc_Port() {} + type CPUPortDesc struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -493,6 +510,61 @@ func (x *TAPPortDesc) GetDeviceName() string { return "" } +type FakePortDesc struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InFile string `protobuf:"bytes,1,opt,name=in_file,json=inFile,proto3" json:"in_file,omitempty"` + OutFile string `protobuf:"bytes,2,opt,name=out_file,json=outFile,proto3" json:"out_file,omitempty"` +} + +func (x *FakePortDesc) Reset() { + *x = FakePortDesc{} + if protoimpl.UnsafeEnabled { + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FakePortDesc) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FakePortDesc) ProtoMessage() {} + +func (x *FakePortDesc) ProtoReflect() protoreflect.Message { + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FakePortDesc.ProtoReflect.Descriptor instead. +func (*FakePortDesc) Descriptor() ([]byte, []int) { + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{4} +} + +func (x *FakePortDesc) GetInFile() string { + if x != nil { + return x.InFile + } + return "" +} + +func (x *FakePortDesc) GetOutFile() string { + if x != nil { + return x.OutFile + } + return "" +} + type PortCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -505,7 +577,7 @@ type PortCreateRequest struct { func (x *PortCreateRequest) Reset() { *x = PortCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[4] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -518,7 +590,7 @@ func (x *PortCreateRequest) String() string { func (*PortCreateRequest) ProtoMessage() {} func (x *PortCreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[4] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -531,7 +603,7 @@ func (x *PortCreateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PortCreateRequest.ProtoReflect.Descriptor instead. func (*PortCreateRequest) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{4} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{5} } func (x *PortCreateRequest) GetPort() *PortDesc { @@ -559,7 +631,7 @@ type PortCreateReply struct { func (x *PortCreateReply) Reset() { *x = PortCreateReply{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[5] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -572,7 +644,7 @@ func (x *PortCreateReply) String() string { func (*PortCreateReply) ProtoMessage() {} func (x *PortCreateReply) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[5] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -585,7 +657,7 @@ func (x *PortCreateReply) ProtoReflect() protoreflect.Message { // Deprecated: Use PortCreateReply.ProtoReflect.Descriptor instead. func (*PortCreateReply) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{5} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{6} } func (x *PortCreateReply) GetObjectIndex() *ObjectIndex { @@ -614,7 +686,7 @@ type PortUpdateDesc struct { func (x *PortUpdateDesc) Reset() { *x = PortUpdateDesc{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[6] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -627,7 +699,7 @@ func (x *PortUpdateDesc) String() string { func (*PortUpdateDesc) ProtoMessage() {} func (x *PortUpdateDesc) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[6] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -640,7 +712,7 @@ func (x *PortUpdateDesc) ProtoReflect() protoreflect.Message { // Deprecated: Use PortUpdateDesc.ProtoReflect.Descriptor instead. func (*PortUpdateDesc) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{6} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{7} } func (m *PortUpdateDesc) GetPort() isPortUpdateDesc_Port { @@ -745,7 +817,7 @@ type PortUpdateRequest struct { func (x *PortUpdateRequest) Reset() { *x = PortUpdateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[7] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -758,7 +830,7 @@ func (x *PortUpdateRequest) String() string { func (*PortUpdateRequest) ProtoMessage() {} func (x *PortUpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[7] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -771,7 +843,7 @@ func (x *PortUpdateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PortUpdateRequest.ProtoReflect.Descriptor instead. func (*PortUpdateRequest) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{7} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{8} } func (x *PortUpdateRequest) GetPortId() *PortId { @@ -804,7 +876,7 @@ type PortUpdateReply struct { func (x *PortUpdateReply) Reset() { *x = PortUpdateReply{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[8] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -817,7 +889,7 @@ func (x *PortUpdateReply) String() string { func (*PortUpdateReply) ProtoMessage() {} func (x *PortUpdateReply) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[8] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -830,7 +902,7 @@ func (x *PortUpdateReply) ProtoReflect() protoreflect.Message { // Deprecated: Use PortUpdateReply.ProtoReflect.Descriptor instead. func (*PortUpdateReply) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{8} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{9} } type CPUPortUpdateDesc struct { @@ -845,7 +917,7 @@ type CPUPortUpdateDesc struct { func (x *CPUPortUpdateDesc) Reset() { *x = CPUPortUpdateDesc{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[9] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -858,7 +930,7 @@ func (x *CPUPortUpdateDesc) String() string { func (*CPUPortUpdateDesc) ProtoMessage() {} func (x *CPUPortUpdateDesc) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[9] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -871,7 +943,7 @@ func (x *CPUPortUpdateDesc) ProtoReflect() protoreflect.Message { // Deprecated: Use CPUPortUpdateDesc.ProtoReflect.Descriptor instead. func (*CPUPortUpdateDesc) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{9} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{10} } func (x *CPUPortUpdateDesc) GetInputs() []*ActionDesc { @@ -900,7 +972,7 @@ type KernelPortUpdateDesc struct { func (x *KernelPortUpdateDesc) Reset() { *x = KernelPortUpdateDesc{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[10] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -913,7 +985,7 @@ func (x *KernelPortUpdateDesc) String() string { func (*KernelPortUpdateDesc) ProtoMessage() {} func (x *KernelPortUpdateDesc) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[10] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -926,7 +998,7 @@ func (x *KernelPortUpdateDesc) ProtoReflect() protoreflect.Message { // Deprecated: Use KernelPortUpdateDesc.ProtoReflect.Descriptor instead. func (*KernelPortUpdateDesc) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{10} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{11} } func (x *KernelPortUpdateDesc) GetInputs() []*ActionDesc { @@ -955,7 +1027,7 @@ type AggregateSelectAction struct { func (x *AggregateSelectAction) Reset() { *x = AggregateSelectAction{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[11] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -968,7 +1040,7 @@ func (x *AggregateSelectAction) String() string { func (*AggregateSelectAction) ProtoMessage() {} func (x *AggregateSelectAction) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[11] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -981,7 +1053,7 @@ func (x *AggregateSelectAction) ProtoReflect() protoreflect.Message { // Deprecated: Use AggregateSelectAction.ProtoReflect.Descriptor instead. func (*AggregateSelectAction) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{11} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{12} } func (x *AggregateSelectAction) GetPortId() *PortId { @@ -1012,7 +1084,7 @@ type AggregatePortUpdateDesc struct { func (x *AggregatePortUpdateDesc) Reset() { *x = AggregatePortUpdateDesc{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[12] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1025,7 +1097,7 @@ func (x *AggregatePortUpdateDesc) String() string { func (*AggregatePortUpdateDesc) ProtoMessage() {} func (x *AggregatePortUpdateDesc) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[12] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1038,7 +1110,7 @@ func (x *AggregatePortUpdateDesc) ProtoReflect() protoreflect.Message { // Deprecated: Use AggregatePortUpdateDesc.ProtoReflect.Descriptor instead. func (*AggregatePortUpdateDesc) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{12} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{13} } func (x *AggregatePortUpdateDesc) GetPortIds() []*PortId { @@ -1082,7 +1154,7 @@ type AggregatePortAddMemberUpdateDesc struct { func (x *AggregatePortAddMemberUpdateDesc) Reset() { *x = AggregatePortAddMemberUpdateDesc{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[13] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1095,7 +1167,7 @@ func (x *AggregatePortAddMemberUpdateDesc) String() string { func (*AggregatePortAddMemberUpdateDesc) ProtoMessage() {} func (x *AggregatePortAddMemberUpdateDesc) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[13] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1108,7 +1180,7 @@ func (x *AggregatePortAddMemberUpdateDesc) ProtoReflect() protoreflect.Message { // Deprecated: Use AggregatePortAddMemberUpdateDesc.ProtoReflect.Descriptor instead. func (*AggregatePortAddMemberUpdateDesc) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{13} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{14} } func (x *AggregatePortAddMemberUpdateDesc) GetPortId() *PortId { @@ -1143,7 +1215,7 @@ type AggregatePortRemoveMemberUpdateDesc struct { func (x *AggregatePortRemoveMemberUpdateDesc) Reset() { *x = AggregatePortRemoveMemberUpdateDesc{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[14] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1156,7 +1228,7 @@ func (x *AggregatePortRemoveMemberUpdateDesc) String() string { func (*AggregatePortRemoveMemberUpdateDesc) ProtoMessage() {} func (x *AggregatePortRemoveMemberUpdateDesc) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[14] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1169,7 +1241,7 @@ func (x *AggregatePortRemoveMemberUpdateDesc) ProtoReflect() protoreflect.Messag // Deprecated: Use AggregatePortRemoveMemberUpdateDesc.ProtoReflect.Descriptor instead. func (*AggregatePortRemoveMemberUpdateDesc) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{14} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{15} } func (x *AggregatePortRemoveMemberUpdateDesc) GetPortId() *PortId { @@ -1191,7 +1263,7 @@ type AggregatePortAlgorithmUpdateDesc struct { func (x *AggregatePortAlgorithmUpdateDesc) Reset() { *x = AggregatePortAlgorithmUpdateDesc{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[15] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1204,7 +1276,7 @@ func (x *AggregatePortAlgorithmUpdateDesc) String() string { func (*AggregatePortAlgorithmUpdateDesc) ProtoMessage() {} func (x *AggregatePortAlgorithmUpdateDesc) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[15] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1217,7 +1289,7 @@ func (x *AggregatePortAlgorithmUpdateDesc) ProtoReflect() protoreflect.Message { // Deprecated: Use AggregatePortAlgorithmUpdateDesc.ProtoReflect.Descriptor instead. func (*AggregatePortAlgorithmUpdateDesc) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{15} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{16} } func (x *AggregatePortAlgorithmUpdateDesc) GetHash() AggregateHashAlgorithm { @@ -1246,7 +1318,7 @@ type PortSpeed struct { func (x *PortSpeed) Reset() { *x = PortSpeed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[16] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1259,7 +1331,7 @@ func (x *PortSpeed) String() string { func (*PortSpeed) ProtoMessage() {} func (x *PortSpeed) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[16] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1272,7 +1344,7 @@ func (x *PortSpeed) ProtoReflect() protoreflect.Message { // Deprecated: Use PortSpeed.ProtoReflect.Descriptor instead. func (*PortSpeed) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{16} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{17} } func (x *PortSpeed) GetKbps() uint64 { @@ -1302,7 +1374,7 @@ type PortInfo struct { func (x *PortInfo) Reset() { *x = PortInfo{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[17] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1315,7 +1387,7 @@ func (x *PortInfo) String() string { func (*PortInfo) ProtoMessage() {} func (x *PortInfo) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[17] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1328,7 +1400,7 @@ func (x *PortInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use PortInfo.ProtoReflect.Descriptor instead. func (*PortInfo) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{17} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{18} } func (x *PortInfo) GetOperStatus() PortState { @@ -1365,7 +1437,7 @@ type PortStateRequest struct { func (x *PortStateRequest) Reset() { *x = PortStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[18] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1378,7 +1450,7 @@ func (x *PortStateRequest) String() string { func (*PortStateRequest) ProtoMessage() {} func (x *PortStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[18] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1391,7 +1463,7 @@ func (x *PortStateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PortStateRequest.ProtoReflect.Descriptor instead. func (*PortStateRequest) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{18} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{19} } func (x *PortStateRequest) GetPortId() *PortId { @@ -1426,7 +1498,7 @@ type PortStateReply struct { func (x *PortStateReply) Reset() { *x = PortStateReply{} if protoimpl.UnsafeEnabled { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[19] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1439,7 +1511,7 @@ func (x *PortStateReply) String() string { func (*PortStateReply) ProtoMessage() {} func (x *PortStateReply) ProtoReflect() protoreflect.Message { - mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[19] + mi := &file_proto_forwarding_forwarding_port_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1452,7 +1524,7 @@ func (x *PortStateReply) ProtoReflect() protoreflect.Message { // Deprecated: Use PortStateReply.ProtoReflect.Descriptor instead. func (*PortStateReply) Descriptor() ([]byte, []int) { - return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{19} + return file_proto_forwarding_forwarding_port_proto_rawDescGZIP(), []int{20} } func (x *PortStateReply) GetStatus() *PortInfo { @@ -1473,7 +1545,7 @@ var file_proto_forwarding_forwarding_port_proto_rawDesc = []byte{ 0x67, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x02, 0x0a, 0x08, 0x50, 0x6f, 0x72, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x02, 0x0a, 0x08, 0x50, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x12, 0x31, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, @@ -1489,7 +1561,10 @@ var file_proto_forwarding_forwarding_port_proto_rawDesc = []byte{ 0x52, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x12, 0x2b, 0x0a, 0x03, 0x74, 0x61, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x54, 0x41, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, - 0x52, 0x03, 0x74, 0x61, 0x70, 0x42, 0x06, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x90, 0x01, + 0x52, 0x03, 0x74, 0x61, 0x70, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x61, 0x6b, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, + 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, + 0x04, 0x66, 0x61, 0x6b, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x0b, 0x43, 0x50, 0x55, 0x50, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x75, @@ -1505,194 +1580,199 @@ var file_proto_forwarding_forwarding_port_proto_rawDesc = []byte{ 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x0b, 0x54, 0x41, 0x50, 0x50, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x11, 0x50, 0x6f, 0x72, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, - 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x52, 0x04, 0x70, 0x6f, - 0x72, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, - 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x52, 0x09, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0f, 0x50, 0x6f, 0x72, 0x74, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x0c, 0x6f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0b, 0x6f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xd0, 0x03, 0x0a, 0x0e, 0x50, 0x6f, 0x72, 0x74, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x31, 0x0a, 0x03, 0x63, 0x70, - 0x75, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x50, 0x55, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x43, 0x0a, - 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x12, 0x53, 0x0a, 0x0d, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, - 0x61, 0x64, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x66, 0x6f, 0x72, 0x77, - 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x50, 0x6f, 0x72, 0x74, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x12, 0x56, 0x0a, 0x0d, 0x61, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, - 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, - 0x00, 0x52, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x44, 0x65, 0x6c, 0x12, - 0x55, 0x0a, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x67, - 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, - 0x72, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x41, 0x6c, 0x67, 0x6f, 0x12, 0x3a, 0x0a, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, - 0x69, 0x6e, 0x67, 0x2e, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x06, 0x6b, 0x65, 0x72, 0x6e, - 0x65, 0x6c, 0x42, 0x06, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xaa, 0x01, 0x0a, 0x11, 0x50, - 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, - 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, 0x34, 0x0a, - 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, - 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x52, - 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x72, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x75, 0x0a, 0x11, 0x43, 0x50, - 0x55, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, - 0x2e, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, - 0x30, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x73, 0x22, 0x78, 0x0a, 0x14, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x2e, 0x0a, 0x06, 0x69, 0x6e, 0x70, - 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, - 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, - 0x63, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, - 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, - 0x73, 0x63, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x76, 0x0a, 0x15, 0x41, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x61, 0x6d, 0x65, 0x22, 0x42, 0x0a, 0x0c, 0x46, 0x61, 0x6b, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x44, + 0x65, 0x73, 0x63, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x6f, 0x75, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x73, 0x0a, 0x11, 0x50, 0x6f, 0x72, 0x74, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x04, + 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, + 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, + 0x64, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0f, + 0x50, 0x6f, 0x72, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, + 0x3a, 0x0a, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, + 0x6e, 0x67, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0b, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xd0, 0x03, 0x0a, 0x0e, + 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x31, + 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x50, 0x55, 0x50, 0x6f, 0x72, 0x74, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x03, 0x63, 0x70, + 0x75, 0x12, 0x43, 0x0a, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, + 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x09, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x12, 0x53, 0x0a, 0x0d, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, + 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x0c, 0x61, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x12, 0x56, 0x0a, 0x0d, 0x61, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, + 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x44, 0x65, 0x6c, 0x12, 0x55, 0x0a, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x67, 0x6f, 0x12, 0x3a, 0x0a, 0x06, 0x6b, 0x65, + 0x72, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x50, 0x6f, + 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x48, 0x00, 0x52, 0x06, + 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x42, 0x06, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xaa, + 0x01, 0x0a, 0x11, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, - 0x64, 0x12, 0x30, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x82, 0x02, 0x0a, 0x17, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, - 0x2d, 0x0a, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, - 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x73, 0x12, 0x36, - 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, - 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6f, 0x72, 0x77, - 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x49, 0x64, 0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64, 0x73, 0x12, 0x48, + 0x64, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, + 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x52, 0x09, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, + 0x65, 0x73, 0x63, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x50, + 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x75, + 0x0a, 0x11, 0x43, 0x50, 0x55, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, + 0x65, 0x73, 0x63, 0x12, 0x2e, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, + 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x06, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, + 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x07, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x78, 0x0a, 0x14, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x50, + 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x2e, 0x0a, + 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x30, 0x0a, + 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, + 0x76, 0x0a, 0x15, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x06, 0x70, + 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x07, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x82, 0x02, 0x0a, 0x17, 0x41, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, + 0x65, 0x73, 0x63, 0x12, 0x2d, 0x0a, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, + 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x49, + 0x64, 0x73, 0x12, 0x36, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x22, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, + 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x72, + 0x69, 0x74, 0x68, 0x6d, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x09, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, + 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64, 0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, + 0x64, 0x73, 0x12, 0x48, 0x0a, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb5, 0x01, 0x0a, + 0x20, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x41, 0x64, + 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, + 0x63, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, + 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, - 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x20, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x2b, 0x0a, - 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, - 0x49, 0x64, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0e, 0x73, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x0d, 0x73, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0x52, 0x0a, 0x23, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, - 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, - 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x06, 0x70, 0x6f, - 0x72, 0x74, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x20, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x36, 0x0a, 0x04, 0x68, 0x61, 0x73, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x48, 0x61, - 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x04, 0x68, 0x61, 0x73, - 0x68, 0x12, 0x36, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, - 0x67, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64, 0x52, - 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64, 0x73, 0x22, 0x5a, 0x0a, 0x09, 0x50, 0x6f, 0x72, - 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x62, 0x70, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x6b, 0x62, 0x70, 0x73, 0x12, 0x39, 0x0a, 0x08, 0x62, 0x65, - 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x66, - 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x70, - 0x65, 0x65, 0x64, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x52, 0x08, 0x62, 0x65, 0x68, - 0x61, 0x76, 0x69, 0x6f, 0x72, 0x22, 0xa9, 0x01, 0x0a, 0x08, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, - 0x6f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, - 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, - 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, - 0x64, 0x22, 0xa9, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, 0x06, 0x70, 0x6f, 0x72, - 0x74, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x52, 0x09, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x09, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, - 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x0a, - 0x0e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, - 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x84, 0x01, - 0x0a, 0x08, 0x50, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, - 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x43, 0x50, 0x55, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x01, 0x12, 0x1c, 0x0a, - 0x18, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, - 0x47, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x50, - 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x45, 0x52, 0x4e, 0x45, 0x4c, 0x10, - 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, - 0x41, 0x50, 0x10, 0x04, 0x2a, 0xae, 0x01, 0x0a, 0x16, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, - 0x28, 0x0a, 0x24, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x45, 0x5f, 0x48, 0x41, 0x53, - 0x48, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x47, 0x47, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x52, 0x0d, + 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, + 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x52, 0x0a, 0x23, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x2b, 0x0a, 0x07, 0x70, + 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, + 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x20, 0x41, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, + 0x74, 0x68, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x36, 0x0a, + 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, + 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, + 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x49, 0x64, 0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64, 0x73, 0x22, 0x5a, 0x0a, + 0x09, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x62, + 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x6b, 0x62, 0x70, 0x73, 0x12, 0x39, + 0x0a, 0x08, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1d, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, + 0x72, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x52, + 0x08, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x22, 0xa9, 0x01, 0x0a, 0x08, 0x50, 0x6f, + 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x38, + 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, + 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x52, 0x05, + 0x73, 0x70, 0x65, 0x65, 0x64, 0x22, 0xa9, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x6f, + 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x52, + 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x49, 0x64, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x32, 0x0a, + 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x6f, + 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x3e, 0x0a, 0x0e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, + 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x2a, 0x98, 0x01, 0x0a, 0x08, 0x50, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, + 0x0a, 0x15, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4f, 0x52, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x50, 0x55, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x10, + 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, + 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, + 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x45, 0x52, + 0x4e, 0x45, 0x4c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x54, 0x41, 0x50, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x4f, 0x52, 0x54, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x41, 0x4b, 0x45, 0x10, 0x05, 0x2a, 0xae, 0x01, 0x0a, + 0x16, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, + 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x28, 0x0a, 0x24, 0x41, 0x47, 0x47, 0x52, 0x45, + 0x47, 0x41, 0x54, 0x45, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, + 0x54, 0x48, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x45, 0x5f, 0x48, + 0x41, 0x53, 0x48, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x43, 0x52, + 0x43, 0x31, 0x36, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, + 0x54, 0x45, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, + 0x4d, 0x5f, 0x43, 0x52, 0x43, 0x33, 0x32, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x45, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x41, 0x4c, 0x47, 0x4f, - 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x43, 0x52, 0x43, 0x31, 0x36, 0x10, 0x02, 0x12, 0x22, 0x0a, - 0x1e, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x45, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, - 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x43, 0x52, 0x43, 0x33, 0x32, 0x10, - 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x45, 0x5f, 0x48, - 0x41, 0x53, 0x48, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x46, 0x4c, - 0x4f, 0x4f, 0x44, 0x10, 0x05, 0x2a, 0x60, 0x0a, 0x09, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, - 0x0a, 0x15, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x41, - 0x42, 0x4c, 0x45, 0x44, 0x5f, 0x55, 0x50, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x52, - 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, - 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x2a, 0x7f, 0x0a, 0x11, 0x50, 0x6f, 0x72, 0x74, 0x53, - 0x70, 0x65, 0x65, 0x64, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x1f, + 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x46, 0x4c, 0x4f, 0x4f, 0x44, 0x10, 0x05, 0x2a, 0x60, 0x0a, + 0x09, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, + 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x5f, 0x55, 0x50, 0x10, + 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x2a, + 0x7f, 0x0a, 0x11, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x42, 0x65, 0x68, 0x61, + 0x76, 0x69, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x50, 0x45, + 0x45, 0x44, 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x4f, 0x52, + 0x54, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, + 0x5f, 0x41, 0x4e, 0x59, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, - 0x49, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x5f, - 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, 0x5f, 0x41, 0x4e, 0x59, 0x5f, 0x53, 0x50, 0x45, - 0x45, 0x44, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x50, 0x45, - 0x45, 0x44, 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, 0x5f, 0x53, 0x41, 0x4d, 0x45, - 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x02, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2f, 0x6c, 0x65, 0x6d, 0x6d, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x49, 0x4f, 0x52, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x02, + 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, + 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6c, 0x65, 0x6d, 0x6d, 0x69, 0x6e, + 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, + 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1708,7 +1788,7 @@ func file_proto_forwarding_forwarding_port_proto_rawDescGZIP() []byte { } var file_proto_forwarding_forwarding_port_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_proto_forwarding_forwarding_port_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_proto_forwarding_forwarding_port_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_proto_forwarding_forwarding_port_proto_goTypes = []interface{}{ (PortType)(0), // 0: forwarding.PortType (AggregateHashAlgorithm)(0), // 1: forwarding.AggregateHashAlgorithm @@ -1718,75 +1798,77 @@ var file_proto_forwarding_forwarding_port_proto_goTypes = []interface{}{ (*CPUPortDesc)(nil), // 5: forwarding.CPUPortDesc (*KernelPortDesc)(nil), // 6: forwarding.KernelPortDesc (*TAPPortDesc)(nil), // 7: forwarding.TAPPortDesc - (*PortCreateRequest)(nil), // 8: forwarding.PortCreateRequest - (*PortCreateReply)(nil), // 9: forwarding.PortCreateReply - (*PortUpdateDesc)(nil), // 10: forwarding.PortUpdateDesc - (*PortUpdateRequest)(nil), // 11: forwarding.PortUpdateRequest - (*PortUpdateReply)(nil), // 12: forwarding.PortUpdateReply - (*CPUPortUpdateDesc)(nil), // 13: forwarding.CPUPortUpdateDesc - (*KernelPortUpdateDesc)(nil), // 14: forwarding.KernelPortUpdateDesc - (*AggregateSelectAction)(nil), // 15: forwarding.AggregateSelectAction - (*AggregatePortUpdateDesc)(nil), // 16: forwarding.AggregatePortUpdateDesc - (*AggregatePortAddMemberUpdateDesc)(nil), // 17: forwarding.AggregatePortAddMemberUpdateDesc - (*AggregatePortRemoveMemberUpdateDesc)(nil), // 18: forwarding.AggregatePortRemoveMemberUpdateDesc - (*AggregatePortAlgorithmUpdateDesc)(nil), // 19: forwarding.AggregatePortAlgorithmUpdateDesc - (*PortSpeed)(nil), // 20: forwarding.PortSpeed - (*PortInfo)(nil), // 21: forwarding.PortInfo - (*PortStateRequest)(nil), // 22: forwarding.PortStateRequest - (*PortStateReply)(nil), // 23: forwarding.PortStateReply - (*PortId)(nil), // 24: forwarding.PortId - (*PacketFieldId)(nil), // 25: forwarding.PacketFieldId - (*ContextId)(nil), // 26: forwarding.ContextId - (*ObjectIndex)(nil), // 27: forwarding.ObjectIndex - (*ActionDesc)(nil), // 28: forwarding.ActionDesc + (*FakePortDesc)(nil), // 8: forwarding.FakePortDesc + (*PortCreateRequest)(nil), // 9: forwarding.PortCreateRequest + (*PortCreateReply)(nil), // 10: forwarding.PortCreateReply + (*PortUpdateDesc)(nil), // 11: forwarding.PortUpdateDesc + (*PortUpdateRequest)(nil), // 12: forwarding.PortUpdateRequest + (*PortUpdateReply)(nil), // 13: forwarding.PortUpdateReply + (*CPUPortUpdateDesc)(nil), // 14: forwarding.CPUPortUpdateDesc + (*KernelPortUpdateDesc)(nil), // 15: forwarding.KernelPortUpdateDesc + (*AggregateSelectAction)(nil), // 16: forwarding.AggregateSelectAction + (*AggregatePortUpdateDesc)(nil), // 17: forwarding.AggregatePortUpdateDesc + (*AggregatePortAddMemberUpdateDesc)(nil), // 18: forwarding.AggregatePortAddMemberUpdateDesc + (*AggregatePortRemoveMemberUpdateDesc)(nil), // 19: forwarding.AggregatePortRemoveMemberUpdateDesc + (*AggregatePortAlgorithmUpdateDesc)(nil), // 20: forwarding.AggregatePortAlgorithmUpdateDesc + (*PortSpeed)(nil), // 21: forwarding.PortSpeed + (*PortInfo)(nil), // 22: forwarding.PortInfo + (*PortStateRequest)(nil), // 23: forwarding.PortStateRequest + (*PortStateReply)(nil), // 24: forwarding.PortStateReply + (*PortId)(nil), // 25: forwarding.PortId + (*PacketFieldId)(nil), // 26: forwarding.PacketFieldId + (*ContextId)(nil), // 27: forwarding.ContextId + (*ObjectIndex)(nil), // 28: forwarding.ObjectIndex + (*ActionDesc)(nil), // 29: forwarding.ActionDesc } var file_proto_forwarding_forwarding_port_proto_depIdxs = []int32{ 0, // 0: forwarding.PortDesc.port_type:type_name -> forwarding.PortType - 24, // 1: forwarding.PortDesc.port_id:type_name -> forwarding.PortId + 25, // 1: forwarding.PortDesc.port_id:type_name -> forwarding.PortId 5, // 2: forwarding.PortDesc.cpu:type_name -> forwarding.CPUPortDesc 6, // 3: forwarding.PortDesc.kernel:type_name -> forwarding.KernelPortDesc 7, // 4: forwarding.PortDesc.tap:type_name -> forwarding.TAPPortDesc - 25, // 5: forwarding.CPUPortDesc.export_field_ids:type_name -> forwarding.PacketFieldId - 4, // 6: forwarding.PortCreateRequest.port:type_name -> forwarding.PortDesc - 26, // 7: forwarding.PortCreateRequest.context_id:type_name -> forwarding.ContextId - 27, // 8: forwarding.PortCreateReply.object_index:type_name -> forwarding.ObjectIndex - 13, // 9: forwarding.PortUpdateDesc.cpu:type_name -> forwarding.CPUPortUpdateDesc - 16, // 10: forwarding.PortUpdateDesc.aggregate:type_name -> forwarding.AggregatePortUpdateDesc - 17, // 11: forwarding.PortUpdateDesc.aggregate_add:type_name -> forwarding.AggregatePortAddMemberUpdateDesc - 18, // 12: forwarding.PortUpdateDesc.aggregate_del:type_name -> forwarding.AggregatePortRemoveMemberUpdateDesc - 19, // 13: forwarding.PortUpdateDesc.aggregate_algo:type_name -> forwarding.AggregatePortAlgorithmUpdateDesc - 14, // 14: forwarding.PortUpdateDesc.kernel:type_name -> forwarding.KernelPortUpdateDesc - 24, // 15: forwarding.PortUpdateRequest.port_id:type_name -> forwarding.PortId - 26, // 16: forwarding.PortUpdateRequest.context_id:type_name -> forwarding.ContextId - 10, // 17: forwarding.PortUpdateRequest.update:type_name -> forwarding.PortUpdateDesc - 28, // 18: forwarding.CPUPortUpdateDesc.inputs:type_name -> forwarding.ActionDesc - 28, // 19: forwarding.CPUPortUpdateDesc.outputs:type_name -> forwarding.ActionDesc - 28, // 20: forwarding.KernelPortUpdateDesc.inputs:type_name -> forwarding.ActionDesc - 28, // 21: forwarding.KernelPortUpdateDesc.outputs:type_name -> forwarding.ActionDesc - 24, // 22: forwarding.AggregateSelectAction.port_id:type_name -> forwarding.PortId - 28, // 23: forwarding.AggregateSelectAction.actions:type_name -> forwarding.ActionDesc - 24, // 24: forwarding.AggregatePortUpdateDesc.port_ids:type_name -> forwarding.PortId - 1, // 25: forwarding.AggregatePortUpdateDesc.hash:type_name -> forwarding.AggregateHashAlgorithm - 25, // 26: forwarding.AggregatePortUpdateDesc.field_ids:type_name -> forwarding.PacketFieldId - 15, // 27: forwarding.AggregatePortUpdateDesc.select_actions:type_name -> forwarding.AggregateSelectAction - 24, // 28: forwarding.AggregatePortAddMemberUpdateDesc.port_id:type_name -> forwarding.PortId - 28, // 29: forwarding.AggregatePortAddMemberUpdateDesc.select_actions:type_name -> forwarding.ActionDesc - 24, // 30: forwarding.AggregatePortRemoveMemberUpdateDesc.port_id:type_name -> forwarding.PortId - 1, // 31: forwarding.AggregatePortAlgorithmUpdateDesc.hash:type_name -> forwarding.AggregateHashAlgorithm - 25, // 32: forwarding.AggregatePortAlgorithmUpdateDesc.field_ids:type_name -> forwarding.PacketFieldId - 3, // 33: forwarding.PortSpeed.behavior:type_name -> forwarding.PortSpeedBehavior - 2, // 34: forwarding.PortInfo.oper_status:type_name -> forwarding.PortState - 2, // 35: forwarding.PortInfo.admin_status:type_name -> forwarding.PortState - 20, // 36: forwarding.PortInfo.speed:type_name -> forwarding.PortSpeed - 24, // 37: forwarding.PortStateRequest.port_id:type_name -> forwarding.PortId - 26, // 38: forwarding.PortStateRequest.context_id:type_name -> forwarding.ContextId - 21, // 39: forwarding.PortStateRequest.operation:type_name -> forwarding.PortInfo - 21, // 40: forwarding.PortStateReply.status:type_name -> forwarding.PortInfo - 41, // [41:41] is the sub-list for method output_type - 41, // [41:41] is the sub-list for method input_type - 41, // [41:41] is the sub-list for extension type_name - 41, // [41:41] is the sub-list for extension extendee - 0, // [0:41] is the sub-list for field type_name + 8, // 5: forwarding.PortDesc.fake:type_name -> forwarding.FakePortDesc + 26, // 6: forwarding.CPUPortDesc.export_field_ids:type_name -> forwarding.PacketFieldId + 4, // 7: forwarding.PortCreateRequest.port:type_name -> forwarding.PortDesc + 27, // 8: forwarding.PortCreateRequest.context_id:type_name -> forwarding.ContextId + 28, // 9: forwarding.PortCreateReply.object_index:type_name -> forwarding.ObjectIndex + 14, // 10: forwarding.PortUpdateDesc.cpu:type_name -> forwarding.CPUPortUpdateDesc + 17, // 11: forwarding.PortUpdateDesc.aggregate:type_name -> forwarding.AggregatePortUpdateDesc + 18, // 12: forwarding.PortUpdateDesc.aggregate_add:type_name -> forwarding.AggregatePortAddMemberUpdateDesc + 19, // 13: forwarding.PortUpdateDesc.aggregate_del:type_name -> forwarding.AggregatePortRemoveMemberUpdateDesc + 20, // 14: forwarding.PortUpdateDesc.aggregate_algo:type_name -> forwarding.AggregatePortAlgorithmUpdateDesc + 15, // 15: forwarding.PortUpdateDesc.kernel:type_name -> forwarding.KernelPortUpdateDesc + 25, // 16: forwarding.PortUpdateRequest.port_id:type_name -> forwarding.PortId + 27, // 17: forwarding.PortUpdateRequest.context_id:type_name -> forwarding.ContextId + 11, // 18: forwarding.PortUpdateRequest.update:type_name -> forwarding.PortUpdateDesc + 29, // 19: forwarding.CPUPortUpdateDesc.inputs:type_name -> forwarding.ActionDesc + 29, // 20: forwarding.CPUPortUpdateDesc.outputs:type_name -> forwarding.ActionDesc + 29, // 21: forwarding.KernelPortUpdateDesc.inputs:type_name -> forwarding.ActionDesc + 29, // 22: forwarding.KernelPortUpdateDesc.outputs:type_name -> forwarding.ActionDesc + 25, // 23: forwarding.AggregateSelectAction.port_id:type_name -> forwarding.PortId + 29, // 24: forwarding.AggregateSelectAction.actions:type_name -> forwarding.ActionDesc + 25, // 25: forwarding.AggregatePortUpdateDesc.port_ids:type_name -> forwarding.PortId + 1, // 26: forwarding.AggregatePortUpdateDesc.hash:type_name -> forwarding.AggregateHashAlgorithm + 26, // 27: forwarding.AggregatePortUpdateDesc.field_ids:type_name -> forwarding.PacketFieldId + 16, // 28: forwarding.AggregatePortUpdateDesc.select_actions:type_name -> forwarding.AggregateSelectAction + 25, // 29: forwarding.AggregatePortAddMemberUpdateDesc.port_id:type_name -> forwarding.PortId + 29, // 30: forwarding.AggregatePortAddMemberUpdateDesc.select_actions:type_name -> forwarding.ActionDesc + 25, // 31: forwarding.AggregatePortRemoveMemberUpdateDesc.port_id:type_name -> forwarding.PortId + 1, // 32: forwarding.AggregatePortAlgorithmUpdateDesc.hash:type_name -> forwarding.AggregateHashAlgorithm + 26, // 33: forwarding.AggregatePortAlgorithmUpdateDesc.field_ids:type_name -> forwarding.PacketFieldId + 3, // 34: forwarding.PortSpeed.behavior:type_name -> forwarding.PortSpeedBehavior + 2, // 35: forwarding.PortInfo.oper_status:type_name -> forwarding.PortState + 2, // 36: forwarding.PortInfo.admin_status:type_name -> forwarding.PortState + 21, // 37: forwarding.PortInfo.speed:type_name -> forwarding.PortSpeed + 25, // 38: forwarding.PortStateRequest.port_id:type_name -> forwarding.PortId + 27, // 39: forwarding.PortStateRequest.context_id:type_name -> forwarding.ContextId + 22, // 40: forwarding.PortStateRequest.operation:type_name -> forwarding.PortInfo + 22, // 41: forwarding.PortStateReply.status:type_name -> forwarding.PortInfo + 42, // [42:42] is the sub-list for method output_type + 42, // [42:42] is the sub-list for method input_type + 42, // [42:42] is the sub-list for extension type_name + 42, // [42:42] is the sub-list for extension extendee + 0, // [0:42] is the sub-list for field type_name } func init() { file_proto_forwarding_forwarding_port_proto_init() } @@ -1846,7 +1928,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortCreateRequest); i { + switch v := v.(*FakePortDesc); i { case 0: return &v.state case 1: @@ -1858,7 +1940,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortCreateReply); i { + switch v := v.(*PortCreateRequest); i { case 0: return &v.state case 1: @@ -1870,7 +1952,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortUpdateDesc); i { + switch v := v.(*PortCreateReply); i { case 0: return &v.state case 1: @@ -1882,7 +1964,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortUpdateRequest); i { + switch v := v.(*PortUpdateDesc); i { case 0: return &v.state case 1: @@ -1894,7 +1976,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortUpdateReply); i { + switch v := v.(*PortUpdateRequest); i { case 0: return &v.state case 1: @@ -1906,7 +1988,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CPUPortUpdateDesc); i { + switch v := v.(*PortUpdateReply); i { case 0: return &v.state case 1: @@ -1918,7 +2000,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KernelPortUpdateDesc); i { + switch v := v.(*CPUPortUpdateDesc); i { case 0: return &v.state case 1: @@ -1930,7 +2012,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregateSelectAction); i { + switch v := v.(*KernelPortUpdateDesc); i { case 0: return &v.state case 1: @@ -1942,7 +2024,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregatePortUpdateDesc); i { + switch v := v.(*AggregateSelectAction); i { case 0: return &v.state case 1: @@ -1954,7 +2036,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregatePortAddMemberUpdateDesc); i { + switch v := v.(*AggregatePortUpdateDesc); i { case 0: return &v.state case 1: @@ -1966,7 +2048,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregatePortRemoveMemberUpdateDesc); i { + switch v := v.(*AggregatePortAddMemberUpdateDesc); i { case 0: return &v.state case 1: @@ -1978,7 +2060,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregatePortAlgorithmUpdateDesc); i { + switch v := v.(*AggregatePortRemoveMemberUpdateDesc); i { case 0: return &v.state case 1: @@ -1990,7 +2072,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortSpeed); i { + switch v := v.(*AggregatePortAlgorithmUpdateDesc); i { case 0: return &v.state case 1: @@ -2002,7 +2084,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortInfo); i { + switch v := v.(*PortSpeed); i { case 0: return &v.state case 1: @@ -2014,7 +2096,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PortStateRequest); i { + switch v := v.(*PortInfo); i { case 0: return &v.state case 1: @@ -2026,6 +2108,18 @@ func file_proto_forwarding_forwarding_port_proto_init() { } } file_proto_forwarding_forwarding_port_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PortStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_proto_forwarding_forwarding_port_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PortStateReply); i { case 0: return &v.state @@ -2042,8 +2136,9 @@ func file_proto_forwarding_forwarding_port_proto_init() { (*PortDesc_Cpu)(nil), (*PortDesc_Kernel)(nil), (*PortDesc_Tap)(nil), + (*PortDesc_Fake)(nil), } - file_proto_forwarding_forwarding_port_proto_msgTypes[6].OneofWrappers = []interface{}{ + file_proto_forwarding_forwarding_port_proto_msgTypes[7].OneofWrappers = []interface{}{ (*PortUpdateDesc_Cpu)(nil), (*PortUpdateDesc_Aggregate)(nil), (*PortUpdateDesc_AggregateAdd)(nil), @@ -2057,7 +2152,7 @@ func file_proto_forwarding_forwarding_port_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_proto_forwarding_forwarding_port_proto_rawDesc, NumEnums: 4, - NumMessages: 20, + NumMessages: 21, NumExtensions: 0, NumServices: 0, }, diff --git a/proto/forwarding/forwarding_port.proto b/proto/forwarding/forwarding_port.proto index a7d6c8d1..9a788d58 100644 --- a/proto/forwarding/forwarding_port.proto +++ b/proto/forwarding/forwarding_port.proto @@ -29,6 +29,7 @@ enum PortType { PORT_TYPE_AGGREGATE_PORT = 2; // Port that is an aggregate of ports PORT_TYPE_KERNEL = 3; // Port that is kernel network interface. PORT_TYPE_TAP = 4; // Port that is kernel TAP interface. + PORT_TYPE_FAKE = 5; // Fake port type that uses files for packet io. } // A PortDesc describes a forwarding port. It is assumed that the descriptor @@ -41,6 +42,7 @@ message PortDesc { CPUPortDesc cpu = 3; KernelPortDesc kernel = 4; TAPPortDesc tap = 5; + FakePortDesc fake = 6; } } @@ -62,6 +64,11 @@ message TAPPortDesc { string device_name = 1; } +message FakePortDesc { + string in_file = 1; + string out_file = 2; +} + // A PortCreateRequest is a request to create a port. message PortCreateRequest { PortDesc port = 1;