diff options
author | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2015-06-16 19:14:01 +0900 |
---|---|---|
committer | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2015-06-16 19:38:41 +0900 |
commit | 4db834afe35306ede35a73aeb4486844da264920 (patch) | |
tree | 195a3071ae87b0cee7d75d912ffb62f0efbd8064 /api/gobgp.proto | |
parent | 5bdee9c91b4c0af701d37916d24808fb323f3cb9 (diff) |
cli: add aspath subcommand to policy conditions
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index 29038ea8..e61c2243 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -75,7 +75,8 @@ enum Resource { ADJ_OUT = 3; POLICY_PREFIX = 4; POLICY_NEIGHBOR = 5; - POLICY_ROUTEPOLICY = 6; + POLICY_ASPATH = 6; + POLICY_ROUTEPOLICY = 7; } enum Operation { @@ -373,11 +374,17 @@ message AsPathLength { string operator = 2; } +message AsPathSet { + string as_path_set_name = 1; + repeated string as_path_members = 2; +} + message Conditions { PrefixSet match_prefix_set = 1; NeighborSet match_neighbor_set = 2; AsPathLength match_as_path_length = 3; - string match_set_options = 4; + AsPathSet match_as_path_set = 4; + string match_set_options = 5; } message Actions { |