summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.pb.go13
-rw-r--r--api/gobgp.proto4
2 files changed, 7 insertions, 10 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index 901abcad..2f5a50fa 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -590,21 +590,16 @@ func (m *Arguments) GetAf() *AddressFamily {
}
type ModPathArguments struct {
- Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"`
- Path *Path `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
+ Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"`
+ IsWithdraw bool `protobuf:"varint,2,opt,name=is_withdraw" json:"is_withdraw,omitempty"`
+ RawNlri []byte `protobuf:"bytes,3,opt,name=raw_nlri,proto3" json:"raw_nlri,omitempty"`
+ RawPattrs [][]byte `protobuf:"bytes,4,rep,name=raw_pattrs,proto3" json:"raw_pattrs,omitempty"`
}
func (m *ModPathArguments) Reset() { *m = ModPathArguments{} }
func (m *ModPathArguments) String() string { return proto.CompactTextString(m) }
func (*ModPathArguments) ProtoMessage() {}
-func (m *ModPathArguments) GetPath() *Path {
- if m != nil {
- return m.Path
- }
- return nil
-}
-
type PolicyArguments struct {
Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"`
Operation Operation `protobuf:"varint,2,opt,name=operation,enum=api.Operation" json:"operation,omitempty"`
diff --git a/api/gobgp.proto b/api/gobgp.proto
index e50e3c71..cb85db27 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -60,7 +60,9 @@ message Arguments {
message ModPathArguments {
Resource resource = 1;
- Path path = 2;
+ bool is_withdraw = 2;
+ bytes raw_nlri = 3;
+ repeated bytes raw_pattrs = 4;
}
message PolicyArguments {