"destination-prefix":
"{0}/{1}".format(ipv4_base["dst_net"], ipv4_base["prefix_len"]),
"next-hop": {
- "next-hop-address" : ipv4_base["next_hop"],
+ "next-hop-address": ipv4_base["next_hop"],
"outgoing-interface": out_interface
},
"vpp-ipv4-unicast-routing:vpp-ipv4-route": {}
"table1_oper": {
"destination-prefix":
"{0}/{1}".format(ipv4_base["dst_net"], ipv4_base["prefix_len"]),
- "next-hop":{
+ "next-hop": {
"next-hop-address": ipv4_base["next_hop"],
"outgoing-interface": out_interface
- },
- "vpp-ipv4-unicast-routing:vpp-ipv4-route": {}
+ }
},
"table2_oper": {
"destination-prefix":
"{0}/{1}".format(ipv4_base["dst_net"], ipv4_base["prefix_len"]),
- "next-hop":{
+ "next-hop": {
"next-hop-list": {
"next-hop": [
{
}
]
}
- },
- "vpp-ipv4-unicast-routing:vpp-ipv4-route": {}
+ }
},
"table3_oper": {
"destination-prefix":
"{0}/{1}".format(ipv4_base["dst_net"], ipv4_base["prefix_len"]),
- "next-hop":{
+ "next-hop": {
"special-next-hop-enum": "blackhole"
- },
- "vpp-ipv4-unicast-routing:vpp-ipv4-route": {}
+ }
},
"table4_oper": {
"destination-prefix":
"{0}/{1}".format(ipv6_base["dst_net"],
ipv6_base["prefix_len"]),
- "next-hop":{
+ "next-hop": {
"next-hop-address": ipv6_base["next_hop"],
"outgoing-interface": out_interface
- },
- "vpp-ipv6-unicast-routing:vpp-ipv6-route": {}
+ }
},
"table5_oper": {
"destination-prefix":
"{0}/{1}".format(ipv6_base["dst_net"],
ipv6_base["prefix_len"]),
- "next-hop":{
+ "next-hop": {
"next-hop-list": {
"next-hop": [
{
}
]
}
- },
- "vpp-ipv6-unicast-routing:vpp-ipv6-route": {}
+ }
},
"table6_oper": {
"destination-prefix":
"{0}/{1}".format(ipv6_base["dst_net"],
ipv6_base["prefix_len"]),
- "next-hop":{
+ "next-hop": {
"special-next-hop-enum": "blackhole"
- },
- "vpp-ipv6-unicast-routing:vpp-ipv6-route": {}
+ }
}
}