table1_oper = {
"destination-prefix": route_address_ipv4,
"next-hop": "192.168.1.1",
- "vpp-ipv4-route-state": {}
+ "vpp-ipv4-unicast-routing:vpp-ipv4-route": {}
}
# Peer configurations for traffic test
}
route_operational = {
- "vpp-ipv4-route-state": {},
- "next-hop": "192.168.1.3",
+ "next-hop": {"next-hop-address": "192.168.1.3"},
+ "vpp-ipv4-unicast-routing:vpp-ipv4-route": {},
"destination-prefix": dut1_route_address
}
# IPv6 route for traffic test
-dut1_route_ip6_address = "3ffe:62::1/64"
+dut1_route_ip6_prefix = "3ffe:62::/64"
dut1_route_ip6_id = 1
dut1_route_ip6 = {
"bgp-inet:ipv6-route": [{
"path-id": dut1_route_ip6_id,
- "prefix": dut1_route_ip6_address,
+ "prefix": dut1_route_ip6_prefix,
"attributes": {
"as-path": {},
"origin": {
}
route_ip6_operational = {
- "vpp-ipv6-route-state": {},
- "next-hop": "3ffe:63::1",
- "destination-prefix": dut1_route_ip6_address
+ "next-hop": {"next-hop-address": "3ffe:63::1"},
+ "vpp-ipv6-unicast-routing:vpp-ipv6-route": {},
+ "destination-prefix": dut1_route_ip6_prefix
}