diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-09-30 05:50:25 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-09-30 05:50:25 -0700 |
commit | dfe1b71fd28496110436ff15bf135feec02f181e (patch) | |
tree | 9baa416de7f16cf6bf333034f43333a68a038364 /table/vrf.go | |
parent | 8f4603b25a08046937ede81efbc3062eebf89067 (diff) |
api: add id to VrfRequest
to support VRF ID for Zebra Protocol v3.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/vrf.go')
-rw-r--r-- | table/vrf.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/table/vrf.go b/table/vrf.go index 18a5af87..83b9e353 100644 --- a/table/vrf.go +++ b/table/vrf.go @@ -22,6 +22,7 @@ import ( type Vrf struct { Name string + Id uint32 Rd bgp.RouteDistinguisherInterface ImportRt []bgp.ExtendedCommunityInterface ExportRt []bgp.ExtendedCommunityInterface @@ -62,6 +63,7 @@ func (v *Vrf) Clone() *Vrf { } return &Vrf{ Name: v.Name, + Id: v.Id, Rd: v.Rd, ImportRt: f(v.ImportRt), ExportRt: f(v.ExportRt), |