mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:36:20 +00:00
tests: Use JSON camelCase naming for tests
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
1ce23106eb
commit
f932966b02
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Ledger":506,
|
"ledger":506,
|
||||||
"InUse":506,
|
"inUse":506,
|
||||||
"Requests":0,
|
"requests":0,
|
||||||
"LabelChunks":3,
|
"labelChunks":3,
|
||||||
"Pending":0,
|
"pending":0,
|
||||||
"Reconnects":0
|
"reconnects":0
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Ledger":0,
|
"ledger":0,
|
||||||
"InUse":0,
|
"inUse":0,
|
||||||
"Requests":0,
|
"requests":0,
|
||||||
"LabelChunks":0,
|
"labelChunks":0,
|
||||||
"Pending":0,
|
"pending":0,
|
||||||
"Reconnects":0
|
"reconnects":0
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Ledger":51,
|
"ledger":51,
|
||||||
"InUse":51,
|
"inUse":51,
|
||||||
"Requests":0,
|
"requests":0,
|
||||||
"LabelChunks":1,
|
"labelChunks":1,
|
||||||
"Pending":0,
|
"pending":0,
|
||||||
"Reconnects":0
|
"reconnects":0
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Ledger":1,
|
"ledger":1,
|
||||||
"InUse":1,
|
"inUse":1,
|
||||||
"Requests":0,
|
"requests":0,
|
||||||
"LabelChunks":1,
|
"labelChunks":1,
|
||||||
"Pending":0,
|
"pending":0,
|
||||||
"Reconnects":0
|
"reconnects":0
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r1-mpw0":{
|
"r1-mpw0":{
|
||||||
"peerId":"2.2.2.2",
|
"peerId":"2.2.2.2",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r2-mpw0":{
|
"r2-mpw0":{
|
||||||
"peerId":"1.1.1.1",
|
"peerId":"1.1.1.1",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r1-mpw0":{
|
"r1-mpw0":{
|
||||||
"peerId":"2.2.2.2",
|
"peerId":"2.2.2.2",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r2-mpw0":{
|
"r2-mpw0":{
|
||||||
"peerId":"1.1.1.1",
|
"peerId":"1.1.1.1",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r1-mpw0":{
|
"r1-mpw0":{
|
||||||
"peerId":"2.2.2.2",
|
"peerId":"2.2.2.2",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r2-mpw0":{
|
"r2-mpw0":{
|
||||||
"peerId":"1.1.1.1",
|
"peerId":"1.1.1.1",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r1-mpw0":{
|
"r1-mpw0":{
|
||||||
"peerId":"2.2.2.2",
|
"peerId":"2.2.2.2",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"r2-mpw0":{
|
"r2-mpw0":{
|
||||||
"peerId":"1.1.1.1",
|
"peerId":"1.1.1.1",
|
||||||
"vcId":100,
|
"vcId":100,
|
||||||
"VpnName":"CUST_A",
|
"vpnName":"CUST_A",
|
||||||
"status":"up"
|
"status":"up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4277,7 +4277,7 @@ def verify_attributes_for_evpn_routes(
|
|||||||
for _rd, route_data in evpn_rd_value_json.items():
|
for _rd, route_data in evpn_rd_value_json.items():
|
||||||
if route_data["ip"] == route:
|
if route_data["ip"] == route:
|
||||||
for rt_data in route_data["paths"]:
|
for rt_data in route_data["paths"]:
|
||||||
if vni_dict[vrf] == rt_data["VNI"]:
|
if vni_dict[vrf] == rt_data["vni"]:
|
||||||
rt_string = rt_data["extendedCommunity"][
|
rt_string = rt_data["extendedCommunity"][
|
||||||
"string"
|
"string"
|
||||||
]
|
]
|
||||||
|
@ -1533,11 +1533,11 @@ def verify_ospf_summary(tgen, topo, dut, input_dict, ospf=None, expected=True):
|
|||||||
-----
|
-----
|
||||||
input_dict = {
|
input_dict = {
|
||||||
"11.0.0.0/8": {
|
"11.0.0.0/8": {
|
||||||
"Summary address": "11.0.0.0/8",
|
"summaryAddress": "11.0.0.0/8",
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5
|
"externalRouteCount": 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result = verify_ospf_summary(tgen, topo, dut, input_dict)
|
result = verify_ospf_summary(tgen, topo, dut, input_dict)
|
||||||
@ -1586,7 +1586,7 @@ def verify_ospf_summary(tgen, topo, dut, input_dict, ospf=None, expected=True):
|
|||||||
for ospf_summ, summ_data in ospf_summary_data.items():
|
for ospf_summ, summ_data in ospf_summary_data.items():
|
||||||
if ospf_summ not in show_ospf_json:
|
if ospf_summ not in show_ospf_json:
|
||||||
continue
|
continue
|
||||||
summary = ospf_summary_data[ospf_summ]["Summary address"]
|
summary = ospf_summary_data[ospf_summ]["summaryAddress"]
|
||||||
|
|
||||||
if summary in show_ospf_json:
|
if summary in show_ospf_json:
|
||||||
for summ in summ_data:
|
for summ in summ_data:
|
||||||
|
@ -1827,12 +1827,12 @@ def verify_pim_state(
|
|||||||
else:
|
else:
|
||||||
pim_state_json = show_pim_state_json[grp_addr][src_address]
|
pim_state_json = show_pim_state_json[grp_addr][src_address]
|
||||||
|
|
||||||
if pim_state_json["Installed"] == installed_fl:
|
if pim_state_json["installed"] == installed_fl:
|
||||||
logger.info(
|
logger.info(
|
||||||
"[DUT %s]: group %s is installed flag: %s",
|
"[DUT %s]: group %s is installed flag: %s",
|
||||||
dut,
|
dut,
|
||||||
grp_addr,
|
grp_addr,
|
||||||
pim_state_json["Installed"],
|
pim_state_json["installed"],
|
||||||
)
|
)
|
||||||
for interface, data in pim_state_json[iif].items():
|
for interface, data in pim_state_json[iif].items():
|
||||||
if interface != oil:
|
if interface != oil:
|
||||||
|
@ -308,11 +308,11 @@ def test_ospf_type5_summary_tc43_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -336,11 +336,11 @@ def test_ospf_type5_summary_tc43_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
"11.0.0.0/16": {
|
"11.0.0.0/16": {
|
||||||
"Summary address": "11.0.0.0/16",
|
"summaryAddress": "11.0.0.0/16",
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -380,11 +380,11 @@ def test_ospf_type5_summary_tc43_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
"11.0.0.0/16": {
|
"11.0.0.0/16": {
|
||||||
"Summary address": "11.0.0.0/24",
|
"summaryAddress": "11.0.0.0/24",
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 0,
|
"externalRouteCount": 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -556,11 +556,11 @@ def test_ospf_type5_summary_tc48_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -652,11 +652,11 @@ def test_ospf_type5_summary_tc48_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -749,11 +749,11 @@ def test_ospf_type5_summary_tc42_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -820,11 +820,11 @@ def test_ospf_type5_summary_tc42_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -859,11 +859,11 @@ def test_ospf_type5_summary_tc42_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -942,11 +942,11 @@ def test_ospf_type5_summary_tc42_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1078,11 +1078,11 @@ def test_ospf_type5_summary_tc42_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1242,11 +1242,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 1234,
|
"tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1294,11 +1294,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 1234,
|
"tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1335,11 +1335,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 1,
|
"tag": 1,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1384,11 +1384,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 4294967295,
|
"tag": 4294967295,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1441,11 +1441,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 88888,
|
"tag": 88888,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1673,11 +1673,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 1234,
|
"tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1722,11 +1722,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 1234,
|
"tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1763,11 +1763,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 1,
|
"tag": 1,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1812,11 +1812,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 4294967295,
|
"tag": 4294967295,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1869,11 +1869,11 @@ def test_ospf_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 88888,
|
"tag": 88888,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2060,8 +2060,8 @@ def test_ospf_type5_summary_tc46_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2111,11 +2111,11 @@ def test_ospf_type5_summary_tc46_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 1234,
|
"tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2167,8 +2167,8 @@ def test_ospf_type5_summary_tc46_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2229,11 +2229,11 @@ def test_ospf_type5_summary_tc46_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2343,11 +2343,11 @@ def test_ospf_type5_summary_tc47_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2440,11 +2440,11 @@ def test_ospf_type5_summary_tc47_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2528,11 +2528,11 @@ def test_ospf_type5_summary_tc47_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2623,11 +2623,11 @@ def test_ospf_type5_summary_tc47_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2791,11 +2791,11 @@ def test_ospf_type5_summary_tc47_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
"12.0.0.0/8": {
|
"12.0.0.0/8": {
|
||||||
"Summary address": "12.0.0.0/8",
|
"summaryAddress": "12.0.0.0/8",
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2997,11 +2997,11 @@ def test_ospf_type5_summary_tc51_p2(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][2]: {
|
SUMMARY["ipv4"][2]: {
|
||||||
"Summary address": SUMMARY["ipv4"][2],
|
"summaryAddress": SUMMARY["ipv4"][2],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 0,
|
"externalRouteCount": 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -3092,11 +3092,11 @@ def test_ospf_type5_summary_tc49_p2(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -3148,11 +3148,11 @@ def test_ospf_type5_summary_tc49_p2(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -3212,11 +3212,11 @@ def test_ospf_type5_summary_tc49_p2(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -3269,11 +3269,11 @@ def test_ospf_type5_summary_tc49_p2(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][0]: {
|
SUMMARY["ipv4"][0]: {
|
||||||
"Summary address": SUMMARY["ipv4"][0],
|
"summaryAddress": SUMMARY["ipv4"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
|
@ -290,11 +290,11 @@ def test_ospf_type5_summary_tc44_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][3]: {
|
SUMMARY["ipv4"][3]: {
|
||||||
"Summary address": SUMMARY["ipv4"][3],
|
"summaryAddress": SUMMARY["ipv4"][3],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -342,11 +342,11 @@ def test_ospf_type5_summary_tc44_p0(request):
|
|||||||
step("Verify that type7 LSAs received from neighbor are not summarised.")
|
step("Verify that type7 LSAs received from neighbor are not summarised.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
"13.0.0.0/8": {
|
"13.0.0.0/8": {
|
||||||
"Summary address": "13.0.0.0/8",
|
"summaryAddress": "13.0.0.0/8",
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 0,
|
"externalRouteCount": 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -358,11 +358,11 @@ def test_ospf_type5_summary_tc44_p0(request):
|
|||||||
step("Verify that already originated summary is intact.")
|
step("Verify that already originated summary is intact.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv4"][3]: {
|
SUMMARY["ipv4"][3]: {
|
||||||
"Summary address": SUMMARY["ipv4"][3],
|
"summaryAddress": SUMMARY["ipv4"][3],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"metric": 20,
|
||||||
"Tag": 0,
|
"tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"lo"
|
"directlyAttachedTo":"lo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -83,7 +83,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt2"
|
"directlyAttachedTo":"eth-rt2"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"lo"
|
"directlyAttachedTo":"lo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -83,7 +83,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt1"
|
"directlyAttachedTo":"eth-rt1"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -94,7 +94,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt3"
|
"directlyAttachedTo":"eth-rt3"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"lo"
|
"directlyAttachedTo":"lo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -94,7 +94,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt2"
|
"directlyAttachedTo":"eth-rt2"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -105,7 +105,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt4"
|
"directlyAttachedTo":"eth-rt4"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -116,7 +116,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt6"
|
"directlyAttachedTo":"eth-rt6"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"lo"
|
"directlyAttachedTo":"lo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -105,7 +105,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt3"
|
"directlyAttachedTo":"eth-rt3"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -127,7 +127,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt5"
|
"directlyAttachedTo":"eth-rt5"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"lo"
|
"directlyAttachedTo":"lo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -127,7 +127,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt4"
|
"directlyAttachedTo":"eth-rt4"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"lo"
|
"directlyAttachedTo":"lo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -116,7 +116,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt3"
|
"directlyAttachedTo":"eth-rt3"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -138,7 +138,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt7"
|
"directlyAttachedTo":"eth-rt7"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"lo"
|
"directlyAttachedTo":"lo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -149,7 +149,7 @@
|
|||||||
"nexthops":[
|
"nexthops":[
|
||||||
{
|
{
|
||||||
"ip":" ",
|
"ip":" ",
|
||||||
"directly attached to":"eth-rt6"
|
"directlyAttachedTo":"eth-rt6"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1 +1 @@
|
|||||||
{ "10.0.1.1\/32": { "routeType": "N", "cost": 10, "area": "0.0.0.0", "nexthops": [ { "ip": " ", "directly attached to": "r1-eth0" } ] }, "10.0.20.1\/32": { "routeType": "N", "cost": 20, "area": "0.0.0.0", "nexthops": [ { "ip": "10.0.3.2", "via": "r1-eth1" } ] }, "10.0.255.2": { "routeType": "R ", "cost": 10, "area": "0.0.0.0", "routerType": "asbr", "nexthops": [ { "ip": "10.0.3.2", "via": "r1-eth1" } ] } }
|
{ "10.0.1.1\/32": { "routeType": "N", "cost": 10, "area": "0.0.0.0", "nexthops": [ { "ip": " ", "directlyAttachedTo": "r1-eth0" } ] }, "10.0.20.1\/32": { "routeType": "N", "cost": 20, "area": "0.0.0.0", "nexthops": [ { "ip": "10.0.3.2", "via": "r1-eth1" } ] }, "10.0.255.2": { "routeType": "R ", "cost": 10, "area": "0.0.0.0", "routerType": "asbr", "nexthops": [ { "ip": "10.0.3.2", "via": "r1-eth1" } ] } }
|
||||||
|
@ -1 +1 @@
|
|||||||
{ "10.0.1.1\/32": { "routeType": "N", "cost": 20, "area": "0.0.0.0", "nexthops": [ { "ip": "10.0.3.4", "via": "r2-eth1" } ] }, "10.0.20.1\/32": { "routeType": "N", "cost": 10, "area": "0.0.0.0", "nexthops": [ { "ip": " ", "directly attached to": "r2-eth0" } ] }, "10.0.255.1": { "routeType": "R ", "cost": 10, "area": "0.0.0.0", "routerType": "asbr", "nexthops": [ { "ip": "10.0.3.4", "via": "r2-eth1" } ] } }
|
{ "10.0.1.1\/32": { "routeType": "N", "cost": 20, "area": "0.0.0.0", "nexthops": [ { "ip": "10.0.3.4", "via": "r2-eth1" } ] }, "10.0.20.1\/32": { "routeType": "N", "cost": 10, "area": "0.0.0.0", "nexthops": [ { "ip": " ", "directlyAttachedTo": "r2-eth0" } ] }, "10.0.255.1": { "routeType": "R ", "cost": 10, "area": "0.0.0.0", "routerType": "asbr", "nexthops": [ { "ip": "10.0.3.4", "via": "r2-eth1" } ] } }
|
||||||
|
@ -332,11 +332,11 @@ def test_ospfv3_type5_summary_tc42_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -403,11 +403,11 @@ def test_ospfv3_type5_summary_tc42_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -444,11 +444,11 @@ def test_ospfv3_type5_summary_tc42_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -527,11 +527,11 @@ def test_ospfv3_type5_summary_tc42_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -665,11 +665,11 @@ def test_ospfv3_type5_summary_tc42_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -822,11 +822,11 @@ def test_ospfv3_type5_summary_tc43_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -857,11 +857,11 @@ def test_ospfv3_type5_summary_tc43_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
"2011::/16": {
|
"2011::/16": {
|
||||||
"Summary address": "2011::/16",
|
"summaryAddress": "2011::/16",
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -901,11 +901,11 @@ def test_ospfv3_type5_summary_tc43_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
"2011::/32": {
|
"2011::/32": {
|
||||||
"Summary address": "2011::/32",
|
"summaryAddress": "2011::/32",
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 0,
|
"externalRouteCount": 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1084,11 +1084,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 1234,
|
"Tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1136,11 +1136,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 1234,
|
"Tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1179,11 +1179,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 1,
|
"Tag": 1,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1228,11 +1228,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 4294967295,
|
"Tag": 4294967295,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1287,11 +1287,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 88888,
|
"Tag": 88888,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1521,11 +1521,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 1234,
|
"Tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1570,11 +1570,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 1234,
|
"Tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1613,11 +1613,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries with tag.")
|
step("Verify that show ip ospf summary should show the summaries with tag.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 1,
|
"Tag": 1,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1662,11 +1662,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 4294967295,
|
"Tag": 4294967295,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1721,11 +1721,11 @@ def ospfv3_type5_summary_tc45_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 88888,
|
"Tag": 88888,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1914,8 +1914,8 @@ def test_ospfv3_type5_summary_tc46_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -1965,11 +1965,11 @@ def test_ospfv3_type5_summary_tc46_p0(request):
|
|||||||
step("show ip ospf summary should not have any summary address.")
|
step("show ip ospf summary should not have any summary address.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 1234,
|
"Tag": 1234,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2023,8 +2023,8 @@ def test_ospfv3_type5_summary_tc46_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
step("Verify that show ip ospf summary should show the " "configured summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2085,11 +2085,11 @@ def test_ospfv3_type5_summary_tc46_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2207,11 +2207,11 @@ def test_ospfv3_type5_summary_tc48_p0(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2304,11 +2304,11 @@ def test_ospfv3_type5_summary_tc48_p0(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2341,11 +2341,11 @@ def test_ospfv3_type5_summary_tc48_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2378,11 +2378,11 @@ def test_ospfv3_type5_summary_tc48_p0(request):
|
|||||||
)
|
)
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2558,11 +2558,11 @@ def test_ospfv3_type5_summary_tc51_p2(request):
|
|||||||
|
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][3]: {
|
SUMMARY["ipv6"][3]: {
|
||||||
"Summary address": SUMMARY["ipv6"][3],
|
"summaryAddress": SUMMARY["ipv6"][3],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 0,
|
"externalRouteCount": 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2653,11 +2653,11 @@ def test_ospfv3_type5_summary_tc49_p2(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
@ -2709,11 +2709,11 @@ def test_ospfv3_type5_summary_tc49_p2(request):
|
|||||||
step("Verify that show ip ospf summary should show the summaries.")
|
step("Verify that show ip ospf summary should show the summaries.")
|
||||||
input_dict = {
|
input_dict = {
|
||||||
SUMMARY["ipv6"][0]: {
|
SUMMARY["ipv6"][0]: {
|
||||||
"Summary address": SUMMARY["ipv6"][0],
|
"summaryAddress": SUMMARY["ipv6"][0],
|
||||||
"Metric-type": "E2",
|
"metricType": "E2",
|
||||||
"Metric": 20,
|
"Metric": 20,
|
||||||
"Tag": 0,
|
"Tag": 0,
|
||||||
"External route count": 5,
|
"externalRouteCount": 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dut = "r0"
|
dut = "r0"
|
||||||
|
Loading…
Reference in New Issue
Block a user