summaryrefslogtreecommitdiffhomepage
path: root/table/vrf.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-02 00:03:41 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-03 02:49:59 -0700
commitbe9918a163a20a7a885dc9206a733d983ee76b3a (patch)
treec73975d94321a1a02429fb6ad0d3e0373c3f4813 /table/vrf.go
parentc7653aa9d4276098a7a6b5ade5ffce5bf5d089e8 (diff)
remove label allocation completely
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/vrf.go')
-rw-r--r--table/vrf.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/table/vrf.go b/table/vrf.go
index 15b194db..1440f896 100644
--- a/table/vrf.go
+++ b/table/vrf.go
@@ -26,7 +26,6 @@ type Vrf struct {
Rd bgp.RouteDistinguisherInterface
ImportRt []bgp.ExtendedCommunityInterface
ExportRt []bgp.ExtendedCommunityInterface
- LabelMap map[string]uint32
}
func (v *Vrf) ToGlobalPath(path *Path) error {
@@ -67,13 +66,6 @@ func (v *Vrf) Clone() *Vrf {
Rd: v.Rd,
ImportRt: f(v.ImportRt),
ExportRt: f(v.ExportRt),
- LabelMap: func() map[string]uint32 {
- m := make(map[string]uint32)
- for k, v := range v.LabelMap {
- m[k] = v
- }
- return m
- }(),
}
}