- "next-hop-list": {
- "next-hop": [
- {
- "address": ipv4_base["next_hop1"],
- "outgoing-interface": out_interface,
- "weight": 1
- },
- {
- "address": ipv4_base["next_hop2"],
- "outgoing-interface": out_interface,
- "weight": 1
- }
- ]
+ "next-hop":{
+ "next-hop-list": {
+ "next-hop": [
+ {
+ "index": "2",
+ "next-hop-address": ipv4_base["next_hop2"],
+ "outgoing-interface": out_interface,
+ "vpp-ipv4-unicast-routing:weight": 1
+ },
+ {
+ "index": "1",
+ "next-hop-address": ipv4_base["next_hop1"],
+ "outgoing-interface": out_interface,
+ "vpp-ipv4-unicast-routing:weight": 1
+ }
+ ]
+ }