1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
{
"routing": {
"routing-instance": {
"name": "routing-3",
"router-id": "192.168.2.1",
"routing-protocols": {
"routing-protocol": [
{
"name": "test-routing-protocol",
"type": "static",
"vpp-protocol-attributes": {
"primary-vrf": "1"
},
"static-routes": {
"ipv4": {
"route": [
{
"id": 1,
"destination-prefix": "192.168.2.3/32",
"next-hop": "192.168.2.8",
"outgoing-interface": "local0"
},
{
"id": 2,
"destination-prefix": "192.168.2.4/32",
"next-hop-list": {
"next-hop": [
{
"id": "1",
"address": "192.168.2.5",
"outgoing-interface": "local0",
"weight": "1"
},
{
"id": "2",
"address": "192.168.2.6",
"outgoing-interface": "local0",
"weight": "2"
}
]
}
},
{
"id": 3,
"destination-prefix": "192.168.2.5/32",
"special-next-hop": "receive"
},
{
"id": 4,
"destination-prefix": "192.168.2.6/32",
"table-lookup-params": {
"secondary-vrf": 4
}
}
]
},
"ipv6": {
"route": [
{
"id": 1,
"destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/64",
"next-hop": "2001:0db8:0a0b:12f0:0000:0000:0000:0002",
"outgoing-interface": "GigabitEthernet0/8/0"
},
{
"id": 2,
"destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0008/64",
"next-hop-list": {
"next-hop": [
{
"id": "1",
"address": "2001:0db8:0a0b:12f0:0000:0000:0000:0003",
"outgoing-interface": "GigabitEthernet0/8/0",
"weight": "1"
},
{
"id": "2",
"address": "2001:0db8:0a0b:12f0:0000:0000:0000:0004",
"outgoing-interface": "GigabitEthernet0/8/0",
"weight": "2"
},
{
"id": "3",
"address": "2001:0db8:0a0b:12f0:0000:0000:0000:0005",
"outgoing-interface": "GigabitEthernet0/8/0",
"weight": "3"
}
]
}
},
{
"id": 3,
"destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0005/32",
"special-next-hop": "receive"
},
{
"id": 4,
"destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0006/32",
"table-lookup-params": {
"secondary-vrf": 2
}
}
]
}
}
}
]
}
}
}
}
|