mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
tests: refactor Prefix-SID binary syntax
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
45a06b11a6
commit
39416574fe
@ -951,12 +951,19 @@ static struct test_segment mp_prefix_sid[] = {
|
|||||||
"PREFIX-SID",
|
"PREFIX-SID",
|
||||||
"PREFIX-SID Test 1",
|
"PREFIX-SID Test 1",
|
||||||
{
|
{
|
||||||
0x01, 0x00, 0x07,
|
/* TLV[0] Latel-Index TLV */
|
||||||
0x00, 0x00, 0x00, 0x00,
|
0x01, /* Type 0x01:Label-Index */
|
||||||
0x00, 0x00, 0x02,
|
0x00, 0x07, /* Length */
|
||||||
0x03, 0x00, 0x08, 0x00,
|
0x00, /* RESERVED */
|
||||||
0x00, 0x0a, 0x1b, 0xfe,
|
0x00, 0x00, /* Flags */
|
||||||
0x00, 0x00, 0x0a
|
0x00, 0x00, 0x00, 0x02, /* Label Index */
|
||||||
|
|
||||||
|
/* TLV[1] SRGB TLV */
|
||||||
|
0x03, /* Type 0x03:SRGB */
|
||||||
|
0x00, 0x08, /* Length */
|
||||||
|
0x00, 0x00, /* Flags */
|
||||||
|
0x0a, 0x1b, 0xfe, /* SRGB[0] first label */
|
||||||
|
0x00, 0x00, 0x0a /* SRBG[0] nb-labels in range */
|
||||||
},
|
},
|
||||||
.len = 21,
|
.len = 21,
|
||||||
.parses = SHOULD_PARSE,
|
.parses = SHOULD_PARSE,
|
||||||
|
Loading…
Reference in New Issue
Block a user