diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-16 16:07:10 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-16 16:49:49 +0900 |
commit | 6b05d9db0f3e5aa2230d26083e800edc07b6d298 (patch) | |
tree | 5f48740cdce76c4c2d9daf9ca43011d1c417218a /docs | |
parent | 8856dd599a7327bc099ed9cb4798539794d4dba7 (diff) |
api: rename NlriAny in api.Path to Nlri
Also rename PathAttrsAny to PathAttrs. Both are the first choice
rather than the binary format members.
Support SortType member to ListPathRequest to add an option to return
unordered paths.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/lib.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sources/lib.md b/docs/sources/lib.md index ba481797..5ad4643c 100644 --- a/docs/sources/lib.md +++ b/docs/sources/lib.md @@ -74,8 +74,8 @@ func main() { _, err := s.AddPath(context.Background(), &api.AddPathRequest{ Path: &api.Path{ Family: &api.Family{Afi: api.Family_AFI_IP, Safi: api.Family_SAFI_UNICAST}, - AnyNlri: nlri, - AnyPattrs: attrs, + Nlri: nlri, + Pattrs: attrs, }, }) if err != nil { |