summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-10-19 19:03:15 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-20 10:33:10 +0900
commitb94943ac38c295ba9acb4e553cd81bd86daddfbd (patch)
treebf9070a85631457a321da8a5738c8913eca5dd6e /api
parent485cab56ed4c8f7ec43edf4204493f60d9519adf (diff)
api: update comment
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 1875d708..055ab318 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -98,11 +98,11 @@ message ModPolicyArguments {
Operation operation = 1;
Policy policy = 2;
// if this flag is set, gobgpd won't define new statements
- // but refer existing statements using statement's names.
+ // but refer existing statements using statement's names in this arguments.
// this flag only works with Operation_ADD
bool refer_existing_statements = 3;
// if this flag is set, gobgpd won't delete any statements
- // even if the policy containing some statements are deleted.
+ // even if some statements get not used by any policy by this operation.
// this flag means nothing if it is used with Operation_ADD
bool preserve_statements = 4;
}
@@ -206,6 +206,7 @@ message DefinedSet {
message MatchSet {
string name = 1;
+ // see table/policy.go MatchOption for the usage
int32 option = 2;
}
@@ -232,6 +233,7 @@ enum RouteAction {
message CommunityAction {
repeated string communities = 1;
+ // see config/bgp_configs.go BgpSetCommunityOptionType for the usage
int32 option = 2;
}