summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-05-29 20:11:27 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-06-01 18:02:20 +0900
commit007c0df5092df0be2e03df457dcfcb89c92080d6 (patch)
treeafe0db0f3637615df143081a46eac6e5141dfca2 /api/gobgp.proto
parent7ea3a18ef5abffc3c1bb01366b0f7e274a42dcff (diff)
cli: fix AS_PATH string format
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto7
1 files changed, 6 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 9bb0075f..0d38ad58 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -277,7 +277,7 @@ message PathAttr {
BGP_ATTR_TYPE type = 1;
repeated string value = 2;
Origin origin = 3;
- repeated uint32 as_path = 4;
+ repeated AsPath as_paths = 4;
string nexthop = 5;
uint32 metric = 6;
uint32 pref = 7;
@@ -289,6 +289,11 @@ message PathAttr {
repeated TunnelEncapTLV tunnel_encap = 13;
}
+message AsPath {
+ uint32 segment_type = 1;
+ repeated uint32 asns = 2;
+}
+
message Path {
Nlri nlri = 1;
string nexthop = 2;