diff options
author | Pavel Vorontsov <pvorontsovd@gmail.com> | 2020-02-17 19:27:17 +0300 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2020-02-19 13:35:10 +0900 |
commit | 789664e8c32730b0a98874dccfbb167fd9fe20b0 (patch) | |
tree | c756e2ad69f0107142bdfb29d94b5367f082cebf /internal/pkg/table/table_manager.go | |
parent | 9291621c6ae65c6b11bf1670b1eefae994d92684 (diff) |
add support GetTable method for vrfs #2235
Diffstat (limited to 'internal/pkg/table/table_manager.go')
-rw-r--r-- | internal/pkg/table/table_manager.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/pkg/table/table_manager.go b/internal/pkg/table/table_manager.go index aa0cd0fc..b16f135b 100644 --- a/internal/pkg/table/table_manager.go +++ b/internal/pkg/table/table_manager.go @@ -354,11 +354,3 @@ func (manager *TableManager) GetDestination(path *Path) *Destination { } return t.GetDestination(path.GetNlri()) } - -func (manager *TableManager) TableInfo(id string, as uint32, family bgp.RouteFamily) (*TableInfo, error) { - t, ok := manager.Tables[family] - if !ok { - return nil, fmt.Errorf("address family %s is not configured", family) - } - return t.Info(id, as), nil -} |