From b94943ac38c295ba9acb4e553cd81bd86daddfbd Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Mon, 19 Oct 2015 19:03:15 +0900 Subject: [PATCH] api: update comment Signed-off-by: ISHIDA Wataru --- api/gobgp.proto | 6 ++++-- 1 file 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; }