diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-10-18 17:42:02 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-20 10:33:10 +0900 |
commit | f834e421284080a8d4b9150d19148be3b886779e (patch) | |
tree | 516e86d87691baccf50f5d0799fe2db2138237de /api/gobgp.proto | |
parent | a88e0b5592b5f344981983d91f4f55a6d3f002bf (diff) |
cli: support statement configuration
- create statement
$ gobgp policy statement add st01
- add community condition
$ gobgp policy statement st01 condition add community c1
- add route action
$ gobgp policy statement st01 action add accept
- add set-community action
$ gobgp policy statement st01 action add community 100:100
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index 84eb8c74..212f4073 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -201,11 +201,6 @@ message DefinedSet { repeated Prefix prefixes = 4; } -message PrefixSet { - string name = 1; - int32 option = 2; -} - message MatchSet { string name = 1; int32 option = 2; @@ -217,7 +212,7 @@ message AsPathLength { } message Conditions { - PrefixSet prefix_set = 1; + MatchSet prefix_set = 1; MatchSet neighbor_set = 2; AsPathLength as_path_length = 3; MatchSet as_path_set = 4; |