Documentation ¶
Index ¶
- func ToAPIAfi(afi types.Afi) string
- func ToAPIFamily(f *types.Family) (*models.BgpFamily, error)
- func ToAPIPath(p *types.Path) (*models.BgpPath, error)
- func ToAPIPaths(ps []*types.Path) ([]*models.BgpPath, error)
- func ToAPIRoute(r *types.Route, routerASN int64, neighbor string) (*models.BgpRoute, error)
- func ToAPIRoutes(rs []*types.Route, routerASN int64, neighbor string) ([]*models.BgpRoute, error)
- func ToAPISafi(safi types.Safi) string
- func ToAgentAfi(s string) types.Afi
- func ToAgentFamily(m *models.BgpFamily) (*types.Family, error)
- func ToAgentGetRoutesRequest(params restapi.GetBgpRoutesParams) (*types.GetRoutesRequest, error)
- func ToAgentPath(m *models.BgpPath) (*types.Path, error)
- func ToAgentPaths(ms []*models.BgpPath) ([]*types.Path, error)
- func ToAgentRoute(m *models.BgpRoute) (*types.Route, error)
- func ToAgentRoutes(ms []*models.BgpRoute) ([]*types.Route, error)
- func ToAgentSafi(s string) types.Safi
- func ToAgentTableType(s string) types.TableType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToAPIRoute ¶
func ToAPIRoutes ¶
func ToAgentAfi ¶
func ToAgentGetRoutesRequest ¶
func ToAgentGetRoutesRequest(params restapi.GetBgpRoutesParams) (*types.GetRoutesRequest, error)
func ToAgentSafi ¶
func ToAgentTableType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.