Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bio-rd
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
bio-rd
Commits
435fbe3b
Commit
435fbe3b
authored
7 years ago
by
Oliver Herms
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
b0bc4600
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
routingtable/adjRIBOut/adj_rib_out.go
+0
-3
0 additions, 3 deletions
routingtable/adjRIBOut/adj_rib_out.go
routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go
+0
-3
0 additions, 3 deletions
routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go
with
0 additions
and
6 deletions
routingtable/adjRIBOut/adj_rib_out.go
+
0
−
3
View file @
435fbe3b
...
...
@@ -7,7 +7,6 @@ import (
"github.com/bio-routing/bio-rd/net"
"github.com/bio-routing/bio-rd/route"
"github.com/bio-routing/bio-rd/routingtable"
"github.com/taktv6/tflow2/convert"
)
// AdjRIBOut represents an Adjacency RIB In as described in RFC4271
...
...
@@ -35,8 +34,6 @@ func (a *AdjRIBOut) UpdateNewClient(client routingtable.RouteTableClient) error
// AddPath replaces the path for prefix `pfx`. If the prefix doesn't exist it is added.
func
(
a
*
AdjRIBOut
)
AddPath
(
pfx
net
.
Prefix
,
p
*
route
.
Path
)
error
{
fmt
.
Printf
(
"THIS IS ADJ RIB OUT NON ADD PATH FOR %v
\n
"
,
convert
.
Uint32Byte
(
a
.
neighbor
.
Address
))
if
a
.
isOwnPath
(
p
)
{
return
nil
}
...
...
This diff is collapsed.
Click to expand it.
routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go
+
0
−
3
View file @
435fbe3b
...
...
@@ -7,7 +7,6 @@ import (
"github.com/bio-routing/bio-rd/net"
"github.com/bio-routing/bio-rd/route"
"github.com/bio-routing/bio-rd/routingtable"
"github.com/taktv6/tflow2/convert"
)
// AdjRIBOutAddPath represents an Adjacency RIB Out with BGP add path
...
...
@@ -35,8 +34,6 @@ func (a *AdjRIBOutAddPath) UpdateNewClient(client routingtable.RouteTableClient)
// AddPath adds path p to prefix `pfx`
func
(
a
*
AdjRIBOutAddPath
)
AddPath
(
pfx
net
.
Prefix
,
p
*
route
.
Path
)
error
{
fmt
.
Printf
(
"THIS IS ADD PATH ON ADJ RIB OUT FOR %v"
,
convert
.
Uint32Byte
(
a
.
neighbor
.
Address
))
if
a
.
isOwnPath
(
p
)
{
return
nil
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment