summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-05-15 15:11:11 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-05-26 17:28:40 +0900
commitfa5d2fe25ee3670a5ba2e66431dfd617f48737af (patch)
tree69241afd5e5c39fb3e9896cab546cec836e35cec /api/gobgp.proto
parentdffb57e43dcdbd419b49fcab089ad4c68342c76a (diff)
cli: add the add/del commands to neighbor condition
% gobgp -u 10.0.255.1 policy neighbor Name Address ns0 10.0.0.2 10.0.0.3 ns1 2001::192:168:0:2 % gobgp -u 10.0.255.1 policy neighbor add ns2 10.0.0.4 % gobgp -u 10.0.255.1 policy neighbor del ns1 % gobgp -u 10.0.255.1 policy neighbor Name Address ns0 10.0.0.2 10.0.0.3 ns2 10.0.0.4
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index f9d66357..7c6bce1b 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -38,6 +38,7 @@ service Grpc {
rpc ModPolicyPrefix(stream PolicyArguments) returns (stream Error) {}
rpc GetPolicyNeighbors(PolicyArguments) returns (stream NeighborSet) {}
rpc GetPolicyNeighbor(PolicyArguments) returns (NeighborSet) {}
+ rpc ModPolicyNeighbor(stream PolicyArguments) returns (stream Error) {}
rpc GetPolicyRoutePolicies(PolicyArguments) returns (stream PolicyDefinition) {}
rpc GetPolicyRoutePolicy(PolicyArguments) returns (PolicyDefinition) {}
}