summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-07-29 16:15:06 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-05 17:24:36 +0900
commit2017bdc7a9452d4a66dd062016f1b68fbf4ef09b (patch)
treef49e3cc2b126b3a83daa93fee292ee43ebb3da36 /packet/bgp_test.go
parentb04d28518aa00b0d7faec7efdb729b78b90c529e (diff)
api/packet: add evpn extended community structs
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r--packet/bgp_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go
index 983914f1..528b3c4c 100644
--- a/packet/bgp_test.go
+++ b/packet/bgp_test.go
@@ -67,6 +67,9 @@ func update() *BGPMessage {
Value: &DefaultOpaqueExtendedValue{[]byte{0, 1, 2, 3, 4, 5, 6, 7}},
},
&UnknownExtended{Type: 99, Value: []byte{0, 1, 2, 3, 4, 5, 6, 7}},
+ NewESILabelExtended(1000, true),
+ NewESImportRouteTarget("11:22:33:44:55:66"),
+ NewMacMobilityExtended(123, false),
}
mp_nlri := []AddrPrefixInterface{