diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-12-25 11:47:32 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-12-30 20:40:10 +0900 |
commit | 3f7e23fb4bf4bfe62c63cac2a85c0f1d783f2e14 (patch) | |
tree | 43825b591b0d6bfbc3d8e5ee4d675663e9e8aeb2 /.travis.yml | |
parent | 4aa2c438bfcf8b79bdc8c2047dfaa3a06471ef29 (diff) |
cli: Slash separated offset arg for FlowSpec Prefix
Currently, "gobgp" command supports only;
"<ipv6 prefix>/<len> <offset>" # space separated
format to specify the prefix offset for the FlowSpec destination/source
rules, but the displayed format with "rib" command is;
"<ipv6 prefix>/<len>/<offset>" # slash separated
and the slash separated format is not allowed as command arguments.
This patch enables to specify the slash separated format for the
FlowSpec destination/source rules arguments and resolve unmatch of the
input/output formats.
Example:
$ gobgp global rib -a ipv6-flowspec add match destination 0:db8:1::1/64/16 then accept
$ gobgp global rib -a ipv6-flowspec
Network Next Hop AS_PATH Age Attrs
*> [destination: 0:db8:1::/64/16] fictitious 00:00:00 [{Origin: ?}
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions